From 32fe08c61103775923c4a0d1a49131186e8626b8 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 11 Aug 2008 14:47:18 +0000 Subject: further admin layout tweaks git-svn-id: https://code.elgg.org/elgg/trunk@1831 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/statistics_opt/basic.php | 10 +-- views/default/admin/statistics_opt/numentities.php | 80 ++++++++++++---------- views/default/admin/statistics_opt/online.php | 40 +++++------ 3 files changed, 67 insertions(+), 63 deletions(-) (limited to 'views') diff --git a/views/default/admin/statistics_opt/basic.php b/views/default/admin/statistics_opt/basic.php index 39e8440d8..07bacd483 100644 --- a/views/default/admin/statistics_opt/basic.php +++ b/views/default/admin/statistics_opt/basic.php @@ -19,14 +19,14 @@ include_once($CONFIG->path . "version.php"); ?>
-

+

- - + + - - + + diff --git a/views/default/admin/statistics_opt/numentities.php b/views/default/admin/statistics_opt/numentities.php index 6c4d9ffdf..fc88a11a5 100644 --- a/views/default/admin/statistics_opt/numentities.php +++ b/views/default/admin/statistics_opt/numentities.php @@ -1,50 +1,54 @@ - -
-

-
:
: - , -
:
:
- $entry) + +
+

+
+ $entry) { - arsort($entry); - foreach ($entry as $a => $b) - { + arsort($entry); + foreach ($entry as $a => $b) + { + + //This function controls the alternating class + $even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even'; + if ($a == "__base__") { $a = elgg_echo("item:{$k}"); - if (empty($a)) + if (empty($a)) $a = $k; - } + } else { if (empty($a)) $a = elgg_echo("item:{$k}"); - else + else $a = elgg_echo("item:{$k}:{$a}"); if (empty($a)) { $a = "$k $a"; } - } - echo <<< END - - - - -END; - } - } - ?> -
{$a}:{$b}
+ } + echo <<< END + + {$a}: + {$b} + +END; + } + } + ?> +
\ No newline at end of file diff --git a/views/default/admin/statistics_opt/online.php b/views/default/admin/statistics_opt/online.php index 1cc7aa1cf..c90986c12 100644 --- a/views/default/admin/statistics_opt/online.php +++ b/views/default/admin/statistics_opt/online.php @@ -1,22 +1,22 @@ - - -
-

- -
+ get_context('admin'); +?> + +
+

+ +
-- cgit v1.2.3