4
0

layout.phtml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 = Minz_Request::params ();
  15. $params['next'] = $this->nextId;
  16. ?>
  17. <link id="prefetch" rel="next prefetch" href="<?php echo Minz_Url::display (array ('c' => Minz_Request::controllerName (), 'a' => Minz_Request::actionName (), 'params' => $params)); ?>" />
  18. <?php } ?>
  19. <link rel="icon" href="<?php echo Minz_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 Minz_Url::display ($this->rss_url); ?>" />
  22. <?php } ?>
  23. <link rel="prefetch" href="<?php echo FreshRSS_Themes::icon('starred', true); ?>">
  24. <link rel="prefetch" href="<?php echo FreshRSS_Themes::icon('non-starred', true); ?>">
  25. <link rel="prefetch" href="<?php echo FreshRSS_Themes::icon('read', true); ?>">
  26. <link rel="prefetch" href="<?php echo FreshRSS_Themes::icon('unread', true); ?>">
  27. <meta name="robots" content="noindex,nofollow" />
  28. </head>
  29. <body>
  30. <?php $this->partial ('header'); ?>
  31. <div id="global">
  32. <?php $this->render (); ?>
  33. </div>
  34. <?php
  35. if (isset ($this->notification)) {
  36. invalidateHttpCache();
  37. ?>
  38. <div class="notification <?php echo $this->notification['type']; ?>">
  39. <?php echo $this->notification['content']; ?>
  40. <a class="close" href=""><?php echo FreshRSS_Themes::icon('close'); ?></a>
  41. </div>
  42. <?php } ?>
  43. </body>
  44. </html>