// 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);