static.html.php 1004 B

1234567891011121314151617181920212223242526272829303132
  1. <?php if (!defined('HTMLY')) die('HTMLy'); ?>
  2. <article class="post-single">
  3. <header class="post-header">
  4. <div class="breadcrumbs"><?php echo $breadcrumb;?></div>
  5. <h1 class="post-title entry-hint-parent"><?php echo $static->title;?></h1>
  6. <?php if (authorized($static)):?><a href="<?php echo $static->url;?>/edit?destination=front"><?php echo i18n('edit');?></a><?php endif;?>
  7. </header>
  8. <div class="post-content" id="post-content">
  9. <?php echo $static->body;?>
  10. </div>
  11. <footer class="post-footer">
  12. <nav class="paginav">
  13. <?php if (!empty($next)): ?>
  14. <a class="prev" href="<?php echo $next['url'];?>">
  15. <span class="title">« <?php echo i18n('prev');?></span>
  16. <br>
  17. <span><?php echo $next['title'];?></span>
  18. </a>
  19. <?php endif;?>
  20. <?php if (!empty($prev)): ?>
  21. <a class="next" href="<?php echo $prev['url'];?>">
  22. <span class="title"><?php echo i18n('next');?> »</span>
  23. <br>
  24. <span><?php echo $prev['title'];?></span>
  25. </a>
  26. <?php endif;?>
  27. </nav>
  28. </footer>
  29. </article>