--- loncom/interface/lonfeedback.pm 2009/05/06 13:37:56 1.271
+++ loncom/interface/lonfeedback.pm 2009/07/09 12:53:28 1.275
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.271 2009/05/06 13:37:56 bisitz Exp $
+# $Id: lonfeedback.pm,v 1.275 2009/07/09 12:53:28 kalberla Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -91,7 +91,7 @@ sub list_discussion {
if (not &discussion_visible($status)) {
if ($mode ne 'board') {
&Apache::lonenc::check_encrypt(\$ressymb);
- return '
'.&send_message_link($ressymb);
+ return '
'.&send_message_link($ressymb)."
";
}
}
if ($group ne '' && $mode eq 'board') {
@@ -103,9 +103,12 @@ sub list_discussion {
my ($blocked,$blocktext) =
&Apache::loncommon::blocking_status('boards');
if ($blocked) {
+ $blocktext = '
'.$blocktext."";
&Apache::lonenc::check_encrypt(\$ressymb);
if ($mode ne 'board') {
- $blocktext.='
'.&send_message_link($ressymb);
+ $blocktext.=&send_message_link($ressymb).'
';
+ }else{
+ $blocktext.="";
}
return $blocktext;
}
@@ -755,9 +758,9 @@ sub send_feedback_link {
my $output = ''.
' '.
- ''.&mt('Post Discussion').'';
+ '" border="0" />';
return $output;
}
@@ -765,9 +768,9 @@ sub send_message_link {
my ($ressymb) = @_;
my $output = ''.
' '.&mt('Send Message').'';
+ '" border="0" />';
return $output;
}
@@ -1928,7 +1931,7 @@ END
&Apache::loncommon::end_page();
$r->print(<
+