<?php

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

	// section removal
	$remove_sections = Array (
//		'in-link',
//		'in-link:links',
//		'in-link:duplicate_checker',
//		'in-link:setting_folder',
//		'in-link:configuration_output',
//		'in-link:configuration_search',
//		'in-link:configuration_email',
//		'in-link:configuration_custom',
	);

	// sections shown with debug on
	$debug_only_sections = Array (
//		'in-link',
//		'in-link:links',
//		'in-link:duplicate_checker',
//		'in-link:setting_folder',
//		'in-link:configuration_output',
//		'in-link:configuration_search',
//		'in-link:configuration_email',
//		'in-link:configuration_custom',
	);

	// toolbar buttons
	$remove_buttons = Array (
//		list of links
//		'link_list' => Array (),

//		"General" tab during link adding/editing
//		'links_edit' => Array ('select', 'cancel', 'prev', 'next'),

//		"Images" tab during link adding/editing
//		'links_images' => Array ('select', 'cancel', 'prev', 'next', 'new_item', 'edit', 'delete', 'move_up', 'move_down', 'setprimary', 'view', 'dbl-click'),

//		"Categories" tab during link adding/editing
//		'links_categories' => Array ('select', 'cancel', 'prev', 'next', 'new_item', 'delete', 'setprimary',),

//		"Relations" tab during link adding/editing
//		'links_relations' => Array ('select', 'cancel', 'prev', 'next', 'new_item', 'edit', 'delete', 'approve', 'decline', 'view', 'dbl-click'),

//		"Custom" tab during user/admin adding/editing
//		'links_custom' => Array ('select', 'cancel', 'prev', 'next'),

//		"Files" tab
//		'links_files' => Array ('select', 'cancel', 'prev', 'next', 'new_item', 'edit', 'delete', 'view', 'dbl-click'),

//		"Reviews" tab during admin adding/editing AND separate password change form for non-"root" users (in top frame)
//		'links_reviews' => Array ('select', 'cancel', 'prev', 'next', 'new_item', 'edit', 'delete', 'approve', 'decline', 'move_up', 'move_down', 'view', 'dbl-click'),

//		edit iamge
//		'images_edit' => Array ('select', 'cancel'),

//		edit file
//		'file_edit' => Array ('select', 'cancel'),

//		user/admin group membership editing (used on "Groups" tab during user/admin adding/editing)
//		'reviews_edit' => Array ('select', 'cancel'),

//		user image adding/editing (used on "Images" tab during user adding/editing)
//		'relations_edit' => Array ('select', 'cancel'),

//		duplicate links
//		'duplicate_links' => Array ('edit', 'view', 'dbl-click'),

//		duplicate links -> view duplicates of the link
//		'duplicate_links_view' => Array ('cancel', 'edit', 'delete', 'merge_links', 'view', 'dbl-click'),

	);

	// fields to hide
	$hidden_fields = Array (
	/* 'LinkId', 'Name', 'AutomaticFilename', 'Description', 'Url', 'CreatedOn', 'Modified', 'Expire',
		'Hits', 'CachedRating', 'CachedVotesQty', 'CachedReviewsQty', 'CreatedById', 'ModifiedById' , 'Priority', 'Status', 'EditorPick',
		'ResourceId', 'HotItem', 'PopItem', 'NewItem', 'OrgId', 'CustomTemplate', 'MetaKeywords', 'MetaDescription', 'ReciprocalLinkFound', */
	);

	// virtual fields to hide
	$virtual_hidden_fields = Array (
		/*'UserName', 'DupeCount', 'ListingTypeId', 'MoreCategories', 'CategoryId', 'ExportFormat', 'ExportFilename',
		 'FieldsSeparatedBy', 'FieldsEnclosedBy', 'LineEndings', 'LineEndingsInside', 'IncludeFieldTitles', 'ExportColumns',
		 'AvailableColumns', 'CategoryFormat', 'CategorySeparator', 'IsBaseCategory', 'FieldTitles', 'ImportSource',
		 'ImportFilename', 'ImportLocalFilename', 'CheckDuplicatesMethod', 'ReplaceDuplicates', 'DuplicateCheckFields',
		 'SkipFirstRow', 'ThumbnailImage', 'FullImage', 'ImageAlt', 'Filename', 'CachedNavbar', 'ParentPath',
		 'SameImages', 'LocalThumb', 'ThumbPath', 'ThumbUrl', 'LocalImage', 'LocalPath', 'FullUrl', */
	);

	// fields to make required
	$required_fields = Array (
	/* 'LinkId', */ 'Name', /* 'AutomaticFilename', 'Description',*/ 'Url', /*'CreatedOn', 'Modified', 'Expire',
		'Hits', 'CachedRating', 'CachedVotesQty', 'CachedReviewsQty', 'CreatedById', 'ModifiedById' , 'Priority', 'Status', 'EditorPick',
		'ResourceId', 'HotItem', 'PopItem', 'NewItem', 'OrgId', 'CustomTemplate', 'MetaKeywords', 'MetaDescription', 'ReciprocalLinkFound', */
	);

	// virtual fields to make required
	$virtual_required_fields = Array (
		/*'UserName', 'DupeCount', 'ListingTypeId', 'MoreCategories', 'CategoryId', 'ExportFormat', 'ExportFilename',
		 'FieldsSeparatedBy', 'FieldsEnclosedBy', 'LineEndings', 'LineEndingsInside', 'IncludeFieldTitles', 'ExportColumns',
		 'AvailableColumns', 'CategoryFormat', 'CategorySeparator', 'IsBaseCategory', 'FieldTitles', 'ImportSource',
		 'ImportFilename', 'ImportLocalFilename', 'CheckDuplicatesMethod', 'ReplaceDuplicates', 'DuplicateCheckFields',
		 'SkipFirstRow', 'ThumbnailImage', 'FullImage', 'ImageAlt', 'Filename', 'CachedNavbar', 'ParentPath',
		 'SameImages', 'LocalThumb', 'ThumbPath', 'ThumbUrl', 'LocalImage', 'LocalPath', 'FullUrl', */
	);

	// tabs during editing
	$hide_edit_tabs = Array (
//		tabs during link adding/editing
//		'Default' => Array ('general', 'categories', 'relations', 'images', 'files', 'reviews', 'custom'),
	);

	// hide columns in grids
	$hide_columns = Array (
//		default grid
//		'Default' => Array ('LinkId', 'Name', 'Url', 'Description', 'CreatedOn', 'Modified', 'Hits', 'CachedRating', 'CachedVotesQty', 'CachedReviewsQty'),

//		link radio selector grid
//		'Radio' => Array ('LinkId', 'Name', 'Url', 'Description', 'CreatedOn', 'Modified', 'Hits', 'CachedRating', 'CachedVotesQty', 'CachedReviewsQty'),

//		duplicate links grid
//		'Duplicates' => Array ('Name', 'Url', 'DupeCount'),
	);
