Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Altered blink to make it less annoying

  • Loading branch information...
commit 7ff56f2d4a7619fd45ade02273332b125e85edf9 1 parent 97b3785
martin authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 course/topics.php
7 course/topics.php
View
@@ -46,13 +46,16 @@
// 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);
Please sign in to comment.
Something went wrong with that request. Please try again.