Skip to content

Commit

Permalink
Bug #5995 - poor English in expiry notice; merged from MOODLE_16_STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jul 3, 2006
1 parent dbfa9cc commit 7eb60c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions enrol/manual/enrol.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ function cron() {
$a->extendurl = $CFG->wwwroot . '/user/index.php?id=' . $course->id;
$a->current = array();
$a->past = array();
$a->studentstr = $course->student;
$a->teacherstr = $course->teacher;
$a->current = $a->past = array();
$expiry = time() + $course->expirythreshold;
$sql = "SELECT * FROM {$CFG->prefix}user u INNER JOIN {$CFG->prefix}user_students s ON u.id=s.userid WHERE s.course = $course->id AND s.timeend > 0 AND s.timeend <= $expiry";
Expand Down
6 changes: 3 additions & 3 deletions lang/en_utf8/moodle.php
Original file line number Diff line number Diff line change
Expand Up @@ -505,11 +505,11 @@
$a->extendurl
';
$string['expirynotifystudents'] = 'Notify students';
$string['expirynotifystudentsemail'] = 'Dear student:
$string['expirynotifystudentsemail'] = 'Dear $a->studentstr:
This is a notification that your enrolment for course $a->course will be expired in $a->threshold days.
This is a notification that your enrolment in the course $a->course will expire in $a->threshold days.
Please contact your tutor for any further enqiries.
Please contact your $a->teacherstr for any further enquiries.
';
$string['expirythreshold'] = 'Threshold';
$string['extendenrol'] = 'Extend enrolment';
Expand Down

0 comments on commit 7eb60c2

Please sign in to comment.