[aur-dev] [PATCH v2] footer: Link version number to release log
Johannes Löthberg
johannes at kyriasis.com
Sun Jun 14 17:11:47 UTC 2015
Fixes FS#45321
Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
---
Add ENT_QUOTES to htmlspecialchars
web/template/footer.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/template/footer.php b/web/template/footer.php
index 1b451b3..068cc06 100644
--- a/web/template/footer.php
+++ b/web/template/footer.php
@@ -3,7 +3,7 @@
<div id="footer">
<?php if ($ver): ?>
- <p>aurweb <?= htmlspecialchars($ver) ?></p>
+ <p>aurweb <a href="https://projects.archlinux.org/aurweb.git/log/?h=<?= htmlspecialchars($ver, ENT_QUOTES) ?>"><?= htmlspecialchars($ver) ?></a></p>
<?php endif; ?>
<p>Copyright © 2004-<?= date("Y") ?> aurweb Development Team.</p>
<p><?= __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.') ?></p>
--
2.4.2
More information about the aur-dev
mailing list