Skip to content

Commit

Permalink
TWEAK: Background colour surrounding IFRAME to make it more obvious w…
Browse files Browse the repository at this point in the history
…hat is the "screen", and fixed "default" page view..

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1037 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 20, 2004
1 parent 842ce0e commit ecf7582
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/templates.php
Expand Up @@ -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="<input class='submit' type='submit' value=' next >> ' name='move' />";
if ($screenname != "Welcome") {$navigator = "<input class='submit' type='submit' value=' << prev ' name='move' />\n".$navigator;}
if ($screenname != _TP_WELCOMEPAGE) {$navigator = "<input class='submit' type='submit' value=' << prev ' name='move' />\n".$navigator;}
$help="Help me";
$totalquestions="10";
$surveyformat="Format";
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -552,7 +552,7 @@ function doreplacement($file) { //Produce sample page from template file
. "\t\t\t\t</font></font></td>\n"
. "\t\t\t</tr>\n"
."\t<tr>\n"
."\t\t<td width=90% align='center' bgcolor='#666666'>\n";
."\t\t<td width=90% align='center' bgcolor='#555555'>\n";


unlink_wc($tempdir, "template_temp_*.html"); //Delete any older template files
Expand Down

0 comments on commit ecf7582

Please sign in to comment.