"No", 1 => "Yes"); } /** * Get an array of options available for a privilege value. The array keys are * values for the form and the values are the labels for the form. * @return array array of privilege options */ function GetPrivilegeOptions() { $PrivilegeFactory = new PrivilegeFactory(); return array("--" => "--") + $PrivilegeFactory->GetPrivileges(TRUE, FALSE); } /** * Get the escaped option text and value for a flag value. * @param int $State TRUE if the flag is on and FALSE if the flag is OFF * @return array the first value is the text, the second is the value */ function GetSafeFlagOption($State) { return array( defaulthtmlentities(GetArrayValue(GetFlagOptions(), $State ? 1 : 0)), defaulthtmlentities($State ? 1 : 0)); } /** * Get an array of options available for the user value value. The array keys * are values for the form and the values are the labels for the form. * @return array array of user value options */ function GetUserValueOptions() { $Schema = new MetadataSchema(); $UserFields = $Schema->GetFields(MetadataSchema::MDFTYPE_USER); $Options = array(); foreach ($UserFields as $Id => $UserField) { $Options[$Id] = $UserField->GetDisplayName(); } return $Options; } /** * Print the type field for the given metadata field data. * @param array $Data metadata field data * @param string|null $Error field error, if one exists * @return void */ function PrintTypeField(array $Data, $Error) { $AllowedTypes = MakeTypesHumanReadable($Data["AllowedTypes"]); $HasNoAllowedTypes = !count($AllowedTypes); $SafeType = defaulthtmlentities($Data["Type"]); $SafeTypeName = defaulthtmlentities(MetadataField::$FieldTypeHumanEnums[$Data["Type"]]); ?> All fields. All fields. All fields. All fields. All fields. All fields. All fields. All fields. Text, Paragraph, Number, Date, Timestamp, Flag, Tree, Controlled Name, Option, User, Image, File, URL, and Point fields. Text, Paragraph, Number, Date, Timestamp, Flag, Tree, Controlled Name, Option, Image, File, URL, and Point fields. Text, Paragraph, Number, Date, Timestamp, Flag, Tree, Controlled Name, Option, Image, File, URL, and Point fields. "--") + $Options; ?> Text, Paragraph, Number, Date, Timestamp, Flag, Tree, Controlled Name, Option, Image, File, URL, and Point fields. Text, Paragraph, Number, Date, Timestamp, Flag, Tree, Controlled Name, Option, Image, File, URL, and Point fields.     (on the full record page) Text, Paragraph, Number, Date, Timestamp, Flag, Tree, Controlled Name, Option, Image, File, URL, and Point fields. Text, Paragraph, Number, Tree, Controlled Name, Option, User, Image, File, and URL fields. Text, Paragraph, Number, Date, Timestamp, Flag, Tree, Controlled Name, Option, User, Image, File, and URL fields. Text, Number, Date, Timestamp, and URL fields. (1-20) Text, Paragraph, Number, Date, Timestamp, Tree, Controlled Name, Option, User, Image, File, URL fields. (10 or more) Tree and Controlled Name fields. Tree, Controlled Name, and Option fields. characters Text, Number, Date, and Point fields. characters characters
(Note: making this value smaller will not truncate any existing field values) Text and URL fields. None"; } ?> Text and Paragraph fields. None"; } ?> Number fields. $Data["FlagOffLabel"], 1 => $Data["FlagOnLabel"]); $SafeText = defaulthtmlentities($Value ? $Options[1] : $Options[0]); $SafeValue = defaulthtmlentities($Value ? 1 : 0); ?> Flag fields. NULL, "Y" => NULL); $SafeValue = defaulthtmlentities($DefaultValue["X"]); $SafeValue2 = defaulthtmlentities($DefaultValue["Y"]); if ($Data["HasOwner"]) { if (!strlen($SafeValue)) { $SafeValue = "None"; } if (!strlen($SafeValue2)) { $SafeValue2 = "None"; } } ?> X: , Y: Point fields. Tree and Paragraph fields. Number fields. Number fields. digits to the left of the decimal point digits to the left of the decimal point Point fields. digits to the right of the decimal point digits to the right of the decimal point Point fields. Timestamp fields. Paragraph fields. Paragraph fields. Paragraph fields. Flag fields. Flag fields. Option fields. Image fields. Image fields. Image fields. Image fields. Image fields. Image fields. Image fields. GetPrivileges(TRUE, FALSE); $Selected = $Data["UserPrivilegeRestrictions"]; ?> User fields. "Metadata Tool Only", 1 => "Public and Metadata Tool"); ?> All fields. Tree fields. Image fields. "--", 1 => "and user is value of", -1 => "or user is value of"); $UserValueOptions = GetUserValueOptions(); ?>
All fields. "--", 1 => "and user is value of", -1 => "or user is value of"); $UserValueOptions = GetUserValueOptions(); ?>
All fields. "--", 1 => "and user is value of", -1 => "or user is value of"); $UserValueOptions = GetUserValueOptions(); ?>
All fields.

Metadata Field

(required fields are circled)

1) { ?>

Please Note: This field is currently designated the Resource Field. Some field attributes cannot be modified and the field cannot be deleted until another metadata field is selected for Resource Field. HasPriv(PRIV_SYSADMIN)) { ?> This can be changed on the System Configuration page. This field was created by CWIS. Some field attributes cannot be modified and the field cannot be deleted. This field was created by the plugin. Some field attributes cannot be modified and the field cannot be deleted. This field cannot be deleted because at least one enabled tree field must exist to provide resource browsing functionality. To delete this field, create a new tree field or enable one that is currently disabled.

Basic Information Applies To
Qualifiers Applies To
For Dublin Core compliant schemas, Qualifiers are equivalent to DC Encoding Schemes.
Please see the Metadata Tool Help for further clarification.
Resource Editing Applies To
OAI Applies To
Type-Specific Information Applies To
Note Existing images will be resized automatically
when the dimension values above are changed.
Image fields.
Privileges Applies To
The Viewable attribute is deprecated. It is supported in legacy interfaces only. All fields.