appdb/ ./apidb.css include/util.php

WineHQ wineowner at wine.codeweavers.com
Thu Jun 22 23:11:51 CDT 2006


ChangeSet ID:	25981
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/06/22 23:11:50

Modified files:
	.              : apidb.css 
	include        : util.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Fix the application name column in the top 'X' lists to be 150px wide so each top 'X' list
	looks uniform

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

Old revision  New revision  Changes     Path
 1.14          1.15          +2 -0       appdb/apidb.css
 1.57          1.58          +3 -3       appdb/include/util.php

Index: appdb/apidb.css
diff -u -p appdb/apidb.css:1.14 appdb/apidb.css:1.15
--- appdb/apidb.css:1.14	23 Jun 2006  4:11:50 -0000
+++ appdb/apidb.css	23 Jun 2006  4:11:50 -0000
@@ -196,6 +196,8 @@ TD.yes { color: #00B100; font-style: ita
 TD.no  { color: #B10000; font-style: italic; text-align: center }
 TD.stub { color: #0000B1; font-style: italic; text-align: center }
 
+/* width of the application column in the top 'X' lists on the main page */
+TD.app_name { width: 150px }
 
 /* Rating Number */
 .rating { font-family: Helvetica, Arial; font-size: 6pt; color: #333333; }		  
Index: appdb/include/util.php
diff -u -p appdb/include/util.php:1.57 appdb/include/util.php:1.58
--- appdb/include/util.php:1.57	23 Jun 2006  4:11:50 -0000
+++ appdb/include/util.php	23 Jun 2006  4:11:50 -0000
@@ -269,9 +269,9 @@ function outputTopXRow($oRow)
     $img = get_screenshot_img(null, $oRow->versionId, false); // image, disable extra formatting
     echo '
     <tr class="white">
-      <td><a href="appview.php?versionId='.$oRow->versionId.'">'.$oApp->sName.' '.$oVersion->sName.'</a></td>
-        <td>'.trim_description($oApp->sDescription).'</td>
-        <td><center>'.$img.'</center></td>
+      <td class="app_name"><a href="appview.php?versionId='.$oRow->versionId.'">'.$oApp->sName.' '.$oVersion->sName.'</a></td>
+      <td>'.trim_description($oApp->sDescription).'</td>
+      <td><center>'.$img.'</center></td>
     </tr>';
 }
 



More information about the wine-cvs mailing list