Diff for /loncom/interface/lonhtmlcommon.pm between versions 1.361 and 1.362

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

Removed from v.1.361  
changed lines
  Added in v.1.362


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>