Fix exercise double icons.

1.10.x
Julio Montoya 11 years ago
parent 868dcd3c10
commit 4b2daf2800
  1. 4
      main/exercice/question_admin.inc.php

@ -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'];
} }

Loading…
Cancel
Save