From 9e4399aae82b43bd49c0a1558174ad494b6fbcdc Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 14 Oct 2004 15:28:24 +0000 Subject: #10677: Confirmation when deleting a block + unifying confirmation screens. --- modules/taxonomy.module | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/taxonomy.module') 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)?'))); -- cgit v1.2.3