--- loncom/interface/lontemplate.pm 2009/02/19 17:32:39 1.17
+++ loncom/interface/lontemplate.pm 2009/03/07 15:07:09 1.23
@@ -1,7 +1,7 @@
# The LearningOnline Network
# "Template" Functions to generate html output
#
-# $Id: lontemplate.pm,v 1.17 2009/02/19 17:32:39 neumanie Exp $
+# $Id: lontemplate.pm,v 1.23 2009/03/07 15:07:09 neumanie Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -58,7 +58,7 @@ sub print_aboutme_content_template{
my ($r,$allowed,$target,$syllabusfields_ref,$syllabus_ref) = @_;
my %syllabusfields = %{$syllabusfields_ref};
my %syllabus = %{$syllabus_ref};
- #&start_ContentBox($r,$allowed);
+
foreach my $field (sort(keys(%syllabusfields))) {
if (($syllabus{$field}) || ($allowed)) {
my $message=$syllabus{$field};
@@ -97,7 +97,7 @@ sub print_aboutme_content_template{
}
}
}
- #&end_ContentBox($r);
+
}
sub start_ContentBox{
@@ -114,22 +114,30 @@ sub end_ContentBox{
sub send_message{
my ($r,$cnum,$cdom) = @_;
my $s;
- my $image = qq{};
- #$r->print('
');
- $s=&Apache::loncommon::messagewrapper($image,$cnum,$cdom).' '.&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom);
- #$r->print('
');
- return $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,$boxclass) = @_;
+ my ($r,$topic,$content, $allowed,$boxclass) = @_;
$r->print('