Make the case of 'Application' class match the case used to define the class. Php doesn't care but its a nice touch.
This commit is contained in:
@@ -56,7 +56,7 @@ if ($aClean['sSub'])
|
|||||||
$oTest = new testData($aClean['iTestingId']);
|
$oTest = new testData($aClean['iTestingId']);
|
||||||
}
|
}
|
||||||
$oVersion = new Version($oTest->iVersionId);
|
$oVersion = new Version($oTest->iVersionId);
|
||||||
$oApp = new application($oVersion->iAppId);
|
$oApp = new Application($oVersion->iAppId);
|
||||||
$sVersionInfo = $oApp->sName." ".$oVersion->sName;
|
$sVersionInfo = $oApp->sName." ".$oVersion->sName;
|
||||||
|
|
||||||
if ($aClean['sSub'] == 'view')
|
if ($aClean['sSub'] == 'view')
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ else
|
|||||||
{
|
{
|
||||||
$oTest = new testData($iTestingId);
|
$oTest = new testData($iTestingId);
|
||||||
$oVersion = new version($oTest->iVersionId);
|
$oVersion = new version($oTest->iVersionId);
|
||||||
$oApp = new application($oVersion->iAppId);
|
$oApp = new Application($oVersion->iAppId);
|
||||||
$oSubmitter = new User($oTest->iSubmitterId);
|
$oSubmitter = new User($oTest->iSubmitterId);
|
||||||
$bgcolor = $oTest->sTestedRating;
|
$bgcolor = $oTest->sTestedRating;
|
||||||
|
|
||||||
|
|||||||
@@ -405,7 +405,7 @@ class testData{
|
|||||||
{
|
{
|
||||||
$oTest = new testData($oRow->testingId);
|
$oTest = new testData($oRow->testingId);
|
||||||
$oVersion = new version($oTest->iVersionId);
|
$oVersion = new version($oTest->iVersionId);
|
||||||
$oApp = new application($oVersion->iAppId);
|
$oApp = new Application($oVersion->iAppId);
|
||||||
$oSubmitter = new User($oTest->iSubmitterId);
|
$oSubmitter = new User($oTest->iSubmitterId);
|
||||||
$oDistribution = new distribution($oTest->iDistributionId);
|
$oDistribution = new distribution($oTest->iDistributionId);
|
||||||
$bgcolor = $oTest->sTestedRating;
|
$bgcolor = $oTest->sTestedRating;
|
||||||
@@ -647,7 +647,7 @@ class testData{
|
|||||||
// dont show testing results of versions that are still queued.
|
// dont show testing results of versions that are still queued.
|
||||||
if ($oVersion->sQueued == 'false')
|
if ($oVersion->sQueued == 'false')
|
||||||
{
|
{
|
||||||
$oApp = new application($oVersion->iAppId);
|
$oApp = new Application($oVersion->iAppId);
|
||||||
$oSubmitter = new User($oTest->iSubmitterId);
|
$oSubmitter = new User($oTest->iSubmitterId);
|
||||||
$bgcolor = $oTest->sTestedRating;
|
$bgcolor = $oTest->sTestedRating;
|
||||||
echo '<tr class='.$bgcolor.'>',"\n";
|
echo '<tr class='.$bgcolor.'>',"\n";
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ if ($aClean['sSub'])
|
|||||||
}
|
}
|
||||||
if ($aClean['sSub'] == 'view')
|
if ($aClean['sSub'] == 'view')
|
||||||
{
|
{
|
||||||
$oApp = new application($oVersion->iAppId);
|
$oApp = new Application($oVersion->iAppId);
|
||||||
$sVersionInfo = $oApp->sName." ".$oVersion->sName;
|
$sVersionInfo = $oApp->sName." ".$oVersion->sName;
|
||||||
|
|
||||||
switch($oTest->sQueued)
|
switch($oTest->sQueued)
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ if($oVendor->iVendorId)
|
|||||||
echo '<br />Applications by '.$oVendor->sName.'<br /><ol>',"\n";
|
echo '<br />Applications by '.$oVendor->sName.'<br /><ol>',"\n";
|
||||||
foreach($oVendor->aApplicationsIds as $iAppId)
|
foreach($oVendor->aApplicationsIds as $iAppId)
|
||||||
{
|
{
|
||||||
$oApp = new application($iAppId);
|
$oApp = new Application($iAppId);
|
||||||
echo '<li> <a href="appview.php?iAppId='.$oApp->iAppId.'">'.$oApp->sName.'</a> </li>',"\n";
|
echo '<li> <a href="appview.php?iAppId='.$oApp->iAppId.'">'.$oApp->sName.'</a> </li>',"\n";
|
||||||
}
|
}
|
||||||
echo '</ol>',"\n";
|
echo '</ol>',"\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user