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:
20949f4
)
MDL-41643 datafield_checkbox: Add line breaks behind checkbox options.
author
Johannes Burk
<me@jojoob.de>
Thu, 29 Oct 2015 10:47:48 +0000
(11:47 +0100)
committer
Johannes Burk
<me@jojoob.de>
Sat, 14 Nov 2015 12:48:20 +0000
(13:48 +0100)
Add line a break behind each checkbox option in advanced search.
mod/data/field/checkbox/field.class.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/data/field/checkbox/field.class.php
b/mod/data/field/checkbox/field.class.php
index
5b3cbf7
..
0711292
100644
(file)
--- a/
mod/data/field/checkbox/field.class.php
+++ b/
mod/data/field/checkbox/field.class.php
@@
-97,6
+97,7
@@
class data_field_checkbox extends data_field_base {
} else {
$str .= html_writer::checkbox('f_'.$this->field->id.'[]', s($checkbox), false, $checkbox);
}
+ $str .= html_writer::empty_tag('br');
$found = true;
}
if (!$found) {