[aur-dev] [PATCH] footer: Link version number to release log
Fixes FS#45321 Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> --- 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..8f93bfb 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) ?>"><?= 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
Fixes FS#45321 Signed-off-by: Johannes Löthberg <johannes@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
On Sun, 14 Jun 2015 at 19:11:47, Johannes Löthberg wrote:
Fixes FS#45321
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> --- Add ENT_QUOTES to htmlspecialchars
web/template/footer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [...]
Applied, thanks!
participants (2)
-
Johannes Löthberg
-
Lukas Fleischer