|
That's fantastic Pierre - one less job
I don't care particularly. What about an underscore? howard
there was a space (line 348 of multianswer/questiontype.php) before the input field. echo " <input $style $readonly $popup name=\"$inputname\""; So I remove it and effectively in FF there is no space beween the input HTML element and the question text. However as cloze is used sometimes to ask for a punctiation mark, we should not add anything. Do you agree? this is related to minimum size of cloze question display as asked by teachers who use this question type in language quizzes
Pierre,
I'm sorry, I don't understand. What is FF? It's actually short-answer (type in the text) question types that I'm particularly bothered about. Sorry Howard,
I just want to explain that I have tested if this space change the display because some time in HTML ordinary space characters are not render by the browser so FF means Firefox... Ahhh..... Firefox, obviously
So what was the question? I propose to fix this by removing the space
echo "<input $style $readonly $popup name=\"$inputname\""; without adding anything else. do you agree? exemple with space removed
look in the sapce_cloze.jpg image after : deal with this short answer
That's easy but might it not upset all the people who expect a space to be there?
Removing the space before the input HTML element is good for peoples (like you) who want that the answer is inline with the text as the case of single punctuation character.
Effectively this gives a special display if the answer is a word. This is quite similar to the variable HTML input element length . ( I could use a similar code to add or not the space if the length == 1 but even then it could not work in all languages... I cannot add another field to fill when editing because there is no provision for this in cloze syntax. I think that the best way to do it is to withdraw the space and let the authors (teachers) add it if they want so. This could change the display of actual questions but does not add more difficulty to the students as the input box is clearly defined. I propose to withdraw the space. Help file should clearly specify this. Pierre, where are we with this one?
This was done on Head and 1.9.
See The academic session finish next week and I will do my spring cleaning of my moodle bugs... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MDL-3274I will work on this.However Howard what is an addition formatting character indicating this?