Selaa lähdekoodia

Fix form for exercise scenario

Angel Fernando Quiroz Campos 10 vuotta sitten
vanhempi
commit
4dd558ea64
1 muutettua tiedostoa jossa 5 lisäystä ja 7 poistoa
  1. 5 7
      main/exercice/unique_answer.class.php

+ 5 - 7
main/exercice/unique_answer.class.php

@@ -59,20 +59,18 @@ class UniqueAnswer extends Question
 
         if ($obj_ex->selectFeedbackType() == EXERCISE_FEEDBACK_TYPE_DIRECT) {
             //Scenario
-            $editor_config['Width'] = '250';
-            $editor_config['Height'] = '110';
-            $comment_title = '<th width="50%" >' . get_lang('Comment') . '</th>';
-            $feedback_title = '<th width="50%" >' . get_lang('Scenario') . '</th>';
+            $comment_title = '<th>' . get_lang('Comment') . '</th>';
+            $feedback_title = '<th>' . get_lang('Scenario') . '</th>';
         } else {
-            $comment_title = '<th width="50%">' . get_lang('Comment') . '</th>';
+            $comment_title = '<th >' . get_lang('Comment') . '</th>';
         }
 
         $html = '<table class="table table-striped table-hover">
             <thead>
                 <tr style="text-align: center;">
                     <th width="10">' . get_lang('Number') . '</th>
-                    <th width="10" >' . get_lang('True') . '</th>
-                    <th width="50%">' . get_lang('Answer') . '</th>
+                    <th>' . get_lang('True') . '</th>
+                    <th>' . get_lang('Answer') . '</th>
                         ' . $comment_title . '
                         ' . $feedback_title . '
                     <th width="10">' . get_lang('Weighting') . '</th>