diff options
Diffstat (limited to 'views/default/usersettings/statistics_opt/numentities.php')
| -rw-r--r-- | views/default/usersettings/statistics_opt/numentities.php | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/views/default/usersettings/statistics_opt/numentities.php b/views/default/usersettings/statistics_opt/numentities.php deleted file mode 100644 index c6d634f62..000000000 --- a/views/default/usersettings/statistics_opt/numentities.php +++ /dev/null @@ -1,49 +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($_SESSION['user']->guid); - - if ($entity_stats) - { -?> -<div class="usersettings_statistics"> - <h3><?php echo elgg_echo('usersettings:statistics:label:numentities'); ?></h3> - <table> - <?php - foreach ($entity_stats as $k => $entry) - { - foreach ($entry as $a => $b) - { - 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 - <tr> - <td style="width: 250px"><b>{$a}:</b></td> - <td>{$b}</td> - </tr> -END; - } - } - ?> - </table> -</div> -<?php } ?>
\ No newline at end of file |
