Skip to content

Commit

Permalink
MDL-3274 further trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
pichetp committed Jan 26, 2008
1 parent eba5358 commit b119a40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions question/type/multianswer/questiontype.php
Expand Up @@ -326,7 +326,7 @@ function print_question_formulation_and_controls(&$question, &$state, $cmoptions
}
$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
Expand All @@ -346,8 +346,8 @@ function print_question_formulation_and_controls(&$question, &$state, $cmoptions
}
*/

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\" />";
}
Expand Down

0 comments on commit b119a40

Please sign in to comment.