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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Wed, 06 Jun 2007 20:19:38 -0000


albertel		Wed Jun  6 16:19:38 2007 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - no one seems to be able to find the reset access time where it was, adding another link on the main parm screen
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.365 loncom/interface/lonparmset.pm:1.366
--- loncom/interface/lonparmset.pm:1.365	Tue May  1 21:33:49 2007
+++ loncom/interface/lonparmset.pm	Wed Jun  6 16:19:38 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.365 2007/05/02 01:33:49 albertel Exp $
+# $Id: lonparmset.pm,v 1.366 2007/06/06 20:19:38 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3148,6 +3148,7 @@
     my $cnum = $env{'course.'.$env{'request.course.id'}.'.num'};
     my $cdom = $env{'course.'.$env{'request.course.id'}.'.domain'};
     my $vgr  = &Apache::lonnet::allowed('vgr',$env{'request.course.id'});
+    my $mgr  = &Apache::lonnet::allowed('mgr',$env{'request.course.id'});
 
     my @menu =
         ( { divider=>'Settings for Your Course',
@@ -3165,6 +3166,11 @@
 	    url => '/adm/slotrequest?command=showslots',
 	    permission => $vgr,
             },
+	  { text => 'Reset Student Access Times',
+	    url => '/adm/helper/resettimes.helper',
+	    permission => $mgr,
+            },
+
           { text => 'Set Parameter Setting Default Actions',
             action => 'setdefaults',
             permission => $parm_permission,