UserCanAuthorField($GLOBALS["G_User"], $Field))
{
continue;
}
# skip file and image fields because there's no resource with which to
# associate the user with
if ($Field->Type() === MetadataSchema::MDFTYPE_IMAGE
|| $Field->Type() === MetadataSchema::MDFTYPE_FILE)
{
continue;
}
$SafeDisplayName = defaulthtmlentities($Field->GetDisplayName());
?>
: |
|
Delete();
}
/**
* Print the list of available mailer templates.
*/
function PrintTemplateList()
{
global $G_PluginManager;
$MailerPlugin = $G_PluginManager->GetPlugin("Mailer");
$TemplateList = $MailerPlugin->GetTemplateList();
$TemplateList[-1] = "--";
PrintOptionList(
"F_TemplateId",
$TemplateList,
-1,
"", 1, 1, FALSE, NULL, "auto");
}
$ErrorMessageList = $FTool->GetErrorMessages();
$CustomFields = CWUser::GetCustomUserFields();
?>
Create an Account