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 |  | ()
New Password Again |  |
Preferences
AllowMultipleUIsEnabled() || $GLOBALS["G_User"]->HasPriv(PRIV_SYSADMIN)) { ?>
Active User Interface |
Resources Per Page |
Account Information
Name | Get("RealName") ?>" size="25" maxlength="40" />
Email | Get("EMail") ?>" size="40" maxlength="80" autocomplete="off" />
Address | Get("AddressLineOne") ?>" size="40" maxlength="80" />
Address Line Two | Get("AddressLineTwo") ?>" size="40" maxlength="80" />
City | Get("City") ?>" size="20" maxlength="40" />
State | Get("State") ?>" size="2" maxlength="2" />
Zip Code | Get("ZipCode") ?>" size="10" maxlength="10" />
Country | Get("Country") ?>" size="25" maxlength="40" />
Additional Settings

Cancel