Make WordPress Core

Changeset 13340


Ignore:
Timestamp:
02/23/2010 08:38:27 PM (15 years ago)
Author:
ryan
Message:

Use 'Menus'. see #11817

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-navigation.php

    r13331 r13340  
    11<?php
    22/**
    3  * WordPress Administration Custom Navigation
     3 * WordPress Administration for Navigation Menus
    44 * Interface functions
    55 *
     
    4747
    4848    <div class="wrap">
    49     <div id="no-js"><h3><?php _e('You do not have JavaScript enabled in your browser. Please enable it to access the Custom Menu functionality.'); ?></h3></div>
     49    <div id="no-js"><h3><?php _e('You do not have JavaScript enabled in your browser. Please enable it to access the Menus functionality.'); ?></h3></div>
    5050
    5151    <?php
     
    8282        // @todo validate set_wp_menu
    8383        update_option( 'wp_custom_nav_menu', $_POST['enable_wp_menu'] );
    84         $messagesdiv = '<div id="message" class="updated fade below-h2"><p>' . __('Custom Menu has been updated!') . '</p></div>';
     84        $messagesdiv = '<div id="message" class="updated fade below-h2"><p>' . __('Menu has been updated!') . '</p></div>';
    8585    }
    8686
     
    179179        // DISPLAY Custom Navigation
    180180        ?>
     181        <?php screen_icon(); ?>
     182        <h2 class="maintitle"><?php esc_html_e('Menus') ?></h2>
    181183        <div id="pages-left">
    182184            <div class="inside">
    183             <h2 class="maintitle"><?php esc_html_e('Custom Navigation') ?></h2>
    184185            <?php
    185186
     
    189190
    190191                if ( $checked != 'true' )
    191                     echo '<div id="message-enabled" class="error fade below-h2"><p><strong>' . __('The Custom Menu has not been Enabled yet. Please enable it in order to use it -------->') . '</strong></p></div>';
     192                    echo '<div id="message-enabled" class="error fade below-h2"><p><strong>' . __('Menu editing has not been Enabled yet. Please enable it in order to use it -------->') . '</strong></p></div>';
    192193
    193194            ?>
     
    234235
    235236        <div id="menu-right">
    236 
    237             <h2 class="heading"><?php esc_html_e('Options'); ?></h2>
    238 
    239237            <div class="widgets-holder-wrap">
    240238                <div class="sidebar-name">
    241239                    <div class="sidebar-name-arrow"></div>
    242                     <h3><?php esc_html_e('Setup Custom Menu'); ?></h3>
     240                    <h3><?php esc_html_e('Setup Menus'); ?></h3>
    243241                </div>
    244242                <div class="widget-holder">
Note: See TracChangeset for help on using the changeset viewer.