MDL-29723 mod/quiz: Modified show/hide button in edit.php and added some extra CSS rules to styles.css to make Question bank block more compatible/adaptable with themes.

This commit is contained in:
Mary Evans 2013-01-22 16:17:11 +00:00
parent a5ec499521
commit bd5d8b5041
2 changed files with 12 additions and 8 deletions

View file

@ -458,12 +458,11 @@ if ($quiz_qbanktool) {
echo '<div class="questionbankwindow ' . $bankclass . 'block">';
echo '<div class="header"><div class="title"><h2>';
echo get_string('questionbankcontents', 'quiz') .
' <a href="' . $thispageurl->out(true, array('qbanktool' => '1')) .
'" id="showbankcmd">[' . get_string('show').
']</a>
<a href="' . $thispageurl->out(true, array('qbanktool' => '0')) .
'" id="hidebankcmd">[' . get_string('hide').
']</a>';
'&nbsp;[<a href="' . $thispageurl->out(true, array('qbanktool' => '1')) .
'" id="showbankcmd">' . get_string('show').
'</a><a href="' . $thispageurl->out(true, array('qbanktool' => '0')) .
'" id="hidebankcmd">' . get_string('hide').
'</a>]';
echo '</h2></div></div><div class="content">';
echo '<span id="questionbank"></span>';