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; } ?>
id == $USER->id) and ($USER->id == $user->id)); echo '
'; echo '
'.get_string('username').':
'; if ($adminself || is_internal_auth($user->auth) ){ echo "
currentlogin,"",$user->username)); echo "\" />"; if (isset($err["username"])) formerr($err["username"]); } else { echo "
"; p(str_replace($USER->currentlogin,"",$user->username)); echo "
currentlogin,"",$user->username)); echo "\" />"; } 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 '
'.get_string("chooseauthmethod","auth").':' . "\n"; // choose_from_menu ($auth_options, 'auth', $user->auth); echo "
"; //helpbutton('authchange', get_string('chooseauthmethod', 'auth')); echo "
\n"; } if ($adminself || is_internal_auth($user->auth) || (!empty($CFG->{'auth_'.$user->auth.'_stdchangepassword'}))) { echo '
'; echo '
'.get_string('newpassword').':
'; echo "
newpassword)) { p($user->newpassword); } echo "\" />"; if (isset($err["newpassword"])) { formerr($err["newpassword"]); } else if (empty($user->newpassword)) { //Sunrise - Use CSS // echo " (".get_string("leavetokeep").")"; echo '
'." (".get_string("leavetokeep").")".'
'; } echo "
"; echo "
\n"; if (!$adminself && (!empty($CFG->{'auth_'.$user->auth.'_stdchangepassword'}) || is_internal_auth())){ if (get_user_preferences('auth_forcepasswordchange', NULL, $user->id)) { $checked = ' checked="checked" '; } else { $checked = ''; } echo '
'; echo '
'.get_string('forcepasswordchange').':
'; echo '
'.'
'.get_string('forcepasswordchangehelp').'
'.'
'; echo '
'; } echo '
'; //echo '
'; } } ?>
:
" maxlength="100" value="firstname) ?>" />
:
" maxlength="100" value="lastname) ?>" />
:
" maxlength="100" value="email) ?>" />
:
" maxlength="20" value="city) ?>" /> "; echo "
"; echo "
"; echo "
"; echo "
"; echo "
"; echo "
"; ?>
allowuserthemes)) { ?>
:
theme, "", "", ""); if (isset($err["theme"])) formerr($err["theme"]);?>
: "; echo "
"; echo "
"; ?>
"; } print_textarea($usehtmleditor, 10, 50, 50, 10, 'description', "$user->description"); // helpbutton("text", get_string("helptext")); ?>
'.get_string("followingoptional").':'.''; ?>
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))) { ?>
:
wwwroot/$CFG->admin/config.php\">"; print_string('gdnot'); echo ""; ?>
:
" maxlength="15" value="icq) ?>" />
:
" maxlength="50" value="skype) ?>" />
:
" maxlength="50" value="aim) ?>" />
:
" maxlength="50" value="yahoo) ?>" />
:
" maxlength="50" value="msn) ?>" />
:
" maxlength="64" value="idnumber) ?>" />
Institute:
" maxlength="40" value="institution) ?>" />
Section:
firstname." ".$user->lastname; ?>
id])>0) { foreach($section[$user->id] as $sec) { echo "
".$sec."
"; } } ?>
id]); $strsection = $str_sec; ?>
" maxlength="30" value="" />
1:
" maxlength="20" value="phone1) ?>" />
2:
" maxlength="20" value="phone2) ?>" />
:
" maxlength="70" value="address) ?>" />
" />