Advertisement
rm2773

Untitled

Feb 11th, 2013
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 34.13 KB | None | 0 0
  1. <!--Below code is for 1 page tab, jQuery transitions between the tabs-->
  2.  
  3.  
  4. <div class="wrap" style="width:70%">
  5.         <!-- Add the icon to the page -->
  6.         <div id="icon-themes" class="icon32"></div>
  7.         <?php
  8.         $active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'general_settings';
  9.                     if( isset( $_GET[ 'tab' ] ) ) {
  10.                     $active_tab = $_GET[ 'tab' ];
  11.                     } // end if
  12.                 ?>
  13.  
  14.         <h2 class="nav-tab-wrapper">
  15.  
  16.         <a href="?page=sandbox_theme_options&tab=general_settings" class="nav-tab <?php echo $active_tab == 'general_settings' ? 'nav-tab-active' : ''; ?>">General Settings</a></li>
  17.         <a href="?page=sandbox_theme_options&tab=layout_options" class="nav-tab <?php echo $active_tab == 'layout_options' ? 'nav-tab-active' : ''; ?>">Layout Options</a>
  18.             <a href="?page=sandbox_theme_options&tab=content_display" class="nav-tab <?php echo $active_tab == 'content_display' ? 'nav-tab-active' : ''; ?>">Content Display</a>
  19.         <a href="?page=sandbox_theme_options&tab=advanced_options" class="nav-tab <?php echo $active_tab == 'advanced_options' ? 'nav-tab-active' : ''; ?>">Advanced Options</a>
  20.         </h2>
  21.        
  22.         <?php
  23.                if( $active_tab == 'general_settings' ) { ?>
  24.                      
  25.                        <form class="page-form" method="post" action="options.php">
  26.                        
  27.                        <?php wp_nonce_field('update-options');?>
  28.                        <?php $options = get_option('theme_settings'); ?>
  29.         <div id="poststuff" class="metabox-holder has-right-sidebar" >
  30.       <div class="postbox" style="width: 100%">
  31.       <h3>Main</h3>
  32.  
  33.             <table width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
  34.              
  35.               <tr class="rm_input">
  36.                 <td width="60%">
  37.                   <strong style="margin-left:5px">Body Style</strong></td>
  38.                
  39.                 <td>&nbsp;</td>
  40.                
  41.                
  42.               </tr>
  43.              
  44.               <tr class="rm_input" style="border-bottom: 1px solid rgb(223, 223, 223)">
  45.                 <td>
  46.                   <select name="body_style" id="body_style" style="width:100%;">
  47.                       <option value="fluid" <?php if($options['body_style'] == 'fluid'){echo "selected";}?>>Fluid</option>
  48.                       <option value="fixed" <?php if($options['body_style'] == 'fixed'){echo "selected";}?>>Fixed</option>
  49.                   </select>      
  50.                 </td>
  51.                
  52.                 <td width="50%" style="color:#666">This option changes the width of your website.</td>
  53.               </tr>
  54.              
  55.              
  56.              
  57.              
  58.              
  59.              
  60.               <tr class="rm_input">
  61.                 <td width="60%">
  62.                   <strong style="margin-left:5px">Body Color</strong></td>
  63.                
  64.                 <td>&nbsp;</td>
  65.                
  66.                
  67.               </tr>
  68.              
  69.               <tr class="rm_input" style="border-bottom: 1px solid rgb(223, 223, 223)">
  70.                 <td>
  71.                   <select name="body_color" id="body_color" style="width:100%;">
  72.                   <option value="black" <?php if($options['body_color'] == 'black'){echo "selected";}?>>Black</option>
  73.                                   <option value="maroon" <?php if($options['body_color'] == 'maroon'){echo "selected";}?>>Maroon</option>
  74.                   <option value="brown" <?php if($options['body_color'] == 'brown'){echo "selected";}?>>Brown</option>
  75.                                   <option value="darkbrown" <?php if($options['body_color'] == 'darkbrown'){echo "selected";}?>>Dark Brown</option>
  76.                   <option value="dark" <?php if($options['body_color'] == 'dark'){echo "selected";}?>>Dark</option>
  77.                                   <option value="blue" <?php if($options['body_color'] == 'blue'){echo "selected";}?>>Blue</option>
  78.                                   <option value="skyblue" <?php if($options['body_color'] == 'skyblue'){echo "selected";}?>>Sky Blue</option>
  79.                                   <option value="lightblue" <?php if($options['body_color'] == 'lightblue'){echo "selected";}?>>Light Blue</option>
  80.                                   <option value="midnightblue" <?php if($options['body_color'] == 'midnightblue') {echo "selected";}?>>Midnight Blue</option>
  81.                                   <option value="green" <?php if($options['body_color'] == 'green'){echo "selected";}?>>Green</option>
  82.                                   <option value="lemonlime" <?php if($options['body_color'] == 'lemonlime') {echo "selected";}?>>Lemon Lime</option>
  83.                                   <option value="forestgreen" <?php if($options['body_color'] == 'forestgreen') {echo "selected";}?>>Forest Green</option>
  84.                                   <option value="olivegreen" <?php if($options['body_color'] == 'olivegreen') {echo "selected";}?>>Olive Green</option>
  85.                   <option value="darkpurple" <?php if($options['body_color'] == 'darkpurple'){echo "selected";}?>>Dark Purple</option>
  86.                   <option value="light" <?php if($options['body_color'] == 'light'){echo "selected";}?>>Light</option>
  87.                  
  88.                   <option value="navy" <?php if($options['body_color'] == 'navy'){echo "selected";}?>>Navy</option>
  89.                   <option value="orange" <?php if($options['body_color'] == 'orange'){echo "selected";}?>>Orange</option>
  90.                                   <option value="burntorange" <?php if($options['body_color'] == 'burntorange'){echo "selected";}?>>Burnt Orange</option>
  91.                   <option value="lavender" <?php if($options['body_color'] == 'lavender'){echo "selected";}?>>Lavender</option>
  92.                   <option value="purple" <?php if($options['body_color'] == 'purple'){echo "selected";}?>>Purple</option>
  93.                   <option value="red" <?php if($options['body_color'] == 'red'){echo "selected";}?>>Red</option>
  94.                   <option value="slategray" <?php if($options['body_color'] == 'slategray'){echo "selected";}?>>Slate Gray</option>
  95.                   <option value="teal" <?php if($options['body_color'] == 'teal'){echo "selected";}?>>Teal</option>
  96.                 </select>      
  97.                 </td>
  98.                
  99.                 <td width="50%" style="color:#666">This option will change the background color of your website.</td>
  100.               </tr>
  101.  
  102.               <tr class="rm_input">
  103.                 <td width="50%">
  104.                   <strong style="margin-left:5px">Skin Color</strong></td>
  105.                
  106.                 <td>&nbsp;</td>
  107.               </tr>
  108.              
  109.               <tr class="rm_input" style="border-bottom: 1px solid rgb(223, 223, 223)">
  110.                 <td>
  111.                 <select name="skin_color" id="skin_color" style="width:100%;">
  112.                 <option value="blue" <?php if($options['skin_color'] =='blue'){echo "selected";}?>>Blue</option>
  113.                 <option value="green" <?php if($options['skin_color'] =='green'){echo "selected";}?>>Green</option>
  114.                   <option value="maroon" <?php if($options['skin_color'] == 'maroon'){echo "selected";}?>>Maroon</option>
  115.                   <option value="teal" <?php if($options['skin_color'] == 'teal'){echo "selected";}?>>Teal</option>
  116.                   <option value="gray" <?php if($options['skin_color'] == 'gray'){echo "selected";}?>>Gray</option>
  117.                   <option value="yellow" <?php if($options['skin_color'] == 'yellow'){echo "selected";}?>>Yellow</option>
  118.                   <option value="purple" <?php if($options['skin_color'] == 'purple'){echo "selected";}?>>Purple</option>
  119.                   <option value="orange" <?php if($options['skin_color'] == 'orange'){echo "selected";}?>>Orange</option>
  120.                   <option value="navy" <?php if($options['skin_color'] == 'navy'){echo "selected";}?>>Navy</option>
  121.                   <option value="darkpurple" <?php if($options['skin_color'] == 'darkpurple'){echo "selected";}?>>Dark Purple</option>
  122.                   <option value="black" <?php if($options['skin_color'] == 'black'){echo "selected";}?>>Black</option>
  123.                   <option value="brown" <?php if($options['skin_color'] == 'teal'){echo "selected";}?>>Brown</option>
  124.                   <option value="forest_green" <?php if($options['skin_color'] == 'forest_green'){echo "selected";}?>>Forest Green</option>
  125.                   <option value="olive_green" <?php if($options['skin_color'] == 'olive_green'){echo "selected";}?>>Olive Green</option>
  126.                   <option value="pink" <?php if($options['skin_color'] == 'pink'){echo "selected";}?>>Pink</option>
  127.                   <option value="sky_blue" <?php if($options['skin_color'] == 'sky_blue'){echo "selected";}?>>Sky Blue</option>
  128.                   <option value="slate_gray" <?php if($options['skin_color'] == 'slate_gray'){echo "selected";}?>>Slate Gray</option>
  129.  
  130.                 </select>                
  131.               </td>
  132.            
  133.               <td width="50%" style="color:#666">This option will change the header color of your website.</td>
  134.               </tr>
  135.  
  136.               <tr class="rm_input">
  137.                 <td width="50%">
  138.                   <strong style="margin-left:5px">Background Texture</strong></td>
  139.                
  140.                 <td>&nbsp;</td>
  141.               </tr>
  142.              
  143.               <tr class="rm_input" style="border-bottom: 1px solid rgb(223, 223, 223)">
  144.                 <td>
  145.                 <select name="background_texture" id="background_texture" style="width:100%">
  146.                 <option value="glow" <?php if($options['background_texture'] =='glow'){echo "selected";}?>>Glow</option>
  147.                 <option value="splatter" <?php if($options['background_texture'] =='splatter'){echo "selected";}?>>Splatter</option>
  148.                 <option value="bokeh" <?php if($options['background_texture'] =='bokeh') { echo "selected";}?>>Bokeh</option>
  149.                 <option value="vintage_wallpaper" <?php if($options['background_texture'] =='vintage_wallpaper'){echo "selected";}?>>Vintage Wallpaper</option>
  150.                 <option value="horizontal_lines" <?php if($options['background_texture'] =='horizontal_lines') { echo "selected";}?>>Horizontal Lines</option>
  151.                 </select>
  152.                 </td>
  153.                
  154.                 <td width="50%" style="color:#666">This option will add a design texture to your websites background.</td>
  155.               </tr>
  156.              
  157.               <tr class="rm_input">
  158.                 <td width="50%"><strong style="margin-left:5px">Logo</strong></td>
  159.                 <td></td>
  160.               </tr>
  161.              
  162.               <tr class="rm_input">
  163.                 <td width="50%">
  164.                  <select name="title_type" id="title_type" style="width:100%">
  165.                 <option value="site_title" <?php if($options['title_type'] =='site_title'){echo "selected";}?>>Site Title</option>
  166.                 <option value="custom_image" <?php if($options['title_type'] =='custom_image') { echo "selected";}?>>Custom Image</option>
  167.                 </select>
  168.                 </td>
  169.                 <td width="50%" style="color:#666">Enter an URL or upload an image for the banner.</td>
  170.                 </tr>
  171.                
  172.                 <tr>
  173.                 <td>
  174.                   <label for="upload_image">
  175.                              
  176.                       <input id="upload_image" style="float:left; width:80%" type="text" name="upload_image" value="<?php echo $options['upload_image']; ?>" />
  177.                       <input style="float:right" id="upload_image_button" type="button" value="Upload Image" />
  178.                              
  179.                         <br/>
  180.                
  181.    
  182.                       </label>
  183.                   <div id="image-holder"><img style="max-width:300px" name="upload_image" src="<?php if ($options['upload_image'] != "" ) { echo $options['upload_image']; } ?>" /></div>
  184.  
  185.             </td>
  186.  
  187.                 <td></td>
  188.               </tr>
  189.          
  190.           <!--<tr class="rm_input">
  191.          <td width="25%">Menu Search Bar</td>
  192.                 <td width="75%">
  193.                 <select name="menu_search_bar" id="menu_search_bar" style="width:100px;">
  194.                 <option value="Yes" <?php if($options['menu_search_bar'] =='Yes'){echo "selected";}?>>Yes</option>
  195.                 <option value="No" <?php if($options['menu_search_bar'] =='No'){echo "selected";}?>>No</option>
  196.                 </select>                </td>
  197.               </tr>-->
  198.          
  199.              
  200.           </table>
  201.  
  202.  
  203.  
  204.        </div>
  205.        </div>
  206.        
  207.        
  208.        
  209.        
  210.      
  211.  <div id="poststuff" class="metabox-holder has-right-sidebar" >
  212.       <div class="postbox" style="width: 100%">
  213.       <h3>Typography</h3>
  214.  
  215.             <table width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
  216.              
  217.                <tr class="rm_input">
  218.                 <td width="50%">
  219.                   <strong style="margin-left:5px">Site Title Font</strong></td>
  220.                
  221.                 <td>&nbsp;</td>
  222.                
  223.                
  224.               </tr>
  225.  
  226.               <tr class="rm_input">
  227.                 <td>
  228.                   <select name="site_title_font" id="site_title_font">
  229.                     <option value="jennasue" <?php if($options['site_title_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
  230.                     <option value="nobile" <?php if($options['site_title_font'] =='nobile') {echo "selected";}?>>Nobile</option>
  231.                     <option value="arial" <?php if($options['site_title_font'] =='arial'){echo "selected";}?>>Arial</option>
  232.                     <option value="calibri" <?php if($options['site_title_font'] =='calibri'){echo "selected";}?>>Calibri</option>
  233.                     <option value="verdana" <?php if($options['site_title_font'] =='verdana'){echo "selected";}?>>Verdana</option>
  234.                   </select>                
  235.                
  236.                   <select name="site_title_font_size" id="site_title_font_size" style="width:50px">
  237.                     <option value="20px" <?php if($options['site_title_font_size'] == '20px') {echo "selected";}?>>20px</option>
  238.                     <option value="25px" <?php if($options['site_title_font_size'] == '25px') {echo "selected";}?>>25px</option>
  239.                     <option value="30px" <?php if($options['site_title_font_size'] == '30px') {echo "selected";}?>>30px</option>
  240.                     <option value="35px" <?php if($options['site_title_font_size'] == '35px') {echo "selected";}?>>35px</option>
  241.                     <option value="40px" <?php if($options['site_title_font_size'] == '40px') {echo "selected";}?>>40px</option>
  242.                     <option value="45px" <?php if($options['site_title_font_size'] == '45px') {echo "selected";}?>>45px</option>
  243.                     <option value="50px" <?php if($options['site_title_font_size'] == '50px') {echo "selected";}?>>50px</option>
  244.                     <option value="55px" <?php if($options['site_title_font_size'] == '55px') {echo "selected";}?>>55px</option>
  245.                     <option value="60px" <?php if($options['site_title_font_size'] == '60px') {echo "selected";}?>>60px</option>
  246.                     <option value="65px" <?php if($options['site_title_font_size'] == '65px') {echo "selected";}?>>65px</option>
  247.                     <option value="70px" <?php if($options['site_title_font_size'] == '70px') {echo "selected";}?>>70px</option>
  248.                     <option value="75px" <?php if($options['site_title_font_size'] == '75px') {echo "selected";}?>>75px</option>
  249.                     <option value="80px" <?php if($options['site_title_font_size'] == '80px') {echo "selected";}?>>80px</option>
  250.                     <option value="85px" <?php if($options['site_title_font_size'] == '85px') {echo "selected";}?>>85px</option>
  251.                     <option value="90px" <?php if($options['site_title_font_size'] == '90px') {echo "selected";}?>>90px</option>
  252.                   </select>
  253.                 </td>
  254.  
  255.                 <td style="color:#666">Changes the font type and size of the title at the top of your website.</td>
  256.               </tr>
  257.  
  258.               <tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
  259.                 <td>
  260.                   <div class="google-font-box">
  261.                     <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
  262.                     <input style="width:95%" type="text" id="site_title_font_google" name="site_title_font_google" value="<?php echo $options['site_title_font_google']; ?>"
  263.                   </div>
  264.                 </td>
  265.               </tr>
  266.  
  267.  
  268.  
  269.  
  270.                <!--<tr class="rm_input">
  271.                 <td width="50%">
  272.                   <strong style="margin-left:5px">Site Tagline Font</strong></td>
  273.                
  274.                 <td>&nbsp;</td>
  275.                
  276.                
  277.               </tr>-->
  278.  
  279.               <!--<tr class="rm_input">
  280.                 <td>
  281.                   <select name="site_tagline_font" id="site_tagline_font">
  282.                     <option value="jennasue" <?php if($options['site_tagline_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
  283.                     <option value="nobile" <?php if($options['site_tagline_font'] =='nobile') {echo "selected";}?>>Nobile</option>
  284.                     <option value="arial" <?php if($options['site_tagline_font'] =='arial'){echo "selected";}?>>Arial</option>
  285.                     <option value="calibri" <?php if($options['site_tagline_font'] =='calibri'){echo "selected";}?>>Calibri</option>
  286.                     <option value="verdana" <?php if($options['site_tagline_font'] =='verdana'){echo "selected";}?>>Verdana</option>
  287.                   </select>                
  288.                
  289.                   <select name="site_tagline_font_size" id="site_tagline_font_size" style="width:50px">
  290.                     <option value="20px" <?php if($options['site_tagline_font_size'] == '20px') {echo "selected";}?>>20px</option>
  291.                     <option value="25px" <?php if($options['site_tagline_font_size'] == '25px') {echo "selected";}?>>25px</option>
  292.                     <option value="30px" <?php if($options['site_tagline_font_size'] == '30px') {echo "selected";}?>>30px</option>
  293.                     <option value="35px" <?php if($options['site_tagline_font_size'] == '35px') {echo "selected";}?>>35px</option>
  294.                     <option value="40px" <?php if($options['site_tagline_font_size'] == '40px') {echo "selected";}?>>40px</option>
  295.                     <option value="45px" <?php if($options['site_tagline_font_size'] == '45px') {echo "selected";}?>>45px</option>
  296.                     <option value="50px" <?php if($options['site_tagline_font_size'] == '50px') {echo "selected";}?>>50px</option>
  297.                     <option value="55px" <?php if($options['site_tagline_font_size'] == '55px') {echo "selected";}?>>55px</option>
  298.                     <option value="60px" <?php if($options['site_tagline_font_size'] == '60px') {echo "selected";}?>>60px</option>
  299.                     <option value="65px" <?php if($options['site_tagline_font_size'] == '65px') {echo "selected";}?>>65px</option>
  300.                     <option value="70px" <?php if($options['site_tagline_font_size'] == '70px') {echo "selected";}?>>70px</option>
  301.                     <option value="75px" <?php if($options['site_tagline_font_size'] == '75px') {echo "selected";}?>>75px</option>
  302.                     <option value="80px" <?php if($options['site_tagline_font_size'] == '80px') {echo "selected";}?>>80px</option>
  303.                     <option value="85px" <?php if($options['site_tagline_font_size'] == '85px') {echo "selected";}?>>85px</option>
  304.                     <option value="90px" <?php if($options['site_tagline_font_size'] == '90px') {echo "selected";}?>>90px</option>
  305.                   </select>
  306.                 </td>
  307.  
  308.                 <td style="color:#666">Changes the font type and size of the tagline at the top of your website.</td>
  309.               </tr>-->
  310.  
  311.               <!--<tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
  312.                 <td>
  313.                   <div class="google-font-box">
  314.                     <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
  315.                     <input style="width:95%" type="text" id="site_tagline_font_google" name="site_tagline_font_google" value="<?php echo $options['site_tagline_font_google']; ?>"
  316.                   </div>
  317.                 </td>
  318.               </tr>-->
  319.  
  320.  
  321.  
  322.  
  323.               <tr class="rm_input">
  324.                 <td width="50%">
  325.                   <strong style="margin-left:5px">Primary Body Font</strong></td>
  326.                
  327.                 <td>&nbsp;</td>
  328.                
  329.                
  330.               </tr>
  331.  
  332.               <tr class="rm_input">
  333.                 <td>
  334.                   <select name="primary_body_font" id="primary_body_font">
  335.                     <option value="jennasue" <?php if($options['primary_body_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
  336.                     <option value="nobile" <?php if($options['primary_body_font'] =='nobile') {echo "selected";}?>>Nobile</option>
  337.                     <option value="arial" <?php if($options['primary_body_font'] =='arial'){echo "selected";}?>>Arial</option>
  338.                     <option value="calibri" <?php if($options['primary_body_font'] =='calibri'){echo "selected";}?>>Calibri</option>
  339.                     <option value="verdana" <?php if($options['primary_body_font'] =='verdana'){echo "selected";}?>>Verdana</option>
  340.                   </select>                
  341.                
  342.                   <select name="primary_body_font_size" id"primary_body_font_size" style="width:50px">
  343.                     <option value="8px" <?php if($options['primary_body_font_size'] == '8px') {echo "selected";}?>>8px</option>
  344.                     <option value="9px" <?php if($options['primary_body_font_size'] == '9px') {echo "selected";}?>>9px</option>
  345.                     <option value="10px" <?php if($options['primary_body_font_size'] == '10px') {echo "selected";}?>>10px</option>
  346.                     <option value="11px" <?php if($options['primary_body_font_size'] == '11px') {echo "selected";}?>>11px</option>
  347.                     <option value="12px" <?php if($options['primary_body_font_size'] == '12px') {echo "selected";}?>>12px</option>
  348.                     <option value="13px" <?php if($options['primary_body_font_size'] == '13px') {echo "selected";}?>>13px</option>
  349.                     <option value="14px" <?php if($options['primary_body_font_size'] == '14px') {echo "selected";}?>>14px</option>
  350.                     <option value="15px" <?php if($options['primary_body_font_size'] == '15px') {echo "selected";}?>>15px</option>
  351.                     <option value="16px" <?php if($options['primary_body_font_size'] == '16px') {echo "selected";}?>>16px</option>
  352.                   </select>
  353.                 </td>
  354.  
  355.                 <td style="color:#666">Changes the font name and size in the main content area.</td>
  356.               </tr>
  357.  
  358.               <tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
  359.                 <td>
  360.                   <div class="google-font-box">
  361.                     <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
  362.                     <input style="width:95%" type="text" id="primary_body_font_google" name="primary_body_font_google" value="<?php echo $options['primary_body_font_google']; ?>"
  363.                   </div>
  364.                 </td>
  365.               </tr>
  366.  
  367.                
  368.               <tr class="rm_input">
  369.                 <td width="50%">
  370.                   <strong style="margin-left:5px">Heading Font</strong></td>
  371.                
  372.                 <td>&nbsp;</td>
  373.                
  374.                
  375.               </tr>
  376.  
  377.               <tr class="rm_input">
  378.                 <td>
  379.                   <select name="heading_font" id="heading_font">
  380.                     <option value="jennasue" <?php if($options['heading_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
  381.                     <option value="nobile" <?php if($options['heading_font'] =='nobile') {echo "selected";}?>>Nobile</option>
  382.                     <option value="arial" <?php if($options['heading_font'] =='arial'){echo "selected";}?>>Arial</option>
  383.                     <option value="calibri" <?php if($options['heading_font'] =='calibri'){echo "selected";}?>>Calibri</option>
  384.                     <option value="verdana" <?php if($options['heading_font'] =='verdana'){echo "selected";}?>>Verdana</option>
  385.                   </select>                
  386.                
  387.                   <select name="heading_font_size" id"heading_font_size" style="width:50px">
  388.                     <option value="8px" <?php if($options['heading_font_size'] == '8px') {echo "selected";}?>>8px</option>
  389.                     <option value="9px" <?php if($options['heading_font_size'] == '9px') {echo "selected";}?>>9px</option>
  390.                     <option value="10px" <?php if($options['heading_font_size'] == '10px') {echo "selected";}?>>10px</option>
  391.                     <option value="11px" <?php if($options['heading_font_size'] == '11px') {echo "selected";}?>>11px</option>
  392.                     <option value="12px" <?php if($options['heading_font_size'] == '12px') {echo "selected";}?>>12px</option>
  393.                     <option value="13px" <?php if($options['heading_font_size'] == '13px') {echo "selected";}?>>13px</option>
  394.                     <option value="14px" <?php if($options['heading_font_size'] == '14px') {echo "selected";}?>>14px</option>
  395.                     <option value="15px" <?php if($options['heading_font_size'] == '15px') {echo "selected";}?>>15px</option>
  396.                     <option value="16px" <?php if($options['heading_font_size'] == '16px') {echo "selected";}?>>16px</option>
  397.                   </select>
  398.                 </td>
  399.  
  400.                 <td style="color:#666">Changes the heading font type and size.</td>
  401.               </tr>
  402.  
  403.               <tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
  404.                 <td>
  405.                   <div class="google-font-box">
  406.                     <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
  407.                     <input style="width:95%" type="text" id="heading_font_google" name="heading_font_google" value="<?php echo $options['heading_font_google']; ?>"
  408.                   </div>
  409.                 </td>
  410.               </tr>
  411.              
  412.              
  413.              
  414.              
  415.              
  416.               <tr class="rm_input">
  417.                 <td width="50%">
  418.                   <strong style="margin-left:5px">Main Navigation Font</strong></td>
  419.                
  420.                 <td>&nbsp;</td>
  421.                
  422.                
  423.               </tr>
  424.  
  425.               <tr class="rm_input">
  426.                 <td>
  427.                   <select name="main_navigation_font" id="main_navigation_font">
  428.                     <option value="jennasue" <?php if($options['main_navigation_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
  429.                     <option value="nobile" <?php if($options['main_navigation_font'] =='nobile') {echo "selected";}?>>Nobile</option>
  430.                     <option value="arial" <?php if($options['main_navigation_font'] =='arial'){echo "selected";}?>>Arial</option>
  431.                     <option value="calibri" <?php if($options['main_navigation_font'] =='calibri'){echo "selected";}?>>Calibri</option>
  432.                     <option value="verdana" <?php if($options['main_navigation_font'] =='verdana'){echo "selected";}?>>Verdana</option>
  433.                   </select>                
  434.                
  435.                   <select name="main_navigation_font_size" id="main_navigation_font_size" style="width:50px">
  436.                     <option value="8px" <?php if($options['main_navigation_font_size'] == '8px') {echo "selected";}?>>8px</option>
  437.                     <option value="9px" <?php if($options['main_navigation_font_size'] == '9px') {echo "selected";}?>>9px</option>
  438.                     <option value="10px" <?php if($options['main_navigation_font_size'] == '10px') {echo "selected";}?>>10px</option>
  439.                     <option value="11px" <?php if($options['main_navigation_font_size'] == '11px') {echo "selected";}?>>11px</option>
  440.                     <option value="12px" <?php if($options['main_navigation_font_size'] == '12px') {echo "selected";}?>>12px</option>
  441.                     <option value="13px" <?php if($options['main_navigation_font_size'] == '13px') {echo "selected";}?>>13px</option>
  442.                     <option value="14px" <?php if($options['main_navigation_font_size'] == '14px') {echo "selected";}?>>14px</option>
  443.                     <option value="15px" <?php if($options['main_navigation_font_size'] == '15px') {echo "selected";}?>>15px</option>
  444.                     <option value="16px" <?php if($options['main_navigation_font_size'] == '16px') {echo "selected";}?>>16px</option>
  445.                   </select>
  446.                 </td>
  447.  
  448.                 <td style="color:#666">Changes the font type and size in the navigation menu area.</td>
  449.               </tr>
  450.  
  451.               <tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
  452.                 <td>
  453.                   <div class="google-font-box">
  454.                     <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
  455.                     <input style="width:95%" type="text" id="main_navigation_font_google" name="main_navigation_font_google" value="<?php echo $options['main_navigation_font_google']; ?>"
  456.                   </div>
  457.                 </td>
  458.               </tr>
  459.              
  460.              
  461.              
  462.              
  463.              
  464.                <tr class="rm_input">
  465.                 <td width="50%">
  466.                   <strong style="margin-left:5px">Footer Font</strong></td>
  467.                
  468.                 <td>&nbsp;</td>
  469.                
  470.                
  471.               </tr>
  472.  
  473.               <tr class="rm_input">
  474.                 <td>
  475.                   <select name="footer_font" id="footer_font">
  476.                     <option value="jennasue" <?php if($options['footer_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
  477.                     <option value="nobile" <?php if($options['footer_font'] =='nobile') {echo "selected";}?>>Nobile</option>
  478.                     <option value="arial" <?php if($options['footer_font'] =='arial'){echo "selected";}?>>Arial</option>
  479.                     <option value="calibri" <?php if($options['footer_font'] =='calibri'){echo "selected";}?>>Calibri</option>
  480.                     <option value="verdana" <?php if($options['footer_font'] =='verdana'){echo "selected";}?>>Verdana</option>
  481.                   </select>                
  482.                
  483.                   <select name="footer_font_size" id="footer_font_size" style="width:50px">
  484.                     <option value="8px" <?php if($options['footer_font_size'] == '8px') {echo "selected";}?>>8px</option>
  485.                     <option value="9px" <?php if($options['footer_font_size'] == '9px') {echo "selected";}?>>9px</option>
  486.                     <option value="10px" <?php if($options['footer_font_size'] == '10px') {echo "selected";}?>>10px</option>
  487.                     <option value="11px" <?php if($options['footer_font_size'] == '11px') {echo "selected";}?>>11px</option>
  488.                     <option value="12px" <?php if($options['footer_font_size'] == '12px') {echo "selected";}?>>12px</option>
  489.                     <option value="13px" <?php if($options['footer_font_size'] == '13px') {echo "selected";}?>>13px</option>
  490.                     <option value="14px" <?php if($options['footer_font_size'] == '14px') {echo "selected";}?>>14px</option>
  491.                     <option value="15px" <?php if($options['footer_font_size'] == '15px') {echo "selected";}?>>15px</option>
  492.                     <option value="16px" <?php if($options['footer_font_size'] == '16px') {echo "selected";}?>>16px</option>
  493.                   </select>
  494.                 </td>
  495.  
  496.                 <td style="color:#666">Changes the font type and size in the footer area.</td>
  497.               </tr>
  498.  
  499.               <tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
  500.                 <td>
  501.                   <div class="google-font-box">
  502.                     <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
  503.                     <input style="width:95%" type="text" id="footer_font_google" name="footer_font_google" value="<?php echo $options['footer_font_google']; ?>"
  504.                   </div>
  505.                 </td>
  506.               </tr>            
  507.            </table>
  508.          </div>
  509.       </div>
  510.      
  511.    
  512.  
  513.  
  514.              
  515.        
  516.        
  517.        
  518.        
  519.        
  520.        <div id="poststuff" class="metabox-holder has-right-sidebar" >
  521.       <div class="postbox" style="width: 100%">
  522.       <h3>Links</h3>
  523.  
  524.             <table width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
  525.               <tr class="rm_input">
  526.                 <td width="25%">Link Color</td>
  527.                 <td width="75%">
  528.                 <input type="text" value="<?php echo $options['link_color']; ?>" name="link_color"/>
  529.                 </td>
  530.               </tr>
  531.  
  532.               <tr class="rm_input">
  533.                 <td width="25%">Link Hover Color</td>
  534.                 <td width="75%">
  535.                 <input type="text" value="<?php echo $options['link_hover_color']; ?>" name="link_hover_color"/>
  536.                 </td>
  537.               </tr>
  538.              
  539.  
  540.              
  541.           </table>
  542.  
  543.        </div>
  544.        </div>
  545.        
  546.        
  547.        
  548.        
  549.        
  550.        
  551.        
  552.        
  553.        
  554.        <div id="poststuff" class="metabox-holder has-right-sidebar" >
  555.       <div class="postbox" style="width: 100%">
  556.       <h3>Custom CSS</h3>
  557.  
  558.             <table width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
  559.               <tr class="rm_input">
  560.         <td style="vertical-align:top; width:25%"><p>Enter custom CSS styles here to override your default style sheet:</p></td>
  561.                 <td width="75%">
  562.                   <textarea name="custom_css" id="custom_css" value="<?php echo $options['custom_css']; ?>" style="width:75%; height:300px"><?php echo $options['custom_css']; ?></textarea>
  563.                  
  564.                 </td>
  565.               </tr>
  566.              
  567.               <tr>
  568.            
  569.              
  570.                 <td>&nbsp;</td>
  571.                 <td><input type="submit" class="button-primary" value="<?php _e('Update Options')?>" name="update_theme_options" /></td>
  572.                
  573.                
  574.                
  575.               </tr>
  576.              
  577.              
  578.           </table>
  579. <input type="hidden" name="custom_submit" value="true"/>
  580. <input type="hidden" name="action" value="update" />
  581.            
  582.         </form>
  583.  
  584.        </div>
  585.        </div>
  586.            <?php } else
  587.                        if( $active_tab == 'layout_options' ) {
  588.                        $montage_layout_options = get_option('layout_settings'); ?>
  589.                        <form class="page-form" method="post" action="options.php">
  590.                       <?php wp_nonce_field('update-options');?>
  591.  
  592.  
  593.  
  594. <!--Next tab content would be here-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement