\n";
// Show the other maintainers of this application, if there are any
echo 'Other maintainers of this app: ',"\n";
$foundMaintainers = false;
$firstDisplay = true; /* if false we need to fix up table rows appropriately */
$other_users = getMaintainersUserIdsFromAppIdVersionId($ob->appId, $ob->versionId);
if($other_users)
{
$foundMaintainers = true;
while(list($index, list($userIdValue)) = each($other_users))
{
if($firstDisplay)
{
echo "".lookupUsername($userIdValue)." \n";
$firstDisplay = false;
} else
{
echo "".lookupUsername($userIdValue)." \n";
}
}
}
$other_users = getSuperMaintainersUserIdsFromAppId($ob->appId);
if($other_users)
{
$foundMaintainers = true;
while(list($index, list($userIdValue)) = each($other_users))
{
if($firstDisplay)
{
echo "".lookupUsername($userIdValue)."* \n";
$firstDisplay = false;
} else
{
echo "".lookupUsername($userIdValue)."* \n";
}
}
}
if(!$foundMaintainers)
{
echo "No other maintainers \n";
}
// Show which other apps the user maintains
echo 'This user also maintains these apps: ',"\n";
$firstDisplay = true;
$other_apps = getAppsFromUserId($ob->userId);
if($other_apps)
{
while(list($index, list($appIdOther, $versionIdOther, $superMaintainerOther)) = each($other_apps))
{
if($firstDisplay)
{
$firstDisplay = false;
if($superMaintainerOther)
echo "".appIdToName($appIdOther)."* \n";
else
echo "".appIdToName($appIdOther).versionIdToName($versionIdOther)." \n";
} else
{
if($superMaintainerOther)
echo "".appIdToName($appIdOther)."* \n";
else
echo "".appIdToName($appIdOther).versionIdToName($versionIdOther)." \n";
}
}
} else
{
echo "User maintains no other applications \n";
}
//app name
echo 'App Name ',"\n";
echo "".appIdToName($ob->appId)." \n";
//version
echo 'App Version ',"\n";
echo "".versionIdToName($ob->versionId)." \n";
//maintainReason
echo 'Maintainer request reason ',"\n";
echo ' ',"\n";
//email response
echo 'Email reply ',"\n";
echo " \n";
//echo 'Email ,"\n";
//echo ' ',"\n";
/* Add button */
echo '' ,"\n";
echo ' ',"\n";
/* Reject button */
echo '' ,"\n";
echo ' ',"\n";
echo '
',"\n";
echo 'Maintainer application was successfully deleted from the Queue.
\n";
}
echo html_frame_end(" ");
echo html_back_link(1,'adminMaintainerQueue.php');
}
else
{
//error no sub!
echo html_frame_start("Error","300");
echo 'There is nothing for you to do. Check back later.
',"\n";
echo html_frame_end(" ");
}
else
{
//help
echo "