diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-06-27 10:13:28 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-06-27 10:13:28 +0000 |
commit | 77c643ec172dda65a631b67b448e56e4cfa47b7c (patch) | |
tree | 07e714686bfb136f449029c66395dcc4b5113cbd /modules/comment/comment.admin.inc | |
parent | acac8741fda5bfb2ff301f885e775690036333cb (diff) | |
download | brdo-77c643ec172dda65a631b67b448e56e4cfa47b7c.tar.gz brdo-77c643ec172dda65a631b67b448e56e4cfa47b7c.tar.bz2 |
- Patch #501466 by catch: move comment administration to a tab.
Diffstat (limited to 'modules/comment/comment.admin.inc')
-rw-r--r-- | modules/comment/comment.admin.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc index 0806d7535..57f15e543 100644 --- a/modules/comment/comment.admin.inc +++ b/modules/comment/comment.admin.inc @@ -116,7 +116,7 @@ function comment_admin_overview_validate($form, &$form_state) { // We can't execute any 'Update options' if no comments were selected. if (count($form_state['values']['comments']) == 0) { form_set_error('', t('Please select one or more comments to perform the update on.')); - drupal_goto('admin/content/comment'); + drupal_goto('admin/content/content/comment'); } } @@ -147,7 +147,7 @@ function comment_admin_overview_submit($form, &$form_state) { } cache_clear_all(); drupal_set_message(t('The update has been performed.')); - $form_state['redirect'] = 'admin/content/comment'; + $form_state['redirect'] = 'admin/content/content/comment'; } } @@ -183,12 +183,12 @@ function comment_multiple_delete_confirm(&$form_state) { if (!$comment_counter) { drupal_set_message(t('There do not appear to be any comments to delete, or your selected comment was deleted by another administrator.')); - drupal_goto('admin/content/comment'); + drupal_goto('admin/content/content/comment'); } else { return confirm_form($form, t('Are you sure you want to delete these comments and all their children?'), - 'admin/content/comment', t('This action cannot be undone.'), + 'admin/content/content/comment', t('This action cannot be undone.'), t('Delete comments'), t('Cancel')); } } @@ -207,7 +207,7 @@ function comment_multiple_delete_confirm_submit($form, &$form_state) { cache_clear_all(); drupal_set_message(t('The comments have been deleted.')); } - $form_state['redirect'] = 'admin/content/comment'; + $form_state['redirect'] = 'admin/content/content/comment'; } /** |