WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/28/2007 12:29:53 AM (15 years ago)
Author:
ryan
Message:

Some widgets gettext.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-includes/widgets.php

    r5321 r5335  
    372372?>
    373373            <p><label for="archives-title"><?php _e('Title:'); ?> <input style="width: 250px;" id="archives-title" name="archives-title" type="text" value="<?php echo $title; ?>" /></label></p>
    374             <p style="text-align:right;margin-right:40px;"><label for="archives-count">Show post counts <input class="checkbox" type="checkbox" <?php echo $count; ?> id="archives-count" name="archives-count" /></label></p>
    375             <p style="text-align:right;margin-right:40px;"><label for="archives-dropdown">Use drop down format <input class="checkbox" type="checkbox" <?php echo $dropdown; ?> id="archives-dropdown" name="archives-dropdown" /></label></p>
     374            <p style="text-align:right;margin-right:40px;"><label for="archives-count"><?php _e('Show post counts'); ?> <input class="checkbox" type="checkbox" <?php echo $count; ?> id="archives-count" name="archives-count" /></label></p>
     375            <p style="text-align:right;margin-right:40px;"><label for="archives-dropdown"><?php _e('Display as a drop down'); ?> <input class="checkbox" type="checkbox" <?php echo $dropdown; ?> id="archives-dropdown" name="archives-dropdown" /></label></p>
    376376            <input type="hidden" id="archives-submit" name="archives-submit" value="1" />
    377377<?php
     
    581581            <p style="text-align:right;margin-right:40px;"><label for="categories-count"><?php _e('Show post counts'); ?> <input class="checkbox" type="checkbox" <?php echo $count; ?> id="categories-count" name="categories-count" /></label></p>
    582582            <p style="text-align:right;margin-right:40px;"><label for="categories-hierarchical" style="text-align:right;"><?php _e('Show hierarchy'); ?> <input class="checkbox" type="checkbox" <?php echo $hierarchical; ?> id="categories-hierarchical" name="categories-hierarchical" /></label></p>
    583             <p style="text-align:right;margin-right:40px;"><label for="categories-dropdown" style="text-align:right;"><?php _e('Use drop down format'); ?> <input class="checkbox" type="checkbox" <?php echo $dropdown; ?> id="categories-dropdown" name="categories-dropdown" /></label></p>
     583            <p style="text-align:right;margin-right:40px;"><label for="categories-dropdown" style="text-align:right;"><?php _e('Display as a drop down'); ?> <input class="checkbox" type="checkbox" <?php echo $dropdown; ?> id="categories-dropdown" name="categories-dropdown" /></label></p>
    584584            <input type="hidden" id="categories-submit" name="categories-submit" value="1" />
    585585<?php
     
    872872    register_widget_control(__('Calendar'), 'wp_widget_calendar_control', 300, 90, 'calendar');
    873873    register_sidebar_widget(__('Archives'), 'wp_widget_archives', null, 'archives');
    874     register_widget_control(__('Archives'), 'wp_widget_archives_control', 300, 90, 'archives');
     874    register_widget_control(__('Archives'), 'wp_widget_archives_control', 300, 100, 'archives');
    875875    register_sidebar_widget(__('Links'), 'wp_widget_links', null, 'links');
    876876    register_sidebar_widget(__('Meta'), 'wp_widget_meta', null, 'meta');
Note: See TracChangeset for help on using the changeset viewer.