Project

General

Profile

Feature proposal #3661 ยป 3661.patch

krileon, 19 October 2012 21:42

View differences:

administrator/components/com_comprofiler/admin.comprofiler.html.php
<td align="left" valign="top"><?php echo $lists['admin_allowcbregistration']; ?></td>
<td align="left" valign="top"><?php echo _UE_REG_CB_ALLOW_DESC ?></td>
</tr>
<?php
if ( isset( $ueConfig['reg_admin_allowcbregistration'] ) ) {
if ( ( $ueConfig['reg_admin_allowcbregistration'] == 1 ) && ( $_CB_framework->getCfg( "allowUserRegistration" ) == 1 ) ) {
?>
<tr align="center" valign="middle">
<td align="left" valign="top"> </td>
<td align="left" valign="top"><div class="cbSmallWarning"><?php echo htmlspecialchars( CBTxt::T( 'WARNING: CMS registration still enabled!' ) ); ?></div></td>
<td align="left" valign="top"><?php echo htmlspecialchars( CBTxt::T( 'This may be ok, but this warning is just to make you aware users can bypass Community Builder registration using CMS registration.' ) ); ?></td>
</tr>
<?php
}
}
?>
<tr align="center" valign="middle">
<td align="left" valign="top"><?php echo _UE_REG_CB_EMAILPASS ?></td>
<td align="left" valign="top"><?php echo $lists['emailpass']; ?></td>
    (1-1/1)