aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 19:56:56 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 19:56:56 +0000
commitb5d785ab9ad049b9db1b4ee1d50cc385a40eafa7 (patch)
tree131835331d032b8b6f33afdc5fa6e8d1902521af /views
parent05de5766ed57a725074052197573c8d1c0917a18 (diff)
downloadelgg-b5d785ab9ad049b9db1b4ee1d50cc385a40eafa7.tar.gz
elgg-b5d785ab9ad049b9db1b4ee1d50cc385a40eafa7.tar.bz2
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
Diffstat (limited to 'views')
-rw-r--r--views/default/admin/statistics_opt/numentities.php2
-rw-r--r--views/default/admin/statistics_opt/online.php6
2 files changed, 4 insertions, 4 deletions
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 @@
<?php
foreach ($entity_stats as $k => $entry)
{
- echo "<table>";
foreach ($entry as $a => $b)
{
if ($a == "__base__")
@@ -34,7 +33,6 @@
</tr>
END;
}
- echo "</table>";
}
?>
</table>
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');
?>
<div>