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

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 17 Sep 2002 15:21:51 -0000


matthew		Tue Sep 17 11:21:51 2002 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Change of variable names so it takes me 0.5 seconds less to figure out this
  function in the future.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.68 loncom/interface/loncommon.pm:1.69
--- loncom/interface/loncommon.pm:1.68	Sat Sep 14 17:01:38 2002
+++ loncom/interface/loncommon.pm	Tue Sep 17 11:21:51 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.68 2002/09/14 21:01:38 albertel Exp $
+# $Id: loncommon.pm,v 1.69 2002/09/17 15:21:51 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1013,8 +1013,8 @@
 # ------------------------------------------------------------- Aboutme Wrapper
 
 sub aboutmewrapper {
-    my ($link,$un,$do)=@_;
-    return "<a href='/adm/$do/$un/aboutme'>$link</a>";
+    my ($link,$username,$domain)=@_;
+    return "<a href='/adm/$domain/$username/aboutme'>$link</a>";
 }
 
 # ------------------------------------------------------------ Syllabus Wrapper