summaryrefslogtreecommitdiff
path: root/detail.php
diff options
context:
space:
mode:
Diffstat (limited to 'detail.php')
-rwxr-xr-xdetail.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/detail.php b/detail.php
index cdda77ac6..287827253 100755
--- a/detail.php
+++ b/detail.php
@@ -47,14 +47,14 @@ $showSidebar = $conf['sidebar'] && page_exists($conf['sidebar']) && ($ACT=='show
<!-- ********** CONTENT ********** -->
<div id="dokuwiki__content"><div class="pad group">
- <?php tpl_flush() /* flush the output buffer */ ?>
- <?php _tpl_include('pageheader.html') ?>
<?php if(!$ERROR): ?>
<div class="pageId"><span><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG)); ?></span></div>
<?php endif; ?>
<div class="page group">
+ <?php tpl_flush() /* flush the output buffer */ ?>
+ <?php _tpl_include('pageheader.html') ?>
<!-- detail start -->
<?php
if($ERROR):
@@ -102,13 +102,13 @@ $showSidebar = $conf['sidebar'] && page_exists($conf['sidebar']) && ($ACT=='show
<?php endif; ?>
</div>
<!-- detail stop -->
+ <?php _tpl_include('pagefooter.html') ?>
+ <?php tpl_flush() ?>
<?php /* doesn't make sense like this; @todo: maybe add tpl_imginfo()?
<div class="docInfo"><?php tpl_pageinfo(); ?></div>
*/ ?>
- <?php tpl_flush() ?>
- <?php _tpl_include('pagefooter.html') ?>
</div></div><!-- /content -->
<hr class="a11y" />