summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
Diffstat (limited to 'web/template')
-rw-r--r--web/template/actions_form.php2
-rw-r--r--web/template/pkg_search_results.php3
2 files changed, 5 insertions, 0 deletions
diff --git a/web/template/actions_form.php b/web/template/actions_form.php
index de77645a..d1559f57 100644
--- a/web/template/actions_form.php
+++ b/web/template/actions_form.php
@@ -47,6 +47,8 @@ if ($row["MaintainerUID"] == 0) {
if ($atype == "Trusted User" || $atype == "Developer") {
echo "<input type='submit' class='button' name='do_Delete'";
echo " value='".__("Delete Packages")."'>\n";
+ echo "<input type='checkbox' name='confirm_Delete' value='1' /> ";
+ echo __("Confirm")."\n";
}
?>
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; ?>