You are here

function theme_uc_catalog_block in Ubercart 6.2

Same name and namespace in other branches
  1. 8.4 uc_catalog/uc_catalog.theme.inc \theme_uc_catalog_block()
  2. 7.3 uc_catalog/uc_catalog.theme.inc \theme_uc_catalog_block()

Themes the catalog block.

See also

theme_uc_catalog_item()

1 theme call to theme_uc_catalog_block()
uc_catalog_block in uc_catalog/uc_catalog.module
Implements hook_block().

File

uc_catalog/uc_catalog.module, line 460
Ubercart Catalog module.

Code

function theme_uc_catalog_block($menu_tree) {
  $output = '<ul class="catalog menu">';
  foreach ($menu_tree->children as $branch) {
    list($inpath, $html) = _uc_catalog_navigation($branch);
    $output .= $html;
  }
  $output .= '</ul>';
  return $output;
}