WordPress.org

Make WordPress Core

Changeset 13298


Ignore:
Timestamp:
02/22/2010 06:16:34 PM (10 years ago)
Author:
ryan
Message:

More gettext. see #11817

File:
1 edited

Legend:

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

    r13296 r13298  
    531531                    <label><?php _e('Menu Text'); ?></label><br />
    532532                    <input id="custom_menu_item_description" type="text" value="<?php esc_attr_e('A description'); ?>" <?php if ($advanced_option_descriptions == 'no') { ?>style="display:none;"<?php } ?> onfocus="jQuery('#custom_menu_item_description').attr('value','');" />
    533                     <label <?php if ($advanced_option_descriptions == 'no') { ?>style="display:none;"<?php } ?> >Description</label>
     533                    <label <?php if ($advanced_option_descriptions == 'no') { ?>style="display:none;"<?php } ?> ><?php _e('Description'); ?></label>
    534534                    <a class="addtomenu" onclick="appendToList('<?php echo $templatedir; ?>','Custom','','','','0','');jQuery('#custom_menu_item_name').attr('value','Menu Item');jQuery('#custom_menu_item_description').attr('value','A description');"><?php _e('Add to menu'); ?></a>
    535535                    <div class="fix"></div>
     
    547547
    548548    <div id="dialog-confirm" title="<?php esc_attr_e('Edit Menu Item'); ?>">
    549         </label><input id="edittitle" type="text" name="edittitle" value="" /><label class="editlabel" for="edittitle">Menu Title</label><br />
    550         <input id="editlink" type="text" name="editlink" value="" /><label class="editlabel" for="editlink">URL</label><br />
    551         <input id="editanchortitle" type="text" name="editanchortitle" value="" /><label class="editlabel" for="editanchortitle" >Link Title</label><br />
     549        </label><input id="edittitle" type="text" name="edittitle" value="" /><label class="editlabel" for="edittitle"><?php _e('Menu Title'); ?></label><br />
     550        <input id="editlink" type="text" name="editlink" value="" /><label class="editlabel" for="editlink"><?php _e('URL'); ?></label><br />
     551        <input id="editanchortitle" type="text" name="editanchortitle" value="" /><label class="editlabel" for="editanchortitle"><?php _e('Link Title'); ?></label><br />
    552552        <select id="editnewwindow" name="editnewwindow">
    553             <option value="1" >Yes</option>
    554             <option value="0" >No</option>
    555         </select><label class="editlabel" for="editnewwindow" >Open Link in a New Window</label>
    556         <input id="editdescription" type="text" name="editdescription" value="" <?php if ($advanced_option_descriptions == 'no') { ?>style="display:none;"<?php } ?> /><label class="editlabel" for="editdescription" <?php if ($advanced_option_descriptions == 'no') { ?>style="display:none;"<?php } ?> >Description</label><br />
     553            <option value="1"><?php _e('Yes'); ?></option>
     554            <option value="0"><?php _e('No'); ?></option>
     555        </select><label class="editlabel" for="editnewwindow"><?php _e('Open Link in a new window'); ?></label>
     556        <input id="editdescription" type="text" name="editdescription" value="" <?php if ($advanced_option_descriptions == 'no') { ?>style="display:none;"<?php } ?> /><label class="editlabel" for="editdescription" <?php if ($advanced_option_descriptions == 'no') { ?>style="display:none;"<?php } ?> ><?php _e('Description'); ?></label><br />
    557557    </div>
    558558
Note: See TracChangeset for help on using the changeset viewer.