layout.phtml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE html>
  2. <html lang="<?php echo $this->conf->language (); ?>" xml:lang="<?php echo $this->conf->language (); ?>">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="initial-scale=1.0" />
  6. <link rel="icon" type="image/x-icon" href="<?php echo Url::display ('/favicon.ico'); ?>" />
  7. <link rel="icon" type="image/png" href="<?php echo Url::display ('/favicon.ico'); ?>" />
  8. <?php echo self::headTitle (); ?>
  9. <?php echo self::headStyle (); ?>
  10. <?php echo self::headScript (); ?>
  11. <script>//<![CDATA[
  12. <?php $this->renderHelper ('../javascript/main'); ?>
  13. //]]></script>
  14. <?php
  15. $next = isset($this->entryPaginator) ? $this->entryPaginator->next() : '';
  16. if (!empty($next)) {
  17. $params = Request::params ();
  18. $params['next'] = $next;
  19. ?>
  20. <link id="prefetch" rel="next prefetch" href="<?php echo Url::display (array ('c' => Request::controllerName (), 'a' => Request::actionName (), 'params' => $params)); ?>" />
  21. <?php } ?>
  22. </head>
  23. <body>
  24. <?php $this->partial ('header'); ?>
  25. <div id="global">
  26. <?php $this->render (); ?>
  27. </div>
  28. <?php $this->partial ('persona'); ?>
  29. <?php if (isset ($this->notification)) { ?>
  30. <div class="notification <?php echo $this->notification['type']; ?>">
  31. <?php echo $this->notification['content']; ?>
  32. <a class="close" href=""><i class="icon i_close"></i></a>
  33. </div>
  34. <?php } ?>
  35. </body>
  36. </html>