<?php
return array(
	"title" => __("Portfolio list",THEME_ADMIN_DOMAIN),
	"shortcode" => 'portfolio_list',
	"type" => 'self-closing',
	"options" => array(
		array(
			"name" => __("Count",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "count",
			"default" => '4',
			"min" => 0,
			"max" => 30,
			"step" => "1",
			"type" => "range"
		),
		array(
			"name" => __("Thumbnail",THEME_ADMIN_DOMAIN),
			"id" => "thumbnail",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Lightbox",THEME_ADMIN_DOMAIN),
			"id" => "lightbox",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Length of Title",THEME_ADMIN_DOMAIN),
			"desc" => "if set to 0, it will use the full length of the title.",
			"id" => "title_length",
			"default" => 0,
			"min" => 0,
			"max" => 80,
			"step" => "1",
			"type" => "range"
		),
		array(
			"name" => __("Extra infomation type",THEME_ADMIN_DOMAIN),
			"id" => "extra",
			"default" => 'desc',
			"options" => array(
				"time" => __('Time',THEME_ADMIN_DOMAIN),
				"desc" => __('Description',THEME_ADMIN_DOMAIN),
				"both" => __('Time and Description',THEME_ADMIN_DOMAIN),
				"none" => __('None',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Length of Description",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "desc_length",
			"default" => '80',
			"min" => 0,
			"max" => 200,
			"step" => "1",
			"type" => "range"
		),
		array(
			"name" => __("Category (optional)",THEME_ADMIN_DOMAIN),
			"id" => "cat",
			"default" => array(),
			"target" => 'portfolio_category',
			"chosen" => true,
			"prompt" => __("Select Categories..",THEME_ADMIN_DOMAIN),
			"type" => "multiselect",
		),
		array(
			"name" => __("Type (optional)",THEME_ADMIN_DOMAIN),
			"id" => "type",
			"default" => '',
			"options" => array(
				"image" => __('Image',THEME_ADMIN_DOMAIN),
				"gallery" => __('Gallery',THEME_ADMIN_DOMAIN),
				"video" => __('Video',THEME_ADMIN_DOMAIN),
				"doc" => __('Document',THEME_ADMIN_DOMAIN),
				"link" => __('Link',THEME_ADMIN_DOMAIN),
				"lightbox" => __('Lightbox',THEME_ADMIN_DOMAIN),
			),
			"prompt" => __("Select Type..",THEME_ADMIN_DOMAIN),
			"type" => "select",
		),
		array(
			"name" => __("Author (optional)",THEME_ADMIN_DOMAIN),
			"id" => "author",
			"default" => array(),
			"target" => 'author',
			"chosen" => true,
			"prompt" => __("Select Authors..",THEME_ADMIN_DOMAIN),
			"type" => "multiselect",
		),
		array(
			"name" => __("Offset",THEME_ADMIN_DOMAIN),
			"desc" => __("Number of post to displace or pass over.",THEME_ADMIN_DOMAIN),
			"id" => "offset",
			"default" => '0',
			"min" => 0,
			"max" => 10,
			"step" => "1",
			"type" => "range"
		),
	),
);
