From db787a3ab93da0c2141d33f3058f9dc2f34d6f2a Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 17 Dec 2010 20:36:36 +0000 Subject: reorganized the settings views and updated the pages to use new layout git-svn-id: http://code.elgg.org/elgg/trunk@7663 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../core/settings/statistics/numentities.php | 47 ++++++++++++++++++++++ views/default/core/settings/statistics/online.php | 28 +++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 views/default/core/settings/statistics/numentities.php create mode 100644 views/default/core/settings/statistics/online.php (limited to 'views/default/core/settings/statistics') diff --git a/views/default/core/settings/statistics/numentities.php b/views/default/core/settings/statistics/numentities.php new file mode 100644 index 000000000..10d2b7c68 --- /dev/null +++ b/views/default/core/settings/statistics/numentities.php @@ -0,0 +1,47 @@ + +
+

+ + $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; + } + } else { + $a = elgg_echo("item:{$k}:{$a}"); + if (empty($a)) { + $a = "$k $a"; + } + } + echo <<< END + + + + +END; + } + } + ?> +
{$a}:{$b}
+
+guid, "login", "", 'user', '', 1); + +if ($log) { + $logged_in = $log[0]->time_created; +} + +?> +
+

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