WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2008 05:17:13 PM (14 years ago)
Author:
ryan
Message:

Widget i18n from nbachiyski. see #5583

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/widgets.php

    r6650 r6679  
    178178
    179179            <div class="widget-control"<?php if ( 'edit' == $display ) echo ' style="display: block;"'; ?>>
     180                <div class="widget-control-actions">
     181
     182                    <?php if ( $control && 'edit' != $display ) : ?>
     183
     184                    <a class="widget-action widget-control-save edit alignleft" href="#save:<?php echo $id_format; ?>"><?php _e('Save'); ?></a>
     185
     186                    <?php endif; ?>
     187
     188                    <a class="widget-action widget-control-remove delete alignright" href="<?php echo add_query_arg( array( 'remove' => $id_format, 'key' => $key ), wp_nonce_url( null, "remove-widget_$widget[id]" ) ); ?>"><?php _e('Remove'); ?></a>
     189                    <br class="clear" />
    180190
    181191                <?php
Note: See TracChangeset for help on using the changeset viewer.