<?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_message_list' => Array (/*'new_item', 'edit', 'delete', 'approve', 'decline', 'frontend_mail', 'view',*/ 'export', /*'dbl-click'*/),

//		edit email edit - general tab
//		'email_message_edit' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'),

//		edit email edit - settings tab
//		'email_message_edit_settings' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'),
	);

	// fields to hide
	$hidden_fields = Array (
		/*'EventId', 'Event', '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 (
		/*'EventId',*/ 'Event', /*'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 ('EventId', 'Description', 'Event', 'Module', 'Type', 'Enabled', 'LastChanged'),
//		'Emails'	=>	Array ('EventId', 'Event', 'Subject', 'Description', 'Type', 'Enabled', 'Module', 'FrontEndOnly', 'LastChanged'),
	);