[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

amueller amueller@source.lon-capa.org
Sun, 27 Sep 2009 15:27:26 -0000


amueller		Sun Sep 27 15:27:26 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  If you enter your lonanoutme page from the link, that is positioned in the left upper corner,
  you get to the Public View Mode of your lonaboutme-page and not anymore to the Edit View Mode.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.891 loncom/interface/loncommon.pm:1.892
--- loncom/interface/loncommon.pm:1.891	Sat Sep 26 21:46:38 2009
+++ loncom/interface/loncommon.pm	Sun Sep 27 15:27:26 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.891 2009/09/26 21:46:38 bisitz Exp $
+# $Id: loncommon.pm,v 1.892 2009/09/27 15:27:26 amueller Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2964,7 +2964,7 @@
     if (!defined($username)  && !defined($domain)) {
         return;
     }
-    return '<a href="/adm/'.$domain.'/'.$username.'/aboutme"'.
+    return '<a href="/adm/'.$domain.'/'.$username.'/aboutme?forcestudent=1"'.
 	($target?' target="$target"':'').' title="'.&mt("View this user's personal information page").'">'.$link.'</a>';
 }