diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-30 19:24:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-30 19:24:21 +0000 |
commit | 926606eeca106fb2e0eff20f3b1bff205924fd36 (patch) | |
tree | c581d939750d30dc7db6242442e190ee168be127 /modules/comment/comment.admin.inc | |
parent | 8c8521081cbb8ffc80bb80c691dab3db270f5e9b (diff) | |
download | brdo-926606eeca106fb2e0eff20f3b1bff205924fd36.tar.gz brdo-926606eeca106fb2e0eff20f3b1bff205924fd36.tar.bz2 |
- Patch #535564 by Gábor Hojtsy: the D7UX mockups call for a top level Content item, which would immediatey lead to the "Find content" screen. The current Drupal 7 code is almost there, but still has an RSS settings item blocking the implementation of this by default and aggregator and book also add subitems.
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 1f90a64b9..3ea0b5d7c 100644 --- a/modules/comment/comment.admin.inc +++ b/modules/comment/comment.admin.inc @@ -114,7 +114,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/content/comment'); + drupal_goto('admin/content/comment'); } } @@ -145,7 +145,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/content/comment'; + $form_state['redirect'] = 'admin/content/comment'; } } @@ -181,12 +181,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/content/comment'); + drupal_goto('admin/content/comment'); } else { return confirm_form($form, t('Are you sure you want to delete these comments and all their children?'), - 'admin/content/content/comment', t('This action cannot be undone.'), + 'admin/content/comment', t('This action cannot be undone.'), t('Delete comments'), t('Cancel')); } } @@ -205,7 +205,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/content/comment'; + $form_state['redirect'] = 'admin/content/comment'; } /** |