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

www lon-capa-cvs@mail.lon-capa.org
Wed, 08 Jun 2005 02:27:23 -0000


www		Tue Jun  7 22:27:23 2005 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  Need access to Portfolio space as Course Coordinator so I can try stuff out
  and tell my students how this works.
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.154 loncom/interface/lonmenu.pm:1.155
--- loncom/interface/lonmenu.pm:1.154	Tue Jun  7 22:14:29 2005
+++ loncom/interface/lonmenu.pm	Tue Jun  7 22:27:21 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.154 2005/06/08 02:14:29 www Exp $
+# $Id: lonmenu.pm,v 1.155 2005/06/08 02:27:21 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -418,7 +418,10 @@
                     ('','',6,1,'cstr.gif','edit[_1]','resource[_2]',
                      "go('".$cfile."');","Edit this resource");
             } elsif ($editbutton eq '') {
-                $editbutton=&clear(6,1);
+                $editbutton=&switch('','',6,1,'port.gif',
+				    'port-[_1]','folio[_1]',
+				    "go('/adm/portfolio');",
+				    "Enter my portfolio space");
             }
         }
         ###