summaryrefslogtreecommitdiff
path: root/web/template/stats/general_stats_table.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-09-21 08:57:29 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-09-24 12:23:04 +0200
commit6102759b7cb9fd23f4e7fa5f12137334ff30a410 (patch)
treefba81fdedea0dd6ca3f1e1bdd260fa55ebc36ee9 /web/template/stats/general_stats_table.php
parent964ea083e68310ca7c09ca938219f4146f0ca5b9 (diff)
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>
Diffstat (limited to 'web/template/stats/general_stats_table.php')
-rw-r--r--web/template/stats/general_stats_table.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/web/template/stats/general_stats_table.php b/web/template/stats/general_stats_table.php
index e2b12c7..6a92c3b 100644
--- a/web/template/stats/general_stats_table.php
+++ b/web/template/stats/general_stats_table.php
@@ -1,36 +1,36 @@
-<h3><?php echo __("Statistics") ?></h3>
+<h3><?= __("Statistics") ?></h3>
<table>
<tr>
- <td><?php print __("Packages"); ?></td>
- <td><?php print $unsupported_count; ?></td>
+ <td><?= __("Packages"); ?></td>
+ <td><?= $unsupported_count; ?></td>
</tr>
<tr>
- <td><?php print __("Orphan Packages"); ?></td>
- <td><?php print $orphan_count; ?></td>
+ <td><?= __("Orphan Packages"); ?></td>
+ <td><?= $orphan_count; ?></td>
</tr>
<tr>
- <td><?php print __("Packages added in the past 7 days"); ?></td>
- <td><?php print $add_count; ?></td>
+ <td><?= __("Packages added in the past 7 days"); ?></td>
+ <td><?= $add_count; ?></td>
</tr>
<tr>
- <td><?php print __("Packages updated in the past 7 days"); ?></td>
- <td><?php print $update_count; ?></td>
+ <td><?= __("Packages updated in the past 7 days"); ?></td>
+ <td><?= $update_count; ?></td>
</tr>
<tr>
- <td><?php print __("Packages updated in the past year"); ?></td>
- <td><?php print $update_year_count; ?></td>
+ <td><?= __("Packages updated in the past year"); ?></td>
+ <td><?= $update_year_count; ?></td>
</tr>
<tr>
- <td><?php print __("Packages never updated"); ?></td>
- <td><?php print $never_update_count; ?></td>
+ <td><?= __("Packages never updated"); ?></td>
+ <td><?= $never_update_count; ?></td>
</tr>
<tr>
- <td><?php print __("Registered Users"); ?></td>
- <td><?php print $user_count; ?></td>
+ <td><?= __("Registered Users"); ?></td>
+ <td><?= $user_count; ?></td>
</tr>
<tr>
- <td><?php print __("Trusted Users"); ?></td>
- <td><?php print $tu_count; ?></td>
+ <td><?= __("Trusted Users"); ?></td>
+ <td><?= $tu_count; ?></td>
</tr>
</table>