Make WordPress Core

Changeset 6555


Ignore:
Timestamp:
01/04/2008 08:18:55 PM (17 years ago)
Author:
matt
Message:

Some link manager juggling, still need to have submenu highlight when on sub-sub pages.

Location:
trunk/wp-admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-link-categories.php

    r6299 r6555  
    22require_once('admin.php');
    33
    4 $title = __('Categories');
    5 $parent_file = 'link-manager.php';
     4$title = __('Link Categories');
     5$parent_file = 'edit.php';
    66
    77wp_enqueue_script( 'admin-categories' );
  • trunk/wp-admin/link-add.php

    r6544 r6555  
    44$title = __('Add Link');
    55$this_file = 'link-manager.php';
    6 $parent_file = 'link-manager.php';
     6$parent_file = 'post-new.php';
    77
    88
  • trunk/wp-admin/link-import.php

    r6551 r6555  
    44
    55require_once('admin.php');
    6 $parent_file = 'link-manager.php';
     6$parent_file = 'edit.php';
    77$title = __('Import Blogroll');
    8 $this_file = 'link-import.php';
    98
    109$step = $_POST['step'];
  • trunk/wp-admin/link-manager.php

    r6213 r6555  
    1717    $order_by = 'order_name';
    1818
    19 $title = __('Manage Blogroll');
    20 $this_file = $parent_file = 'link-manager.php';
     19$title = __('Manage Links');
     20$this_file = $parent_file = 'edit.php';
    2121include_once ("./admin-header.php");
    2222
     
    7676<div class="wrap">
    7777
    78 <h2><?php _e('Blogroll Management'); ?></h2>
     78<h2><?php _e('Manage Links'); ?></h2>
     79<p><a href="link-add.php"><?php _e('Add Link'); ?></a> | <a href="edit-link-categories.php"><?php _e('Link Categories'); ?></a> | <a href="link-import.php"><?php _e('Import Links'); ?></a></p>
    7980<p><?php _e('Here you <a href="link-add.php">add links</a> to sites that you visit often and share them on your blog. When you have a list of links in your sidebar to other blogs, it&#8217;s called a &#8220;blogroll.&#8221;'); ?></p>
    8081<form id="cats" method="get" action="">
  • trunk/wp-admin/menu.php

    r6549 r6555  
    3232$submenu['post-new.php'][5] = array(__('Post'), 'edit_posts', 'post-new.php');
    3333$submenu['post-new.php'][10] = array(__('Page'), 'edit_pages', 'page-new.php');
     34$submenu['post-new.php'][15] = array(__('Link'), 'manage_links', 'link-add.php');
    3435
    3536$submenu['edit-comments.php'][5] = array(__('Comments'), 'edit_posts', 'edit-comments.php');
     
    4546$submenu['edit.php'][30] = array(__('Import'), 'import', 'import.php');
    4647$submenu['edit.php'][35] = array(__('Export'), 'import', 'export.php');
    47 
    48 
    49 $submenu['edit.php'][50] = array(__('Add Link'), 'manage_links', 'link-add.php'); // todo: axe
    50 $submenu['edit.php'][55] = array(__('Import Links'), 'manage_links', 'link-import.php'); // todo: axe
    51 $submenu['edit.php'][60] = array(__('Categories'), 'manage_links', 'edit-link-categories.php'); // todo: axe
    5248
    5349if ( current_user_can('edit_users') ) {
Note: See TracChangeset for help on using the changeset viewer.