beginPage()?> <?= Html::encode($this->title) ?> head()?> beginBody()?>
homeUrl || strpos ( BaseUrl::current (), 'site/index' )) { NavBar::begin ( [ 'brandLabel' => '"Global Genome Bodiversity Network (GGBN)" writing/brand ', 'brandUrl' => 'http://ggbn.org', 'options' => [ // 'class' => 'navbar-inverse navbar-fixed-top' , 'encodeLabels' => true ] ] ); } else { NavBar::begin ( [ 'brandLabel' => '"Global Genome Bodiversity Network (GGBN)" writing/brand ', 'brandUrl' => 'http://ggbn.org', 'options' => [ // 'class' => 'navbar-inverse navbar-fixed-top' , 'encodeLabels' => true ] ] ); } $menuItems = [ [ 'label' => 'Home', 'url' => 'http://ggbn.org', ] , [ 'label' => 'Search', 'url' => 'http://data.ggbn.org/query.php' , 'linkOptions' => [ "title" => 'Data portal' ] ], [ 'label' => 'Repositories', 'url' => 'http://registry.ggbn.org/' ], [ 'label' => 'Library', 'url' => 'http://library.ggbn.org/' ], [ 'label' => 'About', 'url' => ['/site/about'] ], [ 'label' => 'Meetings', 'url' => 'http://meetings.ggbn.org/' ], // [ // 'label' => 'About', // 'url' => [ // '/site/about', // 'view' => 'about' // ] // ] // [ // 'label' => 'Contact', // 'url' => [ // '/site/contact' // ] // ] ]; if (Yii::$app->user->isGuest) { // $menuItems [] = [ // 'label' => 'Signup', // 'url' => [ // '/site/signup' // ] // ]; // $menuItems [] = [ // 'label' => 'Login', // 'url' => [ // '/site/login' // ] // ]; } else { // $menuItems [] = [ // 'label' => 'Logout (' . Yii::$app->user->identity->username . ')', // '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'] : [ ] ] )?>
endBody()?>
endPage()?>