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/footer.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/footer.php')
-rw-r--r-- | web/template/footer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/footer.php b/web/template/footer.php index 1b1b1d2..857211e 100644 --- a/web/template/footer.php +++ b/web/template/footer.php @@ -3,10 +3,10 @@ <div id="footer"> <?php if ($ver): ?> - <p>AUR <?php echo htmlspecialchars($ver) ?></p> + <p>AUR <?= htmlspecialchars($ver) ?></p> <?php endif; ?> <p>Copyright © 2004-2012 AUR Development Team.</p> - <p><?php echo __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.') ?></p> + <p><?= __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.') ?></p> </div> </div> </body> |