Fix borders in adminMaintainers in cells that have no content, they need to have &nbsp in there or they are dropped and not rendered, leaving odd spaces in the table display

This commit is contained in:
Chris Morgan
2005-08-25 03:35:07 +00:00
committed by WineHQ
parent 58d4e45b08
commit 2b3e470adb

View File

@@ -81,7 +81,7 @@ if ($_REQUEST['sub'])
echo " <td style=\"$style\"><a href=\"mailto:".$oUser->sEmail."\">".$oUser->sRealname."</a></td>\n"; echo " <td style=\"$style\"><a href=\"mailto:".$oUser->sEmail."\">".$oUser->sRealname."</a></td>\n";
$count = $oUser->getMaintainerCount(true); $count = $oUser->getMaintainerCount(true);
if($count == 0) if($count == 0)
echo " <td style=\"$style\"></td>\n"; echo " <td style=\"$style\">&nbsp</td>\n";
else if($count <= 1) else if($count <= 1)
echo " <td style=\"$style\">".$count." app</td>\n"; echo " <td style=\"$style\">".$count." app</td>\n";
else else
@@ -90,7 +90,7 @@ if ($_REQUEST['sub'])
$count = $oUser->getMaintainerCount(false); $count = $oUser->getMaintainerCount(false);
if($count == 0) if($count == 0)
echo " <td style=\"$style\"></td>\n"; echo " <td style=\"$style\">&nbsp</td>\n";
else if($count <= 1) else if($count <= 1)
echo " <td style=\"$style\">".$count." version</td>\n"; echo " <td style=\"$style\">".$count." version</td>\n";
else else