Browse Source

CONTRIB-3992 fix padding between mon-sun checkboxes on add session form

MOODLE_23_STABLE
Dan Marsden 12 years ago
parent
commit
ec8a7939a0
  1. 2
      add_form.php
  2. 3
      styles.css

2
add_form.php

@ -132,7 +132,7 @@ class mod_attendance_add_form extends moodleform {
if ($CFG->calendar_startwday !== '0') { // Week start from sunday.
$sdays[] =& $mform->createElement('checkbox', 'Sun', '', get_string('sunday', 'calendar'));
}
$mform->addGroup($sdays, 'sdays', get_string('sessiondays', 'attendance'), array(' '), true);
$mform->addGroup($sdays, 'sdays', get_string('sessiondays', 'attendance'), array('     '), true);
$mform->disabledIf('sdays', 'addmultiply', 'notchecked');
$period = array(1=>1, 2, 3, 4, 5, 6, 7, 8);

3
styles.css

@ -122,4 +122,7 @@
.path-mod-attendance .attsessions_manage_table .action-icon img.smallicon {
margin-left: 5px;
}
#page-mod-attendance-sessions input[type="checkbox"] {
margin-right: 2px;
}
Loading…
Cancel
Save