summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-10-28 23:46:10 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-10-28 23:46:10 +0000
commit11b0b805fa2e42cfc0d3f0afbcfc1157a493b4ea (patch)
treeab27953f45a592398c85138268b95bb98a42ec9d
parent987988300ae37611813f62526394ec0d1713dce7 (diff)
downloadbrdo-11b0b805fa2e42cfc0d3f0afbcfc1157a493b4ea.tar.gz
brdo-11b0b805fa2e42cfc0d3f0afbcfc1157a493b4ea.tar.bz2
#12186: Add xml icon to taxonomy listings.
-rw-r--r--modules/taxonomy.module1
-rw-r--r--modules/taxonomy/taxonomy.module1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index 315395446..6f830d57a 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -919,6 +919,7 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') {
drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS - '. $title .'" href="'. url('taxonomy/term/'. $str_tids .'/'. $depth .'/feed') .'" />');
$output = taxonomy_render_nodes(taxonomy_select_nodes($tids, $operator, $depth, TRUE));
+ $output .= theme('xml_icon', url("taxonomy/term/$str_tids/$depth/feed"));
print theme('page', $output, $title);
break;
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 315395446..6f830d57a 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -919,6 +919,7 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') {
drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS - '. $title .'" href="'. url('taxonomy/term/'. $str_tids .'/'. $depth .'/feed') .'" />');
$output = taxonomy_render_nodes(taxonomy_select_nodes($tids, $operator, $depth, TRUE));
+ $output .= theme('xml_icon', url("taxonomy/term/$str_tids/$depth/feed"));
print theme('page', $output, $title);
break;