You are here

function theme_ed_classified_taxonomy_ads in Classified Ads 5.2

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

File

./ed_classified_themefuncs.inc, line 151
$ 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_ads($ads) {
  $content .= '<ul class="classified-ad-list">';
  $rowcount = 0;
  foreach ($ads as $ad) {
    $content .= theme('ed_classified_category_list_ad_row', $ad, $rowcount);
    $rowcount++;
  }
  $content .= "</ul>\n";
  return $content;
}