diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-08-09 05:14:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-08-09 05:14:03 +0000 |
commit | 290c3fbc38ee700d50d92524fcb77c90d02ddf5f (patch) | |
tree | 02d81efa4b465d912815fbdf7d0e54bda645dc2c | |
parent | 89510864b67a087d9283bfeb6beceaab1bd8070e (diff) | |
download | brdo-290c3fbc38ee700d50d92524fcb77c90d02ddf5f.tar.gz brdo-290c3fbc38ee700d50d92524fcb77c90d02ddf5f.tar.bz2 |
- Patch #9875 by njivy: call to taxonomy_overview() is missing in admin view.
-rw-r--r-- | modules/taxonomy.module | 20 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 20 |
2 files changed, 20 insertions, 20 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 4dc54af5f..62281eb23 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -132,7 +132,7 @@ function taxonomy_save_vocabulary($edit) { cache_clear_all(); drupal_set_message($message); - + return $edit; } @@ -897,33 +897,33 @@ function taxonomy_admin() { switch ($op) { case 'add': if (arg(3) == 'vocabulary') { - $output .= taxonomy_form_vocabulary(); + $output = taxonomy_form_vocabulary(); } else if (arg(3) == 'term') { - $output .= taxonomy_form_term(); + $output = taxonomy_form_term(); } break; case 'edit': if (arg(3) == 'vocabulary') { - $output .= taxonomy_form_vocabulary(object2array(taxonomy_get_vocabulary(arg(4)))); + $output = taxonomy_form_vocabulary(object2array(taxonomy_get_vocabulary(arg(4)))); } else if (arg(3) == 'term') { - $output .= taxonomy_form_term(object2array(taxonomy_get_term(arg(4)))); + $output = taxonomy_form_term(object2array(taxonomy_get_term(arg(4)))); } break; case 'preview': - $output .= taxonomy_form(arg(4)); + $output = taxonomy_form(arg(4)); break; case 'help': - $output .= taxonomy_help(); + $output = taxonomy_help(); break; case t('Delete'): if (!$edit['confirm']) { if (arg(3) == 'vocabulary') { - $output .= _taxonomy_confirm_del_vocabulary($edit['vid']); + $output = _taxonomy_confirm_del_vocabulary($edit['vid']); } else { - $output .= _taxonomy_confirm_del_term($edit['tid']); + $output = _taxonomy_confirm_del_term($edit['tid']); } break; } @@ -939,8 +939,8 @@ function taxonomy_admin() { taxonomy_save_term($edit); } drupal_goto('admin/taxonomy'); - // fall through: default: + $output = taxonomy_overview(); } print theme('page', $output); diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 4dc54af5f..62281eb23 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -132,7 +132,7 @@ function taxonomy_save_vocabulary($edit) { cache_clear_all(); drupal_set_message($message); - + return $edit; } @@ -897,33 +897,33 @@ function taxonomy_admin() { switch ($op) { case 'add': if (arg(3) == 'vocabulary') { - $output .= taxonomy_form_vocabulary(); + $output = taxonomy_form_vocabulary(); } else if (arg(3) == 'term') { - $output .= taxonomy_form_term(); + $output = taxonomy_form_term(); } break; case 'edit': if (arg(3) == 'vocabulary') { - $output .= taxonomy_form_vocabulary(object2array(taxonomy_get_vocabulary(arg(4)))); + $output = taxonomy_form_vocabulary(object2array(taxonomy_get_vocabulary(arg(4)))); } else if (arg(3) == 'term') { - $output .= taxonomy_form_term(object2array(taxonomy_get_term(arg(4)))); + $output = taxonomy_form_term(object2array(taxonomy_get_term(arg(4)))); } break; case 'preview': - $output .= taxonomy_form(arg(4)); + $output = taxonomy_form(arg(4)); break; case 'help': - $output .= taxonomy_help(); + $output = taxonomy_help(); break; case t('Delete'): if (!$edit['confirm']) { if (arg(3) == 'vocabulary') { - $output .= _taxonomy_confirm_del_vocabulary($edit['vid']); + $output = _taxonomy_confirm_del_vocabulary($edit['vid']); } else { - $output .= _taxonomy_confirm_del_term($edit['tid']); + $output = _taxonomy_confirm_del_term($edit['tid']); } break; } @@ -939,8 +939,8 @@ function taxonomy_admin() { taxonomy_save_term($edit); } drupal_goto('admin/taxonomy'); - // fall through: default: + $output = taxonomy_overview(); } print theme('page', $output); |