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 +++++++++++----------- .../default/usersettings/statistics_opt/online.php | 8 +- 2 files changed, 50 insertions(+), 46 deletions(-) (limited to 'views/default/usersettings') 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 diff --git a/views/default/usersettings/statistics_opt/online.php b/views/default/usersettings/statistics_opt/online.php index 4cd49e557..4e150fa81 100644 --- a/views/default/usersettings/statistics_opt/online.php +++ b/views/default/usersettings/statistics_opt/online.php @@ -22,9 +22,9 @@

- - - - + + + +
name; ?>
email; ?>
time_created); ?>
name; ?>
email; ?>
time_created); ?>
\ No newline at end of file -- cgit v1.2.3