bootstrap->register(); ?>
pageTitle); ?>
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' => '#', '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]
],
],
MsHtml::navbarSearchForm('search', '',
[
'class' => 'pull-right',
'placeholder' => 'Search',
'inputOptions' =>
[
'append' => MsHtml::submitButton(MsHtml::icon(MsHtml::ICON_SEARCH)),
'addOnOptions' =>
[
'class' => 'pull-right',
],
'span' => 2,
]
]),
],
]);
?>
breadcrumbs))
{
$this->widget('bootstrap.widgets.TbBreadcrumb',
[
'links'=>$this->breadcrumbs,
]);
}
?>