Skip to content

Commit

Permalink
Modifications provided by Scott Ananian (cscott.net) for bobby compli…
Browse files Browse the repository at this point in the history
…ance..

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1114 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Aug 7, 2004
1 parent 3f935d2 commit 76bb34a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion group.php
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
echo "\n\t<!-- NEW QUESTION -->\n";
echo "\t\t\t\t<div name='$qa[4]' id='$qa[4]'";
if ($qa[3] != "Y") {echo ">\n";} else {echo " style='display: none'>\n";}
$question=$qa[0];
$question="<label for='$qa[7]'>" . $qa[0] . "</label>";
$answer=$qa[1];
$help=$qa[2];
$questioncode=$qa[5];
Expand Down
4 changes: 2 additions & 2 deletions qanda.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ function retrieveAnswers($ia, $notanswered=null)
//add a message HIGHLIGHTING the question
$qtitle .= mandatory_message($ia);

$qanda=array($qtitle, $answer, $help, $display, $name, $ia[2], $gl[0]);
$qanda=array($qtitle, $answer, $help, $display, $name, $ia[2], $gl[0], $ia[1]);
//New Return
return array($qanda, $inputnames);
}
Expand Down Expand Up @@ -534,7 +534,7 @@ function do_listwithcomment($ia)
}
if ($ia[6] != "Y" && $shownoanswer == 1)
{
$answer .= "\t\t\t\t\t\t<input class='radio' type='radio' name='$ia[1]' id='$ia[1] ' value=' ' onClick='checkconditions(this.value, this.name, this.type)' ";
$answer .= "\t\t\t\t\t\t<input class='radio' type='radio' name='$ia[1]' id='$ia[1]' value=' ' onClick='checkconditions(this.value, this.name, this.type)' ";
if ((!$_SESSION[$ia[1]] && !$defexists) ||($_SESSION[$ia[1]] == ' ' && !$defexists))
{
$answer .= "checked />";
Expand Down
2 changes: 1 addition & 1 deletion question.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
{
echo "\n\t<!-- NEW QUESTION -->\n";
echo "\t\t\t\t<div name='$qa[4]' id='$qa[4]'>";
$question=$qa[0];
$question="<label for='$qa[7]'>" . $qa[0] . "</label>";
$answer=$qa[1];
$help=$qa[2];
$questioncode=$qa[5];
Expand Down
2 changes: 1 addition & 1 deletion survey.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
echo "\n\t<!-- NEW QUESTION -->\n";
echo "\t\t\t\t<div name='$qa[4]' id='$qa[4]'";
if ($qa[3] != "Y") {echo ">\n";} else {echo " style='display: none'>\n";}
$question=$qa[0];
$question="<label for='$qa[7]'>" . $qa[0] . "</label>";
$answer=$qa[1];
$help=$qa[2];
$questioncode=$qa[5];
Expand Down

0 comments on commit 76bb34a

Please sign in to comment.