[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm

www www at source.lon-capa.org
Tue Jan 3 13:21:58 EST 2012


www		Tue Jan  3 18:21:58 2012 EDT

  Modified files:              
    /loncom/interface	lonfeedback.pm 
  Log:
  Cleanup
  
  
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.314 loncom/interface/lonfeedback.pm:1.315
--- loncom/interface/lonfeedback.pm:1.314	Tue Jan  3 17:41:13 2012
+++ loncom/interface/lonfeedback.pm	Tue Jan  3 18:21:58 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Feedback
 #
-# $Id: lonfeedback.pm,v 1.314 2012/01/03 17:41:13 www Exp $
+# $Id: lonfeedback.pm,v 1.315 2012/01/03 18:21:58 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1277,24 +1277,17 @@
                         unless ($$notshown{$idx} == 1) {
                             if ($prevread > 0 && $prevread <= $posttime) {
                                 $$newitem{$idx} = 1;
-                                $$discussionitems[$idx] .= '
-                                  <table border="0" width="100%">
-                                  <tr><td align="left"><font color="#FF0000"><b>'.&mt('NEW').' </b></font></td>';
+                                $$discussionitems[$idx] .= '<font color="#FF0000"><b>'.&mt('NEW').'  </b></font>';
                             } else {
                                 $$newitem{$idx} = 0;
-                                $$discussionitems[$idx] .= '
-                                  <table border="0" width="100%">
-                                  <tr><td align="left"> </td>';
                             }
-                            $$discussionitems[$idx] .= '<td align="left">  '.
-                                '<b>'.$subject.'</b>  '.
+                            $$discussionitems[$idx] .= '<b>'.$subject.'</b>  '.
                                 $sender.' '.$vgrlink.' ('.
-                                &Apache::lonlocal::locallocaltime($posttime).')</td>';
+                                &Apache::lonlocal::locallocaltime($posttime).')';
                             if ($$dischash{$toggkey}) {
-                                $$discussionitems[$idx].='<td align="right">  '.
-                                  $ctlink.'</td>';
+                                $$discussionitems[$idx].='  '.$ctlink;
                             }
-                            $$discussionitems[$idx].= '</tr></table><blockquote>'.
+                            $$discussionitems[$idx].= '<br /><blockquote>'.
                                     $message.'</blockquote>';
                             if ($contrib{$idx.':history'}) {
                                 my @postversions = ();




More information about the LON-CAPA-cvs mailing list