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
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue