diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-06-22 08:32:28 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-06-22 08:32:28 +0000 |
commit | fe8b35f52778b63b96c969da27d2929beee8c1b9 (patch) | |
tree | bb7a2a5014006acb1fc893e29299f2dc77918327 /modules/forum/forum.module | |
parent | 39a0ee0264f2e6e88b66e983e53bbf8a98072d3b (diff) | |
download | brdo-fe8b35f52778b63b96c969da27d2929beee8c1b9.tar.gz brdo-fe8b35f52778b63b96c969da27d2929beee8c1b9.tar.bz2 |
#153781: Convert all remaining confirm_forms() to deletion api.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r-- | modules/forum/forum.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 893cc3821..2130a2ea7 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -610,7 +610,9 @@ function forum_confirm_delete(&$form_state, $tid) { $form['tid'] = array('#type' => 'value', '#value' => $tid); $form['name'] = array('#type' => 'value', '#value' => $term->name); - return confirm_form($form, t('Are you sure you want to delete the forum %name?', array('%name' => $term->name)), 'admin/content/forum', t('Deleting a forum or container will delete all sub-forums and associated posts as well. This action cannot be undone.'), t('Delete'), t('Cancel')); + $options = array('description' => t('Deleting a forum or container will delete all sub-forums and associated posts as well. This action cannot be undone.')); + + return confirm_form($form, t('Are you sure you want to delete the forum %name?', array('%name' => $term->name)), 'admin/content/forum', $options); } /** |