summaryrefslogtreecommitdiff
path: root/modules/taxonomy.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-10-14 15:28:24 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-10-14 15:28:24 +0000
commit9e4399aae82b43bd49c0a1558174ad494b6fbcdc (patch)
treedf3109d21616960c948d904f57faffca599b44ce /modules/taxonomy.module
parent63061bd7455ae24291504e8fbec5d87f18ccc0a8 (diff)
downloadbrdo-9e4399aae82b43bd49c0a1558174ad494b6fbcdc.tar.gz
brdo-9e4399aae82b43bd49c0a1558174ad494b6fbcdc.tar.bz2
#10677: Confirmation when deleting a block + unifying confirmation screens.
Diffstat (limited to 'modules/taxonomy.module')
-rw-r--r--modules/taxonomy.module2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index dc593879f..f802df531 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -190,7 +190,6 @@ function _taxonomy_confirm_del_vocabulary($vid) {
$form .= form_hidden('type', 'vocabulary');
$form .= form_hidden('vid', $vid);
$form .= form_submit(t('Delete'));
- $form .= form_submit(t('Cancel'));
return form(form_item(t('Delete vocabulary "%name"', array('%name' => $vocabulary->name)), $form, t('Are you sure you want to delete the vocabulary and all its terms?')));
}
@@ -334,7 +333,6 @@ function _taxonomy_confirm_del_term($tid) {
$form .= form_hidden('type', 'term');
$form .= form_hidden('tid', $tid);
$form .= form_submit(t('Delete'));
- $form .= form_submit(t('Cancel'));
$output = form(form_item(t('Delete term "%name" and all its children', array('%name' => $term->name)), $form, t('Are you sure you want to delete the term and all its children (if any)?')));