From: tjhunt Date: Mon, 21 Sep 2009 16:53:45 +0000 (+0000) Subject: quiz: MDL-19786 - Un-break the quiz edit page following the OUTPUT changes. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e6fb2c603ee6536903d88d36c7cf3d1814098f11;p=moodle.git quiz: MDL-19786 - Un-break the quiz edit page following the OUTPUT changes. --- diff --git a/mod/quiz/edit.php b/mod/quiz/edit.php index f52bb095e0..4d8f114786 100644 --- a/mod/quiz/edit.php +++ b/mod/quiz/edit.php @@ -475,12 +475,21 @@ if ($quiz_qbanktool) { $bankclass = ''; $quizcontentsclass = ''; } else { - $bankclass = 'collapsed'; + $bankclass = 'collapsed '; $quizcontentsclass = 'quizwhenbankcollapsed'; } -// Nasty short-term hack, becuase I am getting rid of separate print_side_block_start/end functions. -ob_start(); +echo '
'; +echo '

'; +echo get_string('questionbankcontents', 'quiz') . + ' [' . get_string('show'). + '] + [' . get_string('hide'). + ']'; +echo '

'; + echo ''; echo '
'; echo '
'; @@ -494,17 +503,8 @@ $questionbank->display('editq', echo '
'; echo '
'; echo '
'; -$qbhtml = ob_get_contents(); -ob_end_clean(); -print_side_block(get_string('questionbankcontents', 'quiz') . - ' [' . get_string('show'). - '] - [' . get_string('hide'). - '] - ', $qbhtml, null, null, '', array('class' => 'questionbankwindow ' . $bankclass)); +echo '
'; echo '
'; if ($quiz->shufflequestions) { diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 3b132214d3..886efde2d1 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -3210,6 +3210,7 @@ body.notes .notesgroup { #qtypechoicecontainer { display: none; + background: white; } body.jsenabled #qtypechoicecontainer { display: block;