Skip to content

Commit

Permalink
Removed escaping of single quotes from question help.
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@75 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
James Richards committed Mar 19, 2003
1 parent 51d553a commit 70696b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/printablesurvey.php
Expand Up @@ -95,7 +95,7 @@
//Alternate bgcolor for different groups
if ($bgc == "#EEEEEE") {$bgc = "#DDDDDD";}
else {$bgc = "#EEEEEE";}
if (!$bgc) {$bgc="#EEEEEE";}
if (!$bgc) {$bgc = "#EEEEEE";}

foreach ($deqrows as $deqrow)
{
Expand All @@ -108,8 +108,8 @@
//DIFFERENT TYPES OF DATA FIELD HERE
if ($deqrow['help'])
{
$hh = str_replace("'", "\'", $deqrow['help']);
echo "\t\t\t<table width='100%' border=1><tr><td align='center'><font size='1'>$hh</td></tr></table>\n";
$hh = $deqrow['help'];
echo "\t\t\t<table width='100%' border='1'><tr><td align='center'><font size='1'>$hh</td></tr></table>\n";
//echo "\t\t\t<img src='help.gif' alt='Help about this question' align='right' onClick=\"javascript:alert('Question {$deqrow['qid']} Help: $hh')\">\n";
}
echo "\t\t</td>\n";
Expand Down

0 comments on commit 70696b6

Please sign in to comment.