summaryrefslogtreecommitdiffstats
path: root/web/html/pkgflag.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-08-31 18:29:06 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-09-11 22:14:26 +0200
commit396e50bdc88feae9d0048d1c3dab776388d96dc7 (patch)
tree27ba246621007f32e13cf1ad4bdcea756d93ef6d /web/html/pkgflag.php
parent6b7e26a2d19c53438a9594ee3068f1afcdb1ee0d (diff)
downloadaurweb-396e50bdc88feae9d0048d1c3dab776388d96dc7.tar.xz
Require comments when flagging packages out-of-date
Implements FS#42827. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/pkgflag.php')
-rw-r--r--web/html/pkgflag.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/html/pkgflag.php b/web/html/pkgflag.php
index 9d86909..bfe89e0 100644
--- a/web/html/pkgflag.php
+++ b/web/html/pkgflag.php
@@ -25,12 +25,17 @@ if (has_credential(CRED_PKGBASE_FLAG)): ?>
<p>
<?= __('Please do %snot%s use this form to report bugs. Use the package comments instead.',
'<strong>', '</strong>'); ?>
+ <?= __('Enter details on why the package is out-of-date below, preferably including links to the release announcement or the new release tarball.'); ?>
</p>
<form action="<?= get_uri('/pkgbase/'); ?>" method="post">
<fieldset>
<input type="hidden" name="IDs[<?= $base_id ?>]" value="1" />
<input type="hidden" name="ID" value="<?= $base_id ?>" />
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
+ <p>
+ <label for="id_comments"><?= __("Comments") ?>:</label>
+ <textarea name="comments" id="id_comments" rows="5" cols="50"></textarea>
+ </p>
<p><input type="submit" class="button" name="do_Flag" value="<?= __("Flag") ?>" /></p>
</fieldset>
</form>