diff --git a/include/testData.php b/include/testData.php index e0dca48..c52b8b5 100644 --- a/include/testData.php +++ b/include/testData.php @@ -672,14 +672,29 @@ class testData{ echo 'Date tested ',"\n"; echo '',"\n"; echo '

YYYY-MM-DD HH:MM:SS',"\n"; + // Distribution + $oDistribution = new distribution($this->iDistributionId); + $sDistributionHelp = ""; + if(!$this->iDistributionId || $oDistribution->sQueued != "false") + { + if(!$this->iDistributionId) + { + $sDistributionHelp = "If yours is not on the list, ". + "please add it using the form below."; + } else + { + $sDistributionHelp = "The user added a new distribution; "; + "review it in the form below or replace ". + "it with one from the list."; + } + $sDistributionHelp ."
\n"; + } + echo 'Distribution',"\n"; - echo 'If yours is not on the list, please add it using the form '. - 'below',"\n"; - echo '',"\n"; - echo '',"\n"; + echo $sDistributionHelp; distribution::make_distribution_list("iDistributionId", $this->iDistributionId); echo '',"\n";