beginPage()?> user->isGuest) { echo " "; } ?> <?= Html::encode($this->title) ?> head()?> beginBody()?>
homeUrl || strpos ( BaseUrl::current (), 'site/index' )) { NavBar::begin ( [ 'brandLabel' => '"Global Genome Bodiversity Network (GGBN)" writing/brand ', 'brandUrl' => Yii::$app->homeUrl, 'options' => [ // 'class' => 'navbar-inverse navbar-fixed-top' , 'encodeLabels' => true ] ] ); } else { NavBar::begin ( [ 'brandLabel' => '"Global Genome Bodiversity Network (GGBN)" writing/brand ', 'brandUrl' => Yii::$app->homeUrl, 'options' => [ // 'class' => 'navbar-inverse navbar-fixed-top' , 'encodeLabels' => true ] ] ); } $menuItems = [ [ 'label' => 'This is currently a beta (ß) version', 'options'=>['class'=>'info'], ], [ 'label' => 'Home', 'url' => Yii::$app->homeUrl ], [ 'label' => 'Search', 'items' => [ ['label' => 'Search form', 'url' => ['/search/index']], '
  • ', ['label' => 'Browse (ß)', 'url' => ['/search/browse']], ], 'url' => [ '/search/index' ], 'linkOptions' => [ "title" => 'Data portal' ] ], [ 'label' => 'Repositories', 'items' => [ ['label' => 'Registry', 'url' => 'http://registry.ggbn.org/','linkOptions' => array( 'target' => '_blank' ),], '
  • ', ['label' => 'Statistics (ß)', 'url' => ['/stats/index']], ], ], [ 'label' => 'Library', 'url' => 'http://library.ggbn.org/', 'linkOptions' => array( 'target' => '_blank' ), ], [ 'label' => 'About', 'url' => [ '/site/about' ], ], [ 'label' => 'Meetings', 'url' => 'http://meetings.ggbn.org', 'linkOptions' => array( 'target' => '_blank' ), ] ] // [ // 'label' => 'Contact', // 'url' => [ // '/site/contact' // ] // ] ; if (Yii::$app->user->isGuest) { $menuItems [] = [ 'label' => 'Signup', 'url' => [ '/site/signup' ] ]; $menuItems [] = [ 'label' => 'Login', 'url' => [ '/site/login' ] ]; } else { if(\Yii::$app->user->can('validateUser')){ $menuItems [] = [ 'label' => 'Admin', 'items'=>[ ['label' => 'Validation', 'url' => ['/validation/validation?token'],'linkOptions' => ['data-method' => 'post']], '
  • ', ['label' => 'User profiles', 'url' =>['/account/admin']], '
  • ', ['label' => 'New Institution', 'url' =>['/validation/new']], '
  • ', ['label' => 'New Contact', 'url' =>['/validation/contactperson']] ] ]; } $menuItems [] = [ 'label' => 'Account (Cart)', 'items' => [ ['label' => 'Profile', 'url' => ['/account/profile']], '
  • ', ['label' => 'Settings', 'url' => ['/account/settings']], '
  • ', ['label' => 'Searches', 'url' => ['/account/searches']], '
  • ', ['label' => 'Shopping Cart', 'url' => ['/cart/cart']], '
  • ', ['label' => 'Recent orders', 'url' => ['/account/orders']], '
  • ', ['label' => 'Logout', 'url' => ['/site/logout'],'linkOptions' => [ 'data-method' => 'post' ]] ], ]; } echo Nav::widget ( [ 'options' => [ 'class' => 'navbar-nav navbar-right' ], 'items' => $menuItems ] ); NavBar::end (); ?> isset ( $this->params ['breadcrumbs'] ) ? $this->params ['breadcrumbs'] : [ ] ] )?> render("/site/feedback",["model"=>new FeedbackForm()])?> endBody()?>
    Feedback!
    endPage()?>