--- rat/lonratparms.pm 2002/06/14 19:38:24 1.12 +++ rat/lonratparms.pm 2003/02/25 21:49:45 1.14 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Set parameters inside of the RAT # -# $Id: lonratparms.pm,v 1.12 2002/06/14 19:38:24 www Exp $ +# $Id: lonratparms.pm,v 1.14 2003/02/25 21:49:45 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -79,11 +79,22 @@ sub handler { $content{'parameter_randompick'}=''; $type{'parameter_randompick'}='int_pos'; $display{'parameter_randompick'}='Randomly pick number of resources'; + + $content{'parameter_randompickseed'}=''; + $type{'parameter_randompickseed'}='int_pos'; + $display{'parameter_randompickseed'}= + 'Random seed for randomly picking number of resources (optional, only set if you know what you are doing)'; } else { $content{'parameter_mapalias'}=''; $type{'parameter_mapalias'}='string'; $display{'parameter_mapalias'}='Resource alias name for conditions'; } + if ($uri=~/\.(problem|exam|quiz|assess|survey|form|library)\.meta$/) { + $content{'parameter_hiddenparts'}=''; + $type{'parameter_hiddenparts'}='string'; + $display{'parameter_hiddenparts'}= + 'A comma separted list of Part Ids to not display.'; + } # ---------------------------------------------------------- Current Parameters foreach (split(/\:/,$ENV{'form.parms'})) {