Changeset 1596 for trunk/wp-admin/options.php
- Timestamp:
- 09/04/2004 10:09:21 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options.php
r1587 r1596 126 126 ?> 127 127 128 <?php 129 if ($non_was_selected) { // no group pre-selected, display opening page 130 ?> 131 <div class="wrap"> 132 <dl> 133 <?php 134 //iterate through the available option groups. output them as a definition list. 135 $option_groups = $wpdb->get_results("SELECT group_id, group_name, group_desc, group_longdesc FROM $wpdb->optiongroups ORDER BY group_id"); 136 foreach ($option_groups as $option_group) { 137 echo(" <dt><a href=\"$this_file?option_group_id={$option_group->group_id}\" title=\"{$option_group->group_desc}\">{$option_group->group_name}</a></dt>\n"); 138 $current_long_desc = $option_group->group_longdesc; 139 if ($current_long_desc == '') { 140 $current_long_desc = __('No help for this group of options.'); 141 } 142 echo(" <dd>{$option_group->group_desc}: $current_long_desc</dd>\n"); 143 } // end for each group 144 ?> 145 <dt><a href="options-permalink.php"><?php _e('Permalinks') ?></a></dt> 146 <dd><?php _e('Permanent link configuration') ?></dd> 147 </dl> 148 </div> 149 <?php 150 151 } else { //there was a group selected. 152 include('options-head.php'); 153 ?> 128 <?php include('options-head.php'); ?> 154 129 155 130 <div class="wrap">
Note: See TracChangeset
for help on using the changeset viewer.