File: _submenu.html.php

package info (click to toggle)
php-horde 5.2.1%2Bdebian0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 12,196 kB
  • sloc: php: 11,089; xml: 6,460; sh: 96; makefile: 33; sql: 1
file content (10 lines) | stat: -rw-r--r-- 928 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
        <ul>
<?php foreach ($items as $item): ?>
          <li<?php if (!empty($this->items[$item]['children'])): ?> class="arrow"<?php endif ?>>
            <div class="horde-drowdown-str"><?php if (!empty($this->items[$item]['url'])): ?><a class="horde-mainnavi" 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 endif ?><?php echo htmlspecialchars($this->items[$item]['label']) ?><?php if (!empty($this->items[$item]['url'])): ?></a><?php endif ?></div>
<?php if (!empty($this->items[$item]['children'])): ?>
<?php echo $this->renderPartial('submenu', array('locals' => array('items' => $this->items[$item]['children']))) ?>
<?php endif ?>
          </li>
<?php endforeach ?>
        </ul>