[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm
raeburn
raeburn@source.lon-capa.org
Mon, 25 Jan 2010 02:27:09 -0000
raeburn Mon Jan 25 02:27:09 2010 EDT
Modified files:
/loncom/interface lonfeedback.pm
Log:
- <b> </b> only applies to Sender's Name (not links: Reply etc.).
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.286 loncom/interface/lonfeedback.pm:1.287
--- loncom/interface/lonfeedback.pm:1.286 Sun Jan 24 19:58:24 2010
+++ loncom/interface/lonfeedback.pm Mon Jan 25 02:27:09 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.286 2010/01/24 19:58:24 raeburn Exp $
+# $Id: lonfeedback.pm,v 1.287 2010/01/25 02:27:09 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1015,6 +1015,7 @@
$contrib{$idx.':senderdomain'}).' ('.
$contrib{$idx.':sendername'}.':'.
$contrib{$idx.':senderdomain'}.')';
+ $sender = '<b>'.$sender.'</b>';
if ($contrib{$idx.':anonymous'}) {
$sender.=' <font color="red"><b>['.$$anonhash{$key}.']</b></font> '.
$screenname;
@@ -1098,6 +1099,7 @@
} else {
$sender='<i>'.$$anonhash{$key}.'</i>';
}
+ $sender = '<b>'.$sender.'</b>';
# Set up for sorting by domain, then username for anonymous
unless (defined($$usernamesort{'__anon'})) {
%{$$usernamesort{'__anon'}} = ();
@@ -1254,7 +1256,7 @@
}
$$discussionitems[$idx] .= '<td align="left"> '.
'<b>'.$subject.'</b> '.
- '<b>'.$sender.'</b> '.$vgrlink.' ('.
+ $sender.$vgrlink.' ('.
&Apache::lonlocal::locallocaltime($posttime).')</td>';
if ($$dischash{$toggkey}) {
$$discussionitems[$idx].='<td align="right"> '.