summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-04-24 16:34:36 +0000
committerDries Buytaert <dries@buytaert.net>2005-04-24 16:34:36 +0000
commita76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9 (patch)
tree77a2538001468623dc122943f019daeb6fce9be1 /modules/taxonomy/taxonomy.module
parent79a5700c57e8ed86b4aab66022a448df978d2e3f (diff)
downloadbrdo-a76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9.tar.gz
brdo-a76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9.tar.bz2
- Patch 20910 by chx: centralize print theme page.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r--modules/taxonomy/taxonomy.module7
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;
}
/**