mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
5c64ae1a0e
commit
6ce4433b88
1 changed files with 1 additions and 1 deletions
|
@ -122,8 +122,8 @@ if (!$result): ?>
|
||||||
<?php if (has_credential(CRED_PKGBASE_DELETE)): ?>
|
<?php if (has_credential(CRED_PKGBASE_DELETE)): ?>
|
||||||
<label for="merge_Into"><?= __("Merge into") ?></label>
|
<label for="merge_Into"><?= __("Merge into") ?></label>
|
||||||
<input type="text" id="merge_Into" name="merge_Into" />
|
<input type="text" id="merge_Into" name="merge_Into" />
|
||||||
<input type="checkbox" name="confirm" value="1" /> <?= __("Confirm") ?>
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
<input type="checkbox" name="confirm" value="1" /> <?= __("Confirm") ?>
|
||||||
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
|
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
|
||||||
<input type="submit" class="button" style="width: 80px" value="<?= __("Go") ?>" />
|
<input type="submit" class="button" style="width: 80px" value="<?= __("Go") ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue