]> git.mjollnir.org Git - moodle.git/commitdiff
Edit my profile link goes straight to the edit screen
authormoodler <moodler>
Fri, 25 Apr 2003 08:59:10 +0000 (08:59 +0000)
committermoodler <moodler>
Fri, 25 Apr 2003 08:59:10 +0000 (08:59 +0000)
course/social.php
course/topics.php
course/weeks.php

index 77bb2a79990bb98c346504bec3645a47ba1acc02..3371135532c08cba262aa8966d883a02ce4036c4 100644 (file)
@@ -14,7 +14,7 @@
       <? 
       $moddata[]="<A TITLE=\"".get_string("listofallpeople")."\" HREF=\"../user/index.php?id=$course->id\">".get_string("participants")."</A>";
       $modicon[]="<IMG SRC=\"../user/users.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
-      $editmyprofile = "<A TITLE=\"$USER->firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">".
+      $editmyprofile = "<A TITLE=\"$USER->firstname $USER->lastname\" HREF=\"../user/edit.php?id=$USER->id&course=$course->id\">".
                         get_string("editmyprofile")."</A>";
       if ($USER->description) {
           $moddata[]= $editmyprofile;
index 2516cb77d10d5d1b8015db394759a60a8b9e47bc..94b7e4a35f189df86bcb1b221c8563e9cf3163bf 100644 (file)
@@ -42,7 +42,7 @@
 /// Links to people
     $moddata[]="<A TITLE=\"".get_string("listofallpeople")."\" HREF=\"../user/index.php?id=$course->id\">".get_string("participants")."</A>";
     $modicon[]="<IMG SRC=\"../user/users.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
-    $editmyprofile = "<A TITLE=\"$USER->firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">".get_string("editmyprofile")."</A>";
+    $editmyprofile = "<A TITLE=\"$USER->firstname $USER->lastname\" HREF=\"../user/edit.php?id=$USER->id&course=$course->id\">".get_string("editmyprofile")."</A>";
     if ($USER->description) {
         $moddata[]= $editmyprofile;
     } else {
index 83e1eb5edbba64615652d7f26ad45c6bd0d1c198..9c8bc360823b043db86084ecb9259780db897066 100644 (file)
@@ -32,7 +32,7 @@
 /// Links to people
     $moddata[]="<A TITLE=\"".get_string("listofallpeople")."\" HREF=\"../user/index.php?id=$course->id\">".get_string("participants")."</A>";
     $modicon[]="<IMG SRC=\"../user/users.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
-    $editmyprofile = "<A TITLE=\"$USER->firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">".get_string("editmyprofile")."</A>";
+    $editmyprofile = "<A TITLE=\"$USER->firstname $USER->lastname\" HREF=\"../user/edit.php?id=$USER->id&course=$course->id\">".get_string("editmyprofile")."</A>";
     if ($USER->description) {
         $moddata[]= $editmyprofile;
     } else {