Commit 11b0b805 authored by Steven Wittens's avatar Steven Wittens
Browse files

#12186: Add xml icon to taxonomy listings.

parent 98798830
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment