2 <html lang="<?php echo $this->localeShort();?>">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
8 if ($this->jslocales) {
9 $syjStrings = new phptojs\JsObject('SyjStrings');
10 foreach ($this->jslocales as $prop => $value) {
11 if (is_array($value)) {
12 $syjStrings->$prop = call_user_func_array(array($this, 'translate'), $value);
14 $syjStrings->$prop = $this->translate($value);
17 $this->headScript()->prependScript((string) $syjStrings);
20 echo $this->headBase()->setIndent(4) . PHP_EOL;
21 echo $this->headTitle()->setIndent(4) . PHP_EOL;
22 echo $this->headLink()->setIndent(4) . PHP_EOL;
23 echo $this->headScript()->setIndent(4) . PHP_EOL;
30 if (!$this->rawmode) {
31 echo $this->render('header.phtml');
34 echo $this->layout()->content;
36 if (!$this->rawmode) {
37 echo $this->render('footer.phtml');