summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_search_results.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2010-06-25 17:16:05 +0200
committerLoui Chang <louipc.ist@gmail.com>2010-07-02 03:19:18 +0200
commitb5bc6ab7421d8a7e88c54441431bad4e2f899e88 (patch)
tree94080043e13238a3564e52727c6af26d4e7614e5 /web/template/pkg_search_results.php
parentf08fbbe80eba009c6f42411456479e328c92175b (diff)
downloadaur-b5bc6ab7421d8a7e88c54441431bad4e2f899e88.tar.gz
aur-b5bc6ab7421d8a7e88c54441431bad4e2f899e88.tar.xz
Confirmation when deleting packages
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template/pkg_search_results.php')
-rw-r--r--web/template/pkg_search_results.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index 364a3521..bb898df6 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -108,6 +108,9 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) {
<option value='do_Notify'><?php print __("Notify") ?></option>
<option value='do_UnNotify'><?php print __("UnNotify") ?></option>
</select>
+ <?php if ($atype == "Trusted User" || $atype == "Developer"): ?>
+ <input type='checkbox' name='confirm_Delete' value='1' /> <?php print __("Confirm") ?>
+ <?php endif; ?>
<input type='submit' class='button' style='width: 80px' value='<?php print __("Go") ?>' />
</div>
<?php endif; ?>