mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle
This commit is contained in:
commit
5bfeb5ffd3
108 changed files with 390 additions and 216 deletions
|
@ -210,7 +210,7 @@ echo $OUTPUT->doctype() ?>
|
|||
|
||||
<div data-role="fieldcontain" id="sliderdiv">
|
||||
<label for="slider"><?php p(get_string('mtoggle','theme_mymobile')); ?>:</label>
|
||||
<select name="slider" class="slider" data-role="slider" data-track-theme="b">
|
||||
<select id="slider" name="slider" class="slider" data-role="slider" data-track-theme="b">
|
||||
<option value="on">On</option>
|
||||
<option value="off">Off</option>
|
||||
</select>
|
||||
|
|
|
@ -746,6 +746,8 @@ class theme_mymobile_core_renderer extends core_renderer {
|
|||
|
||||
if ($select->label) {
|
||||
$output .= html_writer::label($select->label, $select->attributes['id']);
|
||||
} else {
|
||||
$output .= html_writer::label($select->selected, $select->attributes['id']);
|
||||
}
|
||||
|
||||
if ($select->helpicon instanceof help_icon) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue