Let objectManager show testResults queue. Maintainers now get a list of queued test results

for versions they maintain.
This commit is contained in:
Alexander Nicolaysen Sørnes
2007-03-18 22:15:06 +00:00
committed by WineHQ
parent eb019fb611
commit 7f397c1dc4
4 changed files with 176 additions and 64 deletions

View File

@@ -143,28 +143,6 @@ else // if ($aClean['sSub']) is not defined, display the Test results queue page
$oTest = new TestData();
apidb_header("Test Results");
// Get queued test results.
$hResult = $oTest->getTestingQueue("true");
if(!$hResult)
{
//no apps in queue
echo html_frame_start("Submitted Test Results","90%");
echo '<p><b>The Submitted Test Results Queue is empty.</b></p>',"\n";
echo html_frame_end("&nbsp;");
}
else
{
//help
echo "<div align=center><table width='90%' border=0 cellpadding=3 cellspacing=0><tr><td>\n\n";
echo "<p>This is the list of test results waiting for submission, rejection or deletion.</p>\n";
echo "<p>To view a submission, click on its name. From that page you can Submit it into \n";
echo "the AppDB reject it or delete it.<br>\n";
echo "</td></tr></table></div>\n\n";
$oTest->ShowListofTests($hResult,"Submitted Test Results");
}
// Get rejected test results.
$hResult = $oTest->getTestingQueue("rejected");
if(!$hResult || !mysql_num_rows($hResult))