summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-06-09 09:05:05 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-09 09:05:05 +0200
commit5c64ae1a0ea55c9d38d11659cf5a48761e44571f (patch)
tree8194e11c70e3fb8e6daad4d18b123bdf97e36e84 /web/template
parent9b19f7595e45431a7984b50369eccd1a54ae4636 (diff)
downloadaurweb-5c64ae1a0ea55c9d38d11659cf5a48761e44571f.tar.xz
Drop suffixes from confirm parameters
Remove the _delete and _disown suffixes from HTTP POST confirmation parameters. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/account_delete.php2
-rw-r--r--web/template/pkg_search_results.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/template/account_delete.php b/web/template/account_delete.php
index 0d40e5a..03951fe 100644
--- a/web/template/account_delete.php
+++ b/web/template/account_delete.php
@@ -12,7 +12,7 @@
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
</fieldset>
<fieldset>
- <p><input type="checkbox" name="confirm_Delete" value="1" />
+ <p><input type="checkbox" name="confirm" value="1" />
<?= __("Confirm deletion") ?></p>
<p>
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index e901408..86b4c74 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -122,7 +122,7 @@ 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_Delete" value="1" /> <?= __("Confirm") ?>
+ <input type="checkbox" name="confirm" value="1" /> <?= __("Confirm") ?>
<?php endif; ?>
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
<input type="submit" class="button" style="width: 80px" value="<?= __("Go") ?>" />