mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-3274 further trimming
This commit is contained in:
parent
eba53585bd
commit
b119a40f16
1 changed files with 3 additions and 3 deletions
|
@ -326,7 +326,7 @@ class embedded_cloze_qtype extends default_questiontype {
|
|||
}
|
||||
$size = $size + rand(0,$size*0.15);
|
||||
$size > 60 ? $size = 60 : $size = $size;
|
||||
$styleinfo = "size=\".$size\"";
|
||||
$styleinfo = "size=\"$size\"";
|
||||
/**
|
||||
* Uncomment the following lines if you want to limit for small sizes.
|
||||
* Results may vary with browsers see MDL-3274
|
||||
|
@ -346,8 +346,8 @@ class embedded_cloze_qtype extends default_questiontype {
|
|||
}
|
||||
*/
|
||||
|
||||
echo " <input $style $readonly $popup name=\"$inputname\"
|
||||
type=\"text\" value=\"".s($response, true)."\" ".$styleinfo." /> ";
|
||||
echo " <input $style $readonly $popup name=\"$inputname\"";
|
||||
echo " type=\"text\" value=\"".s($response, true)."\" ".$styleinfo." /> ";
|
||||
if (!empty($feedback) && !empty($USER->screenreader)) {
|
||||
echo "<img src=\"$CFG->pixpath/i/feedback.gif\" alt=\"$feedback\" />";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue