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

raeburn raeburn at source.lon-capa.org
Tue Jul 4 17:20:15 EDT 2017


raeburn		Tue Jul  4 21:20:15 2017 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - Recursive parameters.
    - encrypturl and hiddenresource have always been recursive.
    - no selectable non-recursive map-level link for them in table mode.
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.572 loncom/interface/lonparmset.pm:1.573
--- loncom/interface/lonparmset.pm:1.572	Thu Feb 16 18:17:49 2017
+++ loncom/interface/lonparmset.pm	Tue Jul  4 21:20:14 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.572 2017/02/16 18:17:49 damieng Exp $
+# $Id: lonparmset.pm,v 1.573 2017/07/04 21:20:14 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1559,6 +1559,10 @@
             unless ($which == 2) {
                 $nolink = 1;
             }
+        } elsif ($mprefix =~ /(encrypturl|hiddenresource)/) {
+            if ($which == 16 || $which == 10 || $which == 6 || $which == 2) {
+                $nolink = 1;
+            }
         }
     }
     if ($nolink) {




More information about the LON-CAPA-cvs mailing list