From ecf758276e213be7861995bbf3536c4d8350388a Mon Sep 17 00:00:00 2001 From: Jason Cleeland Date: Thu, 20 May 2004 13:04:52 +0000 Subject: [PATCH] TWEAK: Background colour surrounding IFRAME to make it more obvious what is the "screen", and fixed "default" page view.. git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1037 b72ed6b6-b9f8-46b5-92b4-906544132732 --- admin/templates.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/templates.php b/admin/templates.php index 41911dddc31..17ef987f833 100644 --- a/admin/templates.php +++ b/admin/templates.php @@ -212,7 +212,7 @@ function templatereplace($line) $groupname="Group 1: The first lot of questions"; $groupdescription="This group description is fairly vacuous, but quite important."; $navigator=""; - if ($screenname != "Welcome") {$navigator = "\n".$navigator;} + if ($screenname != _TP_WELCOMEPAGE) {$navigator = "\n".$navigator;} $help="Help me"; $totalquestions="10"; $surveyformat="Format"; @@ -280,7 +280,7 @@ function makegraph($thisstep, $total) return $graph; } -if (!$screenname) {$screenname="Welcome";} +if (!$screenname) {$screenname=_TP_WELCOMEPAGE;} $addbr=false; switch($screenname) { case _TP_QUESTIONPAGE: @@ -552,7 +552,7 @@ function doreplacement($file) { //Produce sample page from template file . "\t\t\t\t\n" . "\t\t\t\n" ."\t\n" - ."\t\t\n"; + ."\t\t\n"; unlink_wc($tempdir, "template_temp_*.html"); //Delete any older template files