]> dev.renevier.net Git - syj.git/blobdiff - application/layouts/scripts/layout.phtml
raw mode to display map
[syj.git] / application / layouts / scripts / layout.phtml
index 5736ac1eb908c11202644684b95b422375a187a3..dfbbaf51467506538d61f970046de72101100a59 100644 (file)
 </head>
 <body>
 <?php
-    echo $this->render('header.phtml');
-?>
+    if (!$this->rawmode) {
+        echo $this->render('header.phtml');
+    }
 
-<?php
     echo $this->layout()->content;
-?>
 
-<?php
-    echo $this->render('footer.phtml');
+    if (!$this->rawmode) {
+        echo $this->render('footer.phtml');
+    }
 ?>
 </body>
 </html>