summaryrefslogtreecommitdiffstats
path: root/web/template/footer.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/footer.php
parent964ea083e68310ca7c09ca938219f4146f0ca5b9 (diff)
downloadaur-6102759b7cb9fd23f4e7fa5f12137334ff30a410.tar.gz
aur-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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/footer.php b/web/template/footer.php
index 1b1b1d2a..857211ee 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 &copy; 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>