]> git.mjollnir.org Git - moodle.git/commitdiff
Altered blink to make it less annoying
authormartin <martin>
Fri, 19 Jul 2002 12:11:15 +0000 (12:11 +0000)
committermartin <martin>
Fri, 19 Jul 2002 12:11:15 +0000 (12:11 +0000)
course/topics.php

index 24f02307547007452f1b4267eec9717ec4011767..3f1db695d44406f142ddbbe4d9b0443b9a49df2d 100644 (file)
 
     // Links to people
 
+    $blinker = " <BLINK>*</BLINK>";
+
     print_simple_box("People", $align="CENTER", $width="100%", $color="$THEME->cellheading");
     $moddata[]="<A HREF=\"../user/index.php?id=$course->id\">List of all people</A>";
     $modicon[]="<IMG SRC=\"../user/users.gif\" HEIGHT=16 WIDTH=16 ALT=\"List of everyone\">";
+    $editmyprofile = "<A HREF=\"../user/view.php?id=$USER->id&course=$course->id\">Edit my profile</A>"
     if ($USER->description) {
-        $moddata[]="<A HREF=\"../user/view.php?id=$USER->id&course=$course->id\">Edit my profile</A>";
+        $moddata[]= $editmyprofile;
     } else {
-        $moddata[]="<A HREF=\"../user/view.php?id=$USER->id&course=$course->id\"><BLINK>Edit my profile</BLINK></A>";
+        $moddata[]= $editmyprofile.$blinker;
     }
     $modicon[]="<IMG SRC=\"../user/user.gif\" HEIGHT=16 WIDTH=16 ALT=\"Me\">";
     print_side_block("", $moddata, "", $modicon);