From 42632fff234b2a9f4f70983874d1c37a2d939c43 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 25 May 2011 17:15:41 +0200 Subject: [PATCH] show how to modify a template --- data/templates/testdummy/top.inc.php | 66 ++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 data/templates/testdummy/top.inc.php diff --git a/data/templates/testdummy/top.inc.php b/data/templates/testdummy/top.inc.php new file mode 100644 index 0000000..7b0874c --- /dev/null +++ b/data/templates/testdummy/top.inc.php @@ -0,0 +1,66 @@ + + + + + + <?php echo filter($GLOBALS['sitename'] .(isset($pagetitle) ? ' ยป ' . $pagetitle : '')); ?> + + + +'; + } +} +?> + + + + + + + + + + + + + + + + + + + +'. $subtitle ."\n"; +} +if(DEBUG_MODE) { + echo '

'. T_('Admins, your installation is in "Debug Mode" ($debugMode = true). To go in "Normal Mode" and hide debugging messages, change $debugMode to false into config.php.') ."

\n"; +} +if (isset($error) && $error!='') { + echo '

'. $error ."

\n"; +} +if (isset($msg) && $msg!='') { + echo '

'. $msg ."

\n"; +} +if (isset($tipMsg) && $tipMsg!='') { + echo '

'. $tipMsg ."

\n"; +} +?>