Changeset 12760 for trunk/wp-admin/ms-sites.php
- Timestamp:
- 01/19/2010 05:01:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-sites.php
r12752 r12760 71 71 } 72 72 73 switch ( $_GET['action'] ) {73 switch ( $_GET['action'] ) { 74 74 // Edit blog 75 75 case "editblog": … … 278 278 <?php 279 279 reset( $editblog_roles ); 280 foreach ( $editblog_roles as $role => $role_assoc ){280 foreach ( $editblog_roles as $role => $role_assoc ){ 281 281 $name = translate_with_context($role_assoc['name']); 282 282 $selected = ( $role == $editblog_default_role ) ? 'selected="selected"' : ''; … … 374 374 <form action="ms-sites.php" method="get" id="ms-search"> 375 375 <input type="hidden" name="action" value="blogs" /> 376 <input type="text" name="s" value="<?php if (isset($_GET['s'])) echo stripslashes( esc_attr( $s , 1) ); ?>" size="17" />376 <input type="text" name="s" value="<?php if (isset($_GET['s'])) echo stripslashes( esc_attr( $s ) ); ?>" size="17" /> 377 377 <input type="submit" class="button" name="blog_name" value="<?php esc_attr_e('Search blogs by name') ?>" /> 378 378 <input type="submit" class="button" name="blog_id" value="<?php esc_attr_e('by blog ID') ?>" /> … … 443 443 <tbody id="the-list"> 444 444 <?php 445 if ( $blog_list) {445 if ( $blog_list ) { 446 446 $bgcolor = $class = ''; 447 447 $status_list = array( "archived" => "#fee", "spam" => "#faa", "deleted" => "#f55" ); 448 foreach ( $blog_list as $blog) {448 foreach ( $blog_list as $blog ) { 449 449 $class = ('alternate' == $class) ? '' : 'alternate'; 450 450 reset( $status_list ); … … 459 459 460 460 $blogname = ( is_subdomain_install() ) ? str_replace('.'.$current_site->domain, '', $blog['domain']) : $blog['path']; 461 foreach ( $posts_columns as $column_name=>$column_display_name ) {461 foreach ( $posts_columns as $column_name=>$column_display_name ) { 462 462 switch($column_name) { 463 463 case 'id': ?>
Note: See TracChangeset
for help on using the changeset viewer.