Beispiel #1
0
/**
 *
 * @package hass\package_name
 * @author zhepama <*****@*****.**>
 * @since 0.1.0
 *       
 */
?>


<section class="section full-width-bg gray-bg">
	<div class="content clearfix">
		<div class="cont-left">

            <?php 
echo MenuRenderWidget::widget(["slug" => "page-sidebar", "options" => ["class" => "selects"], 'showParentUrl' => true, 'activeCssClass' => 'cur']);
?>

        </div>
		<!-- cont-left END 选项卡左边部分-->
		<div class="cont-right">
			<div class="aboutUs">
				<h3><?php 
echo $page->title;
?>
</h3>
				<p>
                    <?php 
echo $page->content;
?>
                </p>
Beispiel #2
0
			</div>
			<!-- /Main Header -->


			<!-- Lower Header -->
			<div id="lower-header">
				<div class="container">
					<div id="menu-button">
						<div>
							<span></span> <span></span> <span></span>
						</div>
						<span>Menu</span>
					</div>
					<?php 
echo MenuRenderWidget::widget(["slug" => "main-menu", "options" => ["id" => "navigation"], 'showParentUrl' => true, 'activeCssClass' => 'current-menu-item', "labelTemplate" => '<span>{label}</span>']);
?>
				</div>
			</div>
			<!-- /Lower Header -->


		</header>
		<!-- /Header -->
		<section id="content">
			<?php 
echo $content;
?>
		</section>

		<!-- Footer -->
Beispiel #3
0
 public static function menu($slug = "", $config = [])
 {
     $config["slug"] = $slug;
     return MenuRenderWidget::widget($config);
 }