conditional include of html5 shim
[zf2.biz/galerie.git] / module / Application / view / layout / layout.phtml
index 8db92e8..31e99f1 100644 (file)
@@ -15,7 +15,7 @@ $this->headLink(array(
 
 // HTML5 shim, for IE6-8 support of HTML elements
 $this->headScript()->appendFile($basePath . '/js/html5.js', 'text/javascript', 
-    array('conditional' => 'lt IE9',));
+    array('conditional' => 'lt IE 9',));
 
 echo $this->doctype();
 ?>
@@ -25,7 +25,7 @@ echo $this->doctype();
     <meta charset="utf-8">
     <?php echo $this->headTitle('ZF2 Skeleton Application') ?>
 
-    <?php echo $this->headMeta() ?>
+    <?php echo $this->headMeta()->appendName('viewport', 'width=device-width, initial-scale=1.0') ?>
 
     <!-- Le styles -->
     <?php echo $this->headLink() ?>
@@ -46,7 +46,7 @@ echo $this->doctype();
             <span class="icon-bar"></span>
             <span class="icon-bar"></span>
           </a>
-          <a class="brand" href="<?php echo $this->url('home') ?>">ZF2 Skeleton Application</a>
+          <a class="brand" href="<?php echo $this->url('home') ?>">Skeleton Application</a>
           <div class="nav-collapse">
             <ul class="nav">
               <li class="active"><a href="<?php echo $this->url('home') ?>">Home</a></li>
@@ -58,12 +58,12 @@ echo $this->doctype();
 
     <div class="container">
 
-      <?php echo $this->raw('content'); ?>
+      <?php echo $this->content; ?>
 
       <hr>
 
       <footer>
-        <p>&copy; 2006 - <?php echo date('Y') ?> by Zend Technologies Ltd. All rights reserved.</p>
+        <p>&copy; 2006 - 2012 by Zend Technologies Ltd. All rights reserved.</p>
       </footer>
 
     </div> <!-- /container -->