[LON-CAPA-cvs] cvs: loncom /homework hint.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 20 Jun 2003 04:18:49 -0000


albertel		Fri Jun 20 00:18:49 2003 EDT

  Modified files:              
    /loncom/homework	hint.pm 
  Log:
  - not that anyone uses the conditional hints, but now the stringhint is even more prettier when edited
  
  
Index: loncom/homework/hint.pm
diff -u loncom/homework/hint.pm:1.43 loncom/homework/hint.pm:1.44
--- loncom/homework/hint.pm:1.43	Fri Jun 20 00:16:00 2003
+++ loncom/homework/hint.pm	Fri Jun 20 00:18:49 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # implements the tags that control the hints
 #
-# $Id: hint.pm,v 1.43 2003/06/20 04:16:00 albertel Exp $
+# $Id: hint.pm,v 1.44 2003/06/20 04:18:49 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -102,7 +102,9 @@
 	    $result.=&Apache::edit::text_arg('Format:','format',$token,4).
 		&Apache::loncommon::help_open_topic('Numerical_Response_Format');
 	} elsif ($token->[1] eq 'stringhint') {
-	    $result.=&Apache::edit::select_arg('Type:','type',['cs','ci','mc'],$token);
+	    $result.=&Apache::edit::select_arg('Type:','type',
+			    [['cs','Case Sensitive'],['ci','Case Insensitive'],
+			     ['mc','Case Insensitive, Any Order']],$token);
 	} elsif ($token->[1] eq 'formulahint') {
 	    $result.=&Apache::edit::text_arg('Sample Points:','samples',$token,40);
 	}