mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
964ea083e6
commit
6102759b7c
26 changed files with 368 additions and 366 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue