Changeset 26286
- Timestamp:
- 11/20/2013 05:08:22 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/widgets.php
r26285 r26286 370 370 } 371 371 } 372 372 373 ?> 373 374 </div> 375 </div> 376 374 </div> 375 </div> 376 <?php 377 378 $i = $split = 0; 379 $single_sidebar_class = ''; 380 $sidebars_count = count( $theme_sidebars ); 381 382 if ( $sidebars_count > 1 ) { 383 $split = ceil( $sidebars_count / 2 ); 384 } else { 385 $single_sidebar_class = ' class="single-sidebar"'; 386 } 387 388 ?> 377 389 <div class="widget-liquid-right"> 378 <div id="widgets-right" >390 <div id="widgets-right"<?php echo $single_sidebar_class; ?>> 379 391 <div class="sidebars-column-1"> 380 392 <?php 381 382 $i = $split = 0;383 $sidebars_count = count( $theme_sidebars );384 385 if ( $sidebars_count > 2 )386 $split = ceil( $sidebars_count / 2 );387 393 388 394 foreach ( $theme_sidebars as $sidebar => $registered_sidebar ) {
Note: See TracChangeset
for help on using the changeset viewer.