* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
+defined('MOODLE_INTERNAL') || die();
+
require_once($CFG->libdir.'/formslib.php');
/**
break;
case VISIBLEGROUPS:
$radio = array();
- $radio[] = &$mform->createElement('radio', 'sessiontype', '',
- get_string('commonsession', 'attendance'), mod_attendance_structure::SESSION_COMMON);
- $radio[] = &$mform->createElement('radio', 'sessiontype', '',
- get_string('groupsession', 'attendance'), mod_attendance_structure::SESSION_GROUP);
+ $radio[] = &$mform->createElement('radio', 'sessiontype', '', get_string('commonsession', 'attendance'),
+ mod_attendance_structure::SESSION_COMMON);
+ $radio[] = &$mform->createElement('radio', 'sessiontype', '', get_string('groupsession', 'attendance'),
+ mod_attendance_structure::SESSION_GROUP);
$mform->addGroup($radio, 'sessiontype', get_string('sessiontype', 'attendance'), ' ', false);
$mform->setType('sessiontype', PARAM_INT);
$mform->addHelpButton('sessiontype', 'sessiontype', 'attendance');
| id_sestime_endhour | 02 |
And I click on "id_submitbutton" "button"
And I follow "Course 1"
- And I follow "Go to calendar"
+ And I follow "Calendar"
Then I should see "Test attendance"
And I log out
And I log in as "student1"
- And I follow "Go to calendar"
+ And I follow "Calendar"
Then I should see "Test attendance"
\ No newline at end of file