Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1371d09
)
MDL-47494 gapselect: Select menus should start saying 'Choose ...', not blank.
author
Tim Hunt
<T.J.Hunt@open.ac.uk>
Mon, 5 Dec 2011 12:51:08 +0000
(12:51 +0000)
committer
Tim Hunt
<T.J.Hunt@open.ac.uk>
Mon, 5 Dec 2011 12:51:08 +0000
(12:51 +0000)
question/type/gapselect/renderer.php
patch
|
blob
|
blame
|
history
diff --git
a/question/type/gapselect/renderer.php
b/question/type/gapselect/renderer.php
index
c3a0ec7
..
20bb3a3
100644
(file)
--- a/
question/type/gapselect/renderer.php
+++ b/
question/type/gapselect/renderer.php
@@
-72,7
+72,7
@@
class qtype_gapselect_renderer extends qtype_elements_embedded_in_question_text_
}
$selecthtml = html_writer::select($selectoptions, $qa->get_qt_field_name($fieldname),
- $value,
' '
, $attributes) . ' ' . $feedbackimage;
+ $value,
get_string('choosedots')
, $attributes) . ' ' . $feedbackimage;
return html_writer::tag('span', $selecthtml, array('class' => 'control '.$groupclass));
}