X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Flayouts%2Fscripts%2Flayout.phtml;h=37d7b4e1b2f7bb7c72b17748794c9edce6ea021f;hb=9d450c0eb88cc1cc19db9ad4334bc1fc68f5ee21;hp=5736ac1eb908c11202644684b95b422375a187a3;hpb=190fd621df4920c56a422c03663874cddaa67d64;p=syj.git diff --git a/application/layouts/scripts/layout.phtml b/application/layouts/scripts/layout.phtml index 5736ac1..37d7b4e 100644 --- a/application/layouts/scripts/layout.phtml +++ b/application/layouts/scripts/layout.phtml @@ -4,6 +4,10 @@ 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; ?> @@ -27,15 +28,15 @@ render('header.phtml'); -?> + if (!$this->rawmode) { + echo $this->render('header.phtml'); + } -layout()->content; -?> -render('footer.phtml'); + if (!$this->rawmode) { + echo $this->render('footer.phtml'); + } ?>