[AppDB] Don't display queued Versions
Tony Lambregts
tony.lambregts at gmail.com
Sun Oct 30 09:08:35 CST 2005
Change Log: Do not display queued Versions
Files Changed: include/util.php
-------------- next part --------------
Index: include/util.php
===================================================================
RCS file: /home/wine/appdb/include/util.php,v
retrieving revision 1.49
diff -u -r1.49 util.php
--- include/util.php 17 Oct 2005 03:59:24 -0000 1.49
+++ include/util.php 30 Oct 2005 14:55:21 -0000
@@ -558,21 +558,22 @@
foreach($aVersionsIds as $iVersionId)
{
$oVersion = new Version($iVersionId);
+ if ($oVersion->sQueued = 'false')
+ {
+ // set row color
+ $bgcolor = ($c % 2 == 0) ? "color0" : "color1";
- // set row color
- $bgcolor = ($c % 2 == 0) ? "color0" : "color1";
-
- //display row
- echo "<tr class=$bgcolor>\n";
- echo " <td><a href=\"".BASE."appview.php?versionId=".$iVersionId."\">".$oVersion->sName."</a></td>\n";
- echo " <td>".trim_description($oVersion->sDescription)."</td>\n";
- echo " <td align=center>".$oVersion->sTestedRating."</td>\n";
- echo " <td align=center>".$oVersion->sTestedRelease."</td>\n";
- echo " <td align=center>".sizeof($oVersion->aCommentsIds)."</td>\n";
- echo "</tr>\n\n";
-
- $c++;
+ //display row
+ echo "<tr class=$bgcolor>\n";
+ echo " <td><a href=\"".BASE."appview.php?versionId=".$iVersionId."\">".$oVersion->sName."</a></td>\n";
+ echo " <td>".trim_description($oVersion->sDescription)."</td>\n";
+ echo " <td align=center>".$oVersion->sTestedRating."</td>\n";
+ echo " <td align=center>".$oVersion->sTestedRelease."</td>\n";
+ echo " <td align=center>".sizeof($oVersion->aCommentsIds)."</td>\n";
+ echo "</tr>\n\n";
+ $c++;
+ }
}
echo "</table>\n";
echo html_frame_end("Click the Version Name to view the details of that Version");
More information about the wine-patches
mailing list