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

raeburn raeburn@source.lon-capa.org
Sun, 24 Jan 2010 15:30:04 -0000


raeburn		Sun Jan 24 15:30:04 2010 EDT

  Modified files:              
    /loncom/interface	lonfeedback.pm 
  Log:
  - Avoid unbalanced <p> tag in ceratin cases.
  - xhtml
  
  
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.284 loncom/interface/lonfeedback.pm:1.285
--- loncom/interface/lonfeedback.pm:1.284	Thu Jan 21 23:13:50 2010
+++ loncom/interface/lonfeedback.pm	Sun Jan 24 15:30:04 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Feedback
 #
-# $Id: lonfeedback.pm,v 1.284 2010/01/21 23:13:50 raeburn Exp $
+# $Id: lonfeedback.pm,v 1.285 2010/01/24 15:30:04 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1709,7 +1709,6 @@
 <p>
 <textarea name="comment" id="comment" cols="60" rows="10">$comment
 </textarea></p>
-<p>
 END
     if ( ($env{'form.editdisc'}) || ($env{'form.replydisc'}) ) {
         if ($env{'form.origpage'}) {
@@ -1731,6 +1730,7 @@
         }
     } else {
         $r->print(<<END);
+<p>
 $lt{'atta'} $attachmaxtext: <input type="file" name="attachment" />
 </p>
 END
@@ -2646,7 +2646,7 @@
                    .$msgoptions;
     }
     if ($discussoptions) { 
-	$discussoptions='<h2><img src="'.&Apache::loncommon::lonhttpdurl('/adm/lonMisc/chat.gif').'" />'
+	$discussoptions='<h2><img src="'.&Apache::loncommon::lonhttpdurl('/adm/lonMisc/chat.gif').'" alt="" />'
                         .' '.&mt('Discussion Contributions').'</h2><p>'.&Apache::lonhtmlcommon::coursepreflink(&mt('Discussion Settings'),'discussion').'</p>'
                         .$discussoptions;
     }