Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1168051
email_templates_email-template.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Sep 24, 6:24 AM
Size
2 KB
Mime Type
text/x-php
Expires
Fri, Sep 26, 6:24 AM (1 d, 1 h)
Engine
blob
Format
Raw Data
Handle
756657
Attached To
rINP In-Portal
email_templates_email-template.php
View Options
<?php
defined
(
'FULL_PATH'
)
or
die
(
'restricted access!'
);
// section removal
$remove_sections
=
Array
(
// 'in-portal:configemail',
);
// sections shown with debug on
$debug_only_sections
=
Array
(
'in-portal:configemail'
,
);
// toolbar buttons
$remove_buttons
=
Array
(
// list of all email templates
'email_template_list'
=>
Array
(
/*'new_item', 'edit', 'delete', 'approve', 'decline', 'frontend_mail', 'view',*/
'export'
,
/*'dbl-click'*/
),
// edit email template - general tab
// 'email_template_edit' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'),
// edit email template - settings tab
// 'email_template_edit_settings' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'),
);
// fields to hide
$hidden_fields
=
Array
(
/*'TemplateId', 'TemplateName', 'ReplacementTags', 'AllowChangingSender', 'CustomSender',
'SenderName', 'SenderAddressType', 'SenderAddress', 'AllowChangingRecipient',
'CustomRecipient', 'Recipients', 'Subject', 'HtmlBody', 'PlainTextBody', 'Headers',
'Enabled', 'FrontEndOnly', 'Module', 'BindToSystemEvent', 'Description', 'Type'*/
);
// virtual fields to hide
$virtual_hidden_fields
=
Array
(
/*'RecipientType', 'RecipientName', 'RecipientAddressType',
'RecipientAddress', 'Tag', 'Replacement', 'ReplacementTagsXML',*/
);
// fields to make required
$required_fields
=
Array
(
/*'TemplateId',*/
'TemplateName'
,
/*'ReplacementTags', 'AllowChangingSender', 'CustomSender',
'SenderName', 'SenderAddressType', 'SenderAddress', 'AllowChangingRecipient',
'CustomRecipient', 'Recipients',*/
'Subject'
,
/*'HtmlBody', 'PlainTextBody', 'Headers',*/
/*'Enabled', 'FrontEndOnly',*/
'Module'
,
/*'BindToSystemEvent', 'Description',*/
'Type'
);
// virtual fields to make required
$virtual_required_fields
=
Array
(
/*'RecipientType', 'RecipientName', 'RecipientAddressType',
'RecipientAddress', 'Tag', 'Replacement', 'ReplacementTagsXML',*/
);
// tabs during editing
$hide_edit_tabs
=
Array
(
'Default'
=>
Array
(
/*'general',*/
'settings'
),
);
// hide columns in grids
$hide_columns
=
Array
(
// 'Default' => Array ('TemplateId', 'Description', 'TemplateName', 'Module', 'Type', 'Enabled', 'LastChanged'),
// 'Emails' => Array ('TemplateId', 'TemplateName', 'Subject', 'Description', 'Type', 'Enabled', 'Module', 'FrontEndOnly', 'LastChanged'),
);
Event Timeline
Log In to Comment