summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-06-09 09:08:55 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-09 09:12:51 +0200
commit6ce4433b882373430f6497e70fbd9dc370551e24 (patch)
tree2bfcd2a672ca3307443164d1b6d9ee1c9c741bf7 /web/template
parent5c64ae1a0ea55c9d38d11659cf5a48761e44571f (diff)
downloadaurweb-6ce4433b882373430f6497e70fbd9dc370551e24.tar.xz
Add a confirmation check box below search results
Always show the confirmation check box next to the package actions drop-down on the package search results page. This allows regular users to confirm disown commands. Fixes FS#45264. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/pkg_search_results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index 86b4c74..7ab3eb9 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -122,8 +122,8 @@ if (!$result): ?>
<?php if (has_credential(CRED_PKGBASE_DELETE)): ?>
<label for="merge_Into"><?= __("Merge into") ?></label>
<input type="text" id="merge_Into" name="merge_Into" />
- <input type="checkbox" name="confirm" value="1" /> <?= __("Confirm") ?>
<?php endif; ?>
+ <input type="checkbox" name="confirm" value="1" /> <?= __("Confirm") ?>
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
<input type="submit" class="button" style="width: 80px" value="<?= __("Go") ?>" />
</p>