summaryrefslogtreecommitdiff
path: root/lib/tpl/dokuwiki/detail.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-04-07 20:20:22 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-04-07 20:20:22 +0200
commite5d4768d27336a3af2fc36af663d21a1a57d0ee1 (patch)
treed6755f004a8076f39c46d633d22386e5b1965881 /lib/tpl/dokuwiki/detail.php
parent42ff673048d169bcbec5e4bb17619d66e6f6f61d (diff)
downloadrpg-e5d4768d27336a3af2fc36af663d21a1a57d0ee1.tar.gz
rpg-e5d4768d27336a3af2fc36af663d21a1a57d0ee1.tar.bz2
added tpl_includeFile() to core
Diffstat (limited to 'lib/tpl/dokuwiki/detail.php')
-rw-r--r--lib/tpl/dokuwiki/detail.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/tpl/dokuwiki/detail.php b/lib/tpl/dokuwiki/detail.php
index baa454edc..a3516a7ed 100644
--- a/lib/tpl/dokuwiki/detail.php
+++ b/lib/tpl/dokuwiki/detail.php
@@ -9,7 +9,6 @@
// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
-@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
$showSidebar = $conf['sidebar'] && page_exists($conf['sidebar']) && ($ACT=='show');
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
@@ -26,7 +25,7 @@ $showSidebar = $conf['sidebar'] && page_exists($conf['sidebar']) && ($ACT=='show
<?php tpl_metaheaders()?>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
- <?php _tpl_include('meta.html') ?>
+ <?php tpl_includeFile('meta.html') ?>
</head>
<body>
@@ -47,7 +46,7 @@ $showSidebar = $conf['sidebar'] && page_exists($conf['sidebar']) && ($ACT=='show
<div class="page group">
<?php tpl_flush() ?>
- <?php _tpl_include('pageheader.html') ?>
+ <?php tpl_includeFile('pageheader.html') ?>
<!-- detail start -->
<?php
if($ERROR):
@@ -95,7 +94,7 @@ $showSidebar = $conf['sidebar'] && page_exists($conf['sidebar']) && ($ACT=='show
<?php endif; ?>
</div>
<!-- detail stop -->
- <?php _tpl_include('pagefooter.html') ?>
+ <?php tpl_includeFile('pagefooter.html') ?>
<?php tpl_flush() ?>
<?php /* doesn't make sense like this; @todo: maybe add tpl_imginfo()?