<?php

/**
 * Element Controls
 */
 

/* FIELDS */
$fields =  array(
	'cid' => array(
		'type'    => 'select',
		'ui' => array(
			'title'   => esc_html__('Collection', 'gg_ml'),
			'tooltip' => '',
		),
		'options' => array(
			'choices' => $GLOBALS['gg_colls_arr']
		),
	),
	
	'filter' => array(
		'type'    => 'toggle',
		'ui' => array(
			'title'   => esc_html__('Allow Filters?', 'gg_ml'),
			'tooltip' => esc_html__('Allow galleries filtering by category', 'gg_ml'),
		),
	),

	'random' => array(
		'type'    => 'toggle',
		'ui' => array(
			'title'   => esc_html__('Random display?', 'gg_ml'),
			'tooltip' => esc_html__('Display images randomly', 'gg_ml'),
		),
	),

);

return $fields;
