<?php $account = $this->auth()->getManager(); ?>

<div class="navigation-header">
  <div class="inside">
    <a href="https://www.bibb.de" style="float:left; padding: 10px 0 10px 40px;">
      <img src="../../../vufind/themes/bibb_new/images/bibb_logo.svg" alt="Logo Bibb" height="20px" style="float:left; margin-right:20px;">
    </a>
    <ul>

      <li class="home"><a href="https://lit.bibb.de"><?=$this->transEsc("Homepage")?></a></li>
      <li class="storage"><a href="https://www.bibb.de/repository"><?=$this->transEsc("About the VET Repository")?></a></li>
      <li class="library"><a href="https://www.bibb.de/bibliothek/"><?=$this->transEsc("About the Library")?></a></li>

      <?php if (isset($this->layout()->allLangs) && count($this->layout()->allLangs) > 1): ?>
      <li class="language dropdown">
        <form method="post" name="langForm" id="langForm">
          <input type="hidden" name="mylang"/>
        </form>
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?=$this->transEsc("Language")?> <b class="caret"></b></a>
        <ul class="dropdown-menu">
          <?php foreach ($this->layout()->allLangs as $langCode => $langName): ?>
          <li<?=$this->layout()->userLang == $langCode ? ' class="active"' : ''?>><a href="#" onClick="document.langForm.mylang.value='<?=$langCode?>';document.langForm.submit()"><?=$this->displayLanguageOption($langName)?></a></li>
        <?php endforeach; ?>
      </ul>
    </li>
  <?php endif; ?>

</ul>
</div>
</div>

<div class="header-wrapper-top ym-wrapper">
  <div class="ym-wbox">
    <div class="ym-wbox-inside">

      <div class="banner container navbar">
	<!-- START Hinweisfenster auf Hauptbildschirm -->
	<!--<div class="banner container navbar" style="background-color:#f8f4ff;border-color:#d9c3c7;">
		<div class="row">
       			<div class="col-sm-10 col-md-10 col-lg-10">

				<h5>Hinweis: Eingeschränkte Suchfunktion im VET Repository</h5>
				<p>Leider steht unsere Suchfunktion derzeit nicht durchgehend zur Verfügung. Es kann zu zeitweisen Unterbrechungen oder eingeschränkter Funktionalität kommen. </p>
<p>Wir arbeiten bereits an einer Lösung und bitten um Ihr Verständnis.</p>
<p>&nbsp;</p>
<p>Vielen Dank für Ihre Geduld!</p>	


                		<h5>Probleme in der Suche nach Volltexten sowie bei bestimmten Sucheinschränkungen!</h5>
                        	<p>Aktuell funktionieren die Suche "Nur Volltexte" sowie die beiden Sucheinschränkungen "Volltext" (Checkbox oben) und "Format" (Facette) innerhalb der Funktion "Suche verfeinern" von Trefferlisten nicht korrekt!<p> <br /><p>Wir arbeiten daran, das Problem schnellstmöglich zu lösen und bitten bis dahin um Ihr Verständnis.</p>
			
                        	<br />
                 	</div>

		</div>
	</div>
	<br />
     ENDE Hinweisfenster auf Hauptbildschirm -->
        <div class="header-logo">
          <a href="/vufind">
            <img src="/vufind/themes/bibb/images/vet_repository.png" alt="Logo VET Repository" height="45" style="float:left; margin-right:20px;">
            <img src="/vufind/themes/bibb/images/bibb_library_logo.png" height="21" alt="Logo BIBB-Bibliothek">
          </a>
        </div>

        <div class="col-sm-3 col-md-3 col-lg-3">

        </div>
        <div class="col-sm-1 col-md-1 col-lg-1">&nbsp;</div>
        <div class="col-sm-3 col-md-3 col-lg-3">

        </div>

        <div class="navigation-main-mobile">
          <ul id="smartmenu" class="sm sm-bibb" data-smartmenus-id="1502450685342937">
            <li class="pos0">
              <span style="display:inline-block;height:6.2em;padding-bottom:4.1em;"><a href="https://lit.bibb.de/" target="_self">&nbsp;</a></span>
            </li>
            <li class="pos2">
              <a href="https://www.bibb.de/de/90896.php" class="has-submenu"><span class="sub-arrow">+</span><?=$this->transEsc("VET Repository")?></a>
            </li>

            <li class="pos3">
              <a href="https://www.bibb.de/de/756.php" class="has-submenu"><span class="sub-arrow">+</span><?=$this->transEsc("Library")?></a>
            </li>

          </ul>
        </div>

        <?php if (!isset($this->layout()->renderingError)): ?>
        <div class="collapse navbar-collapse" id="header-collapse">
          <nav>
            <ul role="navigation" class="nav navbar-nav navbar-right flip">
              <?php $cart = $this->cart(); if ($cart->isActive()): ?>

            <?php endif; ?>
            <?php if (is_object($account) && $account->loginEnabled()): // hide login/logout if unavailable ?>
            <li class="logoutOptions<?php if(!$account->isLoggedIn()): ?> hidden<?php endif ?>">
              <a href="<?=$this->url('myresearch-home', array(), array('query' => array('redirect' => 0)))?>"><?=$this->transEsc("Your Account")?></a>
            </li>

            <li id="cartSummary">
              <a id="cartItems" data-lightbox title="<?=$this->transEsc('View Book Bag')?>" href="<?=$this->url('cart-home')?>">
                <strong><?=count($cart->getItems())?></strong> <?=$this->transEsc('items')?>
                <span class="full<?=!$cart->isFull() ? ' hidden' : '' ?>">(<?=$this->transEsc('bookbag_full') ?>)</span>
              </a>
            </li>

            <li class="logoutOptions<?php if(!$account->isLoggedIn()): ?> hidden<?php endif ?>">
              <a href="<?=$this->url('myresearch-logout')?>" class="logout"> <?=$this->transEsc("Log Out")?></a>
            </li>
            <li id="loginOptions"<?php if($account->isLoggedIn()): ?> class="hidden"<?php endif ?>>
              <?php if ($account->getSessionInitiator($this->serverUrl($this->url('myresearch-home')))): ?>
              <a href="<?=$this->url('myresearch-userlogin')?>"><i class="fa fa-sign-in" aria-hidden="true"></i> <?=$this->transEsc("Institutional Login")?></a>
            <?php else: ?>
            <a href="<?=$this->url('myresearch-userlogin')?>" data-lightbox><?=$this->transEsc("Login")?></a>
          <?php endif; ?>
        </li>
      <?php endif; ?>

      <?php if (isset($this->layout()->themeOptions) && count($this->layout()->themeOptions) > 1): ?>
      <li class="theme dropdown">
        <form method="post" name="themeForm" id="themeForm">
          <input type="hidden" name="ui"/>
        </form>
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?=$this->transEsc("Theme")?> <b class="caret"></b></a>
        <ul class="dropdown-menu">
          <?php foreach ($this->layout()->themeOptions as $current): ?>
          <li<?=$current['selected'] ? ' class="active"' : ''?>><a href="#" onClick="document.themeForm.ui.value='<?=$this->escapeHtmlAttr($current['name'])?>';document.themeForm.submit()"><?=$this->transEsc($current['desc'])?></a></li>
        <?php endforeach; ?>
      </ul>
    </li>
  <?php endif; ?>
</ul>
</nav>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php if ($this->layout()->searchbox !== false): ?>

<div class="blue-container">
  <div class="container">
    <div class="col-sm-5 col-md-5 col-lg-5" >
      <h3 style=""><?=$this->transEsc("MainHeadLine")?></h3>
    </div>
    <div class="col-sm-1 col-md-1 col-lg-1" >
    </div>
    <div class="col-sm-6 col-md-6 col-lg-6" >
      <p ><?=$this->transEsc("MainHeaderText")?></p><br>
    </div>

  </div>
</div>


<div class="search container navbar">
  <nav class="nav searchbox hidden-print">
    <?=$this->layout()->searchbox ?>
  </nav>
</div>
<?php endif; ?>
