From: <var...@us...> - 2009-01-30 13:57:17
|
Revision: 6463 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6463&view=rev Author: vargenau Date: 2009-01-30 13:57:13 +0000 (Fri, 30 Jan 2009) Log Message: ----------- Valid XHTML code Modified Paths: -------------- trunk/lib/plugin/RecentChanges.php Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2009-01-30 13:06:32 UTC (rev 6462) +++ trunk/lib/plugin/RecentChanges.php 2009-01-30 13:57:13 UTC (rev 6463) @@ -1350,47 +1350,35 @@ $this->pushContent(HTML::legend($caption)); $table = HTML::table(); - $first = true; + $tr = HTML::tr(); foreach (explode(",", $daylist) as $days) { - if ($first) { - $td = $this->_makeDayButton($days); - $first = false; - } else { - $td->pushContent($this->_makeDayButton($days)); - } + $tr->pushContent($this->_makeDayButton($days)); } - $tr = HTML::tr(); - $tr->pushContent($td); $table->pushContent($tr); - $td = $this->_makeUsersButton(0); - $td->pushContent($this->_makeUsersButton(1)); $tr = HTML::tr(); - $tr->pushContent($td); + $tr->pushContent($this->_makeUsersButton(0)); + $tr->pushContent($this->_makeUsersButton(1)); $table->pushContent($tr); - $td = $this->_makePagesButton(0); - $td->pushContent($this->_makePagesButton(1)); $tr = HTML::tr(); - $tr->pushContent($td); + $tr->pushContent($this->_makePagesButton(0)); + $tr->pushContent($this->_makePagesButton(1)); $table->pushContent($tr); - $td = $this->_makeMinorButton(1); - $td->pushContent($this->_makeMinorButton(0)); $tr = HTML::tr(); - $tr->pushContent($td); + $tr->pushContent($this->_makeMinorButton(1)); + $tr->pushContent($this->_makeMinorButton(0)); $table->pushContent($tr); - $td = $this->_makeShowAllButton(1); - $td->pushContent($this->_makeShowAllButton(0)); $tr = HTML::tr(); - $tr->pushContent($td); + $tr->pushContent($this->_makeShowAllButton(1)); + $tr->pushContent($this->_makeShowAllButton(0)); $table->pushContent($tr); - $td = $this->_makeNewPagesButton(0); - $td->pushContent($this->_makeNewPagesButton(1)); $tr = HTML::tr(); - $tr->pushContent($td); + $tr->pushContent($this->_makeNewPagesButton(0)); + $tr->pushContent($this->_makeNewPagesButton(1)); $table->pushContent($tr); $this->pushContent($table); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |