root/releases/elgg0.8rc2/_admin/users.php

Revision 1040, 1.2 kB (checked in by ben, 2 years ago)

Find all admin / banned users.

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     //    ELGG content flagging admin panel page
4
5     // Run includes
6         require_once(dirname(dirname(__FILE__))."/includes.php");
7         
8     // Initialise functions for user details, icon management and profile management
9         run("admin:init");
10
11         define("context", "admin");
12         templates_page_setup();
13         
14         $flag = optional_param("flag");
15         switch($flag) {
16             case "admin":
17                             $body = run("admin:users:admin");
18                             break;
19             case "banned":
20                             $body = run("admin:users:banned");
21                             break;
22             default:
23                             $body = run("admin:users");
24                             break;
25         }
26         
27     // You must be logged on to view this!
28                                 
29         echo templates_page_draw( array(
30                     __gettext("Manage users"),
31                     templates_draw(array(
32                         'context' => 'contentholder',
33                         'title' => __gettext("Manage users"),
34                         'body' => $body
35                     )
36                     )
37                 )
38                 );
39
40 ?>
Note: See TracBrowser for help on using the browser.