aboutsummaryrefslogtreecommitdiff
path: root/views/default/graphs/data/timestats.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/graphs/data/timestats.php')
-rw-r--r--views/default/graphs/data/timestats.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/views/default/graphs/data/timestats.php b/views/default/graphs/data/timestats.php
deleted file mode 100644
index 6179301a9..000000000
--- a/views/default/graphs/data/timestats.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-$type = $vars['type'];
-$subtype = $vars['subtype'];
-$relative = $vars['relative'];
-
-elgg_load_library('elgg:graphs:timestats');
-
-$timestats = timestats($type, $subtype, $relative);
-
-?>
-
-<table style="position: absolute; left: -9999em; top: -9999em;" id="data">
- <tfoot>
- <tr>
- <?php
- foreach ($timestats as $time => $stat) {
- $date = date(elgg_echo('friendlytime:date_format'), $time);
- echo "<th>$date</th>\n";
- }
- ?>
- </tr>
- </tfoot>
- <tbody>
- <tr>
- <?php
- foreach ($timestats as $time => $stat) {
- echo "<td>$stat</td>\n";
- }
- ?>
- </tr>
- </tbody>
-</table>