'; } ?>
'.$flash['error'].'
'; } else { echo '
'; } ?> $categoryComponents) { foreach($categoryComponents as $component) { $func = str_replace('-', '_', $component['component']); if(function_exists($func)) { $retVal = call_user_func($func, $component); if($retVal <> '') { if($lastCategory == $selectedCat && $lastCategory <> $category) { echo '
'.$category.''; $lastComponent = ''; } elseif($lastCategory <> $category) { echo '
'.$category.''; $lastComponent = ''; } echo $retVal; if(isset($component['append_divider']) && $component['append_divider'] == "true") { echo '
'; } $lastCategory = $category; } } } } if($lastCategory <> $selectedCat) { echo '
'; } ?>
'; } ?>