aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-19 22:08:51 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-19 22:08:51 +0000
commitec7ef3c01db1ec9c286db5b173c7f68376914799 (patch)
tree140966aae3cb44847cc4adb0621be06869ffa715 /views/default/admin
parentb5c6d66de499a109444a226a69522c690bf3bb4e (diff)
downloadelgg-ec7ef3c01db1ec9c286db5b173c7f68376914799.tar.gz
elgg-ec7ef3c01db1ec9c286db5b173c7f68376914799.tar.bz2
Added "Newest Users" admin section.
git-svn-id: http://code.elgg.org/elgg/trunk@6104 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin')
-rw-r--r--views/default/admin/users/newest.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/views/default/admin/users/newest.php b/views/default/admin/users/newest.php
new file mode 100644
index 000000000..79de121e5
--- /dev/null
+++ b/views/default/admin/users/newest.php
@@ -0,0 +1,17 @@
+<?php
+// newest users
+if (is_plugin_enabled('profile')) {
+ $users = elgg_list_entities(array(
+ 'type' => 'user', 'subtype'=>null,
+ 'full_view' => FALSE
+ ));
+
+ echo elgg_view_title(elgg_echo('admin:users'));
+ ?>
+
+ <div class="admin_settings members_list users_online">
+ <h3><?php echo elgg_echo('admin:users:newest'); ?></h3>
+ <?php echo $users; ?>
+ </div>
+<?php
+} \ No newline at end of file