X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=module%2FApplication%2Fview%2Flayout%2Flayout.phtml;h=b836fde3074873ba8357c6025c191235456690c9;hb=553ab98287a3c3ea5653dc6b1f90180dc42ec76d;hp=e719d29f44c92b5af40af46ab61bbf5ee3576bc2;hpb=afc15e7748b5efce282f53f84bebbaa0db43f5b7;p=zf2.biz%2Fgalerie.git diff --git a/module/Application/view/layout/layout.phtml b/module/Application/view/layout/layout.phtml index e719d29..b836fde 100644 --- a/module/Application/view/layout/layout.phtml +++ b/module/Application/view/layout/layout.phtml @@ -1,37 +1,21 @@ -headTitle()->setSeparator(' - ') - ->setAutoEscape(false); - -$basePath = $this->basePath(); -$this->headLink()->appendStylesheet($basePath . '/css/bootstrap.min.css') - ->appendStylesheet($basePath . '/css/style.css') - ->appendStylesheet($basePath . '/css/bootstrap-responsive.min.css'); - -$this->headLink(array( - 'rel' => 'shortcut icon', - 'type' => 'image/vnd.microsoft.icon', - 'href' => $basePath . '/images/favicon.ico', - )); - -// HTML5 shim, for IE6-8 support of HTML elements -$this->headScript()->appendFile($basePath . '/js/html5.js', 'text/javascript', - array('conditional' => 'lt IE9',)); - -echo $this->doctype(); -?> +doctype(); ?> - headTitle('ZF2 Skeleton Application') ?> + headTitle('ZF2 '. $this->translate('Skeleton Application'))->setSeparator(' - ')->setAutoEscape(false) ?> headMeta()->appendName('viewport', 'width=device-width, initial-scale=1.0') ?> - headLink() ?> - + headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/images/favicon.ico')) + ->appendStylesheet($this->basePath() . '/css/bootstrap.min.css') + ->appendStylesheet($this->basePath() . '/css/style.css') + ->appendStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css') ?> + - headScript() ?> + headScript()->appendFile($this->basePath() . '/js/html5.js', 'text/javascript', array('conditional' => 'lt IE 9',)) + ->appendFile($this->basePath() . '/js/jquery-1.7.2.min.js') ?> @@ -46,10 +30,10 @@ echo $this->doctype(); - Skeleton Application + translate('Skeleton Application') ?> @@ -63,7 +47,7 @@ echo $this->doctype();