From: moodler Date: Fri, 25 Apr 2003 08:59:10 +0000 (+0000) Subject: Edit my profile link goes straight to the edit screen X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=583a7283e97f06519fc09967a9dd856e04f90bea;p=moodle.git Edit my profile link goes straight to the edit screen --- 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 {