<?php

/**
 * Element Controls
 */
 

/* FIELDS */
$fields =  array(
	'gid' => array(
		'type'    => 'select',
		'ui' => array(
			'title'   => esc_html__('Gallery', 'gg_ml'),
			'tooltip' => '',
		),
		'options' => array(
			'choices' => $GLOBALS['gg_galls_arr']
		),
	),

	'random' => array(
		'type'    => 'toggle',
		'ui' => array(
			'title'   => esc_html__('Random display?', 'gg_ml'),
			'tooltip' => esc_html__('Display images randomly', 'gg_ml'),
		),
	),
	
	'watermark' => array(
		'type'    => 'toggle',
		'ui' => array(
			'title'   => esc_html__('Use Watermark?', 'gg_ml'),
			'tooltip' => esc_html__('Apply watermark to images (if available)', 'gg_ml'),
		),
	),

	'filters' => array(
		'type'    => 'toggle',
		'ui' => array(
			'title'   => esc_html__('Use tags filter?', 'gg_ml'),
			'tooltip' => '',
		),
	),
	
	'search' => array(
		'type'    => 'toggle',
		'ui' => array(
			'title'   => esc_html__('Enable search?', 'gg_ml'),
			'tooltip' => '',
		),
	),

	'pagination' => array(
		'type'    => 'select',
		'ui' => array(
			'title'   => esc_html__('Pagination System', 'gg_ml'),
			'tooltip' => '',
		),
		'options' => array(
			'choices' => array(
				array('value' => '', 			'label' => esc_html__('Auto - follow global settings', 'gg_ml')),
				array('value' => 'standard', 	'label' => esc_html__('Standard', 'gg_ml')),
				array('value' => 'inf_scroll',	'label' => esc_html__('Infinite scroll', 'gg_ml')),
			)
		),
	),
);


return $fields;
