From 57728105f684b86687e66a794466dbb1c1a8100d Mon Sep 17 00:00:00 2001 From: defacer Date: Tue, 1 Jun 2004 07:59:35 +0000 Subject: [PATCH] Email digest feature: user setting --- lang/en/moodle.php | 4 ++++ user/edit.html | 34 ++++++++++++++++++++++------------ 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 065902fb2d..6d160f2361 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -315,6 +315,10 @@ $string['emailconfirmationsubject'] = '$a: account confirmation'; $string['emailconfirmsent'] = '

An email should have been sent to your address at $a

It contains easy instructions to complete your registration.

If you continue to have difficulty, contact the site administrator.'; +$string['emaildigest'] = 'Email digest type'; +$string['emaildigestoff'] = 'No digest (single email per forum post)'; +$string['emaildigestcomplete'] = 'Complete (daily email with full posts)'; +$string['emaildigestsubjects'] = 'Subjects (daily email with subjects only)'; $string['emaildisable'] = 'This email address is disabled.'; $string['emaildisplay'] = 'Email display'; $string['emaildisplaycourse'] = 'Allow only other course members to see my email address'; diff --git a/user/edit.html b/user/edit.html index 1ead734998..13d7999403 100644 --- a/user/edit.html +++ b/user/edit.html @@ -71,7 +71,7 @@ if (isadmin()) {

: -

: - mailformat, "") ?> + +

: + maildigest, "") ?> + +

: - htmleditor) { ?>

: -

: - country and $CFG->country) { $user->country = $CFG->country; } - + choose_from_menu (get_list_of_countries(), "country", $user->country, get_string("selectacountry")."...", "", "") ?> @@ -169,7 +179,7 @@ if (isadmin()) { formerr($err["description"]); echo "
"; } ?> - + @@ -178,14 +188,14 @@ if (isadmin()) { -maxbytes, $course->maxbytes); - if (!empty($CFG->gdversion) and $maxbytes and empty($CFG->disableuserimages)) { + if (!empty($CFG->gdversion) and $maxbytes and empty($CFG->disableuserimages)) { ?>

: - id, $course->id, $user->picture, false, false, false); + id, $course->id, $user->picture, false, false, false); if ($user->picture) { echo '  '; print_string("delete"); @@ -199,7 +209,7 @@ if (isadmin()) { @@ -259,5 +269,5 @@ if (isadmin()) { "> - + -- 2.39.5