|
|
|
@ -1200,9 +1200,9 @@ abstract class Question |
|
|
|
|
// default content |
|
|
|
|
$isContent = isset($_REQUEST['isContent']) ? intval($_REQUEST['isContent']) : null; |
|
|
|
|
|
|
|
|
|
// question type |
|
|
|
|
$answerType= intval($_REQUEST['answerType']); |
|
|
|
|
$form->addElement('hidden','answerType',$_REQUEST['answerType']); |
|
|
|
|
// Question type |
|
|
|
|
$answerType = isset($_REQUEST['answerType']) ? intval($_REQUEST['answerType']) : null; |
|
|
|
|
$form->addElement('hidden','answerType', $_REQUEST['answerType']); |
|
|
|
|
|
|
|
|
|
// html editor |
|
|
|
|
$editor_config = array('ToolbarSet' => 'TestQuestionDescription', 'Width' => '100%', 'Height' => '150'); |
|
|
|
@ -1223,7 +1223,8 @@ abstract class Question |
|
|
|
|
$form->addElement ('html','</div>'); |
|
|
|
|
|
|
|
|
|
// hidden values |
|
|
|
|
$form->addElement('hidden', 'myid', intval($_REQUEST['myid'])); |
|
|
|
|
$my_id = isset($_REQUEST['myid']) ? intval($_REQUEST['myid']) : null; |
|
|
|
|
$form->addElement('hidden', 'myid', $my_id); |
|
|
|
|
|
|
|
|
|
if ($this->type != MEDIA_QUESTION) { |
|
|
|
|
|
|
|
|
|