diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-09-21 08:57:29 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-09-24 12:23:04 +0200 |
commit | 6102759b7cb9fd23f4e7fa5f12137334ff30a410 (patch) | |
tree | fba81fdedea0dd6ca3f1e1bdd260fa55ebc36ee9 /web/template/stats/user_table.php | |
parent | 964ea083e68310ca7c09ca938219f4146f0ca5b9 (diff) | |
download | aurweb-6102759b7cb9fd23f4e7fa5f12137334ff30a410.tar.xz |
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/user_table.php')
-rw-r--r-- | web/template/stats/user_table.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/web/template/stats/user_table.php b/web/template/stats/user_table.php index 3620798..ba6751f 100644 --- a/web/template/stats/user_table.php +++ b/web/template/stats/user_table.php @@ -2,20 +2,20 @@ $username = username_from_sid($_COOKIE["AURSID"]); ?> -<h3><?php echo __("My Statistics"); ?></h3> +<h3><?= __("My Statistics"); ?></h3> <table> <tr> <td> - <a href="<?php echo get_uri('/packages/'); ?>?SeB=m&L=2&K=<?php echo $username; ?>"> -<?php print __("Packages in unsupported"); ?></a> + <a href="<?= get_uri('/packages/'); ?>?SeB=m&L=2&K=<?= $username; ?>"> +<?= __("Packages in unsupported"); ?></a> </td> - <td><?php print $maintainer_unsupported_count; ?></td> + <td><?= $maintainer_unsupported_count; ?></td> </tr> <tr> <td> - <a href="<?php echo get_uri('/packages/'); ?>?SeB=m&outdated=on&K=<?php echo $username; ?>"><?php print __("Out of Date"); ?></a> + <a href="<?= get_uri('/packages/'); ?>?SeB=m&outdated=on&K=<?= $username; ?>"><?= __("Out of Date"); ?></a> </td> - <td><?php echo $flagged_outdated ?></td> + <td><?= $flagged_outdated ?></td> </tr> </table> |