[AppDB] Fix up bugs.php
Tony Lambregts
tony.lambregts at gmail.com
Thu May 26 21:22:00 CDT 2005
bugs.php had a function called display_versions() since this function
is alredy defined elsewhere it caused a error.
Change log: get rid of the display versions function as it is defined elsewhere.
files changed: bugs.php
-------------- next part --------------
Index: bugs.php
===================================================================
RCS file: /home/wine/appdb/bugs.php,v
retrieving revision 1.16
diff -u -r1.16 bugs.php
--- bugs.php 19 Feb 2005 01:19:07 -0000 1.16
+++ bugs.php 27 May 2005 02:08:50 -0000
@@ -68,50 +68,6 @@
-/**
- * display the versions
- */
-function display_versions($iAppId, $aVersionsIds)
-{
- if ($aVersionsIds)
- {
- echo html_frame_start("","98%","",0);
- echo "<table width='100%' border=0 cellpadding=3 cellspacing=1>\n\n";
-
- echo "<tr class=color4>\n";
- echo " <td width=80>Version</td>\n";
- echo " <td>Description</td>\n";
- echo " <td width=80>Rating</td>\n";
- echo " <td width=80>Wine version</td>\n";
- echo " <td width=40>Comments</td>\n";
- echo "</tr>\n\n";
-
- $c = 0;
- foreach($aVersionsIds as $iVersionId)
- {
- $oVersion = new Version($iVersionId);
-
- // set row color
- $bgcolor = ($c % 2 == 0) ? "color0" : "color1";
-
- //display row
- echo "<tr class=$bgcolor>\n";
- echo " <td><a href=\"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->sTestedVersion."</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");
- }
-}
-
-
/* code to View an application's Bugs */
$appId = $_REQUEST['appId'];
More information about the wine-patches
mailing list