Projekt

Obecné

Profil

Stáhnout (598 Bajtů) Statistiky
| Větev: | Tag: | Revize:
8baed187 Michal Kliment
<ul>
c1bdc1c4 Michal Kliment
<?php foreach ($groups as $group): ?>
<li class="<?php echo $group->name ?>"><h2><?php echo $group->label ?></h2>
8baed187 Michal Kliment
<ul>
c1bdc1c4 Michal Kliment
<?php foreach ($group->items as $item): ?>
<li>
<?php $attributes = null; ?>
<?php if (isset($item->default)): $attributes = array( 'class' => 'bold'); endif; ?>
<?php echo html::anchor($item->url, $item->label, $attributes); ?>
<?php if (isset($item->count)): ?>
<?php echo html::menu_item_counter($item->count, (isset($item->color) ? $item->color : '')) ?>
<?php endif ?>
</li>
<?php endforeach ?>
8baed187 Michal Kliment
</ul>
c1bdc1c4 Michal Kliment
<?php endforeach ?>
</ul>