From 583a7283e97f06519fc09967a9dd856e04f90bea Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 25 Apr 2003 08:59:10 +0000 Subject: [PATCH] Edit my profile link goes straight to the edit screen --- 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 77bb2a7999..3371135532 100644 --- a/course/social.php +++ b/course/social.php @@ -14,7 +14,7 @@ id\">".get_string("participants").""; $modicon[]="\"\""; - $editmyprofile = "firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">". + $editmyprofile = "firstname $USER->lastname\" HREF=\"../user/edit.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 2516cb77d1..94b7e4a35f 100644 --- a/course/topics.php +++ b/course/topics.php @@ -42,7 +42,7 @@ /// Links to people $moddata[]="id\">".get_string("participants").""; $modicon[]="\"\""; - $editmyprofile = "firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">".get_string("editmyprofile").""; + $editmyprofile = "firstname $USER->lastname\" HREF=\"../user/edit.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 83e1eb5edb..9c8bc36082 100644 --- a/course/weeks.php +++ b/course/weeks.php @@ -32,7 +32,7 @@ /// Links to people $moddata[]="id\">".get_string("participants").""; $modicon[]="\"\""; - $editmyprofile = "firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">".get_string("editmyprofile").""; + $editmyprofile = "firstname $USER->lastname\" HREF=\"../user/edit.php?id=$USER->id&course=$course->id\">".get_string("editmyprofile").""; if ($USER->description) { $moddata[]= $editmyprofile; } else { -- 2.39.5