From 11b0b805fa2e42cfc0d3f0afbcfc1157a493b4ea Mon Sep 17 00:00:00 2001 From: Steven Wittens <steven@10.no-reply.drupal.org> Date: Thu, 28 Oct 2004 23:46:10 +0000 Subject: [PATCH] #12186: Add xml icon to taxonomy listings. --- modules/taxonomy.module | 1 + modules/taxonomy/taxonomy.module | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 315395446ab9..6f830d57aabd 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 315395446ab9..6f830d57aabd 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; -- GitLab