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' =>
[
array('label' => 'Home', 'url' => '/', 'active' => ($this->selectedNav === 'index')),
array('label' => 'Blog', 'url' => '#', 'active' => ($this->selectedNav === 'blog')),
array('label' => 'Programme', 'url' => '/programme/', 'active' => ($this->selectedNav === 'prog')),
array('label' => 'About', 'url' => '/about', 'active' => ($this->selectedNav === 'about')),
],
],
TbHtml::navbarSearchForm('search', '',
[
'class' => 'pull-right',
'placeholder' => 'Search',
'inputOptions' =>
[
'append' => TbHtml::submitButton(TbHtml::icon(TbHtml::ICON_SEARCH)),
'addOnOptions' =>
[
'class' => 'pull-right',
],
'span' => 2,
]
]),
],
]);
?>
breadcrumbs))
{
$this->widget('bootstrap.widgets.TbBreadcrumb',
[
'links'=>$this->breadcrumbs,
]);
}
?>