diff options
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index e4c9cac09..d72be2b6f 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1080,7 +1080,7 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') { $output = taxonomy_render_nodes(taxonomy_select_nodes($tids, $operator, $depth, TRUE)); $output .= theme('xml_icon', url("taxonomy/term/$rss_tids/$depth/feed")); - print theme('page', $output); + return $output; break; case 'feed': @@ -1118,8 +1118,7 @@ function taxonomy_admin() { if (is_numeric(arg(2)) && arg(3) == 'add' && arg(4) == 'term') { if ($op != t('Submit')) { $output = taxonomy_form_term(array('vid' => arg(2))); - print theme('page', $output); - return; + return $output; } else { taxonomy_save_term($edit); @@ -1170,7 +1169,7 @@ function taxonomy_admin() { $output = taxonomy_overview(); } - print theme('page', $output); + return $output; } /** |