Jeremy Newman : set rating color on the column only
Module: appdb Branch: master Commit: 7cf9b437874e852b925a5d75043f528a017d9aeb URL: http://source.winehq.org/git/appdb.git/?a=commit;h=7cf9b437874e852b925a5d750... Author: Jeremy Newman <jnewman(a)codeweavers.com> Date: Fri Nov 18 10:40:59 2016 -0600 set rating color on the column only --- include/version.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/include/version.php b/include/version.php index bb2aa68..1ee7a26 100644 --- a/include/version.php +++ b/include/version.php @@ -1212,8 +1212,6 @@ EOT; { if ($aVersions) { - echo html_frame_start("","98%","",0); - $oTable = new Table(); $oTable->SetClass('whq-table'); $oTableRow = new TableRow(); @@ -1262,11 +1260,11 @@ EOT; $oTableRow = new TableRow(); $oTableRow->SetRowClick($oTableRowClick); // make the row clickable $oTableRow->AddTextCell($oVersion->objectMakeLink()); - $oTableRow->SetClass($sClass); $oTableRow->AddTextCell(util_trim_description($oVersion->sDescription)); $oTableCell = new TableCell($oVersion->sTestedRating); $oTableCell->SetAlign("center"); + $oTableCell->SetClass($sClass); $oTableRow->AddCell($oTableCell); $oTableCell = new TableCell($oVersion->sTestedRelease); @@ -1284,14 +1282,12 @@ EOT; // add the row to the table $oTable->AddRow($oTableRow); - $c++; + $c++; } } // output the table echo $oTable->GetString(); - - echo html_frame_end("Click the Version Name to view the details of that Version"); } }
participants (1)
-
Jeremy Newman