X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Flayouts%2Fscripts%2Flayout.phtml;h=dfbbaf51467506538d61f970046de72101100a59;hp=5736ac1eb908c11202644684b95b422375a187a3;hb=26afcb880ff75743abcb627ecf516b6c51a36d08;hpb=ec7db76528badd24d3b1332736c5a6f71d2a0986 diff --git a/application/layouts/scripts/layout.phtml b/application/layouts/scripts/layout.phtml index 5736ac1..dfbbaf5 100644 --- a/application/layouts/scripts/layout.phtml +++ b/application/layouts/scripts/layout.phtml @@ -27,15 +27,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'); + } ?>