Use new icons for enable/disable email address on user profile page
This commit is contained in:
+2
-2
@@ -150,11 +150,11 @@
|
||||
if ($user->emailstop) {
|
||||
$switchparam = 'enable';
|
||||
$switchtitle = get_string('emaildisable');
|
||||
$switchpix = 'show.gif';
|
||||
$switchpix = 'emailno.gif';
|
||||
} else {
|
||||
$switchparam = 'disable';
|
||||
$switchtitle = get_string('emailenable');
|
||||
$switchpix = 'hide.gif';
|
||||
$switchpix = 'email.gif';
|
||||
}
|
||||
$emailswitch = " <a title=\"$switchtitle\" ".
|
||||
"href=\"view.php?id=$user->id&course=$course->id&$switchparam=$user->id\">".
|
||||
|
||||
Reference in New Issue
Block a user