returnconfirm_form('forum_confirm_delete',$form,t('Are you sure you want to delete the forum %name?',array('%name'=>theme('placeholder',$term->name))),'admin/forums',t('Deleting a forum or container will delete all sub-forums as well. This action cannot be undone.'),t('Delete'),t('Cancel'));
returnconfirm_form('forum_confirm_delete',$form,t('Are you sure you want to delete the forum %name?',array('%name'=>theme('placeholder',$term->name))),'admin/forums',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'));
}
/**
...
...
@@ -525,7 +536,8 @@ function _forum_confirm_delete($tid) {
drupal_set_message(t('The forum %term has been deleted.',array('%term'=>theme('placeholder',$form_values['name']))));
drupal_set_message(t('The forum %term and all sub-forums and associated posts have been deleted.',array('%term'=>theme('placeholder',$form_values['name']))));
watchdog('content',t('forum: deleted %term and all its sub-forums and associated posts.',array('%term'=>theme('placeholder',$form_values['name']))));
returnconfirm_form('forum_confirm_delete',$form,t('Are you sure you want to delete the forum %name?',array('%name'=>theme('placeholder',$term->name))),'admin/forums',t('Deleting a forum or container will delete all sub-forums as well. This action cannot be undone.'),t('Delete'),t('Cancel'));
returnconfirm_form('forum_confirm_delete',$form,t('Are you sure you want to delete the forum %name?',array('%name'=>theme('placeholder',$term->name))),'admin/forums',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'));
}
/**
...
...
@@ -525,7 +536,8 @@ function _forum_confirm_delete($tid) {
drupal_set_message(t('The forum %term has been deleted.',array('%term'=>theme('placeholder',$form_values['name']))));
drupal_set_message(t('The forum %term and all sub-forums and associated posts have been deleted.',array('%term'=>theme('placeholder',$form_values['name']))));
watchdog('content',t('forum: deleted %term and all its sub-forums and associated posts.',array('%term'=>theme('placeholder',$form_values['name']))));