aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/statistics_opt
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/admin/statistics_opt')
-rw-r--r--views/default/admin/statistics_opt/basic.php34
-rw-r--r--views/default/admin/statistics_opt/numentities.php41
-rw-r--r--views/default/admin/statistics_opt/online.php20
3 files changed, 0 insertions, 95 deletions
diff --git a/views/default/admin/statistics_opt/basic.php b/views/default/admin/statistics_opt/basic.php
deleted file mode 100644
index b249db830..000000000
--- a/views/default/admin/statistics_opt/basic.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
- /**
- * Elgg statistics screen
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Marcus Povey
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- */
-
- // Work out number of users
- $users_stats = get_number_users();
-
-
- global $CONFIG;
-
- include_once($CONFIG->path . "version.php");
-?>
-<div>
- <h2><?php echo elgg_echo('admin:statistics:label:basic'); ?></h2>
- <table>
- <tr>
- <td><b><?php echo elgg_echo('admin:statistics:label:version'); ?> :</b></td>
- <td><?php echo elgg_echo('admin:statistics:label:version:release'); ?> - <?php echo $release; ?>, <?php echo elgg_echo('admin:statistics:label:version:version'); ?> - <?php echo $version; ?></td>
- </tr>
- <tr>
- <td><b><?php echo elgg_echo('admin:statistics:label:numusers'); ?> :</b></td>
- <td><?php echo $users_stats; ?></td>
- </tr>
-
- </table>
-</div> \ No newline at end of file
diff --git a/views/default/admin/statistics_opt/numentities.php b/views/default/admin/statistics_opt/numentities.php
deleted file mode 100644
index 0c7b39fb8..000000000
--- a/views/default/admin/statistics_opt/numentities.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
- /**
- * Elgg statistics screen
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Marcus Povey
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- */
-
-
- // Get entity statistics
- $entity_stats = get_entity_statistics();
-?>
-<div>
- <h2><?php echo elgg_echo('admin:statistics:label:numentities'); ?></h2>
- <table>
- <?php
- foreach ($entity_stats as $k => $entry)
- {
- echo "<table>";
- foreach ($entry as $a => $b)
- {
- if ($a == "__base__")
- $a=$k;
- else
- $a = "$k $a";
- echo <<< END
- <tr>
- <td><b>$a :</b></td>
- <td>$b</td>
- </tr>
-END;
- }
- echo "</table>";
- }
- ?>
- </table>
-</div> \ No newline at end of file
diff --git a/views/default/admin/statistics_opt/online.php b/views/default/admin/statistics_opt/online.php
deleted file mode 100644
index 50a207c03..000000000
--- a/views/default/admin/statistics_opt/online.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
- /**
- * Elgg statistics screen
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Marcus Povey
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- */
-
- // users online
- $users_online = get_online_users();
-?>
-
-<div>
- <h2><?php echo elgg_echo('admin:statistics:label:onlineusers'); ?></h2>
- <?php echo $users_online; ?>
-</div>