merging MDL-13419 removing space before input html element and cleaning of diagnostic

message
This commit is contained in:
pichetp
2008-02-18 20:35:52 +00:00
parent 8905e7b645
commit a1b3e19dd4
+1 -2
View File
@@ -77,7 +77,6 @@ class embedded_cloze_qtype extends default_questiontype {
//
$oldqtype = get_field('question', 'qtype', 'id',$oldwrappedid) ;
if($oldqtype != $wrapped->qtype ) {
echo "<p>oldqtype $oldqtype newqtype".$wrapped->qtype."</p>";
switch ($oldqtype) {
case 'multichoice':
delete_records('question_multichoice', 'question', $oldwrappedid);
@@ -346,7 +345,7 @@ class embedded_cloze_qtype extends default_questiontype {
}
*/
echo " <input $style $readonly $popup name=\"$inputname\"";
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\" />";