diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-10-14 15:28:24 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-10-14 15:28:24 +0000 |
commit | 9e4399aae82b43bd49c0a1558174ad494b6fbcdc (patch) | |
tree | df3109d21616960c948d904f57faffca599b44ce /modules/taxonomy/taxonomy.module | |
parent | 63061bd7455ae24291504e8fbec5d87f18ccc0a8 (diff) | |
download | brdo-9e4399aae82b43bd49c0a1558174ad494b6fbcdc.tar.gz brdo-9e4399aae82b43bd49c0a1558174ad494b6fbcdc.tar.bz2 |
#10677: Confirmation when deleting a block + unifying confirmation screens.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index dc593879f..f802df531 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/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)?'))); |