From 2415d953f0471ccc3fba9a04a92e8deea368ec00 Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 8 Sep 2002 09:41:17 +0000 Subject: [PATCH] Tip over 'Edit profile' is the user's name --- course/social.php | 2 +- course/topics.php | 2 +- course/weeks.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.39.5