From: ikawhero Date: Fri, 5 Jan 2007 02:50:50 +0000 (+0000) Subject: Deprecated file. Replaced with edit_form.php. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ca894a358fde613f18e639f50abcc7aeab6e47da;p=moodle.git Deprecated file. Replaced with edit_form.php. --- diff --git a/user/edit.html b/user/edit.html deleted file mode 100644 index b0679213f2..0000000000 --- a/user/edit.html +++ /dev/null @@ -1,434 +0,0 @@ -htmleditor)) { - $user->htmleditor = 1; - } - if (!isset($user->ajax)) { - $user->ajax = 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; - } - if (!isset($user->screenreader)) { - $user->screenreader = 0; - } -?> - -
- -id == $USER->id) and ($USER->id == $user->id)); - $userauth = get_auth_plugin($user->auth); - echo ''; - echo ''; - if ($adminself or $userauth->is_internal()) { - 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 or $userauth->can_change_password()) { - echo ''; - echo ''; - echo ""; - echo "\n"; - if (!$adminself and $userauth->can_change_password()) { - if (get_user_preferences('auth_forcepasswordchange', NULL, $user->id)) { - $checked = ' checked="checked" '; - } else { - $checked = ''; - } - echo ''; - echo ''; - echo ''; - echo ''; - } - - echo ''; - } -} - -?> - - - - - - - - - - - - - - - - - - - - - - - - -allowusermailcharset)) { ?> - - - - - - - - - - - - - -forum_trackreadposts)) { ?> - - - - - -htmleditor) { ?> - - - - - - - - - - - - - - - - - - - - - - - - - -allowuserthemes)) { ?> - - - - - - - - - - - - - - - - - - - - - -maxbytes, $course->maxbytes); - if (!empty($CFG->gdversion) and $maxbytes and (empty($CFG->disableuserimages) or has_capability('moodle/user:update', get_context_instance(CONTEXT_SYSTEM, SITEID)))) { -?> - - - - - - - - -gdversion) and has_capability('moodle/user:update', get_context_instance(CONTEXT_SYSTEM, SITEID))) { ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
'.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="100" value="firstname) ?>" /> - -
: - " maxlength="100" value="lastname) ?>" /> - -
: - " maxlength="100" value="email) ?>" /> - -
:maildisplay, "") ?> -
:emailstop, "") ?> -
:mailformat, "") ?> -
:id); - unset($choices); - unset($charsets); - $charsets = get_list_of_charsets(); - if (!empty($CFG->sitemailcharset)) { - $choices['0'] = get_string('site').' ('.$CFG->sitemailcharset.')'; - } else { - $choices['0'] = get_string('default').' (UTF-8)'; - } - $choices = array_merge($choices, $charsets); - choose_from_menu($choices, 'mailcharset', $mailcharset, ''); ?> -
:maildigest, "") ?> -
:autosubscribe, "") ?> -
:trackforums, "") ?> -
:htmleditor, "") ?> -
:enableajax)) { - $user->ajax = 0; - } - choose_from_menu ($choices, 'ajax', $user->ajax, '', '', 0, false, empty($CFG->enableajax)) ?> -
: - " 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")."...", "", ""); - ?> - -
: - forcetimezone != 99) { - choose_from_menu($timezones, 'timezone', $CFG->forcetimezone, get_string('serverlocaltime'), '', '99', false, true); - } else { - choose_from_menu($timezones, 'timezone', $user->timezone, get_string('serverlocaltime'), '', '99'); - } - ?> -
: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"]); - ?> -
:"; - } - print_textarea($usehtmleditor, 10, 50, 50, 10, 'description', "$user->description"); - helpbutton("text", get_string("helptext")); - ?> -
:screenreader, '', '', 0, false) ?> -
" />

:
: - 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); - if (isset($err["imagefile"])) formerr($err["imagefile"]); - ?> -
: - wwwroot/$CFG->admin/config.php\">"; - print_string('gdnot'); - echo ""; - ?> -
: - " maxlength="100" value="imagealt) ?>" /> -
:" maxlength="255" value="url) ?>" /> - -
:" maxlength="15" value="icq) ?>" /> - -
:" maxlength="50" value="skype) ?>" /> - -
:" maxlength="50" value="aim) ?>" /> - -
:" maxlength="50" value="yahoo) ?>" /> - -
:" maxlength="50" value="msn) ?>" /> - -
: - " maxlength="64" value="idnumber) ?>" /> - -
:" maxlength="40" value="institution) ?>" /> -
: - " maxlength="30" value="department) ?>" /> -
1: - " maxlength="20" value="phone1) ?>" /> - -
2: - " maxlength="20" value="phone2) ?>" /> - -
: - " maxlength="70" value="address) ?>" /> - -
" />
- - -