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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 18 Aug 2004 21:14:00 -0000


albertel		Wed Aug 18 17:14:00 2004 EDT

  Modified files:              
    /loncom/interface	lonbulletin.pm 
  Log:
  - looks better when there is an image and not alot of text
  
  
Index: loncom/interface/lonbulletin.pm
diff -u loncom/interface/lonbulletin.pm:1.26 loncom/interface/lonbulletin.pm:1.27
--- loncom/interface/lonbulletin.pm:1.26	Wed Jul 28 14:53:38 2004
+++ loncom/interface/lonbulletin.pm	Wed Aug 18 17:14:00 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Bulletin Board Handler
 #
-# $Id: lonbulletin.pm,v 1.26 2004/07/28 18:53:38 raeburn Exp $
+# $Id: lonbulletin.pm,v 1.27 2004/08/18 21:14:00 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -112,7 +112,7 @@
     if (($syllabus{'uploaded.lastmodified'}) && (!$forceedit)) {
  	$forcestudent='student';
     }
-
+    if ($target ne 'tex') { $r->print('<table><tr><td>'); }
       if ($forcestudent or $target eq 'tex') { $allowed=0; }
  
       if ($allowed) {
@@ -216,6 +216,7 @@
     } else {
        $r->print('<p>'.&mt('No page information provided.').'</p>');
     }
+    if ($target ne 'tex') { $r->print('</td></tr></table>'); }
     if ($target ne 'tex') {
 	$r->print(&Apache::lonfeedback::list_discussion
 	           ('board','OPEN','bulletin___'.$marker.'___'.