-<!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" >
<?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');
$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;
?>