X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-mydata.php;h=a805b179bc13d439212c642f1754fb4adafe426b;hb=0ddf8f6c578aa2c1ff1db9fb8eb0b93a1e247b73;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..a805b179bc 100644 --- a/inc/modules/member/what-mydata.php +++ b/inc/modules/member/what-mydata.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -75,7 +73,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 +168,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 +211,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?