Skip to content

Commit

Permalink
Fixed "an attribute value specification must be an attribute value li…
Browse files Browse the repository at this point in the history
…teral unless SHORTTAG YES is specified" HTML error message.

Dev: Hope this doesn't break any slider stuff. I only switched <input size=10> to <input size='10'> so the value uses single quotes.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@7320 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
maziminke committed Jul 14, 2009
1 parent 1426b26 commit 5d09594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qanda.php
Expand Up @@ -3559,9 +3559,9 @@ function do_multiplenumeric($ia)
$answer_computed = '';
if ($equalvalue)
{
$answer_computed .= "\t<li class='multiplenumerichelp'>\n\t\t<label for=\"remainingvalue_{$ia[1]}\">\n\t\t\t".$clang->gT('Remaining: ')."\n\t\t</label>\n\t\t<span>\n\t\t\t$prefix\n\t\t\t<input size=10 type='text' id=\"remainingvalue_{$ia[1]}\" disabled=\"disabled\" />\n\t\t\t$suffix\n\t\t</span>\n\t</li>\n";
$answer_computed .= "\t<li class='multiplenumerichelp'>\n\t\t<label for=\"remainingvalue_{$ia[1]}\">\n\t\t\t".$clang->gT('Remaining: ')."\n\t\t</label>\n\t\t<span>\n\t\t\t$prefix\n\t\t\t<input size='10' type='text' id=\"remainingvalue_{$ia[1]}\" disabled=\"disabled\" />\n\t\t\t$suffix\n\t\t</span>\n\t</li>\n";
}
$answer_computed .= "\t<li class='multiplenumerichelp'>\n\t\t<label for=\"totalvalue_{$ia[1]}\">\n\t\t\t".$clang->gT('Total: ')."\n\t\t</label>\n\t\t<span>\n\t\t\t$prefix\n\t\t\t<input size=10 type=\"text\" id=\"totalvalue_{$ia[1]}\" disabled=\"disabled\" />\n\t\t\t$suffix\n\t\t</span>\n\t</li>\n";
$answer_computed .= "\t<li class='multiplenumerichelp'>\n\t\t<label for=\"totalvalue_{$ia[1]}\">\n\t\t\t".$clang->gT('Total: ')."\n\t\t</label>\n\t\t<span>\n\t\t\t$prefix\n\t\t\t<input size='10' type=\"text\" id=\"totalvalue_{$ia[1]}\" disabled=\"disabled\" />\n\t\t\t$suffix\n\t\t</span>\n\t</li>\n";
$answer_main.=$answer_computed;
}
$answer .= $question_tip."<ul>\n".$answer_main."</ul>\n";
Expand Down

0 comments on commit 5d09594

Please sign in to comment.