version 1.28, 2009/03/27 14:10:43
|
version 1.29, 2009/03/27 15:46:38
|
Line 147 sub print_editbox_template
|
Line 147 sub print_editbox_template
|
# Functionslist: List of functions |
# Functionslist: List of functions |
# Typically used to display a list of available functions at top of page |
# Typically used to display a list of available functions at top of page |
sub start_functionslist { |
sub start_functionslist { |
my($r)=@_; |
my($legendtext)=@_; |
$r->print('<fieldset><legend>'. &mt('Functions') . '</legend>'); |
$legendtext=&mt('Functions') if !$legendtext; |
$r->print('<ul class="LC_functionslist">'); |
return '<fieldset><legend>'.$legendtext.'</legend>' |
|
.'<ul class="LC_functionslist">'; |
} |
} |
|
|
sub item_functionslist { |
sub item_functionslist { |
my($r,$content) = @_; |
my($content) = @_; |
$r->print('<li>'.$content.'</li>'); |
return '<li>'.$content.'</li>'; |
} |
} |
|
|
sub end_functionslist { |
sub end_functionslist { |
my($r)=@_; |
my($r)=@_; |
$r->print('</ul></fieldset>'); |
return '</ul></fieldset>'; |
} |
} |
|
|
1; |
1; |