From 74bd6999c5e5c23ebbf90dbb6bdaabbddd7594cf Mon Sep 17 00:00:00 2001 From: sembrestels Date: Thu, 13 Oct 2011 15:23:11 +0200 Subject: Rename lib/dokuwiki to vendors/dokuwiki --- vendors/dokuwiki/lib/tpl/index.php | 68 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 vendors/dokuwiki/lib/tpl/index.php (limited to 'vendors/dokuwiki/lib/tpl/index.php') diff --git a/vendors/dokuwiki/lib/tpl/index.php b/vendors/dokuwiki/lib/tpl/index.php new file mode 100644 index 000000000..a55081738 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/index.php @@ -0,0 +1,68 @@ + + * @author Anika Henke + */ +?> + + + + + Template Replacements + + + +'; + echo "".htmlspecialchars($conf['template'])."'s style.ini"; + foreach($ini['replacements'] as $key => $val){ + echo ''; + echo ''.htmlspecialchars($key).''; + echo ''.htmlspecialchars($val).''; + echo ''; + if(preg_match('/^#[0-f]{3,6}$/i',$val)){ + echo '
 
'; + } + echo ''; + echo ''; + } + echo ''; +} else { + echo "

Non-existent template: ".htmlspecialchars($conf['template'])."

"; +} +?> + + -- cgit v1.2.3