[AppDB] Display the maintainers rating in appview.php

tony_lambregts at telusplanet.net tony_lambregts at telusplanet.net
Tue Jan 4 15:21:51 CST 2005


Change log: Display the maintainers rating in appview.php

Files changed: appview.php

-------------- next part --------------
Index: appview.php
===================================================================
RCS file: /home/wine/appdb/appview.php,v
retrieving revision 1.33
diff -u -r1.33 appview.php
--- appview.php	31 Dec 2004 00:30:00 -0000	1.33
+++ appview.php	4 Jan 2005 21:13:46 -0000
@@ -171,6 +171,7 @@
         echo "    <td><font color=white>Description</font></td>\n";
         echo "    <td width=80><font color=white class=small>Rating With Windows</font></td>\n";
         echo "    <td width=80><font color=white class=small>Rating Without Windows</font></td>\n";
+        echo "    <td width=80><font color=white class=small>Maintainer Rating</font></td>\n";
         echo "    <td width=40><font color=white class=small>Comments</font></td>\n";
         echo "</tr>\n\n";
       
@@ -198,6 +199,7 @@
             echo "    <td>$desc &nbsp;</td>\n";
             echo "    <td align=center>$r_win</td>\n";
             echo "    <td align=center>$r_fake</td>\n";
+            echo "    <td align=center>$ver->maintainer_rating</td>\n";
             echo "    <td align=center>$r_count</td>\n";
             echo "</tr>\n\n";
 
@@ -425,10 +427,13 @@
     echo "<tr class=color0 valign=top><td> <b>URL</b></td><td>".stripslashes($appLinkURL)."</td></tr>\n";
 
     // rating Area
+    echo "<tr class=color1 valign=top><td> <b>Maintainer Rating</b></td><td>".stripslashes($ver->maintainer_rating)."</td></tr>\n";
+    echo "<tr class=color0 valign=top><td> <b>Maintainers Version</b></td><td>".stripslashes($ver->maintainer_release)."</td></tr>\n";
+
     $r_win = rating_stars_for_version($versionId, "windows");
     $r_fake = rating_stars_for_version($versionId, "fake");
 
-    echo "<tr class=color1 valign=top><td> <b>Rating</b></td><td> $r_win \n";
+    echo "<tr class=color1 valign=top><td> <b>User Rating</b></td><td> $r_win \n";
     echo "<br /> $r_fake </td></tr>\n";
 
     // image


More information about the wine-patches mailing list