mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add an accept button to the package request list
This button allows for accepting a request, disowning the affected package or redirecting to the package deletion page. The request is closed automatically when the action has been performed. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
d8dbad0c3e
commit
959c61a77d
4 changed files with 32 additions and 6 deletions
|
@ -37,6 +37,9 @@ if ($atype == "Trusted User" || $atype == "Developer"): ?>
|
|||
<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']) ?>" />
|
||||
<?php if (isset($_GET['via'])): ?>
|
||||
<input type="hidden" name="via" value="<?= intval($_GET['via']) ?>" />
|
||||
<?php endif; ?>
|
||||
<p><input type="checkbox" name="confirm_Delete" value="1" />
|
||||
<?= __("Confirm package deletion") ?></p>
|
||||
<p><input type="submit" class="button" name="do_Delete" value="<?= __("Delete") ?>" /></p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue