2 <html lang="<?php echo $this->localeShort();?>">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
7 echo $this->headMeta()->setIndent(4) . PHP_EOL;
8 echo $this->headBase()->setIndent(4) . PHP_EOL;
9 echo $this->headTitle()->setIndent(4) . PHP_EOL;
10 echo $this->headLink()->setIndent(4) . PHP_EOL;
12 if ($this->jslocales) {
13 $syjStrings = new phptojs\JsObject('SyjStrings');
14 foreach ($this->jslocales as $prop => $value) {
15 if (is_array($value)) {
16 $syjStrings->$prop = call_user_func_array(array($this, 'translate'), $value);
18 $syjStrings->$prop = $this->translate($value);
21 $this->headScript()->prependScript((string) $syjStrings);
24 echo $this->headScript()->setIndent(4) . PHP_EOL;
31 if (!$this->rawmode) {
32 echo $this->render('header.phtml');
35 echo $this->layout()->content;
37 if (!$this->rawmode) {
38 echo $this->render('footer.phtml');