From: paca70 Date: Tue, 21 Sep 2004 13:20:13 +0000 (+0000) Subject: Some cleanups X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c29890b5d8946ec28d7d1376dc99c5fb1bf16419;p=moodle.git Some cleanups --- diff --git a/lang/en/auth.php b/lang/en/auth.php index 4310a198f7..a2fdff2579 100644 --- a/lang/en/auth.php +++ b/lang/en/auth.php @@ -95,6 +95,6 @@ $string['stdchangepassword'] = 'Use standard Change Password Page'; $string['stdchangepassword_expl'] = 'If the external authentication system allows password changes through Moodle, switch this to Yes. This setting overrides \'Change Password URL\'.'; $string['stdchangepassword_explldap'] = 'NOTE: It is recommended that you use LDAP over an SSL encrypted tunnel (ldaps://) if the LDAP server is remote.'; $string['forcechangepassword'] = 'Force change password'; -$string['forcechangepassword_help'] = 'Force users to change password on their first login to Moodle.';$string['guestloginbutton'] = 'Guest login button'; +$string['forcechangepassword_help'] = 'Force users to change password on their next login to Moodle.';$string['guestloginbutton'] = 'Guest login button'; ?> diff --git a/user/edit.html b/user/edit.html index ee99bdb00a..8f1074cb2e 100644 --- a/user/edit.html +++ b/user/edit.html @@ -56,16 +56,17 @@ if (isadmin()) { } echo " "; echo "\n"; - if(!$adminself && ($CFG->{'auth_'.$user->auth.'_stdchangepassword'} || $CFG->changepassword)){ + if(!$adminself && (isset($CFG->{'auth_'.$user->auth.'_stdchangepassword'}) || $CFG->changepassword)){ echo ""; - echo '

'.get_string('forcepasswordchange').':'; - echo ''.get_string('forcepasswordchange_help').''; + echo '

'.get_string('forcechangepassword', 'auth').':'; + echo ''.get_string('forcechangepassword_help','auth').''; echo ""; } echo "


"; } } + ?> :