mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Slight improvment to icons for enable/disale email address
This commit is contained in:
parent
fa92b42f60
commit
dee51de29f
@ -325,11 +325,13 @@ $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['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';
|
||||
|
@ -150,13 +150,15 @@
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user