selectedNav)) $this->selectedNav = "";
$this->widget('bootstrap.widgets.TbNavbar',
[
'brandLabel' => '
',
'brandUrl' => '/',
'display' => null,
'htmlOptions' =>
[
'class' => 'cstm-main-navbar'
],
'items' =>
[
[
'class' => 'bootstrap.widgets.TbNav',
'items' =>
[
['label' => 'Home', 'url' => '/', 'active' => ($this->selectedNav === 'index')],
['label' => 'Blog', 'url' => '/blog', 'active' => ($this->selectedNav === 'blog')],
['label' => 'Programs', 'url' => '/programs', 'active' => ($this->selectedNav === 'prog')],
['label' => '', 'items' => ProgramHelper::GetProgDropDownList(), 'htmlOptions' => ['class' => 'dropdown-append']],
['label' => 'About', 'url' => '/about', 'active' => ($this->selectedNav === 'about')],
['label' => '[[Log "' . Yii::app()->user->name . '" out]]', 'url' => '/logout', 'visible' => !Yii::app()->user->isGuest, 'htmlOptions' => ['class' => 'cstm-main-navbar-highlight']]
],
],
MsHtml::navbarSearchForm('/search', '',
[
'class' => 'pull-right',
'placeholder' => 'Search',
'inputOptions' =>
[
'value' => $this->searchvalue,
'append' => MsHtml::submitButton(MsHtml::icon(MsHtml::ICON_SEARCH)),
'addOnOptions' =>
[
'class' => 'pull-right',
],
'span' => 2,
]
]),
],
]);
?>
breadcrumbs)) {
$this->widget('bootstrap.widgets.TbBreadcrumb',
[
'links' => $this->breadcrumbs,
]);
}
?>
js_files as $file)
{
echo "\r\n";
}
foreach ($this->js_scripts as $script) {
echo '', PHP_EOL;
}
?>