You are here

function theme_ed_classified_taxonomy_catlist in Classified Ads 5

Same name and namespace in other branches
  1. 5.2 ed_classified_themefuncs.inc \theme_ed_classified_taxonomy_catlist()
  2. 6.2 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 106
$ Simple text-based classified ads module. Michael Curry, Exodus Development, Inc. exodusdev@gmail.com for more information, please visit http://exodusdev.com/drupal/modules/classified.module Copyright (c) 2006, 2007 Exodus Development, Inc. All…

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;
}