<?php

	defined('FULL_PATH') or die('restricted access!');

	// section removal
	$remove_sections = Array (
		'in-portal:configure_categories',
		'in-portal:configuration_search',
		'in-portal:configuration_email',
		'in-portal:configuration_custom',
	);

		// sections shown with debug on
	$debug_only_sections = Array (
//		'in-portal:configure_categories',
//		'in-portal:configuration_search',
//		'in-portal:configuration_email',
//		'in-portal:configuration_custom',
	);

	// toolbar buttons
	$remove_buttons = Array (
		'catalog' => Array (/*'select', 'cancel', 'upcat', 'homecat', 'new_cat', 'new_link', 'new_article', 'new_topic', 'new_product', 'edit', 'delete',*/ 'approve', 'decline', /*'cut', 'copy', 'paste', 'move_up', 'move_down',*/ 'tools', /*'view', 'dbl-click',*/ ),

		'advanced_view' => Array (/*'select', 'cancel', 'new_cat', 'new_link', 'new_article', 'new_topic', 'new_product', 'edit', 'delete',*/ 'approve', 'decline', /*'view', 'dbl-click' */),

//		'categories_relations' => Array ('select', 'cancel', 'prev', 'next', 'new_item', 'edit', 'delete', 'approve', 'decline', 'view', 'dbl-click'),
//		'categories_propertiries' => Array ('select', 'cancel', 'prev', 'next'),
//		'categories_permissions' => Array ('select', 'cancel', 'prev', 'next'),
//		'categories_images' => Array ('select', 'cancel', 'prev', 'next', 'new_item', 'edit', 'delete', 'move_up', 'move_down', 'setprimary', 'view', 'dbl-click'),
//		'reviews' => Array ('edit', 'delete', 'approve', 'decline', 'view', 'dbl-click'),
//		'categories_related_searches' => Array ('new_item', 'edit', 'delete', 'move_up', 'move_down', 'approve', 'decline', 'view', 'dbl-click'),
//		'related_searches_edit' => Array ('select', 'cancel', 'prev', 'next'),
//		'images_edit' => Array ('select', 'cancel', 'prev', 'next'),
//		'relations_edit' => Array ('select', 'cancel', 'prev', 'next'),
	);

	// fields to hide
	$hidden_fields = Array (
		'CategoryId', /*'Type', 'SymLinkCategoryId', 'ParentId', 'Name', 'Filename', 'AutomaticFilename',*/
		/*'Description',*/ 'CreatedOn', 'EditorsPick', 'Status', /*'Priority', 'MetaKeywords', 'CachedDescendantCatsQty',
		'CachedNavbar',*/ 'CreatedById', /*'ResourceId', 'ParentPath', 'TreeLeft', 'TreeRight', 'NamedParentPath',
		'MetaDescription', 'HotItem',*/ 'NewItem', /*'PopItem', 'Modified', 'ModifiedById', 'CachedTemplate',*/
		'Template', /*'UseExternalUrl', 'ExternalUrl',*/ 'UseMenuIconUrl', 'MenuIconUrl', 'Title', 'MenuTitle',
		/*'MetaTitle', 'IndexTools', 'IsMenu',*/'Protected', 'Type', 'FormId', 'FormSubmittedTemplate',
		/*'FriendlyURL', 'ThemeId', 'EnablePageCache', 'OverridePageCacheKey', 'PageCacheKey', 'PageExpiration'*/
	);

	// virtual fields to hide
	$virtual_hidden_fields = Array (
		/*'CurrentSort', 'IsNew', 'OldPriority', 'SameImages', 'LocalThumb', 'ThumbPath', 'ThumbUrl',
		'LocalImage', 'LocalPath', 'FullUrl'*/
	);

	$debug_only_fields = Array (
		'Filename', 'AutomaticFilename', 'SymLinkCategoryId'
	);

	// fields to make required
	$required_fields = Array (
		'ParentId', 'Name', 'Filename', 'CreatedOn', 'Priority',
	);

	// virtual fields to make required
	$virtual_required_fields = Array (

	);

	// tabs during editing
	$hide_edit_tabs = Array (
		'Default' => Array (/*'general', */'properties', 'relations', 'related_searches', 'images', 'permissions', 'custom', ),
	);

	// hide columns in grids
	$hide_columns = Array (
		'Default' => Array (/*'CategoryId', 'Name', 'Modified',*/ 'Template', /*'IsMenu',*/ 'Protected', /*'Type',*/ 'Priority'),
		'DefaultShowAll' => Array (/*'CategoryId', 'Name', 'Modified',*/ 'Template', /*'IsMenu',*/ 'Protected',/*'Type', 'Priority', 'CachedNavbar'*/),
		'Radio' => Array (/*'CategoryId', 'Name', 'Modified',*/ 'Template', /*'IsMenu',*/ 'Protected', /*'Type',*/ 'Priority'),
		'RadioShowALl' => Array (/*'CategoryId', 'Name', 'Modified',*/ 'Template', /*'IsMenu',*/ 'Protected'/*, 'Type', 'Priority', 'CachedNavbar'*/),
		'Structure' => Array (/*'CategoryId', 'Name', 'Modified',*/ 'Template', /*'IsMenu', 'Path',*/ 'Protected',/*'Type',*/ 'Priority'),
	);