From: <var...@us...> - 2009-08-19 16:17:12
|
Revision: 7067 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7067&view=rev Author: vargenau Date: 2009-08-19 16:17:03 +0000 (Wed, 19 Aug 2009) Log Message: ----------- Valid XHTML code Modified Paths: -------------- trunk/lib/plugin/WikiPoll.php Modified: trunk/lib/plugin/WikiPoll.php =================================================================== --- trunk/lib/plugin/WikiPoll.php 2009-08-08 18:13:23 UTC (rev 7066) +++ trunk/lib/plugin/WikiPoll.php 2009-08-19 16:17:03 UTC (rev 7067) @@ -266,7 +266,7 @@ 'name' => "answer[$i]", 'value' => $a)); if ($result >= 0) - $checkbox->setAttr('checked',1); + $checkbox->setAttr('checked', "checked"); if (!$readonly) list($percent,$count,$all) = $this->storeResult($page, $i, $result ? 1 : 0); else @@ -290,7 +290,7 @@ 'name' => "answer[$i]", 'value' => $j)); if ($result == $j) - $radio->setAttr('checked',1); + $radio->setAttr('checked', "checked"); $row->pushContent(HTML::tr(HTML::td($radio), HTML::td($a[$j]), HTML::td($this->bar($percent)), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |