2004-04-11 10:15:10 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
if ($user_level <= 6) {
|
2004-05-08 01:56:33 +02:00
|
|
|
die( __('You have do not have sufficient permissions to edit the options for this blog.') );
|
2004-04-11 10:15:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//we need to iterate through the available option groups.
|
2004-05-08 01:56:33 +02:00
|
|
|
$groups = '';
|
2004-05-24 10:22:18 +02:00
|
|
|
$option_groups = $wpdb->get_results("SELECT group_id, group_name, group_desc, group_longdesc FROM $wpdb->optiongroups ORDER BY group_id");
|
2004-04-11 10:15:10 +02:00
|
|
|
foreach ($option_groups as $option_group) {
|
|
|
|
if ($option_group->group_id == $option_group_id) {
|
|
|
|
$current_desc = $option_group->group_desc;
|
|
|
|
$current_long_desc = $option_group->group_longdesc;
|
|
|
|
$groups .= "<li><a class='current' title='{$option_group->group_desc}'>{$option_group->group_name}</a></li>\n";
|
|
|
|
} else {
|
|
|
|
$groups .= "<li><a href='options.php?option_group_id={$option_group->group_id}' title='{$option_group->group_desc}'>{$option_group->group_name}</a></li>\n";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
|
|
<br clear="all" />
|
|
|
|
|
2004-05-08 01:56:33 +02:00
|
|
|
<?php if (isset($updated)) : ?>
|
2004-04-25 04:03:32 +02:00
|
|
|
<div class="updated"><p><strong><?php _e('Options saved.') ?></strong></p></div>
|
2004-04-11 10:15:10 +02:00
|
|
|
<?php endif; ?>
|