diff --git a/export.php b/export.php index 9b6fb99..f70682b 100644 --- a/export.php +++ b/export.php @@ -45,7 +45,7 @@ $PAGE->set_title($course->shortname. ": ".$att->name); $PAGE->set_heading($course->fullname); $PAGE->set_cacheable(true); $PAGE->set_button($OUTPUT->update_module_button($cm->id, 'attendance')); -$PAGE->navbar->add(get_string('export', 'quiz')); +$PAGE->navbar->add(get_string('export', 'attendance')); $formparams = array('course' => $course, 'cm' => $cm, 'modcontext' => $PAGE->context); $mform = new mod_attendance_export_form($att->url_export(), $formparams); diff --git a/export_form.php b/export_form.php index 766e863..8d6990c 100644 --- a/export_form.php +++ b/export_form.php @@ -46,7 +46,7 @@ class mod_attendance_export_form extends moodleform { $cm = $this->_customdata['cm']; $modcontext = $this->_customdata['modcontext']; - $mform->addElement('header', 'general', get_string('export', 'quiz')); + $mform->addElement('header', 'general', get_string('export', 'attendance')); $groupmode=groups_get_activity_groupmode($cm, $course); $groups = groups_get_activity_allowed_groups($cm, $USER->id); diff --git a/lang/en/attendance.php b/lang/en/attendance.php index e134ed6..744300b 100644 --- a/lang/en/attendance.php +++ b/lang/en/attendance.php @@ -233,3 +233,4 @@ $string['attendance_already_submitted'] = 'You may not self register attendance $string['lowgrade'] = 'Low grade'; $string['submitattendance'] = 'Submit attendance'; $string['attendancenotset'] = 'You must set your attendance'; +$string['export'] = 'Export'; \ No newline at end of file diff --git a/renderables.php b/renderables.php index 924dda9..5dd2223 100644 --- a/renderables.php +++ b/renderables.php @@ -85,7 +85,7 @@ class attendance_tabs implements renderable { if ($this->att->perm->can_export()) { $toprow[] = new tabobject(self::TAB_EXPORT, $this->att->url_export()->out(), - get_string('export', 'quiz')); + get_string('export', 'attendance')); } if ($this->att->perm->can_change_preferences()) {