<?php
if (! function_exists("theme_blog_page_process")) {
	function theme_blog_page_process($option,$value) {
		if(!empty($value)){
			update_option( 'page_for_posts', $value );
		}
		return $value;
	}
}
if (! function_exists("theme_get_sidebar_options")) {
	function theme_get_sidebar_options(){
		$sidebars = theme_get_option('sidebar','sidebars');
		if(!empty($sidebars)){
			$sidebars_array = explode(',',$sidebars);

			$options = array();
			foreach ($sidebars_array as $sidebar){
				$options[$sidebar] = $sidebar;
			}
			return $options;
		}else{
			return array();
		}
	}
}
$options = array(
	array(
		"name" => __("Blog",THEME_ADMIN_DOMAIN),
		"type" => "title"
	),
	array(
		"name" => __("Blog Header General",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Feature Header Type",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "introduce_type",
			"default" => 'default',
			"options" => array(
				"default" => "Default",
				"description" => "Description",
				"slideshow" => "SlideShow",
				"disable" => "Disable",
			),
			"type" => "select",
		),
		array(
			"name" => __("Feature Header Custom Title",THEME_ADMIN_DOMAIN),
			"desc" => __('If any text you enter here will override your default feature header title.',THEME_ADMIN_DOMAIN),
			"id" => "custom_title",
			"default" => "",
			"class" => 'full',
			"type" => "text"		
		),
		array(
			"name" => __("Feature Header Custom Text",THEME_ADMIN_DOMAIN),
			"desc" => __('If the "custom text" option is selected above any text you enter here will override your general feautre header text .',THEME_ADMIN_DOMAIN),
			"id" => "custom_introduce_text",
			"rows" => "2",
			"default" => "",
			"type" => "textarea"		
		),
		array(
			"name" => __("SlideShow Type",THEME_ADMIN_DOMAIN),
			"desc" => __("Select which slidershow type to use.",THEME_ADMIN_DOMAIN),
			"id" => "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" => "slideshow_category",
			"default" => "{s}",
			"options" => array(
				"g" => __('Self Gallery',THEME_ADMIN_DOMAIN),
			),
			"chosen" => true,
			"prompt" => __("Select Source..",THEME_ADMIN_DOMAIN),
			"function" => "theme_slideshow_category",
			"chosen_order" => true,
			'target' => 'slideshow_source',
			'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" => "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" => "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  disable your slideshow's control bar in blog list page.",THEME_ADMIN_DOMAIN),
			"id" => "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" => "slideshow_nav_number",
			"min" => "1",
			"max" => "6",
			"step" => "1",
			"default" => "4",
			"type" => "range"
		),
		array(
			"name" => __("Author link to website",THEME_ADMIN_DOMAIN),
			"desc" => __("If this option is on, the author name text will link to Website field which is set in the user's profile, or it will link to the author's posts page.",THEME_ADMIN_DOMAIN),
			"id" => "author_link_to_website",
			"default" => true,
			"type" => "toggle"
		),
		
	array(
		"type" => "end"
	),
	array(
		"name" => __("Blog Page General",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("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),
				"default" => __('Default',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Use Custom Image",THEME_ADMIN_DOMAIN),
			"id" => "custom_background",
			"default" => 'false',
			"type" => "toggle"
		),
		array(
			"name" => __("Page Background Color",THEME_ADMIN_DOMAIN),
			"desc" => __("If you specify a color below, this will override the global configuration. Set transparent to disable this.",THEME_ADMIN_DOMAIN),
			"id" => "page_background_color",
			"default" => "",
			"type" => "color"		
		),
		array(
			"name" => __("Custom Image",THEME_ADMIN_DOMAIN),
			"id" => "page_image",
			"default" => "",
			"type" => "upload",
		),
		array(
			"name" => __("Position",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "page_position",
			"default" => '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" => __("Repeat",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "page_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" => __("Footer Background Color",THEME_ADMIN_DOMAIN),
			"desc" => __("If you specify a color below, this will override the global configuration. Set transparent to disable this.",THEME_ADMIN_DOMAIN),
			"id" => "footer_background_color",
			"default" => "",
			"type" => "color"		
		),
		array(
			"name" => __("Custom Image",THEME_ADMIN_DOMAIN),
			"id" => "footer_image",
			"default" => "",
			"type" => "upload"
		),
		array(
			"name" => __("Position",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "footer_position",
			"default" => '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" => __("Repeat",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "footer_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" => __("Disable Breadcrumbs",THEME_ADMIN_DOMAIN),
			"desc" => __('Here you can disable breadcrumbs on a post by post basis. Alternatively you can globally disable breadcrumbs under the "General Settings" tab in your theme\'s option panel.',THEME_ADMIN_DOMAIN),
			"id" => "disable_breadcrumb",
			"label" => "Check to disable breadcrumbs on this post",
			"default" => "",
			"type" => "tritoggle"
		),
		array(
			"name" => __("Custom Sidebar",THEME_ADMIN_DOMAIN),
			"desc" => __("Select the custom sidebar that you'd like to be displayed on this.<br />Note: you will need to first create a custom sidebar in your themes option panel before it will show up here.",THEME_ADMIN_DOMAIN),
			"id" => "sidebar",
			"prompt" => __("Choose one..",THEME_ADMIN_DOMAIN),
			"default" => '',
			"options" => theme_get_sidebar_options(),
			"type" => "select",
		),
	array(
		"type" => "end"
	),
	array(
		"name" => __("Blog List General",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Featured Image Type",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "featured_image_type",
			"default" => 'full',
			"options" => array(
				"full" => __('Full Width',THEME_ADMIN_DOMAIN),
				"left" => __('Left Float',THEME_ADMIN_DOMAIN),
				"right" => __('Right Float',THEME_ADMIN_DOMAIN),
				"none" => __('Disable Featured Image',THEME_ADMIN_DOMAIN), 
			),
			"type" => "select",
		),
		array(
			"name" => __("Display Default Image",THEME_ADMIN_DOMAIN),
			"desc" => "Display default image when this blog doesn't have thumb image",
			"id" => "display_default",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Default Image",THEME_ADMIN_DOMAIN),
			"id" => "default_blog_image",
			"default" => '',
			"type" => "upload"
		),
		array(
			"name" => __("Display Blog Meta",THEME_ADMIN_DOMAIN),
			"id" => "display_meta",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Featured Image for Lightbox",THEME_ADMIN_DOMAIN),
			"desc" => __("If this option is on, the full image will open in the lightbox when click on Featured Image of Blog Post page.",THEME_ADMIN_DOMAIN),
			"id" => "featured_image_lightbox",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Description Featured Image Lightbox",THEME_ADMIN_DOMAIN),
			"desc" => __("If this option is on, the description will display in the lightbox .",THEME_ADMIN_DOMAIN),
			"id" => "featured_image_lightbox_desc",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Display Full Blog Posts",THEME_ADMIN_DOMAIN),
			"desc" => __("This option determinate whether to display full blog posts in index page.",THEME_ADMIN_DOMAIN),
			"id" => "display_full",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Display Read More",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "read_more",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Display Read More as button",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "read_more_button",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Read More Text",THEME_ADMIN_DOMAIN),
			"id" => "read_more_text",
			"default" => __("Read more &raquo;",THEME_FRONT_DOMAIN),
			"type" => "text",
		),
		array(
			"name" => __("Display Description Words Number",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "excerpt_count",
			"default" => 10,
			"type" => "text"
		),
		array(
			"name" => __("Exclude Categories for blog page",THEME_ADMIN_DOMAIN),
			"desc" => __("The blog Page usually displays all Categorys, since sometimes you want to exclude some of these categories. You can exclude multiple categories here:",'striking_admin'),
			"id" => "exclude_categorys_for_blog_page",
			"default" => array(),
			"target" => "cat",
			"chosen" => "true",
			"prompt" => __("Choose category..",THEME_ADMIN_DOMAIN),
			"type" => "multiselect"
		),
		array(
			"name" => __("Exclude Categories for whole site",THEME_ADMIN_DOMAIN),
			"desc" => __("The posts with the categories you selected here will not show on the any archive pages and any posts widget.",'striking_admin'),
			"id" => "exclude_categorys",
			"default" => array(),
			"target" => "cat",
			"chosen" => "true",
			"prompt" => __("Choose category..",THEME_ADMIN_DOMAIN),
			"type" => "multiselect"
		),
		array(
			"name" => __("Gap Between Posts",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "posts_gap",
			"min" => "0",
			"max" => "200",
			"step" => "1",
			"unit" => 'px',
			"default" => "80",
			"type" => "range"
		),
	array(
		"type" => "end"
	),
	array(
		"name" => __("Single Blog Header General",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Feature Header Type",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "single_introduce_type",
			"default" => 'default',
			"options" => array(
				"default" => "Default",
				"description" => "Description",
				"slideshow" => "SlideShow",
				"disable" => "Disable",
			),
			"type" => "select",
		),
		array(
			"name" => __("Feature Header Custom Title",THEME_ADMIN_DOMAIN),
			"desc" => __('If any text you enter here will override your default feature header title.',THEME_ADMIN_DOMAIN),
			"id" => "single_custom_title",
			"default" => "",
			"class" => 'full',
			"type" => "text"		
		),
		array(
			"name" => __("Feature Header Custom Text",THEME_ADMIN_DOMAIN),
			"desc" => __('If the "custom text" option is selected above any text you enter here will override your general feautre header text .',THEME_ADMIN_DOMAIN),
			"id" => "single_custom_introduce_text",
			"rows" => "2",
			"default" => "",
			"type" => "textarea"		
		),
		array(
			"name" => __("SlideShow Type",THEME_ADMIN_DOMAIN),
			"desc" => __("Select which slidershow type to use.",THEME_ADMIN_DOMAIN),
			"id" => "single_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" => "single_slideshow_category",
			"default" => "{s}",
			"options" => array(
				"g" => __('Self Gallery',THEME_ADMIN_DOMAIN),
			),
			"chosen" => true,
			"chosen_order" => true,
			"prompt" => __("Select Source..",THEME_ADMIN_DOMAIN),
			"function" => "theme_slideshow_category",
			'target' => 'slideshow_source',
			'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" => "single_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" => "single_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  disable your slideshow's control bar in blog list page.",THEME_ADMIN_DOMAIN),
			"id" => "single_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" => "single_slideshow_nav_number",
			"min" => "1",
			"max" => "6",
			"step" => "1",
			"default" => "4",
			"type" => "range"
		),
	array(
		"type" => "end"
	),
		array(
		"name" => __("Search Page",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Layout",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "search_layout",
			"default" => 'right',
			"options" => array(
				"default" => __('Default',THEME_ADMIN_DOMAIN),
				"full" => __('Full Width',THEME_ADMIN_DOMAIN),
				"right" => __('Right Sidebar',THEME_ADMIN_DOMAIN),
				"left" => __('Left Sidebar',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Featured Image Type",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "search_featured_image_type",
			"default" => 'full',
			"options" => array(
				"full" => __('Full Width',THEME_ADMIN_DOMAIN),
				"left" => __('Left Float',THEME_ADMIN_DOMAIN),
				"right" => __('Right Float',THEME_ADMIN_DOMAIN),
				"none" => __('Disable Featured Image',THEME_ADMIN_DOMAIN), 
			),
			"type" => "select",
		),
		array(
			"name" => __("Display Default Image",THEME_ADMIN_DOMAIN),
			"desc" => "Display default image when this blog doesn't have thumb image",
			"id" => "search_display_default",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Display Blog Meta",THEME_ADMIN_DOMAIN),
			"id" => "search_display_meta",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Display Full Blog Posts",THEME_ADMIN_DOMAIN),
			"desc" => __("This option determinate whether to display full blog posts in search result page.",THEME_ADMIN_DOMAIN),
			"id" => "search_display_full",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Nothing Found Text",THEME_ADMIN_DOMAIN),
			"desc" => 'eg: <code>Nothing found matching the searchcriteria.</code>. ',
			"id" => "search_nothing_found",
			"default" => '',
			'rows' => '2',
			"type" => "textarea"
		),
	array(
		"type" => "end"
	),
	array(
		"name" => __("Single Blog Settings",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Layout",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "single_layout",
			"default" => 'right',
			"options" => array(
				"full" => __('Full Width',THEME_ADMIN_DOMAIN),
				"right" => __('Right Sidebar',THEME_ADMIN_DOMAIN),
				"left" => __('Left Sidebar',THEME_ADMIN_DOMAIN),
				"default" => __('Default',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		
		array(
			"name" => __("Featured Image",THEME_ADMIN_DOMAIN),
			"desc" => __("If this option is on, Featured Image will appear in Single Blog page.",THEME_ADMIN_DOMAIN),
			"id" => "featured_image",
			"default" => true,
			"type" => "toggle"
		),
		/*array(
			"name" => __("Featured Image Type",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "single_featured_image_type",
			"default" => 'full',
			"options" => array(
				"full" => __('Full Width',THEME_ADMIN_DOMAIN),
				"left" => __('Left Float',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),*/
		array(
			"name" => __("Featured Image for Lightbox",THEME_ADMIN_DOMAIN),
			"desc" => __("If this option is on, the full image will open in the lightbox when click on Featured Image of Blog Single Post page.",THEME_ADMIN_DOMAIN),
			"id" => "sinlge_featured_image_lightbox",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Description Featured Image Lightbox",THEME_ADMIN_DOMAIN),
			"desc" => __("If this option is on, the description will display in the lightbox .",THEME_ADMIN_DOMAIN),
			"id" => "sinlge_featured_image_lightbox_desc",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Show in Header Area",THEME_ADMIN_DOMAIN),
			"desc" => __("if this option is on, blog title and blog meta info will show in header introduce text area.",THEME_ADMIN_DOMAIN),
			"id" => "show_in_header",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("About Author Box",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "author",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Related & Popular Post Module",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "related_popular",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Related Post Base on",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "related_base_on",
			"default" => 'tags',
			"options" => array(
				'categories'=>__('Same Categories',THEME_ADMIN_DOMAIN),
				'tags'=>__('Same Tags',THEME_ADMIN_DOMAIN),
			),
			"type" => "select"
		),
		array(
			"name" => __("Previous & Next Navigation",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "entry_navigation",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __(" Previous & Next Navigation for Category",THEME_ADMIN_DOMAIN),
			"desc" =>__("If this option is on, the Previous & Next Navigation will only show the portfolio items with the same Category",THEME_ADMIN_DOMAIN),
			"id" => "single_navigation_category",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Disable Comment Box By Default",THEME_ADMIN_DOMAIN),
			"desc" => __("if this option is on, comment box will be disable whene there is no comment.",THEME_ADMIN_DOMAIN),
			"id" => "default_comment",
			"default" => false,
			"type" => "toggle"
		),
	
	array(
		"type" => "end"
	),
	/*array(
		"name" => __("Blog List Meta informations",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Comment",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "meta_comment",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Category",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "meta_category",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Tags",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "meta_tags",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Author",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "meta_author",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Date",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "meta_date",
			"default" => true,
			"type" => "toggle"
		),
	array(
		"type" => "end"
	),*/
	array(
		"name" => __("Meta informations",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("For Blog list",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "meta_items",
			"default" => array('category','date'),
			"options" => array(
				'category'=>__('Category',THEME_ADMIN_DOMAIN),
				'tags'=>__('Tags',THEME_ADMIN_DOMAIN),
				'author'=>__('Author',THEME_ADMIN_DOMAIN),
				'date'=>__('Date',THEME_ADMIN_DOMAIN),
				'comment'=>__('Comment',THEME_ADMIN_DOMAIN),
			),
			'enable_text' => __('Enabled',THEME_ADMIN_DOMAIN),
			'disable_text' => __('Disabled',THEME_ADMIN_DOMAIN),
			"type" => "ddmultiselect"
		),
		array(
			"name" => __("For Header Area of Single Post Page",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "single_meta_items",
			"default" => array('date','category','comment'),
			"options" => array(
				'category'=>__('Category',THEME_ADMIN_DOMAIN),
				'tags'=>__('Tags',THEME_ADMIN_DOMAIN),
				'author'=>__('Author',THEME_ADMIN_DOMAIN),
				'date'=>__('Date',THEME_ADMIN_DOMAIN),
				'comment'=>__('Comment',THEME_ADMIN_DOMAIN),
			),
			'enable_text' => __('Enabled',THEME_ADMIN_DOMAIN),
			'disable_text' => __('Disabled',THEME_ADMIN_DOMAIN),
			"type" => "ddmultiselect"
		),
	array(
		"type" => "end"
	),
	array(
		"name" => __("Full Width Featured Image",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Adaptive Height",THEME_ADMIN_DOMAIN),
			"desc" => __("If this option is on, the height of the featured image depend on the scale of the image.",THEME_ADMIN_DOMAIN),
			"id" => "adaptive_height",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Fixed Height",THEME_ADMIN_DOMAIN),
			"desc" => __("If the option above is off, it will take effect.",THEME_ADMIN_DOMAIN),
			"id" => "fixed_height",
			"min" => "1",
			"max" => "600",
			"step" => "1",
			"unit" => 'px',
			"default" => "250",
			"type" => "range"
		),
	array(
		"type" => "end"
	),
	array(
		"name" => __("Left Float Featured Image",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Width",THEME_ADMIN_DOMAIN),
			"id" => "left_width",
			"min" => "1",
			"max" => "600",
			"step" => "1",
			"unit" => 'px',
			"default" => "200",
			"type" => "range"
		),
		array(
			"name" => __("Height",THEME_ADMIN_DOMAIN),
			"id" => "left_height",
			"min" => "1",
			"max" => "600",
			"step" => "1",
			"unit" => 'px',
			"default" => "220",
			"type" => "range"
		),
	array(
		"type" => "end"
	),
	array(
		"name" => __("Author Meta",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Display E-Mail",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "author_mail",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Display Facebook",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "author_facebook",
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Display Twitter",THEME_ADMIN_DOMAIN),
			"desc" => "",
			"id" => "author_twitter",
			"default" => false,
			"type" => "toggle"
		),
	array(
		"type" => "end"
	),
	array(
		"name" => __("Featured Image Thumbnail for Widget",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Display default thumbnail image",THEME_ADMIN_DOMAIN),
			"desc" => __("If this option is on, it will display default thumbnail image when there is no feature image.",THEME_ADMIN_DOMAIN),
			"id" => "display_default_thumbnail",
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Custom default thumbnail image",THEME_ADMIN_DOMAIN),
			"id" => "default_thumbnail_custom",
			"default" => "",
			"type" => "upload"
		),
	array(
		"type" => "end"
	),
);
return array(
	'auto' => true,
	'name' => 'blog',
	'options' => $options
);
