[AppDB] Add Platinum to the ratings

Tony Lambregts tony.lambregts at gmail.com
Tue Feb 7 21:04:59 CST 2006


Based on sugestions by Alexander N. Sørnes

Change Log: Add Platinum to Ratings

Files Changed: apidb.css application.css index.php help/maintainer_ratings.help 
include/util.php

-------------- next part --------------
Index: apidb.css
===================================================================
RCS file: /home/wine/appdb/apidb.css,v
retrieving revision 1.13
diff -u -u -r1.13 apidb.css
--- apidb.css	21 Oct 2005 02:48:27 -0000	1.13
+++ apidb.css	8 Feb 2006 03:01:13 -0000
@@ -133,6 +133,7 @@
 .committed          { font-style: italic; color: gray; }
 
 /* App Support status */
+.platinum           { background-color: #EFEFEF; }
 .gold               { background-color: #fff600; }
 .silver             { background-color: silver; }
 .bronze             { background-color: #fcba0a; }
Index: application.css
===================================================================
RCS file: /home/wine/appdb/application.css,v
retrieving revision 1.5
diff -u -u -r1.5 application.css
--- application.css	17 Oct 2005 03:59:24 -0000	1.5
+++ application.css	8 Feb 2006 03:01:13 -0000
@@ -18,12 +18,14 @@
                      font-family: "bitstream vera sans", "verdana", "arial", "helvetica", sans-serif;
                      font-size: 12px; }
 
-td.gold { background-color: #fff600; }
-td.silver { background-color: silver; }
-td.bronze { background-color: #fcba0a; }
-td.garbage { background-color: #999966; }
+td.platinum         { background-color: #EFEFEF; }
+td.gold             { background-color: #fff600; }
+td.silver           { background-color: silver;  }
+td.bronze           { background-color: #fcba0a; }
+td.garbage          { background-color: #999966; }
 
-tr.gold { background-color: #fff600; }
-tr.silver { background-color: silver; }
-tr.bronze { background-color: #fcba0a; }
-tr.garbage { background-color: #999966; }
+td.platinum         { background-color: #EFEFEF; }
+tr.gold             { background-color: #fff600; }
+tr.silver           { background-color: silver;  }
+tr.bronze           { background-color: #fcba0a; }
+tr.garbage          { background-color: #999966; }
Index: index.php
===================================================================
RCS file: /home/wine/appdb/index.php,v
retrieving revision 1.31
diff -u -u -r1.31 index.php
--- index.php	14 May 2005 14:47:13 -0000	1.31
+++ index.php	8 Feb 2006 03:01:13 -0000
@@ -88,8 +88,20 @@
 
 <p>This is a list of applications that are known to be working well and for which many AppDB users voted.</p>
 
+<h3>The top-10 Platinum List</h3> 
+<p>Only Applications which install and run flawless on a out-of-the-box Wine installation make it to the Platinum list: </p>
+<table class="platinum">
+    <tr class="rowtitle">
+    <th>Application</th><th>Description</th><th>Screenshot</th>
+    </tr>
+<?php
+  outputTopXRowAppsFromRating('Platinum', 10);
+?>
+</table>
+<br />
+
 <h3>The top-10 Gold List</h3> 
-<p>Applications which install and run virtually flawless on a out-of-the-box Wine installation make it to the Gold list: </p>
+<p>Applications that work flawlessly with some DLL overrides or other settings, crack etc make it to the Gold list: </p>
 <table class="gold">
     <tr class="rowtitle">
     <th>Application</th><th>Description</th><th>Screenshot</th>
@@ -99,6 +111,7 @@
 ?>
 </table>
 <br />
+
 <h3>The top-10 Silver List</h3> 
 <p>The Silver list contains apps which we hope we can easily fix so they make it to Gold status:</p>
 <table class=silver>
Index: help/maintainer_ratings.help
===================================================================
RCS file: /home/wine/appdb/help/maintainer_ratings.help,v
retrieving revision 1.3
diff -u -u -r1.3 maintainer_ratings.help
--- help/maintainer_ratings.help	9 Feb 2005 23:59:09 -0000	1.3
+++ help/maintainer_ratings.help	8 Feb 2006 03:01:13 -0000
@@ -10,32 +10,37 @@
 
 <ul>
 
-<li>Gold</li>
+<li class="platinum">Platinum</li>
 
 <p>
-An application can be rated as Gold if it installs and runs "out of the box".
+An application can be rated as Platinum if it installs and runs "out of the box" No changes required to winecfg.
 </p>
 
-<li>Silver</li>
+<li class="gold">Gold</li>
 
 <p>
-If an application needs DLL overrides (native DLL's from a Windows installation) to install and
-run but runs flawlessly otherwise, then it can be rated as silver. There should be an accompanying "How-To" 
-written to allow users to get this application to run.
+Application works flawlessly with some DLL overrides or other settings, crack etc.
 </p>
 
-<li>Bronze</li>
+<li class="silver">Silver</li>
 
 <p>
-Bronze Applications may have bugs in them and require DLL overrides. If the program can be used
-as it was intended but is missing features then the can be rated as Bronze.
+Application works excellently for 'normal' use; a game works fine in single-player but not 
+in multi-player, Windows Media Player works fine as a plug-in and stand-alone player, but can't handle DRM etc.
 </p>
 
-<li>Garbage</li>
+<li class="Bronze">Bronze</li>
+
+<p>
+Application works, but it has some issues, even for normal use; a game may not redraw properly or display fonts in wrong colours, be a much slower than it should etc.
+</p>
+
+<li class="Garbage">Garbage</li>
 
 <p>
 An app gets this rating if it can not be used for the purpose it was designed.
 There should be at least one bug report in bugzilla if an app gets this rating.
+Application doesn't start, or starts but has so many errors that it is nearly impossible to use it
 </p>
 
 </ul>
Index: include/util.php
===================================================================
RCS file: /home/wine/appdb/include/util.php,v
retrieving revision 1.50
diff -u -u -r1.50 util.php
--- include/util.php	30 Oct 2005 22:27:14 -0000	1.50
+++ include/util.php	8 Feb 2006 03:01:13 -0000
@@ -120,10 +120,16 @@
     echo "<option value=\"\">Choose ...</option>\n";
     while(list($value) = mysql_fetch_row($result))
     {
-        if($value == $cvalue)
-            echo "<option value=$value selected>$value\n";
-        else
-            echo "<option value=$value>$value\n";
+        if($value == "unspecified")
+        {
+            // We do not unspecified versions!!!
+        } else
+        {
+            if($value == $cvalue)
+                echo "<option value=$value selected>$value\n";
+            else
+                echo "<option value=$value>$value\n";
+        }
     }
     echo "</select>\n";
 }
@@ -133,15 +139,15 @@
     
     echo "<select name='$varname'>\n";
     echo "<option value=\"\">Choose ...</option>\n";
-    $aRating = array("Gold", "Silver", "Bronze", "Garbage");
+    $aRating = array("Platinum", "Gold", "Silver", "Bronze", "Garbage");
     $iMax = count($aRating);
 
     for($i=0; $i < $iMax; $i++)
     {
         if($aRating[$i] == $cvalue)
-            echo "<option value=$aRating[$i] selected>$aRating[$i]\n";
+            echo "<option class=$aRating[$i] value=$aRating[$i] selected>$aRating[$i]\n";
         else
-            echo "<option value=$aRating[$i]>$aRating[$i]\n";
+            echo "<option class=$aRating[$i] value=$aRating[$i]>$aRating[$i]\n";
     }
     echo "</select>\n";
 }


More information about the wine-patches mailing list