template default en HTML5
[mtweb] / mw / app / out / default / views / header.php
index 1126493..499d6fd 100644 (file)
@@ -1 +1,7 @@
-<h1><a href="<?php echo $this->url(); ?>"><span><?php echo $this->config("site_name"); ?></span></a></h1>
+<?php if($this->out_config("navig_menu_top") && ($menu_top = $this->get_link("menu_top")) && $menu_top["subs"]) : ?>
+<nav id="menu_top">
+<?php echo get_menu_ul($menu_top); ?>
+</nav>
+<?php endif; ?>
+
+<h1><a href="<?php echo $this->url(); ?>"><?php echo $this->config("site_name"); ?></a></h1>