You are here

function theme_ed_classified_taxonomy_catlist in Classified Ads 6.2

Same name and namespace in other branches
  1. 5.2 ed_classified_themefuncs.inc \theme_ed_classified_taxonomy_catlist()
  2. 5 ed_classified_themefuncs.inc \theme_ed_classified_taxonomy_catlist()
  3. 7.2 ed_classified_themefuncs.inc \theme_ed_classified_taxonomy_catlist()
1 theme call to theme_ed_classified_taxonomy_catlist()
theme_ed_classified_taxonomy in ./ed_classified_themefuncs.inc
Theme a classified ads taxonomy browser page

File

./ed_classified_themefuncs.inc, line 111
$ Simple text-based classified ads module.

Code

function theme_ed_classified_taxonomy_catlist($cats) {
  $row_count = 0;
  $content = '<ul class="classified-category-list">';
  foreach ($cats as $cat) {
    $content .= theme('ed_classified_category_list_row', $cat, $row_count);
    $row_count++;
  }
  $content .= "</ul>\n";
  return $content;
}