• 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

    AllowMultipleUIsEnabled() || $GLOBALS["G_User"]->HasPriv(PRIV_SYSADMIN)) { ?>
    Password
    ()
    Preferences
    Account Information
    Get("RealName") ?>" size="25" maxlength="40" />
    Get("EMail") ?>" size="40" maxlength="80" autocomplete="off" />
    Get("AddressLineOne") ?>" size="40" maxlength="80" />
    Get("AddressLineTwo") ?>" size="40" maxlength="80" />
    Get("City") ?>" size="20" maxlength="40" />
    Get("State") ?>" size="2" maxlength="2" />
    Get("ZipCode") ?>" size="10" maxlength="10" />
    Get("Country") ?>" size="25" maxlength="40" />
    Additional Settings
    Cancel