GetResource(); foreach ($Fields as $Field) { # skip fields the user isn't allowed to edit if (!$Resource->UserCanEditField($GLOBALS["G_User"], $Field)) { continue; } $SafeDisplayName = defaulthtmlentities($Field->GetDisplayName()); $IsTallRow = $Field->Type() === MetadataSchema::MDFTYPE_FILE || $Field->Type() === MetadataSchema::MDFTYPE_IMAGE; ?>
> :
SignalEvent( "EVENT_APPEND_HTML_TO_FORM", array("PageName" => "Preferences", "FormName"=>"UserPreferences", "Labels" => array(), "InputElements" => array(), "Notes" => array())); } # ----- MAIN ----------------------------------------------------------------- $AdditionalHtml = GetAdditionalFormHtml(); $CustomFields = CWUser::GetCustomUserFields(); $HasCustomFields = count($CustomFields) > 0; $ShowAdditionalOptions = $HasCustomFields || count($AdditionalHtml["Labels"]) > 0; ?>

# User Preferences

Password
Old Password |
New Password | (must be at least 6 characters long)
New Password Again | (passwords are case-sensitive)
Preferences
AllowMultipleUIsEnabled() || $User->HasPriv(PRIV_SYSADMIN)) { ?>
Active User Interface |
Resources Per Page |
Account Information
Name |
E-mail |
Address |
Address Line Two |
City |
State |
Zip Code |
Country |
Additional Settings

Cancel