|
|
|
@ -23,11 +23,11 @@ if (is_object($objQuestion)) { |
|
|
|
$form = new FormValidator('question_admin_form','post', $action); |
|
|
|
$form = new FormValidator('question_admin_form','post', $action); |
|
|
|
if (isset($_GET['editQuestion'])) { |
|
|
|
if (isset($_GET['editQuestion'])) { |
|
|
|
$class = "btn btn-default"; |
|
|
|
$class = "btn btn-default"; |
|
|
|
$text='<i class="fa fa-check"></i> '.get_lang('ModifyQuestion'); |
|
|
|
$text = get_lang('ModifyQuestion'); |
|
|
|
$type = isset($_GET['type']) ? Security::remove_XSS($_GET['type']) : null; |
|
|
|
$type = isset($_GET['type']) ? Security::remove_XSS($_GET['type']) : null; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$class = "btn btn-default"; |
|
|
|
$class = "btn btn-default"; |
|
|
|
$text='<i class="fa fa-plus"></i> '.get_lang('AddQuestionToExercise'); |
|
|
|
$text = get_lang('AddQuestionToExercise'); |
|
|
|
$type = $_REQUEST['answerType']; |
|
|
|
$type = $_REQUEST['answerType']; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|