--- loncom/interface/lonhtmlcommon.pm 2003/05/12 22:04:41 1.21 +++ loncom/interface/lonhtmlcommon.pm 2003/05/21 16:16:32 1.22 @@ -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 @@ use strict; =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 @@ The current setting for this time parame 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,8 +186,12 @@ ENDJS ############################################## ############################################## +=pod + =item &get_date_from_form +get_date_from_form retrieves the date specified in an &date_setter form. + Inputs: =over 4