Doug Stewart avatar Doug Stewart committed 336fb0f

Adding options for mobile choices.

Comments (0)

Files changed (1)

includes/parent-options.php

 $alt_stylesheets_tmp = array_unshift($alt_stylesheets, "Select a stylesheet:", "*none*");
 
 $parent_options_array = array(
-	"tabs" => array( 'general' ),
+	"tabs" => array( 'general', 'mobile' ),
 	
 	"general" => array(
 			"name"		=> "General",
 						"type" => "colorpicker"),
 			)
 	),
-
-
+	
+	"mobile" => array(
+				"name" => "Mobile/Responsive",
+				"type" => "tab",
+				"contents" => array(
+					"enable_responsive_css" => array(	"name" => "Enable Responsive CSS",
+							"desc" => "Enable \"responsive\" CSS.",
+							"std" => "1",
+							"type" => "checkbox"),
+					"enable_mobile_menu" => array(	"name"	=> "Enable Mobile Nav Menu",
+							"desc" => "Enable alternate mobile/\"respponsive\" menu function.",
+							"std" => "1",
+							"type" => "checkbox"),
+				),
+	),
 );
 
 if( function_exists('bp_get_loggedin_user_nav') ) {
 									   "type" => "checkbox" ),
 			
 			"disable_bp_searchform" => array( "name" => "Disable BuddyPress search form",
-											  "desc" => "Disables the BP search form in the header.",
+											  "desc" => "Disables the BP search form in the site header.",
 											  "std" => "0",
 											  "type" => "checkbox" ),
 			
 			"disable_bp_menu" => array( "name" => "Disable custom BuddyPress menu",
-										"desc" => "Disables the BP menu in the header.",
+										"desc" => "Disables the BP menu in the site header.",
 										"std" => "0",
 										"type" => "checkbox" ),
 		),
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.