$string['emaildigestcomplete'] = 'Complete (daily email with full posts)';
$string['emaildigestsubjects'] = 'Subjects (daily email with subjects only)';
$string['emaildisable'] = 'This email address is disabled.';
+$string['emaildisableclick'] = 'Click here to disable all email from being sent to this address';
$string['emaildisplay'] = 'Email display';
$string['emaildisplaycourse'] = 'Allow only other course members to see my email address';
$string['emaildisplayno'] = 'Hide my real email address from everyone';
$string['emaildisplayyes'] = 'Allow everyone to see my email address';
$string['emailenable'] = 'This email address is enabled.';
+$string['emailenableclick'] = 'Click here to re-enable all email being sent to this address';
$string['emailexists'] = 'This email address is already registered.';
$string['emailformat'] = 'Email format';
$string['emailmustbereal'] = 'Note: your email address must be a real one';
if ($user->emailstop) {
$switchparam = 'enable';
$switchtitle = get_string('emaildisable');
+ $switchclick = get_string('emailenableclick');
$switchpix = 'emailno.gif';
} else {
$switchparam = 'disable';
$switchtitle = get_string('emailenable');
+ $switchclick = get_string('emaildisableclick');
$switchpix = 'email.gif';
}
- $emailswitch = " <a title=\"$switchtitle\" ".
+ $emailswitch = " <a title=\"$switchclick\" ".
"href=\"view.php?id=$user->id&course=$course->id&$switchparam=$user->id\">".
"<img border=\"0\" width=11 height=11 src=\"$CFG->pixpath/t/$switchpix\"></a>";
} else {