";
$blogname = ( is_subdomain_install() ) ? str_replace( '.'.$current_site->domain, '', $blog['domain'] ) : $blog['path'];
foreach ( $sites_columns as $column_name=>$column_display_name ) {
switch ( $column_name ) {
case 'id': ?>
|
|
' . sprintf( _x( '%1$s – %2$s', '%1$s: site name. %2$s: site tagline.' ), get_blog_option( $blog['blog_id'], 'blogname' ), get_blog_option( $blog['blog_id'], 'blogdescription ' ) ) . '';
// Preordered.
$actions = array(
'edit' => '', 'backend' => '',
'activate' => '', 'deactivate' => '',
'archive' => '', 'unarchive' => '',
'spam' => '', 'unspam' => '',
'delete' => '',
'visit' => '',
);
$actions['edit'] = '' . __( 'Edit' ) . '';
$actions['backend'] = "" . __( 'Backend' ) . '';
if ( $current_site->blog_id != $blog['blog_id'] ) {
if ( get_blog_status( $blog['blog_id'], 'deleted' ) == '1' )
$actions['activate'] = '' . __( 'Activate' ) . '';
else
$actions['deactivate'] = '' . __( 'Deactivate' ) . '';
if ( get_blog_status( $blog['blog_id'], 'archived' ) == '1' )
$actions['unarchive'] = '' . __( 'Unarchive' ) . '';
else
$actions['archive'] = '' . __( 'Archive' ) . '';
if ( get_blog_status( $blog['blog_id'], 'spam' ) == '1' )
$actions['unspam'] = '' . __( 'Not Spam' ) . '';
else
$actions['spam'] = '' . __( 'Spam' ) . '';
$actions['delete'] = '' . __( 'Delete' ) . '';
}
$actions['visit'] = "" . __( 'Visit' ) . '';
$actions = array_filter( $actions );
if ( count( $actions ) ) : ?>
|
g:i:s a';
echo ( $blog['last_updated'] == '0000-00-00 00:00:00' ) ? __( 'Never' ) : mysql2date( __( $date ), $blog['last_updated'] ); ?>
|
|
5 ) {
$blogusers = array_slice( $blogusers, 0, 5 );
$blogusers_warning = __( 'Only showing first 5 users.' ) . ' ' . __( 'More' ) . '';
}
foreach ( $blogusers as $key => $val ) {
echo '' . esc_html( $val->user_login ) . ' ';
if ( 'list' != $mode )
echo '(' . $val->user_email . ')';
echo ' ';
}
if ( $blogusers_warning != '' )
echo '' . $blogusers_warning . ' ';
}
?>
|
|
|