".get_string("username").": | ";
echo "username); echo "\">"; echo formerr($err["username"]); echo " | "; echo "
".get_string("newpassword").": | ";
echo "newpassword); echo "\">"; if (isset($err["newpassword"])) { formerr($err["newpassword"]); } else if (empty($user->newpassword)) { echo "(".get_string("leavetokeep").")"; } echo " | "; echo "
print_string("firstname") ?>: |
formerr($err["firstname"]) ?> |
print_string("lastname") ?>: |
formerr($err["lastname"]) ?> |
print_string("email") ?>: |
formerr($err["email"]) ?> |
print_string("emaildisplay") ?>: |
$choices["0"] = get_string("emaildisplayno"); $choices["1"] = get_string("emaildisplayyes"); $choices["2"] = get_string("emaildisplaycourse"); choose_from_menu ($choices, "maildisplay", $user->maildisplay, "") ?> |
print_string("emailformat") ?>: |
unset($choices); $choices["0"] = get_string("textformat"); $choices["1"] = get_string("htmlformat"); choose_from_menu ($choices, "mailformat", $user->mailformat, "") ?> |
print_string("textediting") ?>: |
unset($choices); $choices["0"] = get_string("texteditor"); $choices["1"] = get_string("htmleditor"); choose_from_menu ($choices, "htmleditor", $user->htmleditor, "") ?> |
print_string("city") ?>: |
formerr($err["city"]) ?> |
print_string("country") ?>: |
choose_from_menu ($COUNTRIES, "country", $user->country, get_string("selectacountry")."...", "", "") ?> formerr($err["country"]) ?> |
print_string("preferredlanguage") ?>: |
if ($languages = get_list_of_languages()) { if (!$user->lang) { $user->lang = $CFG->lang; } choose_from_menu ($languages, "lang", $user->lang, "", "", ""); } formerr($err["lang"]); ?> |
print_string("timezone") ?>: |
if (abs($user->timezone) > 12) { $user->timezone = 99; } $timenow = time(); for ($tz = -23; $tz <= 24; $tz++) { $zone = (float)$tz/2.0; $usertime = $timenow + ($tz * 1800); if ($tz == 0) { $timezones["$zone"] = gmstrftime("%a, %I:%M %p", $usertime)." (GMT)"; } else if ($tz < 0) { $timezones["$zone"] = gmstrftime("%a, %I:%M %p", $usertime)." (GMT$zone)"; } else { $timezones["$zone"] = gmstrftime("%a, %I:%M %p", $usertime)." (GMT+$zone)"; } } choose_from_menu ($timezones, "timezone", $user->timezone, get_string("serverlocaltime"), "", "99"); echo "(".get_string(currentlocaltime).")"; ?> |
print_string("userdescription") ?>: |
helpbutton("text", get_string("helptext")) ?> formerr($err["description"]) ?> |
print_string("followingoptional") ?>: |
|
print_string("newpicture") ?>: |
helpbutton("picture", get_string("helppicture")); print_string("maxsize", "", display_size(get_max_upload_file_size())); formerr($err["imagefile"]); ?> |
print_string("webpage") ?>: |
formerr($err["url"]) ?> |
print_string("icqnumber") ?>: |
formerr($err["icq"]) ?> |
print_string("idnumber") ?>: |
p($teacheronly) ?> formerr($err["idnumber"]) ?> |
print_string("phone") ?> 1: |
p($teacheronly) ?> formerr($err["phone1"]) ?> |
print_string("phone") ?> 2: |
p($teacheronly) ?> formerr($err["phone2"]) ?> |
print_string("address") ?>: |
p($teacheronly) ?> formerr($err["address"]) ?> |
"> |