Skip to content

Commit

Permalink
Deleted unused code in options.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Flipo committed Feb 27, 2012
1 parent cebbda8 commit 351d2d7
Showing 1 changed file with 1 addition and 94 deletions.
95 changes: 1 addition & 94 deletions options.php
Expand Up @@ -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;
}

0 comments on commit 351d2d7

Please sign in to comment.