<?php
global  $avia_config;

$elements[] =	array(	
				"dynamic"		=> 'blog',
				"name" 			=> "Blog",
				"slug"			=> "",
				"type" 			=> "group", 
				"id" 			=> "dynamic_blog", 
				"linktext" 		=> "Add another Slide",
				"deletetext" 	=> "Remove Slide",
				"removable"  => 'remove element',
				"blank" 		=> true, 
				"nodescription" => true,
				'subelements' 	=> array(
										
						
						array(	"name" 	=> "<strong>A Blog section will be added to the page. Bellow you can choose some blog settings:</strong><br/><br/>Which categories should be used for the blog?",
								"desc" 	=> "You can select multiple categories here. If left empty all categories will be displayed",
					            "id" 	=> "dynamic_blog_cats",
					            "type" 	=> "select",
								"slug"	=> "",
	            				"multiple"=>6,
					            "subtype" => "cat"),

						array(	"name" 	=> "Show Pagination?",
								"desc" 	=> "Should the title of the entry be displayed as well?",
					            "id" 	=> "dynamic_blog_pagination",
					            "type" 	=> "select",
								"slug"	=> "",
								"std"	=> "yes",
								"no_first"=>true,
					            "subtype" => array('yes'=>'yes','no'=>'no')),
					   
					   array(	"name" 	=> "Posts per page?",
								"desc" 	=> "How many posts should be displayed?",
					            "id" 	=> "dynamic_blog_posts_per_page",
					            "type" 	=> "select",
								"slug"	=> "",
								"std"	=> "3",
								"no_first"=>true,
					            "subtype" => array('1'=>'1','2'=>'2','3'=>'3','4'=>'4','5'=>'5','6'=>'6','7'=>'7','8'=>'8','9'=>'9','10'=>'10','All'=>"-1")),       
					            
									
				)
			);


	$column_element = array();
	$columns = 4;
							
	for ($i = 1; $i <= $columns; $i++)
	{
		$requirement = $i;
		if($requirement < 2) $requirement = 2;
	
	//start column	
	$column_element[] = array(	"slug"	=> "", "type" => "visual_group_start", "id" => "vg".$i, "nodescription" => true, 'class'=>'avia_pseudo_sortable', "required" => array('dynamic_column_count','{higher_than}'.$requirement) );
	
	
	$column_element[] = array(	
		"slug"	=> "",
		"name" 	=> "Column ".$i." Content:",
		"desc" 	=> "",
		"id" 	=> "dynamic_column_content_".$i,
		"type" 	=> "select",
		"std" 	=> "page",
		"subtype" => array('Single Page'=>'page','Post from Category'=>'cat','Current entry'=>'page_current', 'Widget'=>'widget','Direct Text input'=>'textarea')
	);
		
	$column_element[] = array(	
		"slug"	=> "",
		"name" 	=> "Page:",
		"desc" 	=> "",
		"id" 	=> "dynamic_column_content_".$i."_page",
		"type" 	=> "select",
		"std" 	=> "",
		"required" => array('dynamic_column_content_'.$i,'page'),
		"subtype" => 'page'
	);
	
	$column_element[] = array(	
		"slug"	=> "",
		"name" 	=> "How do you want to display the entry?",
		"desc" 	=> "",
		"id" 	=> "dynamic_column_content_".$i."_page_display",
		"type" 	=> "select",
		"std" 	=> "img_post",
		"no_first"=>true,
		"required" => array('dynamic_column_content_'.$i,'{contains}page'),
		"subtype" => array('Preview Image and post content' => 'img_post', 'Preview Image and post title' => 'img_title', 'Only preview Image' => 'img', 'Only post Content' => 'post')
	);
	
	$column_element[] = array(	
		"slug"	=> "",
		"name" 	=> "Post from Category:",
		"desc" 	=> "",
		"id" 	=> "dynamic_column_content_".$i."_cat",
		"type" 	=> "select",
		"std" 	=> "",
		"required" => array('dynamic_column_content_'.$i,'cat'),
		"subtype" => 'cat'
	);
	
	
	
	$column_element[] = array(	
		"slug"	=> "",
		"name" 	=> "How do you want to display the post?",
		"desc" 	=> "",
		"id" 	=> "dynamic_column_content_".$i."_cat_display",
		"type" 	=> "select",
		"std" 	=> "img_post",
		"no_first"=>true,
		"required" => array('dynamic_column_content_'.$i,'cat'),
		"subtype" => array('Preview Image and post content' => 'img_post', 'Preview Image and post title' => 'img_title', 'Only preview Image' => 'img', 'Only post Content' => 'post')
	);
	
		$column_element[] = array(	
		"slug"	=> "",
		"name" 	=> "Overwrite default Link",
		"desc" 	=> "",
		"id" 	=> "dynamic_column_content_".$i."_cat_link",
		"type" => "text",
		"std" 	=> "http://",
		"no_first"=>true,
		"required" => array('dynamic_column_content_'.$i,'cat')
	);
	
	$column_element[] = array(	
		"slug"	=> "",
		"name" 	=> "Overwrite default Link",
		"desc" 	=> "",
		"id" 	=> "dynamic_column_content_".$i."_page_link",
		"type" => "text",
		"std" 	=> "http://",
		"no_first"=>true,
		"required" => array('dynamic_column_content_'.$i,'{contains}page')
	);
	
	$column_element[] = array(	
		"slug"	=> "",
		"name" 	=> "Enter a widget area name (no special characters) - Once you have saved this template head over to <a href='widgets.php'>Appearance &raquo; Widgets</a> and add some widgets to the Widget area.",
		"class" => 'avia_dynamic_template_widget',
		"desc" 	=> "",
		"id" 	=> "dynamic_column_content_".$i."_widget",
		"type" => "text",
		"required" => array('dynamic_column_content_'.$i,'widget')
		);
	
	
	$column_element[] = array(	
		"slug"	=> "",
		"name" 	=> "Enter text here:",
		"desc" 	=> "",
		"id" 	=> "dynamic_column_content_".$i."_textarea",
		"required" => array('dynamic_column_content_'.$i,'textarea'),
		"type" 	=> "textarea");
		
	
	$column_element[] =	array(	
					"slug"	=> "",
					"name" 	=> "Image above Text",
					"desc" 	=> "",
					"id" 	=> "dynamic_column_content_".$i."_image",
					"type" 	=> "upload",
					"std" 	=> "",
					"subtype" => "advanced",
					"label"	=> "Use Image",
					"required" => array('dynamic_column_content_'.$i,'textarea')
					);
		
	$column_element[] = array(	"slug"	=> "", "type" => "visual_group_end", "id" => "vg".$i."_end", "nodescription" => true );
	// end column
	
	}
	
	

	

$elements[] =	array(	
				"dynamic"		=> 'columns',
				"name" 			=> "Columns",
				"slug"			=> "",
				"type" 			=> "group", 
				"id" 			=> "dynamic_columns", 
				"linktext" 		=> "Add another Slide",
				"deletetext" 	=> "Remove Slide",
				"removable"  	=> 'remove element',
				"blank" 		=> true, 
				"nodescription" => true,
				'subelements' 	=> array(	
						
						array(	
								"slug"	=> "",
								"name" 	=> "Select how many columns you want to display, then choose the column width and content",
								"desc" 	=> "",
								"id" 	=> "dynamic_column_count",
								"type" 	=> "select",
								"no_first"=>true,
								"std" 	=> "2",
								"subtype" => array('2 Columns'=>'2','3 Columns'=>'3','4 Columns'=>'4')),
						
						array(	
								"slug"	=> "",
								"name" 	=> "Choose the column width:",
								"desc" 	=> "",
								"id" 	=> "dynamic_column_width_2",
								"type" 	=> "select",
								"required" => array('dynamic_column_count','2'),
								"no_first"=>true,
								"std" 	=> "2-2",
								"subtype" => array('50%:50%'=>'1-1', '25%:75%'=>'1-3', '75%:25%'=>'3-1', '33%:66%'=>'1-2', '66%:33%'=>'2-1')),	
								
						
						array(	
								"slug"	=> "",
								"name" 	=> "Choose the column width:",
								"desc" 	=> "",
								"id" 	=> "dynamic_column_width_3",
								"type" 	=> "select",
								"required" => array('dynamic_column_count','3'),
								"no_first"=>true,
								"std" 	=> "1-1-1",
								"subtype" => array('33%:33%:33%'=>'1-1-1', '25%:25%:50%'=>'1-1-2', '25%:50%:25%'=>'1-2-1', '50%:25%:25%'=>'2-1-1')),
								
						array(	
								"slug"	=> "",
								"name" 	=> "Choose the column width:",
								"desc" 	=> "",
								"id" 	=> "dynamic_column_width_4",
								"type" 	=> "select",
								"required" => array('dynamic_column_count','4'),
								"no_first"=>true,
								"std" 	=> "1-1-1-1",
								"subtype" => array('25%:25%:25%:25%'=>'1-1-1-1')),	
								
						$column_element[0],
						$column_element[1],
						$column_element[2],
						$column_element[3],
						$column_element[4],
						$column_element[5],
						$column_element[6],
						$column_element[7],
						$column_element[8],
						$column_element[9],
						$column_element[10],
						$column_element[11],
						$column_element[12],
						$column_element[13],
						$column_element[14],
						$column_element[15],
						$column_element[16],
						$column_element[17],
						$column_element[18],
						$column_element[19],
						$column_element[20],
						$column_element[21],
						$column_element[22],
						$column_element[23],
						$column_element[24],
						$column_element[25],
						$column_element[26],
						$column_element[27],
						$column_element[28],
						$column_element[29],
						$column_element[30],
						$column_element[31],
						$column_element[32],
						$column_element[33],
						$column_element[34],
						$column_element[35],
						$column_element[36],
						$column_element[37],
						$column_element[38],
						$column_element[39],
						$column_element[40],
						$column_element[41],
						$column_element[42],
						$column_element[43],
						$column_element[44],
						$column_element[45],
						$column_element[46],
						$column_element[47]
							
							
			
				)
			);


$elements[] = 	array(	
				"dynamic"=> 'hr',
				"name" 	=> "Horizontal Ruler",
				"desc" 	=> "Adds a horizontal ruler to the template. You can either choose the default styling, the default styling with less padding at the top and bottom, a ruler with 'top' link or an invisible ruler that just adds whitespace",
				"id" 	=> "dynamic_hr_group",
				"type" 	=> "group",
				"nodescription"=>true,
				"slug"  => '',
				"removable"  => 'remove element',
				'subelements' 	=> array(	
				
						array(	
							"name" 	=> "Horizontal Ruler",
							"desc" 	=> "Adds a horizontal ruler to the template. You can either choose the default styling, the default styling with less padding at the top and bottom, a ruler with 'top' link or an invisible ruler that just adds whitespace",
							"id" 	=> "dynamic_hr",
							"type" 	=> "select",
							"std" 	=> "default",
							"no_first"=>true,
							"subtype" => array('Default Ruler'=>'default','Small Ruler'=>'default_small','Ruler with Text'=>'custom','Whitespace'=>'whitespace'),
							"slug"  => '',
							"removable"  => 'remove element'
							),
					    
						   array(	
							"slug"	=> "",
							"name" 	=> "Enter the text",
							"desc" 	=> "",
							"id" 	=> "dynamic_hr_text",
							"type" => "text",
							"required" => array('dynamic_hr','custom')
							),
							
							array(	
							"slug"	=> "",
							"name" 	=> "Whitespace Amount",
							"desc" 	=> "Enter the amount of whitespace in px or em",
							"id" 	=> "dynamic_hr_whitespace",
							"type" => "text",
							"std" 	=> "30px",
							"required" => array('dynamic_hr','whitespace')
							),

				)
			);
			
			
		

$elements[] = 	array(	
				"dynamic"=> 'page_split',
				"name" 	=> "Page Split",
				"desc" 	=> "Creates a Page Split that allows to select a new color scheme for the content following the page split",
				"id" 	=> "dynamic_page_split",
				"type" 	=> "group",
				"nodescription"=>true,
				"slug"  => '',
				"removable"  => 'remove element',
				'subelements' 	=> array(	
						array(	
							"name" 	=> "",
							"desc" 	=> "Creates a Page Split that allows to select a new color scheme for the content following the page split<br/><br/>",
							"id" 	=> "page_split_heading",
							"type" 	=> "heading",
							"std" 	=> "default",
							"slug"	=> "",
							"nodescription"=>true,
							),
						
						array(	
							"name" 	=> "Page Split Styling",
							"desc" 	=> "Select a new color scheme for the content following the page split. You can <a href='admin.php?page=avia#goto_styling'>define color schemes here</a>",
							"id" 	=> "page_split_style",
							"type" 	=> "select",
							"std" 	=> "main_color",
							"no_first"=>true,
							"slug"	=> "",
							"subtype" => array_flip($avia_config['color_sets']),
							),
						
						array(	
							"name" 	=> "Page Split Shadow",
							"desc" 	=> "Display a shadow at the end of this content area?</a>",
							"id" 	=> "page_split_shadow",
							"type" 	=> "select",
							"std" 	=> "active",
							"no_first"=>true,
							"slug"	=> "",
							"subtype" => array('Yes'=>'active', 'No' => 'no_shadow'),
							)

				)
			);
						

	
$elements[] = 	array(	
				"dynamic"=> 'slideshow',
				"name" 	=> "Slideshow",
				"desc" 	=> "The slideshow settings of the post or page that are used to display this template will be applied with all its options. You can modify the slideshow for each post/page when editing that post",
				"id" 	=> "dynamic_slideshow",
				"type" 	=> "group",
				"nodescription"=>true,
				"slug"  => '',
				"removable"  => 'remove element',
				'subelements' 	=> array(	
				
						array(	"name" 	=> "Which Slideshow?",
								"desc" 	=> "By default the theme will display the slideshow of the entry which got the this template applied. However you can choose a different page as well.<br/> The slideshow settings of the entry you choose will be applied with all its options. You can modify the slideshow for each post/page when editing that post",
					            "id" 	=> "dynamic_slideshow_which_post_page",
					            "type" 	=> "select",
								"slug"	=> "",
								"std"	=> "self",
								"no_first"=>true,
					            "subtype" => array('Display the slideshow of this entry'=>'self','Choose a Page'=>'page')),
					    
					   	array(	
								"slug"	=> "",
								"name" 	=> "Select Page",
								"desc" 	=> "",
								"id" 	=> "dynamic_slideshow_page_id",
								"type" 	=> "select",
								"subtype" => 'page',
								"required" => array('dynamic_slideshow_which_post_page','page')
							),

				)
			);
				

$elements[] =	array(	
				"dynamic"		=> 'textarea',
				"name" 			=> "Text Area / Callout / Quotes",
				"slug"			=> "",
				"type" 			=> "group", 
				"id" 			=> "dynamic_text_area", 
				"removable"  => 'remove element',
				"blank" 		=> true, 
				"nodescription" => true,
				'subelements' 	=> array(	
						
						array(	"name" 	=> "Text Styling",
								"desc" 	=> "Chosose which text styling should be applied. You can either add a default paragraph or callout style",
					            "id" 	=> "dynamic_text_styling",
					            "type" 	=> "select",
								"slug"	=> "",
								"std"	=> "p",
								"no_first"=>true,
					            "subtype" => array('Paragraph Style'=>'p','Blockquote Style'=>'blockquote','Callout Style'=>'callout')),
					    
					    array(	"slug"	=> "", "type" => "visual_group_start", "id" => "visual_group_dyn_callout", "nodescription" => true, "required" => array('dynamic_text_styling','callout') ),
        
					    array(	
								"slug"	=> "",
								"name" 	=> "Callout Button Label",
								"desc" 	=> "Add the label text of the call to action button. If left empty no button will be displayed",
								"id" 	=> "dynamic_text_button",
								"type" => "text"
								),
								
						array(	"name" 	=> "Callout Button link",
								"desc" 	=> "",
								"slug"  => "",
					            "id" 	=> "dynamic_text_button_link",
					            "type" 	=> "select",
					            "std" 	=> "",
					            "subtype" => array('Link manually'=>'url','Link to Page'=>'page','Link to Category'=>'cat'),
					            ),
					   
								array(	"name" 	=> "",
										"desc" 	=> "",
										"slug"  => "",
										"id"   	=> "dynamic_text_button_link_url",
										"std"  	=> "http://",
										"type" 	=> "text",
										"required" => array('dynamic_text_button_link','url') ),
										
								array(	"name" 	=> "",
										"desc" 	=> "",
										"slug"  => "",
								        "id" 	=> "dynamic_text_button_link_page",
								        "type" 	=> "select",
								        "subtype" => "page",
								        "required" => array('dynamic_text_button_link','page') ),
								        
								array(	"name" 	=> "",
										"desc" 	=> "",
										"slug"  => "",
								        "id" 	=> "dynamic_text_button_link_cat",
								        "type" 	=> "select",
								        "subtype" => "cat",
								        "required" => array('dynamic_text_button_link','cat') ),
	
						
						array(	"slug"	=> "", "type" => "visual_group_end", "id" => "visual_group_dyn_callout_end", "nodescription" => true),
					            
						array(	
								"slug"	=> "",
								"name" 	=> "The text message that should be displayed",
								"desc" 	=> "Your message to the world :)<br/>(Wordpress shortcodes and HTML allowed)",
								"id" 	=> "dynamic_text",
								"type" 	=> "textarea"),
		
				)
			);
			


$elements[] =	array(	
				"dynamic"		=> 'heading',
				"name" 			=> "Heading  ( + Breadcrumb)",
				"slug"			=> "",
				"type" 			=> "group", 
				"id" 			=> "dynamic_heading", 
				"removable"  => 'remove element',
				"blank" 		=> true, 
				"nodescription" => true,
				'subelements' 	=> array(	
				
				array(	"name" 	=> "Set a Page title",
						"desc" 	=> "By default the theme will display the page title of the entry which got this template applied.",
			            "id" 	=> "dynamic_heading_type",
			            "type" 	=> "select",
						"slug"	=> "",
						"std"	=> "self",
						"no_first"=>true,
			            "subtype" => array('Display this entries heading'=>'self','Custom Heading'=>'custom')),
			            
	            array(	"name" 	=> "Custom Heading",
						"desc" 	=> "",
						"slug"  => "",
						"id"   	=> "dynamic_heading_custom",
						"std"  	=> "",
						"type" 	=> "text",
						"required" => array('dynamic_heading_type','custom') ),
				
				 array(	"name" 	=> "Display breadcrumb navigation?",
						"desc" 	=> "",
						"id" 	=> "dynamic_heading_meta",
			            "type" 	=> "select",
						"slug"	=> "",
						"std"	=> "yes",
						"no_first"=>true,
			            "subtype" => array('Yes'=>'yes','No'=>'no')),

				)
			);

######################################################################
# LOGO BAR
######################################################################

$logo_subelements = array();
$logo_subelements[] = array(	
			"slug"	=> "",
			"name" 	=> "Image hovers effects",
			"desc" 	=> "Do you want to apply a mouse over effect for your images? Default is greyscale overlay.",
			"id" 	=> "logo_hover",
			"type" 	=> "select",
			"std" 	=> "greyscale-active",
			"no_first"=>true,
			"subtype" => array('None'=>'', 'Greyscale'=>'greyscale-active'));

for ($i = 1; $i <= 5; $i++)
{
	$logo_subelements[] = array( "slug"	=> "",
							"name" 	=> "Logo ".$i,
							"desc" 	=> "",
							"id" 	=> "logo_img_".$i,
							"type" 	=> "upload",
							"std" 	=> "",
							"subtype" => "advanced",
							"class" => "av_2columns av_col_1",
							"label"	=> "Use as logo",
							);
	$logo_subelements[] = array( "slug"	=> "",
							"name" 	=> "Image Link",
							"desc" 	=> "",
							"class" => "av_2columns av_col_2",
							"id" 	=> "logo_img_".$i."_link",
							"type" => "text",
							"std" 	=> "http://",
							"no_first"=>true,
							);
}

$elements[] =	array(	
				"dynamic"		=> 'logo',
				"name" 			=> "Logo/Partner List",
				"class" 		=> "avia_logobar",
				"slug"			=> "",
				"type" 			=> "group", 
				"id" 			=> "dynamic_l", 
				"linktext" 		=> "Add another Slide",
				"deletetext" 	=> "Remove Slide",
				"removable"  => 'remove element',
				"blank" 		=> true, 
				"nodescription" => true,
				'subelements' 	=> $logo_subelements
			
			);
			
				
$elements[] =	array(	
				"dynamic"		=> 'post_page',
				"name" 			=> "Post/Page Content",
				"slug"			=> "",
				"type" 			=> "group", 
				"id" 			=> "dynamic_post_page", 
				"removable"  => 'remove element',
				"blank" 		=> true, 
				"nodescription" => true,
				'subelements' 	=> array(	
						
						array(	"name" 	=> "Which Content?",
								"desc" 	=> "Chosose a page or post. The content of that entry will be displayed. By default it will display the content of the current post or page that has the this template aplied to it.",
					            "id" 	=> "dynamic_which_post_page",
					            "type" 	=> "select",
								"slug"	=> "",
								"std"	=> "self",
								"no_first"=>true,
					            "subtype" => array('Display the content of this post/page'=>'self','Choose a post'=>'post','Choose a Page'=>'page')),
					    
					   	array(	
								"slug"	=> "",
								"name" 	=> "Select Page",
								"desc" 	=> "",
								"id" 	=> "dynamic_page_id",
								"type" 	=> "select",
								"subtype" => 'page',
								"required" => array('dynamic_which_post_page','page')
							),
							
						
						 array(	
								"slug"	=> "",
								"name" 	=> "Select Post",
								"desc" 	=> "",
								"id" 	=> "dynamic_post_id",
								"type" 	=> "select",
								"subtype" => 'post',
								"required" => array('dynamic_which_post_page','post')
							),
							
						array(	"name" 	=> "Display Title?",
								"desc" 	=> "Should the title of the entry be displayed as well?",
					            "id" 	=> "dynamic_which_post_page_title",
					            "type" 	=> "select",
								"slug"	=> "",
								"std"	=> "yes",
								"no_first"=>true,
					            "subtype" => array('yes'=>'yes','no'=>'no')),
					            

				)
			);
			
$itemcount = array('All'=>'-1');
for($i = 1; $i<101; $i++) $itemcount[$i] = $i;				


			
			
			$elements[] =	array(	
				"dynamic"		=> 'portfolio',
				"name" 			=> "Portfolio",
				"slug"			=> "",
				"type" 			=> "group", 
				"id" 			=> "dynamic_portfolio", 
				"linktext" 		=> "Add another Slide",
				"deletetext" 	=> "Remove Slide",
				"removable"  => 'remove element',
				"blank" 		=> true, 
				"nodescription" => true,
				'subelements' 	=> array(	
						
						array(	"name" 	=> "Which categories should be used for the portfolio?",
								"desc" 	=> "You can select multiple categories here. The Portfolio Page that you choose below will then show all posts from those categories, along with a sort option for each category.",
					            "id" 	=> "portfolio_cats",
					            "type" 	=> "select",
								"slug"	=> "portfolio",
	            				"multiple"=>6,
	            				"taxonomy" => "portfolio_entries",
					            "subtype" => "cat"),
					            
					   
					            
					    array(	
								"slug"	=> "portfolio",
								"name" 	=> "Portfolio Details?",
								"desc" 	=> "Should the portfolio details be opened on the same page when someone clicks a portfolio item?<br/><br/>",
								"id" 	=> "portfolio_ajax_class",
								"type" 	=> "select",
								"std" 	=> "ajax_portfolio_container",
								"no_first"=>true,
								"class" => "av_2columns av_col_1",
								"subtype" => array( 'Yes, on the same page - known as AJAX Portfolio'=>'ajax_portfolio_container',
													'No, open entries on a single page'=>'')),
					            
						array(	
								"slug"	=> "portfolio",
								"name" 	=> "Portfolio Columns",
								"desc" 	=> "How many columns should be displayed? Should a sidebar be displayed as well?<br/><br/>",
								"id" 	=> "portfolio_columns",
								"type" 	=> "select",
								"class" => "av_2columns av_col_2",
								"no_first"=>true,
								"std" 	=> "4",
								"subtype" => array(	'1 Column'=>'1',
													'2 Columns'=>'2',
													'3 Columns'=>'3',
													'4 Columns'=>'4',
													)),
								
			
						array(	
								"slug"	=> "portfolio",
								"name" 	=> "Portfolio Post Number",
								"desc" 	=> "How many items should be displayed per page?<br/><br/>",
								"id" 	=> "portfolio_item_count",
								"type" 	=> "select",
								"std" 	=> "16",
								"no_first"=>true,
								"class" => "av_2columns av_col_1",
								"subtype" => $itemcount),
								
						array(	
								"slug"	=> "portfolio",
								"name" 	=> "Portfolio Title",
								"desc" 	=> "Display Title of entry?<br/><br/>",
								"id" 	=> "portfolio_text",
								"type" 	=> "select",
								"std" 	=> "yes",
								"no_first"=>true,
								"class" => "av_2columns av_col_2",
								"subtype" => array('yes'=>'yes','no'=>'no')),	
								
						array(	
								"slug"	=> "portfolio",
								"name" 	=> "Portfolio Sortable?",
								"desc" 	=> "Should the sorting options based on categories be displayed?<br/><br/>",
								"id" 	=> "portfolio_sorting",
								"type" 	=> "select",
								"std" 	=> "yes",
								"no_first"=>true,
								"class" => "av_2columns av_col_1",
								"subtype" => array('yes'=>'yes','no'=>'no')),
								
								
						array(	
								"slug"	=> "portfolio",
								"name" 	=> "Portfolio Pagination",
								"desc" 	=> "Should a portfolio pagination be displayed?<br/><br/><br/>",
								"id" 	=> "portfolio_pagination",
								"type" 	=> "select",
								"std" 	=> "yes",
								"no_first"=>true,
								"class" => "av_2columns av_col_2",
								"subtype" => array('yes'=>'yes','no'=>'no')),
								
						array(	
								"slug"	=> "portfolio",
								"name" 	=> "Portfolio Greyscale Overlay?",
								"desc" 	=> "Should a greyscale hover effect be applied?<br/><br/>",
								"id" 	=> "portfolio_greyscale",
								"type" 	=> "select",
								"std" 	=> "yes",
								"no_first"=>true,
								"class" => "av_2columns av_col_1",
								"subtype" => array('yes'=>'yes','no'=>'no')),
	
				)

			);