diff view/layout/default/base.tt @ 12:d9551c7e7101

improved dox library
author sergey
date Fri, 16 May 2014 16:47:50 +0400
parents 573272ec604b
children d997ff96acf1
line wrap: on
line diff
--- a/view/layout/default/base.tt	Thu May 15 18:24:02 2014 +0400
+++ b/view/layout/default/base.tt	Fri May 16 16:47:50 2014 +0400
@@ -2,9 +2,6 @@
 	document.css.push(css.global);
 	document.css.push(css.forms);
 %]
-[% IF document.menu.page.size;
-	render('menu', items = document.menu.page, class='menu-bar', id='page-menu');
-END %]
 <div id="header">
 	[%
 		render(
@@ -36,4 +33,10 @@
 	%]
 	<div style="clear: both"></div>
 </div>
-$content
\ No newline at end of file
+
+[% IF document.menu.page.size;
+	render('menu', items = document.menu.page, class='menu-bar', id='page-menu');
+END %]
+<div id="page-content">
+	$content
+</div>
\ No newline at end of file