appdb/include version.php

WineHQ wineowner at wine.codeweavers.com
Sat Dec 9 09:56:56 CST 2006


ChangeSet ID:	30438
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/12/09 09:56:56

Modified files:
	include        : version.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Make sure that a version without a maintainer rating is not displayed with the
	colour of the previous version.

Patch: http://cvs.winehq.org/patch.py?id=30438

Old revision  New revision  Changes     Path
 1.87          1.88          +2 -0       appdb/include/version.php

Index: appdb/include/version.php
diff -u -p appdb/include/version.php:1.87 appdb/include/version.php:1.88
--- appdb/include/version.php:1.87	9 Dec 2006 15:56:56 -0000
+++ appdb/include/version.php	9 Dec 2006 15:56:56 -0000
@@ -930,6 +930,8 @@ class Version {
 
                     if($oVersion->sTestedRating && $oVersion->sTestedRating != "/")
                         $sRatingColor = "class=\"$oVersion->sTestedRating\"";
+                    else
+                        $sRatingColor = "class=\"$bgcolor\"";
 
                     //display row
                     echo "<tr class=$bgcolor>\n";



More information about the wine-cvs mailing list