aurweb/web/template/stats/general_stats_table.php
Lukas Fleischer 6102759b7c Use echo shortcut syntax
Replace all occurrences of "<?php echo" and "<?php print" by "<?=" to
reduce noise in templates.

Note that as of PHP 5.4.0, "<?=" is always available and no longer
requires "short_open_tag" to be set.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2012-09-24 12:23:04 +02:00

36 lines
809 B
PHP

<h3><?= __("Statistics") ?></h3>
<table>
<tr>
<td><?= __("Packages"); ?></td>
<td><?= $unsupported_count; ?></td>
</tr>
<tr>
<td><?= __("Orphan Packages"); ?></td>
<td><?= $orphan_count; ?></td>
</tr>
<tr>
<td><?= __("Packages added in the past 7 days"); ?></td>
<td><?= $add_count; ?></td>
</tr>
<tr>
<td><?= __("Packages updated in the past 7 days"); ?></td>
<td><?= $update_count; ?></td>
</tr>
<tr>
<td><?= __("Packages updated in the past year"); ?></td>
<td><?= $update_year_count; ?></td>
</tr>
<tr>
<td><?= __("Packages never updated"); ?></td>
<td><?= $never_update_count; ?></td>
</tr>
<tr>
<td><?= __("Registered Users"); ?></td>
<td><?= $user_count; ?></td>
</tr>
<tr>
<td><?= __("Trusted Users"); ?></td>
<td><?= $tu_count; ?></td>
</tr>
</table>