From 96fbf406ff62d591b2f1d27f90b81a2623d8537b Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 23 Jan 2009 20:29:37 +0100 Subject: added simple style.ini viewer to default template darcs-hash:20090123192937-7ad00-758bed69d026ed63a937e77072723877e4edc01c.gz --- lib/tpl/default/index.php | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 lib/tpl/default/index.php diff --git a/lib/tpl/default/index.php b/lib/tpl/default/index.php new file mode 100644 index 000000000..d9d850bd9 --- /dev/null +++ b/lib/tpl/default/index.php @@ -0,0 +1,53 @@ + + */ +?> + + + + + Template Replacements + + + +'; +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 ''; +?> + + -- cgit v1.2.3