diff --git a/detail.php b/detail.php
index 25a9e35..1cf7ce0 100644
--- a/detail.php
+++ b/detail.php
@@ -25,7 +25,7 @@ if (!defined('DOKU_INC')) die();
-
+
diff --git a/main.php b/main.php
index c2a8edd..2497003 100644
--- a/main.php
+++ b/main.php
@@ -22,7 +22,7 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER
-
+
@@ -37,7 +37,7 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER
diff --git a/mediamanager.php b/mediamanager.php
index 8e1abac..489f045 100644
--- a/mediamanager.php
+++ b/mediamanager.php
@@ -23,7 +23,7 @@ if (!defined('DOKU_INC')) die();
-
+
diff --git a/tpl_functions.php b/tpl_functions.php
index cf6a4e5..a68e45c 100644
--- a/tpl_functions.php
+++ b/tpl_functions.php
@@ -187,3 +187,10 @@ function _tpl_include($fn) {
else if (file_exists($tplFile))
include($tplFile);
}
+
+/* use core function if available, otherwise the custom one */
+if (!function_exists('tpl_includeFile')) {
+ function tpl_includeFile($fn){
+ _tpl_include($fn);
+ }
+}