renderPartial('//snippets/headerGallery'); ?>
$item->i18n->name, 'url' => $this->createUrl('partnersSection/partner', array('link' => $item->link)), 'active' => $item->id == $partner->id, ); } $sideMenu = array( array('url' => $this->createUrl('about/index', array('node_id' => $this->root_node_id)), 'label' => Yii::t('site', 'О компании')), ); foreach ($this->getRootNode()->nodes as $node) if (!$node->hidden) { $sideMenuItem = null; switch ($node->data_type) { case('partnersSection'): $sideMenuItem = array( 'url' => $this->createUrl('partnersSection/partners', array('node_id' => $node->id)), 'label' => $node->i18n->label, ); break; case('jobsSection'): $sideMenuItem = 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; } if (!empty($sideMenuItem)) { $sideMenuItem['active'] = $node->id == $this->node_id; if ($sideMenuItem['active']) { $sideMenuItem['items'] = $items; } $sideMenu[] = $sideMenuItem; } } $this->widget('zii.widgets.CMenu', array( 'items' => $sideMenu, 'htmlOptions' => array('class' => 'sidebar-nav'), )); ?> renderPartial('//about/_photoFeed', array('galleryId' => $this->getAboutRoot()->photo_gallery_id));?>

pageName)?>

i18n->content1 ?>

$partner->i18n->name));?>

brands as $brand): ?>
i18n->content2 ?> gallery_id != null && $partner->galleryBehavior->getGalleryPhotoCount() > 0): ?>

i18n->gallery_heading?>

i18n->content3 ?>

renderPartial('//snippets/sidebarContacts');?>
clientScript; $cs->registerCoreScript('jquery'); //$cs->registerScriptFile(Yii::app()->baseUrl . '/js/fancybox/jquery.mousewheel-3.0.4.pack.js'); $cs->registerScriptFile(Yii::app()->baseUrl . '/js/fancybox/jquery.fancybox-1.3.4.pack.js'); $cs->registerCssFile(Yii::app()->baseUrl . '/js/fancybox/jquery.fancybox-1.3.4.css'); $src = << '; if(description.length) r+=description; if(r.length) return ''+r+''; else return ''; } }); JS; $cs->registerScript('fancybox_gallery', $src); ?>