<?php

$options = array(
	array(
		"name" => __("General",THEME_ADMIN_DOMAIN),
		"type" => "title",
	),
   
	array(
		"name" => __("TopBar General",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Display TopBar Area",THEME_ADMIN_DOMAIN),
			"desc" => sprintf(__('If this option is off, topbar will be disappeared all together.',THEME_ADMIN_DOMAIN),get_option('siteurl')),
			"id" => "display_topbar",
			"default" => true,
			"type" => "toggle",
		),
		array(
			"name" => __("Welcome Area Type",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "wel_area_type",
			"default" => 'none',
			"options" => array(
				"html" => __('Html',THEME_ADMIN_DOMAIN),
				"wpml_flags" => __('Wpml Flags',THEME_ADMIN_DOMAIN),
				"mix_type" => __('Html&Wpml Flags',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Welcome Text",THEME_ADMIN_DOMAIN),
			"desc" => __("Enter the welcome text(html) that you'd like to display in the welcome",THEME_ADMIN_DOMAIN),
			"id" => "welcome_text",
			"default" => "Welcome to our ".get_bloginfo('title'),
			"rows" => 3,
			"type" => "textarea"
		),

		array(
			"name" => __("TopBar Area Type",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "top_area_type",
			"default" => 'menu',
			"options" => array(
				"html" => __('Html',THEME_ADMIN_DOMAIN),
				"menu" => __('Top Bar Menu',THEME_ADMIN_DOMAIN),
				"widget" => __('Widget Area',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Display Login/Logout",THEME_ADMIN_DOMAIN),
			"desc" => sprintf(__('If this option is on, user login/logout link will add in top bar menu.',THEME_ADMIN_DOMAIN),get_option('siteurl')),
			"id" => "top_menu_login",
			"default" => false,
			"type" => "toggle",
		),
		array(
			"name" => __("Topbar Html",THEME_ADMIN_DOMAIN),
			"desc" => __("Enter the topbar html that you'd like to display in the topbar",THEME_ADMIN_DOMAIN),
			"id" => "topbar_html",
			"default" => "",
			"rows" => 3,
			"type" => "textarea"
		),

	array(
		"type" => "end"
	),
	array(
		"name" => __("Logo General",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		/*array(
			"name" => __("Header Height",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "header_height",
			"min" => "60",
			"max" => "300",
			"step" => "1",
			"unit" => 'px',
			"default" => "90",
			"type" => "range"
		),*/
		array(
			"name"=>__("Logo Width",THEME_ADMIN_DOMAIN),
			"id" => "logo_width",
			"default" => false,
			"min" => "100",
			"max" => "500",
			"step" => "1",
			"unit" => 'px',
			"type" => "range",
			
		),
		array(
			"name"=>__("Logo Height",THEME_ADMIN_DOMAIN),
			"id" => "logo_height",
			"default" => false,
			"min" => "0",
			"max" => "200",
			"step" => "1",
			"unit" => 'px',
			"default" => "70",
			"type" => "range",
			
		),
		array(
			"name"=>__("Logo Margin Top",THEME_ADMIN_DOMAIN),
			"id" => "logo_top",
			"default" => false,
			"min" => "-200",
			"max" => "200",
			"step" => "1",
			"unit" => 'px',
			"default" => "23",
			"type" => "range",
			
		),
		array(
			"name"=>__("Logo Margin Left",THEME_ADMIN_DOMAIN),
			"id" => "logo_left",
			"default" => false,
			"min" => "-200",
			"max" => "200",
			"step" => "1",
			"unit" => 'px',
			"default" => "0",
			"type" => "range",
			
		),
		array(
			"name" => __("Display Custom Logo",THEME_ADMIN_DOMAIN),
			"desc" => sprintf(__('If this option is on, you should fill the text field below. Or you should define "Site Title" in <a href="%s/wp-admin/options-general.php">Settings->General</a> instead of a logo
image.',THEME_ADMIN_DOMAIN),get_option('siteurl')),
			"id" => "display_logo",
			"default" => false,
			"type" => "toggle",
		),
		array(
			"name" => __("Custom Logo",THEME_ADMIN_DOMAIN),
			"id" => "logo",
			"desc" =>__( "Paste the full URL (include <code>http://</code>) of your custom logo here or you can insert the image through the button.",THEME_ADMIN_DOMAIN),
			"default" => "",
			"type" => "upload",
			"imagewidth"=>250,
			"imageheight"=>100,
		),
	array(
		"type" => "end"
	),
	array(
		"name" => __("Navigation Menu",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Wordpress Built-in Menu",THEME_ADMIN_DOMAIN),
			"desc" => sprintf(__("If this option is on, you can control over your sites menu with WordPress’s new Navigation Menus feature. See here: <a href=\"%s/wp-admin/nav-menus.php\">%s/wp-admin/nav-menus.php</a>",THEME_ADMIN_DOMAIN),get_option('siteurl'),get_option('siteurl')),
			"id" => "enable_nav_menu",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Excluded Pages From Menu",THEME_ADMIN_DOMAIN),
			"desc" => __("If Wordpress Built-in Menu is off, we will show all pages except pages selected below in the menu.",THEME_ADMIN_DOMAIN),
			"id" => "excluded_pages",
			"default" => array(),
			"page" => '0',
			"prompt" => __("Choose page..",THEME_ADMIN_DOMAIN),
			"chosen" => "true",
			"type" => "multiselect",
		),
	array(
		"type" => "end"
	),
	array(
		"name" => __("Header General",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Feature Header Type",THEME_ADMIN_DOMAIN),
			"desc" => __("Here you can override the general feature header on a post by post basis.",THEME_ADMIN_DOMAIN),
			"id" => "introduce",
			"options" => array(
				"description" => "Description",
				"slideshow" => "SlideShow",
				"disable" => "Disable",
			),
			"default" => "description",
			"type" => "select"
		),
		array(
			"name" => __("SlideShow Type",THEME_ADMIN_DOMAIN),
			"desc" => __("Select which slidershow type to use.",THEME_ADMIN_DOMAIN),
			"id" => "general_slideshow_type",
			"default" => 'nivo',
			"options" => array(
				"any" => __('Anything SlideShow',THEME_ADMIN_DOMAIN),
				"nivo" => __('Nivo SlideShow',THEME_ADMIN_DOMAIN),
				"flow" => __('Cover FlowSlideShow',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("SlideShow Source",THEME_ADMIN_DOMAIN),
			"desc" => __("Select which slidershow Source to use. It only available when the type of feature header is slideshow",THEME_ADMIN_DOMAIN),
			"id" => "general_slideshow_category",
			"default" => "{s}",
			"options" => array(
				"g" => __('Self Gallery',THEME_ADMIN_DOMAIN),
			),
			"chosen" => true,
			"prompt" => __("Select Source..",THEME_ADMIN_DOMAIN),
			"function" => "theme_slideshow_category",
			'target' => 'slideshow_source',
			"chosen_order" => true,
			'process' => 'theme_slidershow_source_process',
			'prepare' => 'theme_slidershow_source_prepare',
			"type" => "multiselect"
		),
		array(
			"name" => __("SlideShow Height",THEME_ADMIN_DOMAIN),
			"desc" => __("Height of slider.",THEME_ADMIN_DOMAIN),
			"id" => "general_slideshow_height",
			"min" => "100",
			"max" => "500",
			"step" => "1",
			"unit" => 'px',
			"default" => "396",
			"type" => "range"
		),
		array(
			"name" => __("SlideShow Number",THEME_ADMIN_DOMAIN),
			"desc" => __("Number of Slide items to display.",THEME_ADMIN_DOMAIN),
			"id" => "general_slideshow_number",
			"min" => "0",
			"max" => "10",
			"step" => "1",
			"default" => "0",
			"type" => "range"
		),
		array(
			"name" => __("Disable slideshow control bar",THEME_ADMIN_DOMAIN),
			"desc" => __("If true, you'll globally disable your slideshow's control bar.",THEME_ADMIN_DOMAIN),
			"id" => "general_slideshow_nav",
			"default" => "0",
			"type" => "toggle"
		),
		array(
			"name" => __("SlideShow Nav Items Number",THEME_ADMIN_DOMAIN),
			"desc" => __("Number of Slide nav items to display.",THEME_ADMIN_DOMAIN),
			"id" => "general_slideshow_nav_number",
			"min" => "1",
			"max" => "6",
			"step" => "1",
			"default" => "4",
			"type" => "range"
		),
	array(
		"type" => "end"
	),
	array(
		"name" => __("Page General",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Custom Favicon",THEME_ADMIN_DOMAIN),
			"id" => "custom_favicon",
			"default" => '',
			"button" => 'Insert Icon',
			"removebutton" => 'Remove Icon',
			"type" => 'upload',
			"imagewidth"=>70,
			"imageheight"=>70,
		),
		array(
			"name" => __("Use Boxed Layout",THEME_ADMIN_DOMAIN),
			"id" => "boxed_layout",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Boxed Layout Outter Background",THEME_ADMIN_DOMAIN),
			"id" => "boxed_outter",
			"default" => '',
			"type" => 'upload',
			"imagewidth"=>200,
			"imageheight"=>200,
		),
		array(
			"name" => __("Boxed Layout Outter Background Image Position",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "boxed_position",
			"default" => 'center center',
			"options" => array(
				"top left" => __('Top Left',THEME_ADMIN_DOMAIN),
				"top center" => __('Top Center',THEME_ADMIN_DOMAIN),
				"top right" => __('Top Right',THEME_ADMIN_DOMAIN),
				"center left" => __('Center Left',THEME_ADMIN_DOMAIN),
				"center center" => __('Center Center',THEME_ADMIN_DOMAIN),
				"center right" => __('Center Right',THEME_ADMIN_DOMAIN),
				"bottom left" => __('Bottom Left',THEME_ADMIN_DOMAIN),
				"bottom center" => __('Bottom Center',THEME_ADMIN_DOMAIN),
				"bottom right" => __('Bottom Right',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Boxed Layout Outter Background Image Repeat",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "boxed_repeat",
			"default" => 'no-repeat',
			"options" => array(
				"no-repeat" => __('No Repeat',THEME_ADMIN_DOMAIN),
				"repeat" => __('Repeat',THEME_ADMIN_DOMAIN),
				"repeat-x" => __('Repeat-X',THEME_ADMIN_DOMAIN),
				"repeat-y" => __('Repeat-y',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Fix Boxed Layout Outter Background",THEME_ADMIN_DOMAIN),
			"desc" =>  __("If this option is on, the background image of boxed layout will be fixed. Even if you scroll the browser window ",THEME_ADMIN_DOMAIN),
			"id" => "boxed_fixed",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Disable Breadcrumbs",THEME_ADMIN_DOMAIN),
			"desc" => __("If this option is on, you'll globally disable your website's breadcrumb navigation.",THEME_ADMIN_DOMAIN),
			"id" => "disable_breadcrumb",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Default Page Layout",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "layout",
			"default" => 'right',
			"options" => array(
				"full" => __('Full Width',THEME_ADMIN_DOMAIN),
				"right" => __('Right Sidebar',THEME_ADMIN_DOMAIN),
				"left" => __('Left Sidebar',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Attachment Single Layout",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "attachment_single_layout",
			"default" => 'right',
			"options" => array(
				"full" => __('Full Width',THEME_ADMIN_DOMAIN),
				"right" => __('Right Sidebar',THEME_ADMIN_DOMAIN),
				"left" => __('Left Sidebar',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		 array(
			"name" => __("Lightbox themes",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "lightbox_theme",
			"default" => 'facebook',
			"options" => array(
				"facebook" => __('Facebook',THEME_ADMIN_DOMAIN),
				"light_square" => __('Light Square',THEME_ADMIN_DOMAIN),
				"light_rounded" => __('Light Rounded',THEME_ADMIN_DOMAIN),
				"dark_rounded" => __('Dark Rounded',THEME_ADMIN_DOMAIN),
				"dark_square" => __('Dark Square',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		 array(
			"name" => __("Display social tag in Lightbox",THEME_ADMIN_DOMAIN),
			"desc" => __("If you turn it on, twitter&facebook share would be display in lightbox"),
			"id" => "display_social",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Scroll to Top ",THEME_ADMIN_DOMAIN),
			"desc" => __("If this option is on, you'll see an scroll to top button at the bottom of the page.",THEME_ADMIN_DOMAIN),
			"id" => "scroll_to_top",
			"default" => false,
			"type" => "toggle"
		),
	array(
		"type" => "end"
	),	
);
return array(
	'auto' => true,
	'name' => 'general',
	'options' => $options
);
