--- loncom/interface/lonhtmlcommon.pm 2015/04/24 21:31:56 1.361 +++ loncom/interface/lonhtmlcommon.pm 2015/05/05 21:45:55 1.362 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.361 2015/04/24 21:31:56 musolffc Exp $ +# $Id: lonhtmlcommon.pm,v 1.362 2015/05/05 21:45:55 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1773,11 +1773,11 @@ boolean, controls whether to include a l =item $helplink if 'nohelp' don't include the orange help link - + =item $css_class optional name for the class to apply to the table for CSS - + =item $no_mt optional flag, 1 if &mt() is _not_ to be applied to $component when including the text on the right @@ -3606,7 +3606,7 @@ See htmltag() for more details. =back =back - + returns: XHTML list as String. =cut @@ -3807,18 +3807,17 @@ End list of available functions =back -=back - Inputs: ./. Returns: HTML code with function list end + =cut sub end_funclist { return "\n"; } -=over +=pod =item &funclist_from_array( \@array, {legend => 'text for legend'} ) @@ -3838,7 +3837,7 @@ A string that's used as visually highlig it's value evaluates to false. =back - + returns: XHTML list as string. =back @@ -3851,7 +3850,9 @@ sub funclist_from_array { $args->{legend} ||= mt('Functions'); return list_from_array( [$args->{legend}, @$items], { listattr => {class => 'LC_funclist'} }); -} +} + +=pod =over @@ -3871,7 +3872,7 @@ e.g. a file operation in Authoring Space A reference to the array containing text. Details: sub funclist_from_array =back - + Returns: XHTML div as string. =back