<?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'),
	);