print_string("newpicture") ?>: |
( .jpg / .png ) helpbutton("picture", get_string("helppicture") ) ?> formerr($err["imagefile"]) ?> |
print_string("userdescription") ?>: |
helpbutton("text", get_string("helptext")) ?> |
print_string("email") ?>: |
formerr($err["email"]) ?> |
print_string("emailformat") ?>: |
$choices["0"] = get_string("textformat"); $choices["1"] = get_string("htmlformat"); choose_from_menu ($choices, "mailformat", $user->mailformat, "") ?> |
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"]) ?> |
print_string("city") ?>: |
formerr($err["city"]) ?> |
print_string("country") ?>: |
choose_from_menu ($COUNTRIES, "country", $user->country, get_string("selectacountry")."...", "", "") ?> formerr($err["country"]) ?> |
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).")"; ?> |
"> |