WordPress.org

Make WordPress Core

Changeset 13367


Ignore:
Timestamp:
02/24/10 08:10:27 (4 years ago)
Author:
ryan
Message:

Reapply stomped part of [13364]. see #11817

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/nav-menus.php

    r13366 r13367  
    172172<?php screen_icon(); ?> 
    173173<h2 class="maintitle"><?php esc_html_e('Menus') ?></h2> 
    174  
    175     <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> 
     174    <div class="hide-if-js error"><p><?php _e('You do not have JavaScript enabled in your browser. Please enable it to access the Menus functionality.'); ?></p></div> 
     175    <div class="hide-if-no-js"> 
    176176    <div id="pages-left"> 
    177177        <ul class="subsubsub"> 
     
    490490            </div> 
    491491        </div><!-- /.widgets-holder-wrap --> 
    492  
    493    </div> 
     492    </div><!-- /.hide-if-no-js --> 
     493    </div> 
    494494</div> 
    495495 
    496 <script type="text/javascript"> 
    497     document.getElementById('pages-left').style.display='block'; 
    498     document.getElementById('menu-right').style.display='block'; 
    499     document.getElementById('no-js').style.display='none'; 
    500 </script> 
    501  
    502 <div id="dialog-confirm" title="<?php esc_attr_e('Edit Menu Item'); ?>"> 
     496<div id="dialog-confirm" style="display:none;" title="<?php esc_attr_e('Edit Menu Item'); ?>"> 
    503497    </label><input id="edittitle" type="text" name="edittitle" value="" /><label class="editlabel" for="edittitle"><?php _e('Menu Title'); ?></label><br /> 
    504498    <input id="editlink" type="text" name="editlink" value="" /><label class="editlabel" for="editlink"><?php _e('URL'); ?></label><br /> 
Note: See TracChangeset for help on using the changeset viewer.