예제 #1
0
			</div>
		</div>
	</section>

	<section>
		<div class="container">
			<div class="row content">
				<div class="col s12 m8">
					<div class="row">
						<div class="col s12">
							<?php 
echo $content;
?>
						</div>
					</div>
				</div>
				<div class="col s12 m4">
					<?php 
if ($menuContent->parentItem) {
    echo SiblingMenus::widget(['parentMenuItemId' => $menuContent->parent_id, 'currentMenuItemId' => $menuContent->id, 'parentMenuTitle' => $menuContent->parentItem->title]);
}
?>
					<?php 
echo $this->renderFile('@frontend/themes/basic/components/_buttons.php', ['url' => Url::current([], true)]);
?>
				</div>
			</div>
		</div>
	</section>
<?php 
$this->endContent();
예제 #2
0
	<section>
		<div class="container">
			<div class="row content">
				<div class="col s12 m8">
					<?php 
echo $content;
?>
				</div>
				<div class="col s12 m4">
					<?php 
echo SubMenus::widget(['parentMenuItemId' => $menuContent->id, 'title' => '<i class="material-icons right">arrow_downward</i>' . ucfirst($this->title)]);
?>
					<?php 
if ($menuContent->parentItem) {
    echo SiblingMenus::widget(['title' => '<i class="material-icons right">arrow_forward</i>' . Yii::t('front', 'Next pages in menu'), 'parentMenuItemId' => $menuContent->parent_id, 'currentMenuItemId' => $menuContent->id, 'parentMenuTitle' => $menuContent->parentItem->title]);
}
?>
					<?php 
echo $map->display();
?>
					<?php 
echo $this->renderFile('@frontend/themes/basic/components/_buttons.php', ['url' => Url::current([], true)]);
?>
				</div>
			</div>
		</div>
	</section>

<?php 
$this->endContent();