1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
<?php foreach ($this->rootItems as $item): ?>
<div class="horde-navipoint">
<div class="horde-point-left<?php if ($this->items[$item]['active']): ?>-active<?php endif ?>"></div>
<ul class="horde-dropdown">
<li>
<div class="<?php echo $this->items[$item]['class'] ?>">
<a class="horde-mainnavi<?php if ($this->items[$item]['active']): ?>-active<?php endif ?>" href="<?php echo $this->items[$item]['url'] ?: '#' ?>"<?php if (!empty($this->items[$item]['target'])) echo ' target="' . $this->items[$item]['target'] . '"'?><?php if (!empty($this->items[$item]['onclick'])) echo ' onclick="' . htmlspecialchars($this->items[$item]['onclick']) . '"'?>>
<?php if (!empty($this->items[$item]['children']) && empty($this->items[$item]['noarrow'])): ?>
<span class="horde-point-arrow<?php if ($this->items[$item]['active']): ?>-active<?php endif ?>">▾</span>
<?php endif ?>
<?php echo htmlspecialchars($this->items[$item]['label']) ?>
</a>
</div>
<?php if (!empty($this->items[$item]['children'])): ?>
<?php echo $this->renderPartial('submenu', array('locals' => array('items' => $this->items[$item]['children']))) ?>
<?php endif ?>
</li>
</ul>
<div class="horde-point-right<?php if ($this->items[$item]['active']): ?>-active<?php endif ?>"></div>
</div>
<?php endforeach ?>
|