mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Themes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1638 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -13,8 +13,9 @@ $menu[20] = array(__('Links'), 5, 'link-manager.php');
|
||||
$menu[25] = array(__('Users'), 3, 'users.php');
|
||||
$menu[30] = array(__('Options'), 6, 'options-general.php');
|
||||
$menu[35] = array(__('Plugins'), 8, 'plugins.php');
|
||||
$menu[40] = array(__('Templates'), 4, 'templates.php');
|
||||
$menu[45] = array(__('Upload'), get_settings('fileupload_minlevel'), 'upload.php');
|
||||
$menu[40] = array(__('Presentation'), 8, 'themes.php');
|
||||
$menu[45] = array(__('Templates'), 4, 'templates.php');
|
||||
$menu[50] = array(__('Upload'), get_settings('fileupload_minlevel'), 'upload.php');
|
||||
ksort($menu); // So other files can plugin
|
||||
|
||||
$submenu['edit.php'][5] = array(__('Posts'), 1, 'edit.php');
|
||||
@@ -39,6 +40,9 @@ $submenu['options-general.php'][20] = array(__('Discussion'), 5, 'options-discus
|
||||
$submenu['options-general.php'][25] = array(__('Permalinks'), 5, 'options-permalink.php');
|
||||
$submenu['options-general.php'][30] = array(__('Miscellaneous'), 5, 'options-misc.php');
|
||||
|
||||
$submenu['themes.php'][5] = array(__('Themes'), 5, 'themes.php');
|
||||
$submenu['themes.php'][10] = array(__('Theme Editor'), 5, 'theme-editor.php');
|
||||
|
||||
$self = preg_replace('|.*/wp-admin/|i', '', $_SERVER['PHP_SELF']);
|
||||
if (!isset($parent_file)) $parent_file = '';
|
||||
foreach ($menu as $item) {
|
||||
|
||||
Reference in New Issue
Block a user