X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-mydata.php;h=23f0b933c34cff8802c6b1047bb753b999a7d438;hb=a74cbdf4f8838f216ebb1a201943575177ffe9a5;hp=4d55270d0eb26c2c1215020c482b14c5ac5d622b;hpb=55c394034c676bf5815d5fbc38555258ba6a59d4;p=mailer.git diff --git a/inc/modules/member/what-mydata.php b/inc/modules/member/what-mydata.php index 4d55270d0e..23f0b933c3 100644 --- a/inc/modules/member/what-mydata.php +++ b/inc/modules/member/what-mydata.php @@ -75,7 +75,7 @@ switch ($mode) { // How far is last change on his profile away from now? if ((($content['last_update'] + getConfig('profile_lock')) > time()) && (!isAdmin()) && (getConfig('profile_lock') > 0)) { // You cannot change your account - $content['change'] = loadTemplate('admin_settings_saved', true, '
' . getMaskedMessage('MEMBER_PROFILE_LOCKED', generateDateTime($content['last_update'] + getConfig('profile_lock'), 0)) . '
'); + $content['change'] = loadTemplate('admin_settings_saved', true, '
' . getMaskedMessage('MEMBER_PROFILE_LOCKED', generateDateTime($content['last_update'] + getConfig('profile_lock'), 0)) . '
'); } else { // He is allowed to change his profile $content['change'] = loadTemplate('member_mydata_button', true); @@ -170,15 +170,15 @@ LIMIT 1", if (isExtensionActive('country')) { // Generate selection box - $OUT = "'; $whereStatement = "WHERE `is_active`='Y'"; if (isAdmin()) $whereStatement = ''; $OUT .= generateOptionList('countries', 'id', 'descr', $content['country_code'], 'code', $whereStatement); - $OUT .= ""; + $OUT .= ''; $content['country'] = $OUT; } else { // Ouput default input box - $content['country'] = ''; + $content['country'] = ''; } // Load template @@ -213,7 +213,7 @@ LIMIT 1", // Did the user changed the password? if ($hash != $content['password']) { $AND = ", `password`='" . $hash . "'"; - $mode = 'pass'; + $mode = 'password'; } // END - if // Or did he changed his password?