htmleditor)) { $user->htmleditor = 1; } if (!isset($user->picture)) { $user->picture = NULL; } if (empty($user->lang)) { $user->lang = $CFG->lang; } if (!isset($user->theme)) { $user->theme = ''; } if (!isset($user->trackforums)) { $user->trackforums = 0; } ?>
id == $USER->id) and ($USER->id == $user->id)); echo ''; echo ''; if ($adminself || is_internal_auth($user->auth) ){ echo ""; echo "\n"; $modules = get_list_of_plugins("auth"); $auth_options = array(); foreach ($modules as $module) { $auth_options[$module] = get_string("auth_$module"."title", "auth"); } if (!$adminself) { /// Main admin is ALWAYS default manual echo ''; echo '' . "\n\n"; } if ($adminself || is_internal_auth($user->auth) || (!empty($CFG->{'auth_'.$user->auth.'_stdchangepassword'}))) { echo ''; echo ''; echo ""; echo "\n"; if (!$adminself && (!empty($CFG->{'auth_'.$user->auth.'_stdchangepassword'}) || $CFG->changepassword)){ if (get_user_preferences('auth_forcepasswordchange', NULL, $user->id)) { $checked = ' checked="checked" '; } else { $checked = ''; } echo ''; echo ''; echo ''; echo ''; } echo ''; } } ?> allowuserthemes)) { ?> maxbytes, $course->maxbytes); if (!empty($CFG->gdversion) and $maxbytes and empty($CFG->disableuserimages)) { ?> gdversion) and isadmin()) { ?>
'.get_string('username').':username); echo "\" />"; if (isset($err["username"])) formerr($err["username"]); } else { echo ""; p($user->username); echo "username); echo "\" />"; } echo "
'.get_string("chooseauthmethod","auth").':"; choose_from_menu ($auth_options, 'auth', $user->auth); helpbutton('authchange', get_string('chooseauthmethod', 'auth')); echo "
'.get_string('newpassword').':newpassword)) { p($user->newpassword); } echo "\" />"; if (isset($err["newpassword"])) { formerr($err["newpassword"]); } else if (empty($user->newpassword)) { echo " (".get_string("leavetokeep").")"; } echo "
'.get_string('forcepasswordchange').': '.get_string('forcepasswordchangehelp').'

: " maxlength="20" value="lastname) ?>" />
: " maxlength="20" value="firstname) ?>" />
: " maxlength="100" value="email) ?>" />
: " maxlength="20" value="city) ?>" />
: country and $CFG->country) { $user->country = $CFG->country; } choose_from_menu(get_list_of_countries(), "country", $user->country, get_string("selectacountry")."...", "", ""); ?>
: lang) { $user->lang = $CFG->lang; } choose_from_menu ($languages, "lang", $user->lang, "", "", ""); } if (isset($err["lang"])) formerr($err["lang"]); ?>
: theme, "", "", ""); if (isset($err["theme"])) formerr($err["theme"]); ?>
" />

:
: 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); helpbutton("picture", get_string("helppicture")); print_string("maxsize", "", display_size($maxbytes)); if (isset($err["imagefile"])) formerr($err["imagefile"]); ?>
: wwwroot/$CFG->admin/config.php\">"; print_string('gdnot'); echo ""; ?>
" />