id == $USER->id) and ($USER->id == $user->id));
- echo "";
- echo "| ".get_string("username").": | ";
+ echo '
';
+ echo '| '.get_string('username').': | ';
if ($adminself || is_internal_auth($user->auth) ){
- echo " username);
echo "\" />";
if (isset($err["username"])) formerr($err["username"]);
} else {
- echo " | ";
+ echo " | ";
p($user->username);
echo "username);
echo "\" />";
}
- echo " | ";
+ echo "";
echo "
\n";
$modules = get_list_of_plugins("auth");
@@ -42,16 +42,16 @@ if (isadmin()) {
$auth_options[$module] = get_string("auth_$module"."title", "auth");
}
if (!$adminself) { /// Main admin is ALWAYS default manual
- echo '';
- echo '| '.get_string("chooseauthmethod","auth").' | ' . "\n";
+ echo ' |
';
+ echo '| '.get_string("chooseauthmethod","auth").' | ' . "\n";
choose_from_menu ($auth_options, "auth", $user->auth);
echo " |
\n";
}
if ($adminself || is_internal_auth($user->auth) || (!empty($CFG->{'auth_'.$user->auth.'_stdchangepassword'}))) {
- echo "";
- echo "| ".get_string("newpassword").": | ";
- echo " ';
+ echo ' | '.get_string('newpassword').': | ';
+ echo "newpassword)) {
p($user->newpassword);
}
@@ -61,7 +61,7 @@ if (isadmin()) {
} else if (empty($user->newpassword)) {
echo " (".get_string("leavetokeep").")";
}
- echo " | ";
+ echo "";
echo "
\n";
if (!$adminself && (!empty($CFG->{'auth_'.$user->auth.'_stdchangepassword'}) || $CFG->changepassword)){
if (get_user_preferences('auth_forcepasswordchange', NULL, $user->id)) {
@@ -69,40 +69,40 @@ if (isadmin()) {
} else {
$checked = '';
}
- echo "";
- echo '| '.get_string('forcepasswordchange').': | ';
+ echo '
';
+ echo '| '.get_string('forcepasswordchange').': | ';
echo ' '.get_string('forcepasswordchangehelp').' | ';
- echo "
";
+ echo '';
}
- echo "
|
";
+ echo '
|
';
}
}
?>
-
- | : |
+
+ | : |
" maxlength="20" value="firstname) ?>" />
|
-
- | : |
+
+ | : |
" maxlength="20" value="lastname) ?>" />
|
-
- | : |
+
+ | : |
" maxlength="100" value="email) ?>" />
|
-
- | : |
+
+ | : |
maildisplay, "") ?>
|
-
- | : |
+
+ | : |
emailstop, "") ?>
|
-
- | : |
-
+ | : |
+ mailformat, "") ?>
|
-
- | : |
-
+ | : |
+ maildigest, "") ?>
|
-
- | : |
-
+ | : |
+
|
htmleditor) { ?>
-
- | : |
-
+ | : |
+
|
-
- | : |
+
+ | : |
" maxlength="20" value="city) ?>" />
|
-
- | : |
+
+ | : |
|
-
- | : |
-
+ | : |
+ lang) {
$user->lang = $CFG->lang;
}
@@ -190,12 +190,12 @@ if (isadmin()) {
}
if (isset($err["lang"])) formerr($err["lang"]);
?>
- |
+
allowuserthemes)) { ?>
-
- | : |
-
+ | : |
+ theme, "", "", "");
@@ -204,9 +204,9 @@ if (isadmin()) {
|
-
- | : |
-
+ | : |
+ timezone) > 13) {
$user->timezone = 99;
}
@@ -229,10 +229,10 @@ if (isadmin()) {
echo "(".get_string("currentlocaltime").")";
?>
- |
+
-
- | : |
+
+ | : |
|
- : |
+ : |
@@ -252,20 +252,20 @@ if (isadmin()) {
$maxbytes = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes);
if (!empty($CFG->gdversion) and $maxbytes and empty($CFG->disableuserimages)) {
?>
-
- | : |
-
+ |
+ | : |
+
id, $course->id, $user->picture, false, false, false);
if ($user->picture) {
echo ' ';
print_string("delete");
}
?>
- |
+
-
- | : |
-
+ |
+ | : |
+
dirroot.'/lib/uploadlib.php');
upload_print_form_fragment(1,array('imagefile'),null,false,null,0,0,false);
@@ -273,77 +273,76 @@ if (isadmin()) {
print_string("maxsize", "", display_size($maxbytes));
if (isset($err["imagefile"])) formerr($err["imagefile"]);
?>
- |
+
gdversion) and isadmin()) { ?>
-
- | : |
-
+ |
+ | : |
+
wwwroot/$CFG->admin/config.php\">";
print_string('gdnot');
echo "";
?>
- |
+
-
- | : |
- " maxlength="255" value="url) ?>" />
+ |
+ | : |
+ " maxlength="255" value="url) ?>" />
- |
+
-
- | : |
- " maxlength="15" value="icq) ?>" />
+ |
+ | : |
+ " maxlength="15" value="icq) ?>" />
- |
+
-
- | : |
+
+ | : |
" maxlength="12" value="idnumber) ?>" />
- |
+
-
- | : |
+
+ | : |
" maxlength="40" value="institution) ?>" />
|
-
- | : |
+
+ | : |
" maxlength="30" value="department) ?>" />
|
-
- | 1: |
+
+ | 1: |
" maxlength="20" value="phone1) ?>" />
- |
+
-
- | 2: |
+
+ | 2: |
" maxlength="20" value="phone2) ?>" />
- |
+
-
- | : |
+
+ | : |
" maxlength="70" value="address) ?>" />
- |
+
- |
- " /> |
+ " /> |