]> dev.renevier.net Git - syj.git/blobdiff - application/layouts/scripts/layout.phtml
meta description tag
[syj.git] / application / layouts / scripts / layout.phtml
index 5736ac1eb908c11202644684b95b422375a187a3..37d7b4e1b2f7bb7c72b17748794c9edce6ea021f 100644 (file)
@@ -4,6 +4,10 @@
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
 
 <?php
+    echo $this->headMeta()->setIndent(4) . PHP_EOL;
+    echo $this->headBase()->setIndent(4) . PHP_EOL;
+    echo $this->headTitle()->setIndent(4) . PHP_EOL;
+    echo $this->headLink()->setIndent(4) . PHP_EOL;
 
     if ($this->jslocales) {
         $syjStrings = new phptojs\JsObject('SyjStrings');
@@ -17,9 +21,6 @@
         $this->headScript()->prependScript((string) $syjStrings);
     }
 
-    echo $this->headBase()->setIndent(4) . PHP_EOL;
-    echo $this->headTitle()->setIndent(4) . PHP_EOL;
-    echo $this->headLink()->setIndent(4) . PHP_EOL;
     echo $this->headScript()->setIndent(4) . PHP_EOL;
 
 ?>
 </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>