Make WordPress Core


Ignore:
Timestamp:
04/11/2004 08:15:10 AM (23 years ago)
Author:
saxmatt
Message:

More options work. Bug fixes for advanced_edit not being boolean type, clean up of options code and update feedback (still needs work there), first bit of miscellaneous screen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-permalink.php

    r969 r1058  
    5151        $standalone = 0;
    5252        include_once('admin-header.php');
    53         if ($user_level <= 3) {
     53        if ($user_level <= 6) {
    5454                die("You have do not have sufficient permissions to edit the options for this blog.");
    5555        }
     56        include('options-head.php');
    5657?>
    57  <ul id="adminmenu2">
    58  <li><a href="options-general.php">General</a></li>
    59         <li><a href="options-writing.php">Writing</a></li>
    60         <li><a href="options-reading.php">Reading</a></li>
    61         <li><a href="options-discussion.php">Discussion</a></li>
    62   <?php
    63     //we need to iterate through the available option groups.
    64     $option_groups = $wpdb->get_results("SELECT group_id, group_name, group_desc, group_longdesc FROM $tableoptiongroups ORDER BY group_id");
    65     foreach ($option_groups as $option_group) {
    66         if ($option_group->group_id == $option_group_id) {
    67             $current_desc=$option_group->group_desc;
    68             $current_long_desc = $option_group->group_longdesc;
    69             echo("  <li><a id=\"current2\" href=\"$this_file?option_group_id={$option_group->group_id}\" title=\"{$option_group->group_desc}\">{$option_group->group_name}</a></li>\n");
    70         } else {
    71             echo("  <li><a href=\"$this_file?option_group_id={$option_group->group_id}\" title=\"{$option_group->group_desc}\">{$option_group->group_name}</a></li>\n");
    72         }
    73     } // end for each group
    74 ?>
    75   <li class="last"><a class="current">Permalinks</a></li>
    76 </ul>
    77 <br clear="all" />
    7858<div class="wrap">
    7959  <h2>Edit Permalink Structure</h2>
    … …  
    131111}
    132112
    133 include("admin-footer.php") ?>
     113include("admin-footer.php")
     114?>
Note: See TracChangeset for help on using the changeset viewer.