protected function createControls() { if (!isset($this->request->page)) { $page = Application::currentPage()->id; } else { $page = new Page($this->request->page); } $panel = new StdControls\CaptionedPanelControl($this, 'panel'); $panel->setCaption($page->pa_bezeichnung); $menu = new SiteMenuControl($this, 'submenu'); $menu->setRootPage($page); }
</ul> </div> <div class="logo-element"> <img src="<?php echo Template::img('logo.png'); ?> "> </div> </li> <!-- Main-Menu --> <?php $menu = new SiteMenuControl(null, 'menuMain1'); $menu->display(); ?> </ul> </div> </nav> <div id="page-wrapper" class="gray-bg"> <!-- Top-Bar --> <div class="row border-bottom">