Allow previewing versions

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-10-22 17:59:40 +02:00
committed by Chris Morgan
parent 1753ff9757
commit cdee3a77e9
2 changed files with 31 additions and 11 deletions

View File

@@ -162,6 +162,7 @@ class version_queue
function getOutputEditorValues($aClean)
{
$this->oVersion->iAppId = $aClean['iAppId'];
$this->oVersion->getOutputEditorValues($aClean);
$this->oTestDataQueue->getOutputEditorValues($aClean);
}
@@ -214,9 +215,17 @@ class version_queue
return $this->oVersion->objectGetTableRow();
}
public function objectShowPreview()
{
return $this->oVersion->objectShowPreview();
}
function display()
{
$this->oVersion->display();
$aVars = array();
$aVars['iTestingId'] = 0;
$this->oVersion->display($aVars, $this->oTestDataQueue->oTestData);
}
function objectMakeUrl()