Changeset 1058 for trunk/wp-admin/options-writing.php
- Timestamp:
- 04/11/2004 08:15:10 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/options-writing.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-writing.php
r969 r1058 35 35 } 36 36 37 require_once('optionhandler.php');38 37 39 38 40 39 $standalone = 0; 41 40 include_once('admin-header.php'); 42 if ($user_level <= 3) { 43 die("You have do not have sufficient permissions to edit the options for this blog."); 44 } 41 include('options-head.php'); 45 42 ?> 46 <ul id="adminmenu2"> 47 <li><a href="options-general.php">General</a></li> 48 <li><a class="current">Writing</a></li> 49 <li><a href="options-reading.php">Reading</a></li> 50 <li><a href="options-discussion.php">Discussion</a></li> 51 <?php 52 //we need to iterate through the available option groups. 53 $option_groups = $wpdb->get_results("SELECT group_id, group_name, group_desc, group_longdesc FROM $tableoptiongroups ORDER BY group_id"); 54 foreach ($option_groups as $option_group) { 55 if ($option_group->group_id == $option_group_id) { 56 $current_desc=$option_group->group_desc; 57 $current_long_desc = $option_group->group_longdesc; 58 echo(" <li><a id=\"current2\" href=\"options.php?option_group_id={$option_group->group_id}\" title=\"{$option_group->group_desc}\">{$option_group->group_name}</a></li>\n"); 59 } else { 60 echo(" <li><a href=\"options.php?option_group_id={$option_group->group_id}\" title=\"{$option_group->group_desc}\">{$option_group->group_name}</a></li>\n"); 61 } 62 } // end for each group 63 ?> 64 <li class="last"><a href="options-permalink.php">Permalinks</a></li> 65 </ul> 66 <br clear="all" /> 43 67 44 <div class="wrap"> 68 45 <h2>Writing Options</h2> … … 73 50 <tr valign="top"> 74 51 <th scope="row"> When starting a post, show: </th> 75 <td>< label>52 <td><?php get_settings('advanced_edit') ?><label> 76 53 <input name="advanced_edit" type="radio" value="0" <?php checked('0', get_settings('advanced_edit')); ?> /> 77 54 Simple controls</label>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)