<?php

function theme_options_array() {

	$options=array(

	// MAIN PAGE OPTIONS
	"main" => array( "title" => __( "Theme Settings" , "toppic" ),

	// GENERAL SECTION
	__( "General" , "toppic" ) => array(
	array( "options" => array( "title" => __( 'Site Logo ( Dark )' , 'toppic' ), "class" => "section-upload" ),
		"logo_main" => array( "name" => __('Site Logo ( Dark )', 'toppic' ),
			"type" => "image",
			"desc" => __( "This logo will be used if background behind the logo is light. Supported formats: JPG, PNG, GIF" , "toppic" ),
			"std" => "", 
		),
	),
	array( "options" => array( "title" => __( 'Retina Site Logo ( Dark )' , 'toppic' ), "class" => "section-upload" ),
		"logo_main_retina" => array( "name" => __('Retina Site Logo ( Dark )', 'toppic' ),
			"type" => "image",
			"desc" => __( "Logo for retina displays" , "toppic" ),
			"std" => "", 
		),
	),
	array( "options" => array( "title" => __( 'Site Logo ( Light )' , 'toppic' ), "class" => "section-upload" ),
		"logo_main_light" => array( "name" => __('Site Logo ( Light )',"toppic" ),
			"type" => "image",
			"desc" => __( "This logo will be used if background behind the logo is dark. Supported formats: JPG, PNG, GIF" , "toppic" ),
			"std" => "",
		),
	),
	array( "options" => array( "title" => __( 'Retina Site Logo ( Light )' , 'toppic' ), "class" => "section-upload" ),
		"logo_main_light_retina" => array( "name" => __('Site Logo ( Light )',"toppic" ),
			"type" => "image",
			"desc" => __( "Logo for retina displays" , "toppic" ),
			"std" => "",
		),
	),
	array( "options" => array( "title" => __( 'Admin Logo' , 'toppic' ), "class" => "section-upload" ),
		"logo_admin" => array( "name" => __( 'Admin Logo', 'toppic' ),
			"type" => "image",
			"desc" => __( "Upload a logo (JPG, PNG, GIF) for your Wordpress login screen" , "toppic" ),
			"std" => "",
		),
	),
	array( "options" => array( "title" => __( 'Site Favicon' , 'toppic' ), "class" => "section-upload" ),
		"favicon" => array( "name" => __( 'Site Favicon', 'toppic' ),
			"type" => "image",
			"desc" => __( "Upload a 16x16px image (ICO, JPG, PNG, GIF) that will your website's favicon" , "toppic" ),
			"std" => "#",
		)
	),

	array( "options" => array( "title" => __( "Content Protection" , "toppic" ) ),
		"content_protection" => array( "name" => __('Enable Content Protection',"toppic" ),
			"type" => "onoff",
			"desc" => __( "Enable/disable right click protection" , "toppic" ),
			"std" => "false",
		),
		"protection_message" => array( "name" => __(' ',"toppic" ),
			"type" => "textarea",
			"desc" => __( "This message will be displayed when the user clicks the right button and protection is turned on" , "toppic" ),
			"std" => "",
		),
	),
	array( "options" => array( "title" => __( "Search button" , "toppic" ) ),
		"search_button" => array( "name" => __('Enable Search Button',"toppic" ),
			"type" => "onoff",
			"desc" => __( "Enable/disable search button" , "toppic" ),
			"std" => "true",
		),
	),
	array( "options" => array( "title" => __( "Tracking code" , "toppic" ) ),
		"custom_footer" => array( "name" => __('Footer Custom Code',"toppic" ),
			"type" => "textarea",
			"desc" => __( "Paste your Google Analytics or other tracking code here" , "toppic" ),
			"std" => "",
		),
	),
	array( "options" => array( "title" => __( "Footer copyrights" , "toppic" ) ),
		"copyrights" => array( "name" => __('Paste your copyrights text here',"toppic" ),
			"type" => "textarea",
			"desc" => __( "Paste your copyrights text here. You may use these HTML tags and attributes" , "toppic" ),
			"std" => "&copy; Toppic theme by <a  target='_blank' href='http://themeforest.net/user/kotofey?ref=kotofey'>kotofey</a>",
		),
	),
	),

	// APPEARANCE
	__( "Appearance" , "toppic" ) => array(
	array( "options" => array( "title" => __( "Menu" , "toppic" ) ),
		"menu_style" => array( "name" => __( "Menu style" , "toppic" ),
			"type" => "select",
			"options"  =>  array(
						"kk-menu-default" => "Default",
						"kk-menu-classic" => "Classic",
						"kk-menu-default-hidden" => "Default (hidden)",
						"kk-menu-left-boxed" => "Left Boxed",
						"kk-menu-slide-right" => "Creative",
						"kk-menu-fullscreen" => "Fullscreen"
			),
			"desc" => __( "Select menu style" , "toppic" ),
			"std" => "kk-menu-default",
		),
		"menu_color" => array( "name" => __( "Menu color" , "toppic" ),
			"type" => "color",
			"desc" => __( "Select menu color. Leave this field blank to use default color" , "toppic" ),
			"std" => "",
		),
		"menu_links_color" => array( "name" => __( "Menu text color" , "toppic" ),
			"type" => "color",
			"desc" => __( "Select menu text color. Leave this field blank to use default color" , "toppic" ),
			"std" => "",
		),
		"menu_opacity" => array( "name" => __( 'Menu opacity',"toppic" ),
			"type" => "rangeslider",
			"range" => "0,1",
			"step" => "0.01",
			"desc" => __( "Set menu opacity. Min - 0, max - 1" , "toppic" ),
			"std" => "1",
		),
	),
	array( "options" => array( "title" => __( "Content" , "toppic" ) ),
		"content_style" => array( "name" => __( "Content layout" , "toppic" ),
			"type" => "select",
			"options"  =>  array(
						"kk-boxed" => "Boxed",
						"kk-full" => "Wide"
			),
			"desc" => __( "Select the content area style" , "toppic" ),
			"std" => "kk-boxed",
		),
		"is_border" => array( "name" => __( "Enable Borders" , "toppic" ),
			"type" => "onoff",
			"desc" => __( "Enable Borders" , "toppic" ),
			"std" => "false"
		),
		"con_res" => array( "name" => __( "Enable Responsive layout" , "toppic" ),
			"type" => "onoff",
			"desc" => __( "Responsive layout" , "toppic" ),
			"std" => "true"
		),
	),
	array( "options" => array( "title" => __( "Skin settings" , "toppic" ) ),
		"skin_color" => array( "name" => __( "Color scheme" , "toppic" ),
			"type" => "select",
			"options"  =>  array(
						"light" => "Light",
						"dark" => "Dark"
			),
			"desc" => __( "Select predefined color scheme" , "toppic" ),
			"std" => "light",
		),
		"color_scheme" => array( "name" => __('Select a color to be used as accents color.',"toppic" ),
			"type" => "color",
			"desc" => __( "Select a color to be used as accents color." , "toppic" ),
			"std" => ""
		),	
		"color_scheme_links" => array( "name" => __('Select a color for text to be used when the background is highlighted',"toppic" ),
			"type" => "color",
			"desc" => __( "Select a color for text to be used when the background is highlighted" , "toppic" ),
			"std" => "#fff",
		),
	),
	 array( "options" => array( "title" => __( "Animation between pages" , "toppic" ) ),
		"kk_page_anim" => array( "name" => __('Use animation between pages',"toppic" ),
			"type" => "onoff",
			"desc" => __( "Animation between pages" , "toppic" ),
			"std" => "true"
		),	
	),
	array( "options" => array( "title" => __( "Custom CSS" , "toppic" ) ),
		"custom_css" => array( "name" => __('Add some CSS to your theme by adding it to this area.',"toppic" ),
			"type" => "textarea",
			"desc" => __( "Add some CSS to your theme by adding it to this area." , "toppic" ),
			"std" => "",
		),
	),
	),


	// FULLSCREEN BACKGROUND
	__('Background Slider',"toppic" ) => array(
	array( "options" => array( "title" => __( "Slider Type" , "toppic" ) ),
		"fullscreen_stream" => array( "name" => __('Source images',"toppic" ),
			"type" => "select",
			"options" => array(
				"kk_royal" => "Royal Slider",
				"ken_b" => "KenB Slider"
			),
			"desc" => __( "Select source for background images" , "toppic" ),
			"std" => "kk_royal",
		),
	),
	array( "options" => array( "title" => __( "Slideshow Settings" , "toppic" ) ),
		"fullscreen_effect" => array( "name" => __('Slideshow Settings',"toppic" ),
			"type" => "select",
			"options" => array(
				"fade" => "Fade",
				"move" => "Move"
			),
			"desc" => __( "Animation Effect" , "toppic" ),
			"std" => "fade",
		),
		"fullscreen_transition" => array( "name" => __('Transition Speed (ms)',"toppic" ),
			"type" => "rangeslider",
			"range" => "100,2000",
			"step" => "25",
			"desc" => __( "Transition Speed (ms)" , "toppic" ),
			"std" => "900",
		),			
		"fullscreen_delay" => array( "name" => __('Length between transitions (ms)',"toppic" ),
		  "type" => "rangeslider",
		  "range" => "100,10000",
		  "step" => "100",
		  "desc" => __( "Length between transitions (ms)" , "toppic" ),
		  "std" => "4000",
		),
	),
	array( "options" => array( "title" => __( "Slideshow Settings" , "toppic" ) ),
		"ken_b_transition" => array( "name" => __('Transition Speed (ms)',"toppic" ),
		  "type" => "rangeslider",
		  "range" => "100,2000",
		  "step" => "25",
		  "desc" => __( "Transition Speed (ms)" , "toppic" ),
		  "std" => "1000",
		),			
		"ken_b_delay" => array( "name" => __('Length between transitions (ms)',"toppic" ),
		  "type" => "rangeslider",
		  "range" => "100,20000",
		  "step" => "100",
		  "desc" => __( "Length between transitions (ms)" , "toppic" ),
		  "std" => "5000",
		),
		"ken_b_frames" => array( "name" => __('Frames Per Second',"toppic" ),
		  "type" => "rangeslider",
		  "range" => "15,60",
		  "step" => "1",
		  "desc" => __( "Frames Per Second" , "toppic" ),
		  "std" => "30",
		),
		"ken_b_zoom" => array( "name" => __('Zoom',"toppic" ),
		  "type" => "rangeslider",
		  "range" => "1,3",
		  "step" => "0.1",
		  "desc" => __( "Zoom (Use a point if you're using decimal numbers (i.e 2<strong>.</strong>5 not 2<strong>,</strong>5) )" , "toppic" ),
		  "std" => "1.2",
		),
	),
	array( "options" => array( "title" => __( "Other settings" , "toppic" ) ),
		"fullscreen_start_slide" => array( "name" => __('Randomize Slides',"toppic" ),
		  "type" => "onoff",
		  "desc" => __( "Randomizes all slides at start" , "toppic" ),
		  "std" => "false",
		),		
	),
	),


	// 	BACKGROUND IMAGE
	__( "Background image" , "toppic" ) => array(
	array( "options" => array( "title" => __( "Default background image" , "toppic" ), "class" => "section-upload" ),
		"default_background_image" => array( "name" => __('Image',"toppic" ),
		  "type" => "image",
		  "desc" => __( "Use this option only if you don't use a slideshow on the site. This image will set up as default background for all pages." , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "Default background repeat" , "toppic" ) ),
		"default_background_repeat" => array( "name" => __('Default background repeat',"toppic" ),
		  "type" => "select",
		  "options" => array(
					"repeat"  =>  "Repeat",
					"no-repeat"  =>  "No Repeat",
					"repeat-x"  =>  "Repeat Horizontally",
					"repeat-y"  =>  "Repeat Vertically"
					),
		  "desc" => " ",
		  "std" => "no-repeat",
		),
	),
	array( "options" => array( "title" => __( "Default background position" , "toppic" ) ),
		"default_background_position" => array( "name" => __('Default background position',"toppic" ),
		  "type" => "select",
		  "options" => array(
					"top left"  =>  "Top Left",
					"top center"  =>  "Top Center",
					"right top"  =>  "Top Right",
					"center center"  =>  "Center"
					),
		  "desc" => " ",			
		  "std" => "top left",
		),
	),
	array( "options" => array( "title" => __( "Default background size" , "toppic" ) ),
		"default_background_size" => array( "name" => __('Default background size',"toppic" ),
		  "type" => "select",
		  "options" => array(
					"full"  =>  "Full Screen",
					"original"  =>  "Original"
					),
			"desc" => " ",
			"std" => "top left",
			),
		),
	),

	// 	BLOG
	__( "Blog" , "toppic" ) => array(
	array( "options" => array( "title" => __( "Sidebar position" , "toppic" ) ),
		"blog_sidebar" => array( "name" => __( "Select the position of the sidebar" , "toppic" ),
		  "type" => "select",
		  "options" => array(
					"right"  =>  "Right position",
					"left"  =>  "Left position",
					"full"  =>  "No sidebar"
					),
			"desc" => " ",
			"std" => "right",
		),
	),
	array( "options" => array( "title" => __( "Sidebar position (single post)" , "toppic" ) ),
		"blog_sidebar_single" => array( "name" => __( "Select the position of the sidebar" , "toppic" ),
		  "type" => "select",
		  "options" => array(
					"right"  =>  "Right position",
					"left"  =>  "Left position",
					"full"  =>  "No sidebar"
					),
			"desc" => " ",
			"std" => "right",
		),
	),
	),	

	// 	Full Screen Gallery
	__( "Full Screen Gallery" , "toppic" ) => array(
	 array( "options" => array( "title" => __( "Animation Effects" , "toppic" ) ),
		"gallery_fullscreen_effect" => array( "name" => __('Default Animation Effect',"toppic" ),
		  "type" => "select",
		  "options" => array(
			"fade" => "Fade",
			"move" => "Move"
		  ),
		  "desc" => __( "Default Animation Effect" , "toppic" ),
		  "std" => "move",
		),
		"gallery_fullscreen_transition" => array( "name" => __('Transition Speed (ms)',"toppic" ),
		  "type" => "rangeslider",
		  "range" => "100,2000",
		  "step" => "25",
		  "desc" => __( "Transition Speed (ms)" , "toppic" ),
		  "std" => "800",
		),			
		"gallery_fullscreen_delay" => array( "name" => __('Length between transitions (ms)',"toppic" ),
		  "type" => "rangeslider",
		  "range" => "100,10000",
		  "step" => "100",
		  "desc" => __( "Length between transitions (ms)" , "toppic" ),
		  "std" => "4000",
		),
	),
	array( "options" => array( "title" => __( "Other Settings" , "toppic" ) ),
		"gallery_fullscreen_autoplay" => array( "name" => __('Autoplay','toppic'),
		  "type" => "onoff",
		  "std" => "true",
		  "desc" => __( "Enable autoplay or not" , "toppic" ),
		),
		"gallery_fullscreen_loop" => array( "name" => __('Loop','toppic'),
		  "type" => "onoff",
		  "std" => "true",
		  "desc" => __( "Makes slider to go from last slide to first" , "toppic" ),
		),
	),
	),

// 	BACKGROUND IMAGE
	__( "404 Error Page" , "toppic" ) => array(
	array( "options" => array( "title" => __( "Background image" , "toppic" ), "class" => "section-upload" ),
		"404_image" => array( "name" => __('Image',"toppic" ),
		  "type" => "image",
		  "desc" => __( "Background image for 404 page" , "toppic" ),
		  "std" => "",
		),
	),
	),	
	 
	// SOCIAL SECTION
	__( "Social" , "toppic" ) => array(
	array( "options" => array( "title" => __( "Facebook" , "toppic" ) ),
		"social_facebook" => array( "name" => __('Enter the  link to your facebook account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your Facebook account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "Twitter" , "toppic" ) ),
		"social_ftwitter" => array( "name" => __('Enter the  link to your twitter account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your Twitter account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "Google Plus" , "toppic" ) ),
		"social_google" => array( "name" => __('Enter the  link to your Google plus account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your google plus account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "Pinterest" , "toppic" ) ),
		"social_pinterest" => array( "name" => __('Enter the  link to your Pinterest account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your Pinterest account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "Instagram" , "toppic" ) ),
		"social_instagram" => array( "name" => __('Enter the  link to your Instagram account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your Instagram account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "Soundcloud" , "toppic" ) ),
		"social_soundcloud" => array( "name" => __('Enter the  link to your Soundcloud account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your Soundcloud plus account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "Youtube" , "toppic" ) ),
		"social_youtube" => array( "name" => __('Enter the  link to your Youtube account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your youtube account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "Flickr" , "toppic" ) ),
		"social_flickr" => array( "name" => __('Enter the  link to your flickr account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your Flickr account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "Skype" , "toppic" ) ),
		"social_skype" => array( "name" => __('Enter your Skype name or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter your skype name or leave this field blank. I.e: skype:skypename" , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "Vimeo" , "toppic" ) ),
		"social_vimeo" => array( "name" => __('Enter the  link to your Vimeo account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your vimeo account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),

	array( "options" => array( "title" => __( "Linkedin" , "toppic" ) ),
		"social_linkedin" => array( "name" => __('Enter the  link to your Linkedin account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your linkedin account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "Tumblr" , "toppic" ) ),
		"social_tumblr" => array( "name" => __('Enter the  link to your Tumblr account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your Tumblr account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),
	array( "options" => array( "title" => __( "500px" , "toppic" ) ),
		"social_fivehundredpx" => array( "name" => __('Enter the  link to your 500px account or leave this field blank',"toppic" ),
		  "type" => "text",
		  "desc" => __( "Enter the  link to your 500px account or leave this field blank" , "toppic" ),
		  "std" => "",
		),
	),
	),

	), // END MAIN PAGE

	);

  return $options;
}