Changeset 11204 for trunk/wp-admin/widgets.php
- Timestamp:
- 05/05/2009 07:43:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/widgets.php
r11203 r11204 272 272 <table class="widefat"><thead><tr><th><?php _e('Sidebar'); ?></th><th><?php _e('Position'); ?></th></tr></thead><tbody> 273 273 <?php foreach ( $wp_registered_sidebars as $sbname => $sbvalue ) { 274 echo "\t\t<tr><td><label><input type='radio' name='insidebar' value='" . attr($sbname) . "'" . checked( $sbname, $sidebar, false ) . " /> $sbvalue[name]</label></td><td>";274 echo "\t\t<tr><td><label><input type='radio' name='insidebar' value='" . esc_attr($sbname) . "'" . checked( $sbname, $sidebar, false ) . " /> $sbvalue[name]</label></td><td>"; 275 275 if ( 'wp_inactive_widgets' == $sbname ) { 276 276 echo ' '; … … 302 302 <a href="widgets.php" class="button alignleft"><?php _e('Cancel'); ?></a> 303 303 <?php } else { ?> 304 <input type="submit" name="removewidget" class="button alignleft" value="<?php _ea('Remove'); ?>" />304 <input type="submit" name="removewidget" class="button alignleft" value="<?php esc_attr_e('Remove'); ?>" /> 305 305 <?php } ?> 306 <input type="submit" name="savewidget" class="button-primary alignright" value="<?php _ea('Save Widget'); ?>" />307 <input type="hidden" name="widget-id" class="widget-id" value="<?php echo attr($widget_id); ?>" />308 <input type="hidden" name="id_base" class="id_base" value="<?php echo attr($id_base); ?>" />309 <input type="hidden" name="multi_number" class="multi_number" value="<?php echo attr($multi_number); ?>" />306 <input type="submit" name="savewidget" class="button-primary alignright" value="<?php esc_attr_e('Save Widget'); ?>" /> 307 <input type="hidden" name="widget-id" class="widget-id" value="<?php echo esc_attr($widget_id); ?>" /> 308 <input type="hidden" name="id_base" class="id_base" value="<?php echo esc_attr($id_base); ?>" /> 309 <input type="hidden" name="multi_number" class="multi_number" value="<?php echo esc_attr($multi_number); ?>" /> 310 310 <?php wp_nonce_field("save-delete-widget-$widget_id"); ?> 311 311 <br class="clear" />
Note: See TracChangeset
for help on using the changeset viewer.