aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorKrzysztof Różalski <cristo.rabani@gmail.com>2012-11-28 00:09:05 +0100
committerKrzysztof Różalski <cristo.rabani@gmail.com>2012-11-28 00:33:33 +0100
commit04e73aa6428eb792bedbbd616891de52eed3dcbf (patch)
tree7b716f8fb63117e5c6f71b0fd1baaa9acf32c80b /views
parent522a8d1a7b6eaf5e6bd826f6d29d51eb5f788b64 (diff)
downloadelgg-04e73aa6428eb792bedbbd616891de52eed3dcbf.tar.gz
elgg-04e73aa6428eb792bedbbd616891de52eed3dcbf.tar.bz2
Fixes #4935 - Adds admin listing in admin panel
Diffstat (limited to 'views')
-rw-r--r--views/default/admin/users/admins.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/views/default/admin/users/admins.php b/views/default/admin/users/admins.php
new file mode 100644
index 000000000..9b175d437
--- /dev/null
+++ b/views/default/admin/users/admins.php
@@ -0,0 +1,12 @@
+<?php
+$admins = elgg_list_entities(array(), 'elgg_get_admins');
+
+?>
+<div class="elgg-module elgg-module-inline">
+ <div class="elgg-head">
+ <h3><?php echo elgg_echo('admin:statistics:label:admins'); ?></h3>
+ </div>
+ <div class="elgg-body">
+ <?php echo $admins; ?>
+ </div>
+</div>