소스 검색

adding multiple select combination to select filter question pool

Juan Carlos Raña 15 년 전
부모
커밋
b472b9d84b
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      main/exercice/question_pool.php

+ 2 - 1
main/exercice/question_pool.php

@@ -247,7 +247,7 @@ if($is_allowedToEdit)
 		{
 			
 			
-			for ($answer_type = -1; $answer_type <=6; $answer_type++) {
+			for ($answer_type = -1; $answer_type <=9; $answer_type++) {
 				$selected ='';
 				if ($answer_type!=0) {
 					if ($answerType == $answer_type)
@@ -259,6 +259,7 @@ if($is_allowedToEdit)
 					elseif ($answer_type==4) {echo '<option value="'.$answer_type.'" '.$selected.'>'.get_lang('langMatching').'</option>'; }
 					elseif ($answer_type==5) {echo '<option value="'.$answer_type.'" '.$selected.'>'.get_lang('FreeAnswer').'</option>'; }		
 					elseif ($answer_type==6) {echo '<option value="'.$answer_type.'" '.$selected.'>'.get_lang('HotSpot').'</option>'; }
+					elseif ($answer_type==9) {echo '<option value="'.$answer_type.'" '.$selected.'>'.get_lang('MultipleSelectCombination').'</option>'; }
 				}
 			}
 		}