quiz editing: MDL-18355 further refinements to the UI. Thanks Olli.

This commit is contained in:
tjhunt
2009-02-26 05:53:31 +00:00
parent 87171bd8ee
commit 7cf3af550c
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -1860,8 +1860,9 @@ function print_choose_qtype_to_add_form($hiddenparams) {
function print_qtype_to_add_option($qtype, $localizedname) {
global $QTYPES;
echo '<div class="qtypeoption">' . "\n";
echo '<label for="qtype_' . $qtype . '">';
echo '<input type="radio" name="qtype" id="qtype_' . $qtype . '" value="' . $qtype . '" />';
echo '<label for="qtype_' . $qtype . '"><span class="qtypename">';
echo '<span class="qtypename">';
$fakequestion = new stdClass;
$fakequestion->qtype = $qtype;
print_question_icon($fakequestion);