Index: phptemplate.engine =================================================================== RCS file: /cvs/drupal-contrib/contributions/theme-engines/phptemplate/phptemplate.engine,v retrieving revision 1.14 diff -u -r1.14 phptemplate.engine --- phptemplate.engine 25 Nov 2004 00:08:23 -0000 1.14 +++ phptemplate.engine 16 Dec 2004 23:46:10 -0000 @@ -72,7 +72,8 @@ 'toggle_primary_links', 'toggle_secondary_links', 'toggle_node_user_picture', - 'toggle_comment_user_picture'); + 'toggle_comment_user_picture', + 'toggle_taxonomy_images'); } @@ -237,6 +238,11 @@ else { $taxonomy = array(); } + if (module_exist("taxonomy_image")) { + foreach (taxonomy_node_get_terms($node->nid) as $term) { + $taxonomy_images[] = taxonomy_image_display($term->tid, "alt='$term->name'"); + } + } $vars = array( 'title' => $node->title, 'node_url' => url('node/' . $node->nid), @@ -254,7 +260,8 @@ /* Lastly , pass the actual node to allow more customization */ 'node' => $node, 'main' => $main, - 'page' => $page + 'page' => $page, + 'taxonomy_images'=> theme_get_setting('toggle_taxonomy_images') ? $taxonomy_images : '' ); // Display info only on certain node types.