--- loncom/interface/lonfeedback.pm 2009/04/24 13:02:09 1.270
+++ loncom/interface/lonfeedback.pm 2009/08/12 16:03:58 1.276
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.270 2009/04/24 13:02:09 www Exp $
+# $Id: lonfeedback.pm,v 1.276 2009/08/12 16:03:58 bisitz 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 '
'; } - $$discussionitems[$idx] .= ' | '. + $$discussionitems[$idx] .= ' | '. ''.$subject.' '. $sender.' '.$vgrlink.' ('. &Apache::lonlocal::locallocaltime($posttime).') | '; @@ -1364,7 +1367,7 @@ sub get_post_contents { $$plainname, $$contrib{$idx.':sendername'}, $$contrib{$idx.':senderdomain'}).' ('. - $$contrib{$idx.':sendername'}.' at '. + $$contrib{$idx.':sendername'}.':'. $$contrib{$idx.':senderdomain'}.')'; my $attachmenturls = $$contrib{$idx.':attachmenturl'}; my @postversions = (); @@ -1661,10 +1664,15 @@ END END + # Breadcrumbs + my $brcrum = [{'href' => '', + 'text' => 'Resource Feedback and Discussion'}]; + my %onload = ('onload' => 'window.focus();setposttype();'); my $start_page= &Apache::loncommon::start_page('Resource Feedback and Discussion',$js, - {'add_entries' => \%onload}); + {'add_entries' => \%onload, + 'bread_crumbs' => $brcrum,}); if ($quote ne '') { &newline_to_br(\$quote); @@ -1685,8 +1693,8 @@ END END } elsif ($env{'form.editdisc'}) { $r->print(<