From 4a3840563dae2d49651bd65df8ebd5221dfbe2d4 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 11 Aug 2008 14:38:09 +0000 Subject: user settings tweaks git-svn-id: https://code.elgg.org/elgg/trunk@1830 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../usersettings/statistics_opt/numentities.php | 88 +++++++++++----------- 1 file changed, 46 insertions(+), 42 deletions(-) (limited to 'views/default/usersettings/statistics_opt/numentities.php') diff --git a/views/default/usersettings/statistics_opt/numentities.php b/views/default/usersettings/statistics_opt/numentities.php index 3a32203cc..f79df4be0 100644 --- a/views/default/usersettings/statistics_opt/numentities.php +++ b/views/default/usersettings/statistics_opt/numentities.php @@ -1,49 +1,53 @@ -guid); - - if ($entity_stats) - { -?> -
-

- - $entry) - { - foreach ($entry as $a => $b) - { - if ($a == "__base__") { +guid); + + if ($entity_stats) + { +?> +
+

+
+ $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)) - $a = $k; + $a = $k; } else { $a = elgg_echo("item:{$k}:{$a}"); - if (empty($a)) { + if (empty($a)) { $a = "$k $a"; } - } - echo <<< END - - - - -END; - } - } - ?> -
{$a}:{$b}
-
+ } + echo <<< END + + {$a}: + {$b} + +END; + } + } + ?> + + \ No newline at end of file -- cgit v1.2.3