ChangeSet ID: 31097 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/04/23 18:39:44
Modified files: include : testData_queue.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com Fix a case where the admins would see the wrong help text when submitting new testData. Add borders around the distribution form to match the rest of the editor
Patch: http://cvs.winehq.org/patch.py?id=31097
Old revision New revision Changes Path 1.5 1.6 +6 -1 appdb/include/testData_queue.php
Index: appdb/include/testData_queue.php diff -u -p appdb/include/testData_queue.php:1.5 appdb/include/testData_queue.php:1.6 --- appdb/include/testData_queue.php:1.5 23 Apr 2007 23:39:44 -0000 +++ appdb/include/testData_queue.php 23 Apr 2007 23:39:44 -0000 @@ -66,7 +66,8 @@ class testData_queue
/* If we are processing queued test results with a queued distribution, we display some additional help here */ - if($this->oDistribution->sQueued != "false" && $this->canEdit()) + if($this->oDistribution->iDistributionId && + $this->oDistribution->sQueued != "false" && $this->canEdit()) { echo "The user submitted a new distribution, which will be un-queued ". "together with the test data unless you select an existing one ". @@ -78,7 +79,11 @@ class testData_queue distribution form here */ if(!$this->oTestData->iDistributionId or $this->oDistribution->sQueued != "false") + { + echo html_frame_start("New Distribution", "90%"); $this->oDistribution->outputEditor(); + echo html_frame_end(); + } }
function getOutputEditorValues($aClean)