Changeset 3422 for trunk/wp-admin/options-general.php
- Timestamp:
- 01/10/2006 05:16:17 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/options-general.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-general.php
r3112 r3422 1 1 <?php 2 require_once(' admin.php');2 require_once('./admin.php'); 3 3 4 4 $title = __('General Options'); 5 5 $parent_file = 'options-general.php'; 6 6 7 include(' admin-header.php');7 include('./admin-header.php'); 8 8 ?> 9 9 10 <div class="wrap"> 11 <h2><?php _e('General Options') ?></h2> 12 <form name="form1" method="post" action="options.php"> 13 <input type="hidden" name="action" value="update" /> 14 <input type="hidden" name="page_options" value="blogname,blogdescription,siteurl,admin_email,users_can_register,gmt_offset,date_format,time_format,home,start_of_week,comment_registration,default_role" /> 15 <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 10 <div class="wrap"> 11 <h2><?php _e('General Options') ?></h2> 12 <form method="post" action="options.php"> 13 <table class="optiontable"> 16 14 <tr valign="top"> 17 <th width="33%"scope="row"><?php _e('Weblog title:') ?></th>15 <th scope="row"><?php _e('Weblog title:') ?></th> 18 16 <td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="40" /></td> 19 17 </tr> … … 63 61 <fieldset class="options"> 64 62 <legend><?php _e('Date and Time') ?></legend> 65 <table width="100%" cellspacing="2" cellpadding="5" class="editform">63 <table class="optiontable"> 66 64 <tr> 67 <th scope="row" width="33%"><?php _e('<abbr title="Coordinated Universal Time">UTC</abbr> time is:') ?> </th>65 <th scope="row"><?php _e('<abbr title="Coordinated Universal Time">UTC</abbr> time is:') ?> </th> 68 66 <td><code><?php echo gmdate('Y-m-d g:i:s a'); ?></code></td> 69 67 </tr> … … 99 97 </select></td> 100 98 </tr> 99 </table> 100 </fieldset> 101 101 102 </table> 102 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options') ?> »" /> 103 <input type="hidden" name="action" value="update" /> 104 <input type="hidden" name="page_options" value="blogname,blogdescription,siteurl,admin_email,users_can_register,gmt_offset,date_format,time_format,home,start_of_week,comment_registration,default_role" /> 105 </p> 106 </form> 103 107 104 </fieldset>105 <p class="submit">106 <input type="submit" name="Submit" value="<?php _e('Update Options') ?> »" />107 </p>108 </form>109 108 </div> 110 <?php include("admin-footer.php") ?> 109 110 <?php include('./admin-footer.php') ?>
Note: See TracChangeset
for help on using the changeset viewer.