]> dev.renevier.net Git - syj.git/commitdiff
insert doctype with zend helper
authorarno <arno@renevier.net>
Mon, 28 Mar 2011 16:49:27 +0000 (18:49 +0200)
committerarno <arno@renevier.net>
Mon, 28 Mar 2011 18:46:01 +0000 (20:46 +0200)
application/layouts/scripts/layout.phtml

index 37d7b4e1b2f7bb7c72b17748794c9edce6ea021f..81ee343b58082ce2f11e7fdc02f4dc58720942aa 100644 (file)
@@ -1,4 +1,7 @@
-<!doctype html>
+<?php
+    $doctype = $this->getHelper('Doctype')->setDoctype('HTML5');
+    echo $doctype . PHP_EOL;
+?>
 <html lang="<?php echo $this->localeShort();?>">
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >