--- themes/engines/phptemplate/phptemplate.engine.orig 2004-12-02 01:42:22.673902896 +0100 +++ themes/engines/phptemplate/phptemplate.engine 2004-12-02 01:40:47.297402328 +0100 @@ -73,7 +73,8 @@ 'toggle_primary_links', 'toggle_secondary_links', 'toggle_node_user_picture', - 'toggle_comment_user_picture'); + 'toggle_comment_user_picture', + 'toggle_taxonomy_images'); } @@ -214,6 +215,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'"); + } + } $links = link_node($node, $main); $vars = array( 'title' => $node->title, @@ -232,7 +238,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 : NULL ); // Display info only on certain node types.