From: martin Date: Sun, 8 Sep 2002 09:41:17 +0000 (+0000) Subject: Tip over 'Edit profile' is the user's name X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2415d953f0471ccc3fba9a04a92e8deea368ec00;p=moodle.git Tip over 'Edit profile' is the user's name --- diff --git a/course/social.php b/course/social.php index 7bf1ab9946..16fa24cf43 100644 --- a/course/social.php +++ b/course/social.php @@ -13,7 +13,7 @@ print_simple_box(get_string("people"), $align="CENTER", $width="100%", $color="$THEME->cellheading"); $moddata[]="id\">".get_string("participants").""; $modicon[]="\"\""; - $editmyprofile = "id&course=$course->id\">". + $editmyprofile = "firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">". get_string("editmyprofile").""; if ($USER->description) { $moddata[]= $editmyprofile; diff --git a/course/topics.php b/course/topics.php index 132ef29986..a2b2785658 100644 --- a/course/topics.php +++ b/course/topics.php @@ -48,7 +48,7 @@ print_simple_box(get_string("people"), $align="CENTER", $width="100%", $color="$THEME->cellheading"); $moddata[]="id\">".get_string("participants").""; $modicon[]="\"\""; - $editmyprofile = "id&course=$course->id\">".get_string("editmyprofile").""; + $editmyprofile = "firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">".get_string("editmyprofile").""; if ($USER->description) { $moddata[]= $editmyprofile; } else { diff --git a/course/weeks.php b/course/weeks.php index 1b80504203..49321c71ba 100644 --- a/course/weeks.php +++ b/course/weeks.php @@ -35,7 +35,7 @@ print_simple_box(get_string("people"), $align="CENTER", $width="100%", $color="$THEME->cellheading"); $moddata[]="id\">".get_string("participants").""; $modicon[]="\"\""; - $editmyprofile = "id&course=$course->id\">".get_string("editmyprofile").""; + $editmyprofile = "firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">".get_string("editmyprofile").""; if ($USER->description) { $moddata[]= $editmyprofile; } else {