Make WordPress Core


Ignore:
Timestamp:
01/19/2010 05:01:39 PM (15 years ago)
Author:
ryan
Message:

Formatting cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-sites.php

    r12752 r12760  
    7171}
    7272
    73 switch( $_GET['action'] ) {
     73switch ( $_GET['action'] ) {
    7474    // Edit blog
    7575    case "editblog":
     
    278278                                <?php
    279279                                reset( $editblog_roles );
    280                                 foreach( $editblog_roles as $role => $role_assoc ){
     280                                foreach ( $editblog_roles as $role => $role_assoc ){
    281281                                    $name = translate_with_context($role_assoc['name']);
    282282                                    $selected = ( $role == $editblog_default_role ) ? 'selected="selected"' : '';
     
    374374        <form action="ms-sites.php" method="get" id="ms-search">
    375375            <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" />
    377377            <input type="submit" class="button" name="blog_name" value="<?php esc_attr_e('Search blogs by name') ?>" />
    378378            <input type="submit" class="button" name="blog_id" value="<?php esc_attr_e('by blog ID') ?>" />
     
    443443            <tbody id="the-list">
    444444            <?php
    445             if ($blog_list) {
     445            if ( $blog_list ) {
    446446                $bgcolor = $class = '';
    447447                $status_list = array( "archived" => "#fee", "spam" => "#faa", "deleted" => "#f55" );
    448                 foreach ($blog_list as $blog) {
     448                foreach ( $blog_list as $blog ) {
    449449                    $class = ('alternate' == $class) ? '' : 'alternate';
    450450                    reset( $status_list );
     
    459459
    460460                    $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 ) {
    462462                        switch($column_name) {
    463463                            case 'id': ?>
Note: See TracChangeset for help on using the changeset viewer.