Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Some cleanups

  • Loading branch information...
commit c29890b5d8946ec28d7d1376dc99c5fb1bf16419 1 parent 8f0cd6e
authored September 21, 2004
2  lang/en/auth.php
@@ -95,6 +95,6 @@
95 95
 $string['stdchangepassword_expl'] = 'If the external authentication system allows password changes through Moodle, switch this to Yes. This setting overrides \'Change Password URL\'.';
96 96
 $string['stdchangepassword_explldap'] = 'NOTE: It is recommended that you use LDAP over an SSL encrypted tunnel (ldaps://) if the LDAP server is remote.';
97 97
 $string['forcechangepassword'] = 'Force change password';
98  
-$string['forcechangepassword_help'] = 'Force users to change password on their first login to Moodle.';$string['guestloginbutton'] = 'Guest login button';
  98
+$string['forcechangepassword_help'] = 'Force users to change password on their next login to Moodle.';$string['guestloginbutton'] = 'Guest login button';
99 99
 
100 100
 ?>
7  user/edit.html
@@ -56,16 +56,17 @@
56 56
         }
57 57
         echo " </td>";
58 58
         echo "</tr>\n";
59  
-        if(!$adminself && ($CFG->{'auth_'.$user->auth.'_stdchangepassword'} || $CFG->changepassword)){
  59
+        if(!$adminself && (isset($CFG->{'auth_'.$user->auth.'_stdchangepassword'}) || $CFG->changepassword)){
60 60
              echo "<tr>";
61  
-             echo '<td align=right><p>'.get_string('forcepasswordchange').':</td>';
62  
-             echo '<td><input type="checkbox" name="forcepasswordchange" />'.get_string('forcepasswordchange_help').'</td>';            
  61
+             echo '<td align=right><p>'.get_string('forcechangepassword', 'auth').':</td>';
  62
+             echo '<td><input type="checkbox" name="forcepasswordchange" />'.get_string('forcechangepassword_help','auth').'</td>';            
63 63
              echo "</tr>";
64 64
          }
65 65
                  
66 66
         echo "<tr><td colspan=\"2\"><hr /></td></tr>";
67 67
     }
68 68
 }
  69
+
69 70
 ?>
70 71
 <tr valign="top">
71 72
     <td align="right"><?php print_string("firstname") ?>:</td>

0 notes on commit c29890b

Please sign in to comment.
Something went wrong with that request. Please try again.