From 351d2d7091eaec5f3abc99d7b14d29e43bf2e1ce Mon Sep 17 00:00:00 2001 From: Flip Date: Mon, 27 Feb 2012 13:24:46 +0100 Subject: [PATCH] Deleted unused code in options.php --- options.php | 95 +---------------------------------------------------- 1 file changed, 1 insertion(+), 94 deletions(-) diff --git a/options.php b/options.php index c3f1ca1..020dfc3 100755 --- a/options.php +++ b/options.php @@ -164,99 +164,6 @@ function optionsframework_options() { "id" => "sliderlink5", "type" => "text"); - $options[] = array( "name" => "Advanced Settings", - "type" => "heading"); - - $options[] = array( "name" => "Input Text Mini", - "desc" => "A mini text input field.", - "id" => "example_text_mini", - "std" => "Default", - "class" => "mini", - "type" => "text"); - - $options[] = array( "name" => "Input Text", - "desc" => "A text input field.", - "id" => "example_text", - "std" => "Default Value", - "type" => "text"); - - $options[] = array( "name" => "Input Select Small", - "desc" => "Small Select Box.", - "id" => "example_select", - "std" => "three", - "type" => "select", - "class" => "mini", //mini, tiny, small - "options" => $test_array); - - $options[] = array( "name" => "Input Select Wide", - "desc" => "A wider select box.", - "id" => "example_select_wide", - "std" => "two", - "type" => "select", - "options" => $test_array); - - $options[] = array( "name" => "Select a Category", - "desc" => "Passed an array of categories with cat_ID and cat_name", - "id" => "example_select_categories", - "type" => "select", - "options" => $options_categories); - - $options[] = array( "name" => "Select a Page", - "desc" => "Passed an pages with ID and post_title", - "id" => "example_select_pages", - "type" => "select", - "options" => $options_pages); - - $options[] = array( "name" => "Input Radio (one)", - "desc" => "Radio select with default options 'one'.", - "id" => "example_radio", - "std" => "one", - "type" => "radio", - "options" => $test_array); - - $options[] = array( "name" => "Example Info", - "desc" => "This is just some example information you can put in the panel.", - "type" => "info"); - - $options[] = array( "name" => "Input Checkbox", - "desc" => "Example checkbox, defaults to true.", - "id" => "example_checkbox", - "std" => "1", - "type" => "checkbox"); - - $options[] = array( "name" => "Check to Show a Hidden Text Input", - "desc" => "Click here and see what happens.", - "id" => "example_showhidden", - "type" => "checkbox"); - - $options[] = array( "name" => "Hidden Text Input", - "desc" => "This option is hidden unless activated by a checkbox click.", - "id" => "example_text_hidden", - "std" => "Hello", - "class" => "hidden", - "type" => "text"); - - - - $options[] = array( "name" => "Example Image Selector", - "desc" => "Images for layout.", - "id" => "example_images", - "std" => "2c-l-fixed", - "type" => "images", - "options" => array( - '1col-fixed' => $imagepath . '1col.png', - '2c-l-fixed' => $imagepath . '2cl.png', - '2c-r-fixed' => $imagepath . '2cr.png') - ); - - - - - - $options[] = array( "name" => "Typography", - "desc" => "Example typography.", - "id" => "example_typography", - "std" => array('size' => '12px','face' => 'verdana','style' => 'bold italic','color' => '#123456'), - "type" => "typography"); + return $options; } \ No newline at end of file