--- D:/xampp/htdocs/drupal-p3-sam/sites/all/modules/term_display/ORIG term_display.module Thu Feb 05 16:51:28 2009
+++ D:/xampp/htdocs/drupal-p3-sam/sites/all/modules/term_display/term_display.module Thu Feb 05 16:51:58 2009
@@ -134,14 +134,13 @@
* Theme terms as a list.
*/
function theme_term_display_list($vocabulary, $terms) {
- $output = '
' . check_plain($vocabulary->name) . "
\n";
- $output .= "\n";
foreach($terms as $term) {
- $output .= ' - ' . l($term->name, taxonomy_term_path($term)) . "
\n";
+ $term_links[] = l($term->name, taxonomy_term_path($term));
}
- $output .= "
\n";
- return $output;
+
+ return theme('item_list', $term_links, check_plain($vocabulary->name));
}
+
/**
* Theme terms as a comma-separated list.