File: menu.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 (21 lines) | stat: -rw-r--r-- 1,390 bytes parent folder | download | duplicates (6)
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 ?>">&#9662;</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 ?>