--- loncom/interface/loncommon.pm 2006/12/12 18:47:17 1.493 +++ loncom/interface/loncommon.pm 2007/03/02 23:17:58 1.511 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.493 2006/12/12 18:47:17 albertel Exp $ +# $Id: loncommon.pm,v 1.511 2007/03/02 23:17:58 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -59,6 +59,7 @@ use Apache::lonnet; use GDBM_File; use POSIX qw(strftime mktime); use Apache::lonmenu(); +use Apache::lonenc(); use Apache::lonlocal; use HTML::Entities; use Apache::lonhtmlcommon(); @@ -1314,11 +1315,11 @@ Returns a string containing a element - $value - sclara or array ref of values that should already be selected + $value - scalar or array ref of values that should already be selected $size - number of rows long the select element is $hash - the elements should be 'option' => 'shown text' (shown text should already have been &mt()) - $order - (optional) array ref of the order to show the elments in + $order - (optional) array ref of the order to show the elements in =cut @@ -1334,8 +1335,16 @@ sub multiple_select_form { } } $output.="\n