Changeset 11160 for trunk/wp-admin/widgets.php
- Timestamp:
- 05/03/2009 05:27:13 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/widgets.php
r11150 r11160 256 256 257 257 <form action="widgets.php" method="post"> 258 <div class="widget- control">258 <div class="widget-inside"> 259 259 <?php call_user_func_array( $control_callback, $control['params'] ); ?> 260 260 </div> 261 261 262 <p class="describe"><?php _e('Select both the sidebar for this widget and the position of the widget in that sidebar.'); ?></p> 262 263 <div class="widget-position"> 263 264 <table class="widefat"><thead><tr><th><?php _e('Sidebar'); ?></th><th><?php _e('Position'); ?></th></tr></thead><tbody> … … 300 301 <input type="hidden" name="multi_number" class="multi_number" value="<?php echo attr($multi_number); ?>" /> 301 302 <?php wp_nonce_field("save-delete-widget-$widget_id"); ?> 303 <br class="clear" /> 302 304 </div> 303 305 </form> … … 342 344 </div> 343 345 344 <div id="wp_inactive_widgets"class="widgets-holder-wrap">346 <div class="widgets-holder-wrap"> 345 347 <h3 class="sidebar-name"><?php _e('Inactive Widgets'); ?> 346 348 <span><img src="images/wpspin.gif" class="ajax-feedback" title="" alt="" /></span></h3> 347 <p class="description"><?php _e('Drag widgets here to remove them from the web site but keep their settings.'); ?></p> 349 <div class="widget-holder inactive"> 350 <p class="description"><?php _e('Drag widgets here to remove them from the sidebar but keep their settings.'); ?></p> 348 351 <?php wp_list_widget_controls('wp_inactive_widgets'); ?> 349 352 <br class="clear" /> 353 </div> 350 354 </div> 351 355 </div> … … 353 357 354 358 <div class="widget-liquid-right"> 359 <div id="widgets-right"> 355 360 <?php 356 361 $i = 0; 357 362 foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) { 358 363 if ( 'wp_inactive_widgets' == $sidebar ) 359 continue; ?> 360 <div id="<?php echo attr( $sidebar ); ?>" class="widgets-holder-wrap"> 364 continue; 365 $closed = $i ? ' closed' : ''; ?> 366 <div class="widgets-holder-wrap<?php echo $closed; ?>"> 361 367 <h3 class="sidebar-name"><?php echo wp_specialchars( $registered_sidebar['name'] ); ?> 362 368 <span><img src="images/wpspin.gif" class="ajax-feedback" title="" alt="" /></span></h3> 363 <?php wp_list_widget_controls( $sidebar , $i); // Show the control forms for each of the widgets in this sidebar ?>369 <?php wp_list_widget_controls( $sidebar ); // Show the control forms for each of the widgets in this sidebar ?> 364 370 </div> 365 371 <?php 366 372 $i++; 367 373 } ?> 374 </div> 368 375 </div> 369 376 <form action="" method="post">
Note: See TracChangeset
for help on using the changeset viewer.