1 <?php echo $this->doctype(); ?>
6 <?php echo $this->headTitle('ZF2 '. $this->translate('Skeleton Application'))->setSeparator(' - ')->setAutoEscape(false) ?>
8 <?php echo $this->headMeta()->appendName('viewport', 'width=device-width, initial-scale=1.0') ?>
11 <?php echo $this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/images/favicon.ico'))
12 ->prependStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css')
13 ->prependStylesheet($this->basePath() . '/css/style.css')
14 ->prependStylesheet($this->basePath() . '/css/bootstrap.min.css')
15 ->prependStylesheet($this->basePath() . '/css/jquery-ui.css')
16 ->prependStylesheet($this->basePath() . '/css/jquery-dataTables.css') ?>
19 <?php echo $this->headScript()->prependFile($this->basePath() . '/js/html5.js', 'text/javascript', array('conditional' => 'lt IE 9',))
20 ->prependFile($this->basePath() . '/js/bootstrap.min.js')
21 ->prependFile($this->basePath() . '/js/perso.js')
22 ->prependFile($this->basePath() . '/js/jquery-dataTables.js')
23 ->prependFile($this->basePath() . '/js/jquery-ui.js')
24 ->prependFile($this->basePath() . '/js/jquery.min.js') ?>
28 <div class="navbar navbar-inverse navbar-fixed-top">
29 <div class="navbar-inner">
30 <div class="container">
31 <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
32 <span class="icon-bar"></span>
33 <span class="icon-bar"></span>
34 <span class="icon-bar"></span>
36 <a class="brand" href="<?php echo $this->url('home') ?>"><?php echo $this->translate('Skeleton Application') ?></a>
37 <div class="nav-collapse collapse">
39 <li class="active"><a href="<?php echo $this->url('home') ?>"><?php echo $this->translate('Home') ?></a></li>
41 </div><!--/.nav-collapse -->
45 <div class="container">
47 $views = $this->viewModel()->getCurrent()->getChildren();
48 $main_view = $views[0];
49 $variables = $main_view->getVariables();
51 <?php if (isset($variables['infos'])) : ?>
52 <?php foreach($main_view->infos as $info): ?>
53 <?php echo $this->format($info, 'info'); ?>
56 <?php if (isset($main_view->warnings)) : ?>
57 <?php foreach($warnings as $warning): ?>
58 <?php echo $this->format($warning, 'warning'); ?>
61 <?php if (isset($main_view->errors)) : ?>
62 <?php foreach($errors as $error): ?>
63 <?php echo $this->format($error, 'error'); ?>
67 <?php echo $this->content; ?>
70 <p>© 2005 - 2012 by Zend Technologies Ltd. <?php echo $this->translate('All rights reserved.') ?></p>
72 </div> <!-- /container -->
73 <?php echo $this->inlineScript() ?>