Rename some variables to match our current naming scheme
This commit is contained in:
@@ -69,14 +69,14 @@ if ($aClean['sub'])
|
||||
|
||||
$c = 1;
|
||||
$oldUserId = 0;
|
||||
while($ob = mysql_fetch_object($hResult))
|
||||
while($oRow = mysql_fetch_object($hResult))
|
||||
{
|
||||
$oUser = new User($ob->userId);
|
||||
$oUser = new User($oRow->userId);
|
||||
if ($c % 2 == 1) { $bgcolor = 'color0'; } else { $bgcolor = 'color1'; }
|
||||
|
||||
/* if this is a new user we should print a header that has the aggregate of the applications */
|
||||
/* the user super maintains and versions they maintain */
|
||||
if($ob->userId != $oldUserId)
|
||||
if($oRow->userId != $oldUserId)
|
||||
{
|
||||
$style = "border-top:thin solid;border-bottom:thin solid";
|
||||
|
||||
@@ -107,22 +107,22 @@ if ($aClean['sub'])
|
||||
echo " <td align=\"center\" style=\"$style;border-right:thin solid\"> </td>\n";
|
||||
echo "</tr>\n\n";
|
||||
|
||||
$oldUserId = $ob->userId;
|
||||
$oldUserId = $oRow->userId;
|
||||
}
|
||||
|
||||
echo "<tr class=$bgcolor>\n";
|
||||
echo " <td>".print_date(mysqldatetime_to_unixtimestamp($ob->submitTime))." </td>\n";
|
||||
echo " <td>".print_date(mysqldatetime_to_unixtimestamp($oRow->submitTime))." </td>\n";
|
||||
echo " <td><a href=\"mailto:".$oUser->sEmail."\">".$oUser->sRealname."</a></td>\n";
|
||||
if($ob->superMaintainer)
|
||||
if($oRow->superMaintainer)
|
||||
{
|
||||
echo " <td><a href='".BASE."appview.php?appId=$ob->appId'>".Application::lookup_name($ob->appId)."</a></td>\n";
|
||||
echo " <td><a href='".BASE."appview.php?appId=$oRow->appId'>".Application::lookup_name($oRow->appId)."</a></td>\n";
|
||||
echo " <td>*</td>\n";
|
||||
} else
|
||||
{
|
||||
echo " <td><a href='".BASE."appview.php?appId=$ob->appId'>".Application::lookup_name($ob->appId)."</a></td>\n";
|
||||
echo " <td><a href='".BASE."appview.php?versionId=$ob->versionId'>".Version::lookup_name($ob->versionId)."</a> </td>\n";
|
||||
echo " <td><a href='".BASE."appview.php?appId=$oRow->appId'>".Application::lookup_name($oRow->appId)."</a></td>\n";
|
||||
echo " <td><a href='".BASE."appview.php?versionId=$oRow->versionId'>".Version::lookup_name($oRow->versionId)."</a> </td>\n";
|
||||
}
|
||||
echo " <td align=\"center\">[<a href='adminMaintainers.php?sub=delete&maintainerId=$ob->maintainerId'>delete</a>]</td>\n";
|
||||
echo " <td align=\"center\">[<a href='adminMaintainers.php?sub=delete&maintainerId=$oRow->maintainerId'>delete</a>]</td>\n";
|
||||
echo "</tr>\n\n";
|
||||
$c++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user