"1","two" => "2","three" => "3","four" => "4","five" => "5"); $homelayout_array = array("one" => "Mag Pro","two" => "Mag lite","three" => "Mag","four" => "Standard Blog"); $magpro_slider_start = array("false" => "No","true" => "Yes"); $magpro_mini_slider_show = array("false" => "No","true" => "Yes"); $homecat_array = array("hori" => "Horizontal Layout","verti" => "Vertical Layout"); // Multicheck Array $multicheck_array = array("one" => "French Toast", "two" => "Pancake", "three" => "Omelette", "four" => "Crepe", "five" => "Waffle"); // Multicheck Defaults $multicheck_defaults = array("one" => "1","five" => "1"); // Background Defaults $background_defaults = array('color' => '', 'image' => '', 'repeat' => 'repeat','position' => 'top center','attachment'=>'scroll'); // Pull all the categories into an array $options_categories = array(); $options_categories_obj = get_categories(); foreach ($options_categories_obj as $category) { $options_categories[$category->cat_ID] = $category->cat_name; } // Pull all the pages into an array $options_pages = array(); $options_pages_obj = get_pages('sort_column=post_parent,menu_order'); $options_pages[''] = 'Select a page:'; foreach ($options_pages_obj as $page) { $options_pages[$page->ID] = $page->post_title; } // If using image radio buttons, define a directory path $imagepath = get_template_directory_uri(). '/admin/images/'; $options = array(); $options[] = array( "name" => "country1", "type" => "innertabopen"); $options[] = array( "name" => __("Select a Skin", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Select a Skin", 'Destro' ), "desc" => __("Images for skins.", 'Destro' ), "id" => "skin_style", "type" => "images", "options" => array( 'destro' => $imagepath . 'destro.png', 'azurite' => $imagepath . 'azurite.png', 'blaze' => $imagepath . 'blaze.png', 'mead' => $imagepath . 'mead.png', 'liten' => $imagepath . 'liten.png', 'pink' => $imagepath . 'pink.png', 'alken' => $imagepath . 'alken.png', 'oren' => $imagepath . 'oren.png', 'lity' => $imagepath . 'lity.png', 'browne' => $imagepath . 'browne.png', 'silv' => $imagepath . 'silv.png', 'kawfee' => $imagepath . 'kawfee.png') ); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Logo Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Upload Logo", 'Destro' ), "desc" => __("Upload your logo here. max width 450px, It will replace the blog title and description.", 'Destro' ), "id" => "header_logo", "type" => "proupgrade"); $options[] = array( "name" => __("Upload FavIcon", 'Destro' ), "desc" => __("Upload your favicon here.", 'Destro' ), "id" => "favicon", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Adsense Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Google Adsense ID", 'Destro' ), "desc" => __("Enter your full adsense id. Ex : pub-1234567890", 'Destro' ), "id" => "google_adsense_id", "std" => "", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Single Page Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Author Bio", 'Destro' ), "desc" => __("Select yes if you want to show Author Bio Box on single post page.", 'Destro' ), "id" => "show_author_bio", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show RSS Box", 'Destro' ), "desc" => __("Select yes if you want to show RSS box on single post page.", 'Destro' ), "id" => "show_rss_box", "std" => "true", "type" => "select", "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Social Box", 'Destro' ), "desc" => __("Select yes if you want to show social box on single post page.", 'Destro' ), "id" => "show_social_box", "std" => "true", "type" => "select", "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Next/Previous Box", 'Destro' ), "desc" => __("Select yes if you want to show Next/Previous box on single post page.", 'Destro' ), "id" => "show_np_box", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Related Posts Box", 'Destro' ), "desc" => __("Select yes if you want to show Next/Previous box on single post page.", 'Destro' ), "id" => "show_related_box", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country2", "type" => "innertabopen"); $options[] = array( "name" => __("Social Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Twitter", 'Destro' ), "desc" => __("Enter your twitter id", 'Destro' ), "id" => "twitter_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Redditt", 'Destro' ), "desc" => __("Enter your reddit url", 'Destro' ), "id" => "redit_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Delicious", 'Destro' ), "desc" => __("Enter your delicious url", 'Destro' ), "id" => "delicious_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Technorati", 'Destro' ), "desc" => __("Enter your technorati url", 'Destro' ), "id" => "technorati_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Facebook", 'Destro' ), "desc" => __("Enter your facebook url", 'Destro' ), "id" => "facebook_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Stumble", 'Destro' ), "desc" => __("Enter your stumbleupon url", 'Destro' ), "id" => "stumble_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Youtube", 'Destro' ), "desc" => __("Enter your youtube url", 'Destro' ), "id" => "youtube_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Flickr", 'Destro' ), "desc" => __("Enter your flickr url", 'Destro' ), "id" => "flickr_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("LinkedIn", 'Destro' ), "desc" => __("Enter your linkedin url", 'Destro' ), "id" => "linkedin_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("Google", 'Destro' ), "desc" => __("Enter your google url", 'Destro' ), "id" => "google_id", "std" => "", "type" => "text"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country3", "type" => "innertabopen"); $options[] = array( "name" => __("Slider Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Select Category", 'Destro' ), "desc" => __("Posts from this category will be shown in the slider.", 'Destro' ), "id" => "magpro_slidercat", "std" => "true", "type" => "select", "options" => $options_categories); $options[] = array( "name" => __("Show slider on homepage", 'Destro' ), "desc" => __("Select yes if you want to show slider on homepage.", 'Destro' ), "id" => "show_magpro_slider_home", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show slider on Single post page", 'Destro' ), "desc" => __("Select yes if you want to show slider on Single post page.", 'Destro' ), "id" => "show_magpro_slider_single", "std" => "false", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show slider on Pages", 'Destro' ), "desc" => __("Select yes if you want to show slider on Pages.", 'Destro' ), "id" => "show_magpro_slider_page", "std" => "false", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show slider on Category Pages", 'Destro' ), "desc" => __("Select yes if you want to show slider on Category Pages.", 'Destro' ), "id" => "show_magpro_slider_archive", "std" => "false", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Auto Start?", 'Destro' ), "desc" => __("Select yes if you want the slider to start scrolling automaticaly on page load. Only applies to Accordian and Botique sliders.", 'Destro' ), "id" => "magpro_slider_auto", "std" => "false", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("How many slides?", 'Destro' ), "desc" => __("Enter a number. Ex: 5 or 7", 'Destro' ), "id" => "magpro_slidernumposts", "std" => "5", "class" => "mini", "type" => "text"); $options[] = array( "name" => __("Pause Duration", 'Destro' ), "desc" => __("Time between slide changes. 1000 is 1 Second", 'Destro' ), "id" => "magpro_slider_time", "std" => "7000", "type" => "proupgrade"); $options[] = array( "name" => __("Select a Slider", 'Destro' ), "desc" => __("Type of slider to use", 'Destro' ), "id" => "magpro_slider", "std" => "anything", "type" => "images", "options" => array( 'nivo' => $imagepath . 'nivo.png', 'camera' => $imagepath . 'camera.png', 'piecemaker' => $imagepath . 'piecemaker.png', 'accordian' => $imagepath . 'accordian.png', 'boutique' => $imagepath . 'boutique.png', 'boutiquetwo' => $imagepath . 'boutique2.png', 'videoboutique' => $imagepath . 'boutiquevid.png', 'ken' => $imagepath . 'ken.png', 'ruby' => $imagepath . 'ruby.png', 'wilto' => $imagepath . 'wilto.png', 'wiltovideo' => $imagepath . 'wiltovid.png') ); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country4", "type" => "innertabopen"); $options[] = array( "name" => __("Layout Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Select a homepage layout", 'Destro' ), "desc" => __("Images for layout.", 'Destro' ), "id" => "homepage_layout", "std" => "magpro", "type" => "images", "options" => array( 'magpro' => $imagepath . 'magpro.png', 'magvideo' => $imagepath . 'magvid.png', 'maglite' => $imagepath . 'maglite.png', 'mag' => $imagepath . 'mag.png', 'magthree' => $imagepath . 'magthree.png', 'magfour' => $imagepath . 'magfour.png', 'magfive' => $imagepath . 'magfive.png', 'magsix' => $imagepath . 'magsix.png', 'magseven' => $imagepath . 'magseven.png', 'mageight' => $imagepath . 'mageight.png', 'standard' => $imagepath . 'standard.png') ); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country6", "type" => "innertabopen"); $options[] = array( "name" => __("MagPro Settings", 'Destro' ), "type" => "tabheading"); $options[] = array( "name" => __("Recent Posts", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("How Many Recent Posts?", 'Destro' ), "desc" => __("Enter a number like 7 or 10", 'Destro' ), "id" => "magpro_recent_posts_num", "std" => "10", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Video Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Videos", 'Destro' ), "desc" => __("Select yes if you want to show videos.", 'Destro' ), "id" => "magpro_show_videos", "std" => "false", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Select a Category", 'Destro' ), "desc" => __("For posts in this category, You need to create a custom field called video and enter the url to video in its value field", 'Destro' ), "id" => "magpro_show_videos_cat", "type" => "proupgrade", "options" => $options_categories); $options[] = array( "name" => __("How many Videos", 'Destro' ), "desc" => __("How many Videos would you like to show.", 'Destro' ), "id" => "magpro_show_videos_num", "std" => "3", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Top Rated/Most Popular", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Top Rated/Most popular box ?", 'Destro' ), "desc" => __("Select yes or no", 'Destro' ), "id" => "magpro_show_mostbox", "std" => "false", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("How many Posts", 'Destro' ), "desc" => __("How many posts would you like to show.", 'Destro' ), "id" => "magpro_show_mostboxnum", "std" => "10", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Gallery", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Gallery?", 'Destro' ), "desc" => __("Select yes or no", 'Destro' ), "id" => "magpro_show_gallery", "std" => "false", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Which Gallery?", 'Destro' ), "desc" => __("Enter the gallery ID", 'Destro' ), "id" => "magpro_galid", "std" => "", "type" => "proupgrade"); $options[] = array( "name" => __("How many Images?", 'Destro' ), "desc" => __("Enter the number of images you would like to show", 'Destro' ), "id" => "magpro_galnum", "std" => "10", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Category Boxes", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Category Boxes", 'Destro' ), "desc" => __("Select yes or no", 'Destro' ), "id" => "magpro_show_catbox", "std" => "false", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Which Layout", 'Destro' ), "desc" => __("Select horizontal or vertical", 'Destro' ), "id" => "magpro_show_catbox_which", "std" => "hori", "type" => "proupgrade", "options" => $homecat_array); $options[] = array( "name" => __("Which Categories?", 'Destro' ), "desc" => __("Enter the category ID's seperated by comma. Ex : 1, 7, 20", 'Destro' ), "id" => "magpro_catbox_id", "std" => "", "type" => "proupgrade"); $options[] = array( "name" => __("How many posts per box?", 'Destro' ), "desc" => __("Enter a number. Ex : 1, 7, 20", 'Destro' ), "id" => "magpro_catbox_num", "std" => "7", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country12", "type" => "innertabopen"); $options[] = array( "name" => __("Video Mag Settings", 'Destro' ), "type" => "tabheading"); $options[] = array( "name" => __("Recent Tab Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Recent Videos Tab?", 'Destro' ), "desc" => __("Select yes if you want to show Recent Videos tab in the homepage", 'Destro' ), "id" => "video_mag_recent", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("How many posts?", 'Destro' ), "desc" => __("Enter a number. Ex : 1, 7, 20", 'Destro' ), "id" => "video_mag_recent_num", "std" => "7", "type" => "proupgrade"); $options[] = array( "name" => __("Select the Layout Type", 'Destro' ), "desc" => __("Images for layout.", 'Destro' ), "id" => "video_mag_recent_layout", "std" => "vidrecentone", "type" => "proupgrade", "options" => array( 'vidrecentone' => $imagepath . 'vidone.png', 'vidrecenttwo' => $imagepath . 'vidtwo.png', 'vidrecentthree' => $imagepath . 'vidthree.png', 'vidrecentfour' => $imagepath . 'vidfour.png') ); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Top Rated Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Top Rated Videos Tab?", 'Destro' ), "desc" => __("Select yes if you want to show Top Rated Videos tab in the homepage", 'Destro' ), "id" => "video_mag_toprated", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("How many posts?", 'Destro' ), "desc" => __("Enter a number. Ex : 1, 7, 20", 'Destro' ), "id" => "video_mag_toprated_num", "std" => "7", "type" => "proupgrade"); $options[] = array( "name" => __("Select the Layout Type", 'Destro' ), "desc" => __("Images for layout.", 'Destro' ), "id" => "video_mag_toprated_layout", "std" => "vidtopratedone", "type" => "proupgrade", "options" => array( 'vidtopratedone' => $imagepath . 'vidone.png', 'vidtopratedtwo' => $imagepath . 'vidtwo.png', 'vidtopratedthree' => $imagepath . 'vidthree.png', 'vidtopratedfour' => $imagepath . 'vidfour.png') ); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Most Popular Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Top Rated Videos Tab?", 'Destro' ), "desc" => __("Select yes if you want to show Top Rated Videos tab in the homepage", 'Destro' ), "id" => "video_mag_most", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("How many posts?", 'Destro' ), "desc" => __("Enter a number. Ex : 1, 7, 20", 'Destro' ), "id" => "video_mag_most_num", "std" => "7", "type" => "proupgrade"); $options[] = array( "name" => __("Select the Layout Type", 'Destro' ), "desc" => __("Images for layout.", 'Destro' ), "id" => "video_mag_most_layout", "std" => "vidmostone", "type" => "proupgrade", "options" => array( 'vidmostone' => $imagepath . 'vidone.png', 'vidmosttwo' => $imagepath . 'vidtwo.png', 'vidmostthree' => $imagepath . 'vidthree.png', 'vidmostfour' => $imagepath . 'vidfour.png') ); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Favourite Tab Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Favourite Videos Tab?", 'Destro' ), "desc" => __("Select yes if you want to show Favourite Videos tab in the homepage", 'Destro' ), "id" => "video_mag_fav", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Select Category", 'Destro' ), "desc" => __("Posts from this category will be shown in the Favourites tab.", 'Destro' ), "id" => "video_mag_fav_cat", "std" => "true", "type" => "proupgrade", "options" => $options_categories); $options[] = array( "name" => __("How many posts?", 'Destro' ), "desc" => __("Enter a number. Ex : 1, 7, 20", 'Destro' ), "id" => "video_mag_fav_num", "std" => "7", "type" => "proupgrade"); $options[] = array( "name" => __("Select the Layout Type", 'Destro' ), "desc" => __("Images for layout.", 'Destro' ), "id" => "video_mag_fav_layout", "std" => "vidfavone", "type" => "proupgrade", "options" => array( 'vidfavone' => $imagepath . 'vidone.png', 'vidfavtwo' => $imagepath . 'vidtwo.png', 'vidfavthree' => $imagepath . 'vidthree.png', 'vidfavfour' => $imagepath . 'vidfour.png') ); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Category Boxes", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Category Boxes", 'Destro' ), "desc" => __("Select yes or no", 'Destro' ), "id" => "video_mag_show_catbox", "std" => "false", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Which Categories?", 'Destro' ), "desc" => __("Enter the category ID's seperated by comma. Ex : 1, 7, 20", 'Destro' ), "id" => "video_mag_catbox_id", "std" => "", "type" => "proupgrade"); $options[] = array( "name" => __("How many posts per box?", 'Destro' ), "desc" => __("Enter a number. Ex : 1, 7, 20", 'Destro' ), "id" => "video_mag_catbox_num", "std" => "2", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country7", "type" => "innertabopen"); $options[] = array( "name" => __("Mag Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'Destro' ), "desc" => __("Select yes if you want to show ratings", 'Destro' ), "id" => "show_ratings_mag", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Thumbnail?", 'Destro' ), "desc" => __("Select yes if you want to show thumbnail in the post", 'Destro' ), "id" => "show_postthumbnail_mag", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country8", "type" => "innertabopen"); $options[] = array( "name" => __("MagLite Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'Destro' ), "desc" => __("Select yes if you want to show ratings", 'Destro' ), "id" => "show_ratings_maglite", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Thumbnail?", 'Destro' ), "desc" => __("Select yes if you want to show thumbnail in the post", 'Destro' ), "id" => "show_postthumbnail_maglite", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country13", "type" => "innertabopen"); $options[] = array( "name" => __("MagThree Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'Destro' ), "desc" => __("Select yes if you want to show ratings", 'Destro' ), "id" => "show_ratings_magthree", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Thumbnail?", 'Destro' ), "desc" => __("Select yes if you want to show thumbnail in the post", 'Destro' ), "id" => "show_postthumbnail_magthree", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country14", "type" => "innertabopen"); $options[] = array( "name" => __("MagFour Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'Destro' ), "desc" => __("Select yes if you want to show ratings", 'Destro' ), "id" => "show_ratings_magfour", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Thumbnail?", 'Destro' ), "desc" => __("Select yes if you want to show thumbnail in the post", 'Destro' ), "id" => "show_postthumbnail_magfour", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country15", "type" => "innertabopen"); $options[] = array( "name" => __("MagFive Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'Destro' ), "desc" => __("Select yes if you want to show ratings", 'Destro' ), "id" => "show_ratings_magfive", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Thumbnail?", 'Destro' ), "desc" => __("Select yes if you want to show thumbnail in the post", 'Destro' ), "id" => "show_postthumbnail_magfive", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country16", "type" => "innertabopen"); $options[] = array( "name" => __("MagSix Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'Destro' ), "desc" => __("Select yes if you want to show ratings", 'Destro' ), "id" => "show_ratings_magsix", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Thumbnail?", 'Destro' ), "desc" => __("Select yes if you want to show thumbnail in the post", 'Destro' ), "id" => "show_postthumbnail_magsix", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country17", "type" => "innertabopen"); $options[] = array( "name" => __("MagSeven Settings", 'Destro' ), "type" => "tabheading"); $options[] = array( "name" => __("Recent Posts Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'Destro' ), "desc" => __("Select yes if you want to show ratings", 'Destro' ), "id" => "show_ratings_magseven", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Thumbnail?", 'Destro' ), "desc" => __("Select yes if you want to show thumbnail in the post", 'Destro' ), "id" => "show_postthumbnail_magseven", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Category Box Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'Destro' ), "desc" => __("Select yes if you want to show ratings", 'Destro' ), "id" => "show_ratings_magseven_cat", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Which categories in left sidebar?", 'Destro' ), "desc" => __("Enter the category ID's seperated by comma. Ex : 1, 7, 20", 'Destro' ), "id" => "magseven_catbox_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("How many Posts per Category?", 'Destro' ), "desc" => __("Enter the number of posts per category you would like to show", 'Destro' ), "id" => "magseven_catbox_num", "std" => "7", "type" => "text"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country18", "type" => "innertabopen"); $options[] = array( "name" => __("MagEight Settings", 'Destro' ), "type" => "tabheading"); $options[] = array( "name" => __("Recent Posts Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'Destro' ), "desc" => __("Select yes if you want to show ratings", 'Destro' ), "id" => "show_ratings_mageight", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Thumbnail?", 'Destro' ), "desc" => __("Select yes if you want to show thumbnail in the post", 'Destro' ), "id" => "show_postthumbnail_mageight", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Category Box Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'Destro' ), "desc" => __("Select yes if you want to show ratings", 'Destro' ), "id" => "show_ratings_mageight_cat", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Which categories in left sidebar?", 'Destro' ), "desc" => __("Enter the category ID's seperated by comma. Ex : 1, 7, 20", 'Destro' ), "id" => "mageight_catbox_id", "std" => "", "type" => "text"); $options[] = array( "name" => __("How many Posts per Category?", 'Destro' ), "desc" => __("Enter the number of posts per category you would like to show", 'Destro' ), "id" => "mageight_catbox_num", "std" => "7", "type" => "text"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country9", "type" => "innertabopen"); $options[] = array( "name" => __("Standard Blog Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Ratings?", 'Destro' ), "desc" => __("Select yes if you want to show ratings", 'Destro' ), "id" => "show_ratings_standard", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show Categories/Tags?", 'Destro' ), "desc" => __("Select yes if you want to show categories and tags in posts", 'Destro' ), "id" => "show_ctags_standard", "std" => "true", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country5", "type" => "innertabopen"); $options[] = array( "name" => __("Sidebar Settings", 'Destro' ), "type" => "tabheading"); $options[] = array( "name" => __("Sidebar Ad Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show 300x250 ads in sidebar?", 'Destro' ), "desc" => __("Select yes if you want to show 300x250 ads in sidebar. If you select yes, go to widgets page and drag/drop the ads", 'Destro' ), "id" => "show_sidebar_ads", "std" => "false", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "name" => __("Show 125x125 ads in sidebar?", 'Destro' ), "desc" => __("Select yes if you want to show 125x125 ads in sidebar. If you select yes, go to widgets page and drag/drop the ads", 'Destro' ), "id" => "show_sidebar_ads_onetwofive", "std" => "false", "type" => "select", "class" => "mini", //mini, tiny, small "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Feedburner Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show feedburner?", 'Destro' ), "desc" => __("Select yes if you want to show feedburner in sidebar.", 'Destro' ), "id" => "show_feedburner", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Feedburner Id", 'Destro' ), "desc" => __("Enter your feedburner id", 'Destro' ), "id" => "feedburner_id", "std" => "", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Social Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Twitter Updates?", 'Destro' ), "desc" => __("Select yes if you want to show feedburner in sidebar.", 'Destro' ), "id" => "show_twitter_updates", "std" => "true", "type" => "select", "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Video Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Videos in sidebar?", 'Destro' ), "desc" => __("Select yes if you want to show videos in sidebar.", 'Destro' ), "id" => "sidebar_show_videos", "std" => "false", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Select a Category", 'Destro' ), "desc" => __("For posts in this category, You need to create a custom field called video and enter the url to video in its value field", 'Destro' ), "id" => "sidebar_show_videos_cat", "type" => "proupgrade", "options" => $options_categories); $options[] = array( "name" => __("How many Videos", 'Destro' ), "desc" => __("How many Videos would you like to show.", 'Destro' ), "id" => "sidebar_show_videos_num", "std" => "3", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Top Rated/Most Popular", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Top Rated/Most popular box in sidebar?", 'Destro' ), "desc" => __("Select yes or no", 'Destro' ), "id" => "sidebar_show_mostbox", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Select the Layout Type", 'Destro' ), "desc" => __("Images for layout.", 'Destro' ), "id" => "tabboxsidebarlayout", "std" => "tabbigthumb", "type" => "proupgrade", "options" => array( 'tabbigthumb' => $imagepath . 'vidone.png', 'tabsmallthumb' => $imagepath . 'vidfour.png') ); $options[] = array( "name" => __("How many posts", 'Destro' ), "desc" => __("How many posts would you like to show.", 'Destro' ), "id" => "sidebar_show_mostboxnum", "std" => "10", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Polls", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Polls?", 'Destro' ), "desc" => __("Select yes or no", 'Destro' ), "id" => "sidebar_show_poll", "std" => "false", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Which Poll?", 'Destro' ), "desc" => __("Enter the poll ID", 'Destro' ), "id" => "sidebar_show_poll_id", "std" => "", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country10", "type" => "innertabopen"); $options[] = array( "name" => __("AD Settings", 'Destro' ), "type" => "tabheading"); $options[] = array( "name" => __("Header Ad Settings", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show Adsense?", 'Destro' ), "desc" => __("If yes, adsense will be show else enter html adcode below", 'Destro' ), "id" => "show_header_adsense", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Header Ad code", 'Destro' ), "desc" => __("Enter the html ad code", 'Destro' ), "id" => "header_ad_code", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); $options[] = array( "name" => "country11", "type" => "innertabopen"); $options[] = array( "name" => __("Footer Settings", 'Destro' ), "type" => "tabheading"); $options[] = array( "name" => __("Footer Widgets", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show footer widgets on homepage?", 'Destro' ), "desc" => __("Select yes if you want to show footer widgets on homepage.", 'Destro' ), "id" => "show_footer_widgets_home", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Show footer widgets on single post pages?", 'Destro' ), "desc" => __("Select yes if you want to show footer widgets on single post pages.", 'Destro' ), "id" => "show_footer_widgets_single", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Show footer widgets on pages?", 'Destro' ), "desc" => __("Select yes if you want to show footer widgets on pages.", 'Destro' ), "id" => "show_footer_widgets_page", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Show footer widgets on category pages?", 'Destro' ), "desc" => __("Select yes if you want to show footer widgets on category pages.", 'Destro' ), "id" => "show_footer_widgets_archive", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Footer Logo", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show footer logo?", 'Destro' ), "desc" => __("Select yes if you want to show logo in footer.", 'Destro' ), "id" => "show_footer_logo", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "name" => __("Upload Logo", 'Destro' ), "desc" => __("Upload your logo here. Max width 250px", 'Destro' ), "id" => "footer_logo", "type" => "proupgrade"); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "name" => __("Search Box", 'Destro' ), "type" => "groupcontaineropen"); $options[] = array( "name" => __("Show search box in footer?", 'Destro' ), "desc" => __("Select yes if you want to show search box in footer.", 'Destro' ), "id" => "show_footer_search", "std" => "true", "type" => "proupgrade", "options" => $magpro_slider_start); $options[] = array( "type" => "groupcontainerclose"); $options[] = array( "type" => "innertabclose"); return $options; }