summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2020-01-31 09:25:57 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2020-02-02 12:12:43 +0100
commitaa555f9ae5a68f7567c862d017e27c78d1b6ec95 (patch)
treee8d75128988ee214ba573db30cceeaab25597caf
parente5f8fe5528960f5033df0e2a0bad14aea9154741 (diff)
downloadaur-aa555f9ae5a68f7567c862d017e27c78d1b6ec95.tar.gz
aur-aa555f9ae5a68f7567c862d017e27c78d1b6ec95.tar.xz
Explain syntax/features in the comments section
Addresses FS#64983. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--web/template/pkg_comment_form.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/template/pkg_comment_form.php b/web/template/pkg_comment_form.php
index 3feee8fb..e8a516e3 100644
--- a/web/template/pkg_comment_form.php
+++ b/web/template/pkg_comment_form.php
@@ -9,6 +9,10 @@
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
</div>
<p>
+ <?= __("Git commit identifiers referencing commits in the AUR package repository and URLs are converted to links automatically.") ?>
+ <?= __("%sMarkdown syntax%s is partially supported.", '<a href="https://daringfireball.net/projects/markdown/syntax">', "</a>") ?>
+ </p>
+ <p>
<textarea id="id_comment" name="comment" cols="80" rows="10"><?= (isset($comment_id)) ? htmlspecialchars($comment) : "" ?></textarea>
</p>
<p>