From cbc146299782d745320d5da98f1c0ee54d544977 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 10 Jun 2002 11:11:53 +0000 Subject: [PATCH] Course entry key is now called an enrolment key --- course/edit.html | 2 +- course/enrol.html | 4 ++-- course/enrol.php | 2 +- course/lib.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/course/edit.html b/course/edit.html index f0991ed270..53768d8401 100644 --- a/course/edit.html +++ b/course/edit.html @@ -19,7 +19,7 @@ -

Entry Key: +

Enrolment Key: diff --git a/course/enrol.html b/course/enrol.html index 56bea0685e..4883b733ce 100644 --- a/course/enrol.html +++ b/course/enrol.html @@ -3,7 +3,7 @@ @@ -12,7 +12,7 @@
-

This course requires a "course entry key" - a one-time
+

This course requires an "enrolment key" - a one-time
password that you should have got from firstname $teacher->lastname") ?>.

- +

Entry Key:

Enrolment Key:

diff --git a/course/enrol.php b/course/enrol.php index 349338eed9..257a8d7bf5 100644 --- a/course/enrol.php +++ b/course/enrol.php @@ -37,7 +37,7 @@ redirect($destination); } else { - $errormsg = "That entry key was incorrect, please try again". + $errormsg = "That enrolment key was incorrect, please try again". "
(Here's a hint - it starts with \"".substr($course->password,0,1)."\")"; } } diff --git a/course/lib.php b/course/lib.php index 80b3350736..f84bb09550 100644 --- a/course/lib.php +++ b/course/lib.php @@ -175,11 +175,11 @@ function print_course($course) { echo "

"; } if ($course->guest or ($course->password == "")) { - echo "wwwroot/course/view.php?id=$course->id\">"; + echo "wwwroot/course/view.php?id=$course->id\">"; echo "\"\"wwwroot/user/user.gif\">  "; } if ($course->password) { - echo "wwwroot/course/view.php?id=$course->id\">"; + echo "wwwroot/course/view.php?id=$course->id\">"; echo "\"\"wwwroot/pix/i/key.gif\">"; } -- 2.39.5