Changeset 8705
- Timestamp:
- 08/21/2008 11:18:51 PM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r8691 r8705 62 62 $submenu['users.php'][30] = array( __('Import'), 'import', 'import.php' ); 63 63 $submenu['users.php'][35] = array( __('Export'), 'import', 'export.php' ); 64 $submenu['users.php'][40] = array( __('Settings'), 'manage_options', 'options-general.php' );65 $_wp_real_parent_file['options-general.php'] = 'users.php';66 $submenu['options-general.php'][10] = array( __('General'), 'manage_options', 'options-general.php' );67 $submenu['options-general.php'][15] = array( __('Writing'), 'manage_options', 'options-writing.php' );68 $submenu['options-general.php'][20] = array( __('Reading'), 'manage_options', 'options-reading.php' );69 $submenu['options-general.php'][25] = array( __('Discussion'), 'manage_options', 'options-discussion.php' );70 $submenu['options-general.php'][30] = array( __('Privacy'), 'manage_options', 'options-privacy.php' );71 $submenu['options-general.php'][35] = array( __('Permalinks'), 'manage_options', 'options-permalink.php' );72 $submenu['options-general.php'][40] = array( __('Miscellaneous'), 'manage_options', 'options-misc.php' );73 64 74 $menu[20] = array( __('Plugins'), 'activate_plugins', 'plugins.php' ); 65 $menu[20] = array(__('Settings'), 'manage_options', 'options-general.php'); 66 $submenu['options-general.php'][10] = array(__('General'), 'manage_options', 'options-general.php'); 67 $submenu['options-general.php'][15] = array(__('Writing'), 'manage_options', 'options-writing.php'); 68 $submenu['options-general.php'][20] = array(__('Reading'), 'manage_options', 'options-reading.php'); 69 $submenu['options-general.php'][25] = array(__('Discussion'), 'manage_options', 'options-discussion.php'); 70 $submenu['options-general.php'][30] = array(__('Privacy'), 'manage_options', 'options-privacy.php'); 71 $submenu['options-general.php'][35] = array(__('Permalinks'), 'manage_options', 'options-permalink.php'); 72 $submenu['options-general.php'][40] = array(__('Miscellaneous'), 'manage_options', 'options-misc.php'); 73 74 $menu[25] = array( __('Plugins'), 'activate_plugins', 'plugins.php' ); 75 75 $submenu['plugins.php'][5] = array( __('Plugins'), 'activate_plugins', 'plugins.php' ); 76 76 $submenu['plugins.php'][10] = array( __('Plugin Editor'), 'edit_plugins', 'plugin-editor.php' ); -
trunk/wp-admin/options-discussion.php
r8691 r8705 17 17 18 18 <div class="wrap"> 19 <ul class="wp-menu">20 <?php $array = array(); _wp_menu_output( $submenu['options-general.php'], $array ); unset($array); ?>21 </ul>22 19 <h2><?php _e('Discussion Settings') ?></h2> 23 20 <form method="post" action="options.php"> -
trunk/wp-admin/options-general.php
r8691 r8705 11 11 12 12 $title = __('General Settings'); 13 $parent_file = 'options-general.php'; 13 14 14 15 include('./admin-header.php'); … … 16 17 17 18 <div class="wrap"> 18 <ul class="wp-menu">19 <?php $array = array(); _wp_menu_output( $submenu['options-general.php'], $array ); unset($array); ?>20 </ul>21 19 <h2><?php _e('General Settings') ?></h2> 22 20 <form method="post" action="options.php"> -
trunk/wp-admin/options-misc.php
r8691 r8705 18 18 19 19 <div class="wrap"> 20 <ul class="wp-menu">21 <?php $array = array(); _wp_menu_output( $submenu['options-general.php'], $array ); unset($array); ?>22 </ul>23 20 <h2><?php _e('Miscellaneous Settings') ?></h2> 24 21 <form method="post" action="options.php"> -
trunk/wp-admin/options-permalink.php
r8691 r8705 124 124 125 125 <div class="wrap"> 126 <ul class="wp-menu">127 <?php $array = array(); _wp_menu_output( $submenu['options-general.php'], $array ); unset($array); ?>128 </ul>129 126 <h2><?php _e('Customize Permalink Structure') ?></h2> 130 127 <form name="form" action="options-permalink.php" method="post"> -
trunk/wp-admin/options-privacy.php
r8691 r8705 17 17 18 18 <div class="wrap"> 19 <ul class="wp-menu">20 <?php $array = array(); _wp_menu_output( $submenu['options-general.php'], $array ); unset($array); ?>21 </ul>22 19 <h2><?php _e('Privacy Settings') ?></h2> 23 20 <form method="post" action="options.php"> -
trunk/wp-admin/options-reading.php
r8691 r8705 17 17 18 18 <div class="wrap"> 19 <ul class="wp-menu">20 <?php $array = array(); _wp_menu_output( $submenu['options-general.php'], $array ); unset($array); ?>21 </ul>22 19 <h2><?php _e('Reading Settings') ?></h2> 23 20 <form name="form1" method="post" action="options.php"> -
trunk/wp-admin/options-writing.php
r8691 r8705 17 17 18 18 <div class="wrap"> 19 <ul class="wp-menu">20 <?php $array = array(); _wp_menu_output( $submenu['options-general.php'], $array ); unset($array); ?>21 </ul>22 19 <h2><?php _e('Writing Settings') ?></h2> 23 20 <form method="post" action="options.php">
Note: See TracChangeset
for help on using the changeset viewer.