From b5d785ab9ad049b9db1b4ee1d50cc385a40eafa7 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 7 Jul 2008 19:56:56 +0000 Subject: Administration tweaks; fixed users online functions, as well as last_action functions, and the 'make admin' functionality git-svn-id: https://code.elgg.org/elgg/trunk@1326 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/statistics_opt/numentities.php | 2 -- views/default/admin/statistics_opt/online.php | 6 ++++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'views') diff --git a/views/default/admin/statistics_opt/numentities.php b/views/default/admin/statistics_opt/numentities.php index 0c7b39fb8..a424b78cf 100644 --- a/views/default/admin/statistics_opt/numentities.php +++ b/views/default/admin/statistics_opt/numentities.php @@ -20,7 +20,6 @@ $entry) { - echo ""; foreach ($entry as $a => $b) { if ($a == "__base__") @@ -34,7 +33,6 @@ END; } - echo "
"; } ?> diff --git a/views/default/admin/statistics_opt/online.php b/views/default/admin/statistics_opt/online.php index 50a207c03..f8721f3c3 100644 --- a/views/default/admin/statistics_opt/online.php +++ b/views/default/admin/statistics_opt/online.php @@ -10,8 +10,10 @@ * @link http://elgg.org/ */ - // users online - $users_online = get_online_users(); + // users online + get_context('search'); + $users_online = get_online_users(); + get_context('admin'); ?>
-- cgit v1.2.3