]> git.mjollnir.org Git - moodle.git/commitdiff
Use new icons for enable/disable email address on user profile page
authormoodler <moodler>
Sat, 24 Jul 2004 06:25:14 +0000 (06:25 +0000)
committermoodler <moodler>
Sat, 24 Jul 2004 06:25:14 +0000 (06:25 +0000)
user/view.php

index b3a3a4d123fd1063710b5cb2e0511f57d71b2bd1..bff7771c2c0b35a4e336d2f3de61ccb061738472 100644 (file)
             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 = "&nbsp<a title=\"$switchtitle\" ".
                            "href=\"view.php?id=$user->id&course=$course->id&$switchparam=$user->id\">".