Commits

Doug Stewart committed ac95bf5

Image radio.

  • Participants
  • Parent commits b4042cf
  • Branches develop

Comments (0)

Files changed (1)

File includes/parent-options.php

 if ( is_dir($less_layout_path) ) {
 	if ($less_layout_dir = opendir($less_layout_path) ) { 
 		while ( ($less_layout_file = readdir($less_layout_dir)) !== false ) {
-			if(stristr($less_layout_file, ".less") !== false) {
+			if((stristr($less_layout_file, ".less") !== false) && ($less_layout_file != 'master.less')){
 				$less_layouts[] = array( 'input' => $less_layout_file, 'image' => get_template_directory_uri() . '/layouts/less/images/' . basename($less_layout_file, '.less') . '.png');
 			}
 		}	
 				"style_options" => array(	"name" => __( 'Style Options', 'lblg' ),
 						"type" => "subhead"),
 
-				"layout_stylesheet_2" => array(	"name" => __('Layout Stylesheet Test', 'lblg' ),
+				"layout_stylesheet" => array(	"name" => __('Layout Stylesheet Test', 'lblg' ),
 						"desc" => sprintf( __( 'Place additional layout stylesheets in %s to add them as layout options', 'lblg' ), '<code>' . TEMPLATEPATH . '/layouts/</code>' ),
-			    		"std" => "Select a layout:",
+			    		"std" => "",
 			    		"type" => "imageradio",
 			    		"options" => $less_layouts),
 
-				"layout_stylesheet" => array(	"name" => __('Layout Stylesheet', 'lblg' ),
-						"desc" => sprintf( __( 'Place additional layout stylesheets in %s to add them as layout options', 'lblg' ), '<code>' . TEMPLATEPATH . '/layouts/</code>' ),
-			    		"std" => "Select a layout:",
-			    		"type" => "select",
-			    		// "options" => $layouts),
-			    		"options" => $layouts),
+				// "layout_stylesheet" => array(	"name" => __('Layout Stylesheet', 'lblg' ),
+				// 						"desc" => sprintf( __( 'Place additional layout stylesheets in %s to add them as layout options', 'lblg' ), '<code>' . TEMPLATEPATH . '/layouts/</code>' ),
+				// 			    		"std" => "Select a layout:",
+				// 			    		"type" => "select",
+				// 			    		// "options" => $layouts),
+				// 			    		"options" => $layouts),
 
 				"alt_stylesheet" => array(	"name" => __('Theme Stylesheet', 'lblg' ),
 						"desc" => __('Place additional theme stylesheets and assets in ', 'lblg' ) . '<code>' . TEMPLATEPATH . "/styles/</code> " . __('to add them as styling options', 'lblg' ),