summaryrefslogtreecommitdiffstats
path: root/wp-admin/wpmu-admin.php
blob: 87ee9275169199415a9ef5923f6fa72c92e51aac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
require_once('admin.php');

$title = __('WPMU Admin');
$parent_file = 'wpmu-admin.php';
require_once('admin-header.php');
if( is_site_admin() == false ) {
    die( __('<p>You do not have permission to access this page.</p>') );
}
if (isset($_GET['updated'])) {
	?><div id="message" class="updated fade"><p><?php _e('Options saved.') ?></p></div><?php
}
?>
<div class="wrap">
<?php

do_action( "wpmuadminresult", "" );

switch( $_GET[ 'action' ] ) {
    default:
    ?>
<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 &raquo;" type="submit" />
</p> 
</form>

<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 &raquo;" />
</p>
</form>
<?php
    break;
}

?>
</div>
<?php include('admin-footer.php'); ?>