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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 21 May 2003 16:16:32 -0000


matthew		Wed May 21 12:16:32 2003 EDT

  Modified files:              
    /loncom/interface	lonhtmlcommon.pm 
  Log:
  Updated POD, including potential bug in 2400 AD.
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.21 loncom/interface/lonhtmlcommon.pm:1.22
--- loncom/interface/lonhtmlcommon.pm:1.21	Mon May 12 18:04:41 2003
+++ loncom/interface/lonhtmlcommon.pm	Wed May 21 12:16:32 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.21 2003/05/12 22:04:41 matthew Exp $
+# $Id: lonhtmlcommon.pm,v 1.22 2003/05/21 16:16:32 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -65,6 +65,9 @@
 
 =item &date_setter
 
+&date_setter returns html and javascript for a compact date-setting form.
+To retrieve values from it, use &get_date_from_form().
+
 Inputs
 
 =over 4
@@ -82,6 +85,12 @@
 An undefined value is taken to indicate the value is the current time.
 Also, to be explicit, a value of 'now' also indicates the current time.
 
+=back
+
+Bugs
+
+The method used to restrict user input will fail in the year 2400.
+
 =cut
 
 ##############################################
@@ -177,7 +186,11 @@
 ##############################################
 ##############################################
 
+=pod
+
 =item &get_date_from_form
+
+get_date_from_form retrieves the date specified in an &date_setter form.
 
 Inputs: