X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=module%2FApplication%2Fview%2Flayout%2Flayout.phtml;h=9ef159f4b7d0c97cbf7281f72b6dea2c0ae1d8c8;hb=f455f9a21cfb9cf3bbd48022a757573af7e7c21e;hp=a9e37b84542c4c698ac569ff865550dfa730545c;hpb=d4abc301cd69bd1d22e7a3a5f15e5867d9cd8435;p=zf2.biz%2Fgalerie.git diff --git a/module/Application/view/layout/layout.phtml b/module/Application/view/layout/layout.phtml index a9e37b8..9ef159f 100644 --- a/module/Application/view/layout/layout.phtml +++ b/module/Application/view/layout/layout.phtml @@ -1,56 +1,75 @@ -doctype() ?> +doctype(); ?> - - - headTitle() ?> + + + headTitle('ZF2 '. $this->translate('Skeleton Application'))->setSeparator(' - ')->setAutoEscape(false) ?> - headMeta() ?> + 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')) + ->prependStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css') + ->prependStylesheet($this->basePath() . '/css/style.css') + ->prependStylesheet($this->basePath() . '/css/bootstrap.min.css') + ->prependStylesheet($this->basePath() . '/css/jquery-ui.css') + ->prependStylesheet($this->basePath() . '/css/jquery-dataTables.css') ?> - - + + headScript()->prependFile($this->basePath() . '/js/html5.js', 'text/javascript', array('conditional' => 'lt IE 9',)) + ->prependFile($this->basePath() . '/js/bootstrap.min.js') + ->prependFile($this->basePath() . '/js/perso.js') + ->prependFile($this->basePath() . '/js/jquery-dataTables.js') + ->prependFile($this->basePath() . '/js/jquery-ui.js') + ->prependFile($this->basePath() . '/js/jquery.min.js') ?> - headScript() ?> - - - placeholder('favicon') ?> - - - - - -
-
- - -
- -
- raw('content'); ?> - -
-

© 2006 - by Zend Technologies Ltd. All rights reserved.

-
- -
- - +
+viewModel()->getCurrent()->getChildren(); + $main_view = $views[0]; + $variables = $main_view->getVariables(); +?> + +infos as $info): ?> + format($info, 'info'); ?> + + +warnings)) : ?> + + format($warning, 'warning'); ?> + + +errors)) : ?> + + format($error, 'error'); ?> + + +
+ content; ?> +
+
+

© 2005 - 2012 by Zend Technologies Ltd. translate('All rights reserved.') ?>

+
+
+ inlineScript() ?> +