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/html/packages.php | |
parent | 964ea083e68310ca7c09ca938219f4146f0ca5b9 (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/html/packages.php')
-rw-r--r-- | web/html/packages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/packages.php b/web/html/packages.php index 3478ab9..094c221 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -97,7 +97,7 @@ html_header($title); ?> <?php if ($output): ?> - <p class="pkgoutput"><?php print $output ?></p> + <p class="pkgoutput"><?= $output ?></p> <?php endif; ?> <?php |