95 $this->instantResponseEnabled = $instantFeedbackEnabled;
115 $navTpl =
new ilTemplate(
'tpl.qst_question_related_navigation.html',
true,
true,
'Modules/TestQuestionPool');
117 $parseQuestionRelatedNavigation =
false;
121 $navTpl->setCurrentBlock(
"direct_feedback");
123 $navTpl->setVariable(
"TEXT_SHOW_INSTANT_RESPONSE", $this->lng->txt(
"check"));
124 $navTpl->parseCurrentBlock();
126 $parseQuestionRelatedNavigation =
true;
131 require_once
'Modules/TestQuestionPool/classes/class.ilAssQuestionHintTracking.php';
132 require_once
'Modules/TestQuestionPool/classes/class.ilAssQuestionHintRequestGUI.php';
138 $buttonText = $this->lng->txt(
"button_request_next_question_hint");
142 $buttonText = $this->lng->txt(
"button_request_question_hint");
145 $navTpl->setCurrentBlock(
"button_request_next_question_hint");
146 $navTpl->setVariable(
"CMD_REQUEST_NEXT_QUESTION_HINT", $this->
getHintRequestCmd());
147 $navTpl->setVariable(
"TEXT_REQUEST_NEXT_QUESTION_HINT", $buttonText);
148 $navTpl->parseCurrentBlock();
150 $parseQuestionRelatedNavigation =
true;
155 $navTpl->setCurrentBlock(
"button_show_requested_question_hints");
156 $navTpl->setVariable(
"CMD_SHOW_REQUESTED_QUESTION_HINTS", $this->
getHintListCmd());
157 $navTpl->setVariable(
"TEXT_SHOW_REQUESTED_QUESTION_HINTS", $this->lng->txt(
"button_show_requested_question_hints"));
158 $navTpl->parseCurrentBlock();
160 $parseQuestionRelatedNavigation =
true;
164 if( $parseQuestionRelatedNavigation )
166 $navTpl->setCurrentBlock(
"question_related_navigation");
167 $navTpl->parseCurrentBlock();
170 return $navTpl->get();