');
}
-sub send_message{
+sub send_message {
my ($r,$cnum,$cdom) = @_;
- my $image = qq{};
- $r->print('
');
- $r->print(&Apache::loncommon::messagewrapper($image,$cnum,$cdom).' '.&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom));
- $r->print('
');
+ my $s;
+ my $image = qq{};
+ $s=&Apache::loncommon::messagewrapper($image,$cnum,$cdom).' '.&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom);
+ return $s;
}
sub print_template
-{
- my ($r,$topic,$content, $allowed) = @_;
- if($allowed){
- $r->print('
');
}
@@ -129,8 +144,27 @@ sub print_editbox_template
my ($r,$content,$field) = @_;
$r->print('');
}
+# Functionslist: List of functions
+# Typically used to display a list of available functions at top of page
+sub start_functionslist {
+ my($legendtext)=@_;
+ $legendtext=&mt('Functions') if !$legendtext;
+ return '';
+}
+
1;