Advertisement
Guest User

G

a guest
Sep 20th, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.32 KB | None | 0 0
  1. <?php
  2. $pageinfo = array('full_name' => 'Mainpage Options', 'optionname'=>'mainpage', 'child'=>true, 'filename' => basename(__FILE__));
  3.  
  4. $options = array (
  5.  
  6.     array(  "type" => "open"),
  7.     array(  "type" => "group"),
  8.        
  9.     array(  "name" => "Headline Button Text",
  10.         "desc" => "Enter the text of the button besides the mainpage headline.<br/>",
  11.         "id" => "buttonText",
  12.         "std" => "Our Work",
  13.         "size" => 30,
  14.         "type" => "text"),
  15.        
  16.     array(  "name" => "Headline Button Link",
  17.         "desc" => "Where should the button link to:",
  18.         "id" => "buttonLink",
  19.         "type" => "dropdown",
  20.         "subtype" => "page"),
  21.    
  22.     array(  "type" => "group"),
  23.    
  24.     array(  "name" => "Second Headline Text",
  25.         "desc" => "Enter the text of the second headline.<br/>",
  26.         "id" => "second_headline_text",
  27.         "std" => "text of second headline goes here",
  28.         "size" => 150,
  29.         "type" => "text"),
  30.        
  31.    
  32.     array(  "type" => "group"),
  33.    
  34.     array(  "name" => "Mainpage Content",
  35.             "desc" => "Select the pages you want to display on your front page here. They are grouped with the help of tabs",
  36.             "id" => "mainpage_content",
  37.             "type" => "multi",
  38.             "subtype" => "page"),  
  39.        
  40.    
  41.     array(  "type" => "group"),
  42.  
  43.            
  44.     array(  "type" => "close")
  45.  
  46.  
  47.    
  48.            
  49. );
  50.  
  51. $options_page = new kriesi_option_pages($options, $pageinfo);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement