Feature proposal #3205 » 3205-part2.patch
components/com_comprofiler/comprofiler.html.php | ||
---|---|---|
$checkUsername = ( ( isset( $ueConfig['reg_username_checker'] ) ) && ( $ueConfig['reg_username_checker'] ) );
|
||
$checkEmail = ( ( isset( $ueConfig['reg_email_checker'] ) ) && ( $ueConfig['reg_email_checker'] > 1 ) );
|
||
$usernameExists = ( ( isset( $ueConfig['login_type'] ) ) && ( $ueConfig['login_type'] != 2 ) );
|
||
$https_post = checkCBPostIsHTTPS( true );
|
||
$urlLostPass = cbSef('index.php');
|
||
|
||
if ( $https_post ) {
|
||
if ( ( substr( $urlLostPass, 0, 5 ) != 'http:' ) && ( substr( $urlLostPass, 0, 6 ) != 'https:' ) ) {
|
||
$urlLostPass = $_CB_framework->getCfg( 'live_site' ) . '/' . $urlLostPass;
|
||
}
|
||
|
||
$urlLostPass = str_replace( 'http://', 'https://', $urlLostPass );
|
||
}
|
||
|
||
outputCbTemplate( 1 );
|
||
ob_start();
|
||
/*
|
||
... | ... | |
<div class="componentheading"><?php echo ( $usernameExists ? _UE_LOST_USERNAME_OR_PASSWORD : _UE_LOST_YOUR_PASSWORD ); ?></div>
|
||
<div class="cbPageOuter" id="cbLostPasswordPage"><div class="cbPageInner">
|
||
<div class="contentpaneopen" id="cb_lost_username_passwd_content">
|
||
<form action="<?php echo cbSef('index.php'); ?>" class="cb_form" id="adminForm" name="adminForm" method="post">
|
||
<form action="<?php echo $urlLostPass; ?>" class="cb_form" id="adminForm" name="adminForm" method="post">
|
||
<?php if ( $usernameExists ) { ?>
|
||
<div class="cb_form_line" id="cb_lost_choice">
|
||
<label for="cb_lost_choice"><?php echo _UE_REMINDER_NEEDED_FOR; ?>:</label>
|
||
... | ... | |
|
||
$introMessage = ( isset( $ueConfig['reg_intro_msg'] ) ? stripslashes( getLangDefinition( $ueConfig['reg_intro_msg'] ) ) : null );
|
||
$conclusionMessage = ( isset( $ueConfig['reg_conclusion_msg'] ) ? stripslashes( getLangDefinition( $ueConfig['reg_conclusion_msg'] ) ) : null );
|
||
|
||
$regFormTag = '<form action="' . cbSef("index.php?option=".$option) . '" method="post" id="cbcheckedadminForm" name="adminForm" class="cb_form" enctype="multipart/form-data">
|
||
$https_post = checkCBPostIsHTTPS( true );
|
||
$urlRegister = cbSef("index.php?option=".$option);
|
||
|
||
if ( $https_post ) {
|
||
if ( ( substr( $urlRegister, 0, 5 ) != 'http:' ) && ( substr( $urlRegister, 0, 6 ) != 'https:' ) ) {
|
||
$urlRegister = $_CB_framework->getCfg( 'live_site' ) . '/' . $urlRegister;
|
||
}
|
||
|
||
$urlRegister = str_replace( 'http://', 'https://', $urlRegister );
|
||
}
|
||
|
||
$regFormTag = '<form action="' . $urlRegister . '" method="post" id="cbcheckedadminForm" name="adminForm" class="cb_form" enctype="multipart/form-data">
|
||
<input type="hidden" name="id" value="0" />
|
||
<input type="hidden" name="gid" value="0" />
|
||
<input type="hidden" name="emailpass" value="' .$emailpass . '" />
|
- « Previous
- 1
- 2
- Next »