$this->createUrl('about/index'), 'label' => Yii::t('site', 'О компании'), 'active' => true),
);
foreach ($this->getNode()->nodes as $node)
if (!$node->hidden) {
switch ($node->data_type) {
case('partnersSection'):
$sideMenu[] = array(
'url' => $this->createUrl('partnersSection/partners', array('node_id' => $node->id)),
'label' => $node->i18n->label,
);
break;
case('jobsSection'):
$sideMenu[] = array(
'url' => $this->createUrl('jobsSection/jobs', array('node_id' => $node->id)),
'label' => $node->i18n->label,
);
break;
case('aboutSection'):
$sideMenu[] = array(
'url' => $this->createUrl('aboutSection/index', array('node_id' => $node->id)),
'label' => $node->i18n->label,
);
break;
}
}
$this->widget('zii.widgets.CMenu', array(
'items' => $sideMenu,
'htmlOptions' => array('class' => 'sidebar-nav'),
));
?>
renderPartial('_photoFeed', array('galleryId' => $this->aboutRoot->photo_gallery_id));?>
renderPartial('//snippets/sidebarContacts');?>