--- loncom/interface/lonfeedback.pm 2009/05/06 13:37:56 1.271 +++ loncom/interface/lonfeedback.pm 2010/01/24 02:39:35 1.273.4.2 @@ -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.273.4.2 2010/01/24 02:39:35 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -169,6 +169,8 @@ sub list_discussion { my $cdom = $env{'course.'.$cid.'.domain'}; my $cnum = $env{'course.'.$cid.'.num'}; + my $crstype = &Apache::loncommon::course_type(); + # Get information about students and non-students in course for filtering display of posts my %roleshash = (); @@ -597,7 +599,7 @@ END my %sort_types = (); my %role_types = (); my %status_types = (); - &sort_filter_names(\%sort_types,\%role_types,\%status_types); + &sort_filter_names(\%sort_types,\%role_types,\%status_types,$crstype); $discussion .= '
'; my $escsymb=&escape($ressymb); if ($visible>2) { - $discussion .= ' | '. - ''.(' ' x2); - } else { - $discussion .= ' | 'Note: in anonymous discussion, your name is visible only to course faculty',
@@ -835,6 +835,9 @@ sub postingform_display {
'poan' => 'Post Anonymous Discussion',
'newa' => 'New attachments',
);
+ if ($crstype eq 'Community') {
+ $lt{'note'} = &mt('Note: in anonymous discussion, your name is visible only to community facilitators');
+ }
my $postingform = (< |