diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-29 11:56:38 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-29 11:56:38 +0000 |
commit | 75d96f4cc4c576861f38537826dca63b12bd819b (patch) | |
tree | 5963bedb5986b2d7f14e650a43921e3ac952411e /wp-admin/wpmu-admin.php | |
parent | 3262571895ef526406dd072e518a1a46e956c499 (diff) | |
download | wordpress-mu-75d96f4cc4c576861f38537826dca63b12bd819b.tar.gz wordpress-mu-75d96f4cc4c576861f38537826dca63b12bd819b.tar.xz wordpress-mu-75d96f4cc4c576861f38537826dca63b12bd819b.zip |
WP Merge to rev 4262
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@784 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-admin.php')
-rw-r--r-- | wp-admin/wpmu-admin.php | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/wp-admin/wpmu-admin.php b/wp-admin/wpmu-admin.php index d943761..87ee927 100644 --- a/wp-admin/wpmu-admin.php +++ b/wp-admin/wpmu-admin.php @@ -18,32 +18,23 @@ do_action( "wpmuadminresult", "" ); switch( $_GET[ 'action' ] ) { default: - /* - // print some global stats. - $stats = get_sitestats(); - print "<h2>Site Stats</h2> - There are currently ".$stats[ 'blogs' ]." <a href='wpmu-blogs.php'>blogs</a> running on this server and ".$stats[ 'users' ]." <a href='wpmu-users.php'>users</a>.</p><br /><br /> - "; + ?> +<form name="searchform" action="wpmu-users.php" method="get"> +<p> +<input name="action" value="users" type="hidden" /> +<input name="s" value="" size="17" type="text" /> +<input name="submit" value="Search Users »" type="submit" /> +</p> +</form> - print "<table>"; - #$blogs = get_blog_list(); - #print "<br>blogs: <br>"; - #print_r( $blogs ); - - $most_active = get_most_active_blogs( 10, false ); - if( is_array( $most_active ) ) { - print "<caption>Most Active Blogs</caption>"; - print "<tr><th scope='col'>ID</th><th scope='col'>Address</th><th scope='col'>Posts</th></tr>"; - while( list( $key, $details ) = each( $most_active ) ) { - $class = ('alternate' == $class) ? '' : 'alternate'; - $url = "http://" . $details[ 'domain' ] . $details[ 'path' ]; - print "<tr class='$class'><td>" . $details[ 'blog_id' ] . "</td><td><a href='$url'>$url</a></td><td>" . $details[ 'postcount' ] . "</td></tr>"; - } - } - print "</table>"; - - do_action( "wpmuadmindefaultpage", "" ); - */ +<form name="searchform" action="wpmu-blogs.php" method="get"> +<p> +<input type='hidden' name='action' value='blogs' /> +<input type="text" name="s" value="" size="17" /> +<input type="submit" name="submit" value="Search Blogs »" /> +</p> +</form> +<?php break; } |