--- rat/lonratparms.pm	2002/05/30 13:54:15	1.11
+++ 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.11 2002/05/30 13:54:15 www Exp $
+# $Id: lonratparms.pm,v 1.14 2003/02/25 21:49:45 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -73,6 +73,28 @@ sub handler {
       }
   }
 
+# -------------------------------------- Additional parms for certain resources
+
+    if ($uri=~/\.(sequence|page)\.meta$/) {
+        $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'})) {