Changeset 13733 for trunk/wp-admin/ms-sites.php
- Timestamp:
- 03/17/2010 04:27:25 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/ms-sites.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-sites.php
r13665 r13733 244 244 foreach ( (array) $blogusers as $key => $val ) { 245 245 if ( isset( $val->meta_value ) && ! $val->meta_value ) 246 continue; 246 continue; 247 247 $t = @unserialize( $val->meta_value ); 248 248 if ( is_array( $t ) ) { … … 338 338 339 339 $s = isset($_GET['s']) ? stripslashes( trim( $_GET[ 's' ] ) ) : ''; 340 $like_s = esc_sql( like_escape( $s ) ); 340 $like_s = esc_sql( like_escape( $s ) ); 341 341 342 342 $query = "SELECT * FROM {$wpdb->blogs} WHERE site_id = '{$wpdb->siteid}' "; … … 420 420 $status_class = ''; 421 421 $count = get_blog_count(); 422 422 423 423 if ( empty($_GET['blogstatus']) || $_GET['blogstatus'] == 'all' ) 424 424 $status_class = ' class="current"'; … … 475 475 number_format_i18n( ( $pagenum - 1 ) * $per_page + 1 ), 476 476 number_format_i18n( min( $pagenum * $per_page, $num_pages ) ), 477 number_format_i18n( $num_pages ), 477 number_format_i18n( $num_pages ), 478 478 $page_links 479 479 ); echo $page_links_text; ?> 480 480 </div> 481 481 <?php } ?> 482 482 483 483 <div class="view-switch"> 484 484 <a href="<?php echo esc_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?>"><img <?php if ( 'list' == $mode ) echo 'class="current"'; ?> id="view-switch-list" src="<?php echo esc_url( includes_url( 'images/blank.gif' ) ); ?>" width="20" height="20" title="<?php _e('List View') ?>" alt="<?php _e('List View') ?>" /></a> … … 488 488 </div> 489 489 490 <div class="clear"></div> 490 <div class="clear"></div> 491 491 492 492 <?php … … 540 540 if ( $order_by == $column_id ) 541 541 $order2 = ($order == 'DESC') ? 'ASC' : 'DESC'; 542 542 543 543 $column_link .= esc_url(add_query_arg( array('order' => $order2, 'paged' => $pagenum, 'sortby' => $column_id ), remove_query_arg( array('action', 'updated'), $_SERVER['REQUEST_URI'] ) ) ); 544 544 $column_link .= "'>{$column_display_name}</a>"; … … 547 547 <th scope="col"> 548 548 <?php echo $col_url ?> 549 </th> 549 </th> 550 550 <?php } ?> 551 551 </tr> … … 640 640 $date = 'Y/m/d \<\b\r \/\> g:i:s a'; 641 641 echo ( $blog['last_updated'] == '0000-00-00 00:00:00' ) ? __("Never") : mysql2date( __( $date ), $blog['last_updated'] ); ?> 642 </td> 642 </td> 643 643 <?php 644 644 break;
Note: See TracChangeset
for help on using the changeset viewer.