Changeset 12781
- Timestamp:
- 01/20/2010 10:35:21 PM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r12752 r12781 3748 3748 else 3749 3749 $name = $screen->base; 3750 } 3750 3751 // @todo Remove this once we have a site admin icon 3752 if ( 'ms-admin' == $screen->parent_base ) 3753 $name = 'tools'; 3754 } 3755 3751 3756 ?> 3752 3757 <div id="icon-<?php echo $name; ?>" class="icon32"><br /></div> -
trunk/wp-admin/ms-admin.php
r12760 r12781 30 30 31 31 <div class="wrap"> 32 <?php screen_icon(); ?> 32 33 <h2><?php echo esc_html( $title ); ?></h2> 33 34 -
trunk/wp-admin/ms-options.php
r12752 r12781 21 21 22 22 <div class="wrap"> 23 <?php screen_icon(); ?> 23 24 <h2><?php _e('Site Options') ?></h2> 24 25 <form method="post" action="ms-edit.php?action=siteoptions"> -
trunk/wp-admin/ms-sites.php
r12760 r12781 80 80 ?> 81 81 <div class="wrap"> 82 <?php screen_icon(); ?> 82 83 <h2><?php _e('Edit Blog'); ?> - <a href='http://<?php echo $details['domain'].$details['path']; ?>'>http://<?php echo $details['domain'].$details['path']; ?></a></h2> 83 84 <form method="post" action="ms-edit.php?action=updateblog"> … … 370 371 371 372 <div class="wrap" style="position:relative;"> 373 <?php screen_icon(); ?> 372 374 <h2><?php _e('Blogs') ?></h2> 373 375 … … 580 582 <div class="wrap"> 581 583 <a name="form-add-blog"></a> 584 <?php screen_icon(); ?> 582 585 <h2><?php _e('Add Blog') ?></h2> 583 586 <form method="post" action="ms-edit.php?action=addblog"> -
trunk/wp-admin/ms-themes.php
r12769 r12781 21 21 <div class="wrap"> 22 22 <form action='ms-edit.php?action=updatethemes' method='post'> 23 <?php screen_icon(); ?> 23 24 <h2><?php _e('Site Themes') ?></h2> 24 25 <p><?php _e('Disable themes site-wide. You can enable themes on a site by site basis.') ?></p> -
trunk/wp-admin/ms-upgrade-site.php
r12752 r12781 15 15 16 16 echo '<div class="wrap">'; 17 screen_icon(); 17 18 echo '<h2>'.__('Upgrade Site').'</h2>'; 18 19 switch( $_GET['action'] ) { -
trunk/wp-admin/ms-users.php
r12760 r12781 55 55 } 56 56 57 if ( !isset($_GET['sortby']) ) {57 if ( !isset($_GET['sortby']) ) 58 58 $_GET['sortby'] = 'id'; 59 } 60 61 if ( $_GET['sortby'] == 'email' ) { 59 60 if ( $_GET['sortby'] == 'email' ) 62 61 $query .= ' ORDER BY user_email '; 63 } elseif ( $_GET['sortby'] == 'id' ) {62 elseif ( $_GET['sortby'] == 'id' ) 64 63 $query .= ' ORDER BY ID '; 65 } elseif ( $_GET['sortby'] == 'login' ) {64 elseif ( $_GET['sortby'] == 'login' ) 66 65 $query .= ' ORDER BY user_login '; 67 } elseif ( $_GET['sortby'] == 'name' ) {66 elseif ( $_GET['sortby'] == 'name' ) 68 67 $query .= ' ORDER BY display_name '; 69 } elseif ( $_GET['sortby'] == 'registered' ) {68 elseif ( $_GET['sortby'] == 'registered' ) 70 69 $query .= ' ORDER BY user_registered '; 71 }72 70 73 71 $query .= ( $_GET['order'] == 'DESC' ) ? 'DESC' : 'ASC'; 74 72 75 if ( !empty( $s ) ) {73 if ( !empty( $s ) ) 76 74 $total = $wpdb->get_var( str_replace('SELECT *', 'SELECT COUNT(ID)', $query) ); 77 } else {75 else 78 76 $total = $wpdb->get_var( "SELECT COUNT(ID) FROM {$wpdb->users}"); 79 }80 77 81 78 $query .= " LIMIT " . intval( ( $apage - 1 ) * $num) . ", " . intval( $num ); … … 102 99 ?> 103 100 <div class="wrap"> 104 <h2><?php _e( $current_site->site_name ); ?> <?php _e("Users"); ?></h2> 101 <?php screen_icon(); ?> 102 <h2><?php esc_html_e("Users"); ?></h2> 105 103 <form action="ms-users.php" method="get" class="search-form"> 106 104 <p class="search-box">
Note: See TracChangeset
for help on using the changeset viewer.