Changeset 562598
- Timestamp:
- 06/22/2012 06:41:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
multisite-plugin-stats/trunk/multisite-plugin-stats.php
r562597 r562598 10 10 Network: true 11 11 12 Copyright 2012 Lewis J. Goettner, III(email : lew@goettner.net)12 Copyright 2012 Lewis J. Goettner, III (email : lew@goettner.net) 13 13 14 14 This program is free software; you can redistribute it and/or modify … … 18 18 This program is distributed in the hope that it will be useful, 19 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 21 GNU General Public License for more details. 22 22 23 23 You should have received a copy of the GNU General Public License 24 24 along with this program; if not, write to the Free Software 25 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301USA25 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 26 27 27 */ … … 65 65 // Scan the sites for activation 66 66 $blogs = $wpdb->get_col("SELECT blog_id FROM {$wpdb->blogs} WHERE site_id = {$wpdb->siteid} AND spam = 0 AND deleted = 0"); 67 if ($blogs) {68 foreach($blogs as $blog_id){69 switch_to_blog($blog_id);67 if ($blogs) { 68 foreach($blogs as $blog_id) { 69 switch_to_blog($blog_id); 70 70 71 71 // Get active plugins … … 81 81 } 82 82 83 restore_current_blog();83 restore_current_blog(); 84 84 } 85 85 } … … 127 127 // Add a little style 128 128 function custom_css() { 129 echo '<style type="text/css">130 .plugin_list li { margin-left: 2em; }131 </style>';129 echo '<style type="text/css"> 130 .plugin_list li { margin-left: 2em; } 131 </style>'; 132 132 } 133 133
Note: See TracChangeset
for help on using the changeset viewer.