layout.phtml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. <?php echo self::headTitle (); ?>
  7. <?php echo self::headStyle (); ?>
  8. <?php echo self::headScript (); ?>
  9. <script>//<![CDATA[
  10. <?php $this->renderHelper ('javascript_vars'); ?>
  11. //]]></script>
  12. <?php
  13. if (!empty($this->nextId)) {
  14. $params = Request::params ();
  15. $params['next'] = $this->nextId;
  16. ?>
  17. <link id="prefetch" rel="next prefetch" href="<?php echo Url::display (array ('c' => Request::controllerName (), 'a' => Request::actionName (), 'params' => $params)); ?>" />
  18. <?php } ?>
  19. <link rel="icon" href="<?php echo Url::display ('/favicon.ico'); ?>" />
  20. <?php if (isset ($this->rss_url)) { ?>
  21. <link rel="alternate" type="application/rss+xml" title="<?php echo $this->rss_title; ?>" href="<?php echo Url::display ($this->rss_url); ?>" />
  22. <?php } ?>
  23. <meta name="robots" content="noindex,nofollow" />
  24. </head>
  25. <body>
  26. <?php $this->partial ('header'); ?>
  27. <div id="global">
  28. <?php $this->render (); ?>
  29. </div>
  30. <?php
  31. if (isset ($this->notification)) {
  32. invalidateHttpCache();
  33. ?>
  34. <div class="notification <?php echo $this->notification['type']; ?>">
  35. <?php echo $this->notification['content']; ?>
  36. <a class="close" href=""><?php echo RSSThemes::icon('close'); ?></a>
  37. </div>
  38. <?php } ?>
  39. </body>
  40. </html>