<?php
$custom_script = <<<HTML
	
	return '';
HTML;
return array(
	"title" => __("Test", THEME_ADMIN_DOMAIN),
	"shortcode" => 'test',
	"type" => 'enclosing', //enclosing, self-closing, custom
	"options" => array(
		array(
			"name" => __("Text",THEME_ADMIN_DOMAIN),
			"id" => "text",
			"default" => "",
			"type" => "text"		
		),
		array(
			"name" => __("Textarea",THEME_ADMIN_DOMAIN),
			"id" => "textarea",
			"rows" => "2",
			"default" => "",
			"type" => "textarea"
		),
		array(
			"name" => __("Select",THEME_ADMIN_DOMAIN),
			"id" => "select",
			"default" => '1',
			"options" => array(
				"1" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),1),
				"2" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),2),
				"3" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),3),
				"4" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),4),
				"5" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),5),
				"6" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),6),
			),
			"type" => "select",
		),
		array(
			"name" => __("Multi Select",THEME_ADMIN_DOMAIN),
			"id" => "multiselect",
			"default" => array('1','2'),
			"options" => array(
				"1" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),1),
				"2" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),2),
				"3" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),3),
				"4" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),4),
				"5" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),5),
				"6" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),6),
			),
			"type" => "multiselect",
		),
		array(
			"name" => __("Multi Dropdown",THEME_ADMIN_DOMAIN),
			"id" => "multidropdown",
			"default" => array('1056','9','123'),
			"page" => '0',
			"prompt" => __("Choose page..",THEME_ADMIN_DOMAIN),
			"type" => "multidropdown",
		),
		array(
			"name" => __("Super Link",THEME_ADMIN_DOMAIN),
			"id" => "superlink",
			"default" => "",
			"shows" => array('page','cat','post','manually'),
			"type" => "superlink"
		),
		array(
			"name" => __("Checkboxes",THEME_ADMIN_DOMAIN),
			"id" => "checkboxes",
			"default" => array("3","2"),
			"options" => array(
				"1" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),1),
				"2" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),2),
				"3" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),3),
			),
			"type" => "checkboxes",
		),
		array(
			"name" => __("Radios",THEME_ADMIN_DOMAIN),
			"id" => "radios",
			"default" => "1",
			"options" => array(
				"1" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),1),
				"2" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),2),
				"3" => sprintf(__("%d Option",THEME_ADMIN_DOMAIN),3),
			),
			"type" => "radios",
		),
		array(
			"name" => __("Upload",THEME_ADMIN_DOMAIN),
			"id" => "upload",
			"button" => "Insert Image",
			"default" => '',
			"type" => "upload",
		),
		array (
			"name" => __("Range",THEME_ADMIN_DOMAIN),
			"id" => "range",
			"default" => 0,
			"min" => 0,
			"max" => 100,
			"unit" => 'px',
			"step" => "1",
			"type" => "range"
		),
		array(
			"name" => __("Color",THEME_ADMIN_DOMAIN),
			"id" => "color",
			"default" => "",
			"type" => "color"		
		),
		array(
			"name" => __("Toggle",THEME_ADMIN_DOMAIN),
			"id" => "toggle",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Tri Toggle",THEME_ADMIN_DOMAIN),
			"id" => "tritoggle",
			"label" => "lable text",
			"default" => 'default',
			"type" => "tritoggle"
		),
		array(
			"name" => __("Validator",THEME_ADMIN_DOMAIN),
			"id" => "validator",
			"default" => "",
			"required" => true,
			"maxlength" => '15',
			"minlength" => '2',
			"format" => 'email',
			"type" => "validator"		
		),
	),
	"custom" => $custom_script,
);
