Changeset 14070 for trunk/wp-admin/ms-sites.php
- Timestamp:
- 04/11/2010 10:41:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-sites.php
r14039 r14070 129 129 else 130 130 $checked_fields = array( 131 'public' => __( 'Public'),132 'archived' => __( 'Archived'),133 'spam' => __( 'Spam'),134 'deleted' => __( 'Deleted'),131 'public' => __( 'Public' ), 132 'archived' => __( 'Archived' ), 133 'spam' => __( 'Spam' ), 134 'deleted' => __( 'Deleted' ), 135 135 ); 136 136 $checked_fields['mature'] = __( 'Mature' ); … … 275 275 <h3 class="hndle"><span><?php _e( 'Add a new user' ); ?></span></h3> 276 276 <div class="inside"> 277 <p class="description"><?php _e( 'Enter the username of an existing user and hit "Update Options"to add the user.' ) ?></p>277 <p class="description"><?php _e( 'Enter the username of an existing user and hit “Update Options” to add the user.' ) ?></p> 278 278 <table class="form-table"> 279 279 <tr> … … 552 552 if ( $current_site->blog_id != $blog['blog_id'] ) { 553 553 if ( get_blog_status( $blog['blog_id'], 'deleted' ) == '1' ) 554 $actions['activate'] = '<span class="activate"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=activateblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to activate the site %s"), $blogname ) ) ) ) . '">' . __( 'Activate' ) . '</a></span>';554 $actions['activate'] = '<span class="activate"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=activateblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to activate the site %s' ), $blogname ) ) ) ) . '">' . __( 'Activate' ) . '</a></span>'; 555 555 else 556 $actions['deactivate'] = '<span class="activate"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=deactivateblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to deactivate the site %s"), $blogname ) ) ) ) . '">' . __( 'Deactivate' ) . '</a></span>';556 $actions['deactivate'] = '<span class="activate"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=deactivateblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to deactivate the site %s' ), $blogname ) ) ) ) . '">' . __( 'Deactivate' ) . '</a></span>'; 557 557 558 558 if ( get_blog_status( $blog['blog_id'], 'archived' ) == '1' ) 559 $actions['unarchive'] = '<span class="archive"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=unarchiveblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to unarchive the site %s."), $blogname ) ) ) ) . '">' . __( 'Unarchive' ) . '</a></span>';559 $actions['unarchive'] = '<span class="archive"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=unarchiveblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to unarchive the site %s.' ), $blogname ) ) ) ) . '">' . __( 'Unarchive' ) . '</a></span>'; 560 560 else 561 $actions['archive'] = '<span class="archive"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=archiveblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to archive the site %s."), $blogname ) ) ) ) . '">' . __( 'Archive' ) . '</a></span>';561 $actions['archive'] = '<span class="archive"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=archiveblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to archive the site %s.' ), $blogname ) ) ) ) . '">' . __( 'Archive' ) . '</a></span>'; 562 562 563 563 if ( get_blog_status( $blog['blog_id'], 'spam' ) == '1' ) 564 $actions['unspam'] = '<span class="spam"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=unspamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to unspam the site %s."), $blogname ) ) ) ) . '">' . __( 'Not Spam' ) . '</a></span>';564 $actions['unspam'] = '<span class="spam"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=unspamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to unspam the site %s.' ), $blogname ) ) ) ) . '">' . __( 'Not Spam' ) . '</a></span>'; 565 565 else 566 $actions['spam'] = '<span class="spam"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=spamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to mark the site %s as spam."), $blogname ) ) ) ) . '">' . __( 'Spam' ) . '</a></span>';567 568 $actions['delete'] = '<span class="delete"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=deleteblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( "You are about to delete the site %s."), $blogname ) ) ) ) . '">' . __( 'Delete' ) . '</a></span>';566 $actions['spam'] = '<span class="spam"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=spamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to mark the site %s as spam.' ), $blogname ) ) ) ) . '">' . __( 'Spam' ) . '</a></span>'; 567 568 $actions['delete'] = '<span class="delete"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=deleteblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to delete the site %s.' ), $blogname ) ) ) ) . '">' . __( 'Delete' ) . '</a></span>'; 569 569 } 570 570
Note: See TracChangeset
for help on using the changeset viewer.