templates/relaunch2017/nav_mainnavigation.html5 line 16

Open in your IDE?
  1. <ul class="<?= $this->level ?> <?php if ($this->level == 'level_1'): ?>nav navbar-nav navbar-right<?php endif; ?> <?php if ($this->level != 'level_1'): ?>dropdown-menu<?php endif; ?>">
  2.   <?php foreach ($this->items as $item): ?>
  3.     <?php if ($item['isActive']): ?>
  4.           <?php if ( $this->level == 'level_1' && $item['subitems'] != '')
  5.           {
  6.               $liDropdownclass 'dropdown';
  7.               $ahrefDropdownclass='dropdown-toggle js-activated';
  8.               $ahrefDatafields 'data-toggle="dropdown" role="button" aria-expanded="false"';
  9.           }
  10.           ?>
  11.       <li class="<?= $liDropdownclass?> <?= $item['class'?>"><a class="<?= $ahrefDropdownclass?> <?= $item['class'?>"<?php if (!empty($item['subitems'])) echo ' aria-haspopup="true"'?> <?= $ahrefDatafields?>><?= $item['link'?></a><?= $item['subitems'?></li>
  12.     <?php else: ?>
  13.         <?php
  14.       $liDropdownclass '';
  15.       $ahrefDropdownclass='';
  16.       $ahrefDatafields '';
  17.       ?>
  18.       <?php if ( $this->level == 'level_1' && $item['subitems'] != '')
  19.       {
  20.         $liDropdownclass 'dropdown';
  21.         $ahrefDropdownclass='dropdown-toggle js-activated';
  22.         $ahrefDatafields 'data-toggle="dropdown" role="button" aria-expanded="false"';
  23.       }
  24.       ?>
  25.       <li<?php if ($item['class']) echo ' class="' $item['class'] . ' '.$liDropdownclass.'"'?>>
  26.         <a href="<?= $item['href'] ?: './' ?>" title="<?= $item['pageTitle'] ?: $item['title'?>"<?php if ($item['class']) echo ' class="' $item['class'] . ' '.$ahrefDropdownclass.'" '.$ahrefDatafields.''?><?php if ($item['accesskey']) echo ' accesskey="' $item['accesskey'] . '"'?><?php if ($item['tabindex']) echo ' tabindex="' $item['tabindex'] . '"'?><?php if ($item['nofollow']) echo ' rel="nofollow"'?><?= $item['target'?><?php if (!empty($item['subitems'])) echo ' aria-haspopup="true"'?>><?= $item['link'?>
  27.         </a>
  28.         <?= $item['subitems'?>
  29.       </li>
  30.     <?php endif; ?>
  31.   <?php endforeach; ?>
  32.   <?php if ($this->level == 'level_1'): ?>
  33.     <li class="search-toggle"><a href="javascript:void(0)"><i class="fa fa-search" aria-hidden="true"></i></a>
  34.       <form class="search-form">
  35.         <input type="text" class="form-control" placeholder="Suchbegriff eingeben">
  36.         <button type="submit" style="display: none">Search</button>
  37.       </form>
  38.     </li>
  39.   <?php endif; ?>
  40. </ul>