mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
remove [] from clue button text in JCloze (HP default is [?], so additional [] are not needed)
This commit is contained in:
parent
c0abecb822
commit
daa08c4e4c
1 changed files with 1330 additions and 1330 deletions
|
@ -813,7 +813,7 @@ class hotpot_xml_quiz_template extends hotpot_xml_template_default {
|
||||||
}
|
}
|
||||||
if ($this->v6_expand_Clues()) {
|
if ($this->v6_expand_Clues()) {
|
||||||
$caption = $this->v6_expand_ClueCaption();
|
$caption = $this->v6_expand_ClueCaption();
|
||||||
$str .= '<button style="line-height: 1.0" class="FuncButton" onfocus="FuncBtnOver(this)" onmouseover="FuncBtnOver(this)" onblur="FuncBtnOut(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOut(this)" onclick="ShowClue('.$q.')">['.$caption.']</button>';
|
$str .= '<button style="line-height: 1.0" class="FuncButton" onfocus="FuncBtnOver(this)" onmouseover="FuncBtnOver(this)" onblur="FuncBtnOut(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOut(this)" onclick="ShowClue('.$q.')">'.$caption.'</button>';
|
||||||
}
|
}
|
||||||
$str .= '</span>';
|
$str .= '</span>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue