-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatic.html.php
More file actions
32 lines (29 loc) · 1004 Bytes
/
static.html.php
File metadata and controls
32 lines (29 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
<article class="post-single">
<header class="post-header">
<div class="breadcrumbs"><?php echo $breadcrumb;?></div>
<h1 class="post-title entry-hint-parent"><?php echo $static->title;?></h1>
<?php if (authorized($static)):?><a href="<?php echo $static->url;?>/edit?destination=front"><?php echo i18n('edit');?></a><?php endif;?>
</header>
<div class="post-content" id="post-content">
<?php echo $static->body;?>
</div>
<footer class="post-footer">
<nav class="paginav">
<?php if (!empty($next)): ?>
<a class="prev" href="<?php echo $next['url'];?>">
<span class="title">« <?php echo i18n('prev');?></span>
<br>
<span><?php echo $next['title'];?></span>
</a>
<?php endif;?>
<?php if (!empty($prev)): ?>
<a class="next" href="<?php echo $prev['url'];?>">
<span class="title"><?php echo i18n('next');?> »</span>
<br>
<span><?php echo $prev['title'];?></span>
</a>
<?php endif;?>
</nav>
</footer>
</article>