[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm
raeburn
lon-capa-cvs@mail.lon-capa.org
Thu, 29 Jun 2006 21:22:13 -0000
raeburn Thu Jun 29 17:22:13 2006 EDT
Modified files:
/loncom/interface lonfeedback.pm
Log:
Bulletin Board Posting screen looks better with "Click to add/remove attachments:" and attachments + preview buttons below the textarea rather than at the right side.
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.204 loncom/interface/lonfeedback.pm:1.205
--- loncom/interface/lonfeedback.pm:1.204 Tue May 30 08:46:09 2006
+++ loncom/interface/lonfeedback.pm Thu Jun 29 17:22:09 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.204 2006/05/30 12:46:09 www Exp $
+# $Id: lonfeedback.pm,v 1.205 2006/06/29 21:22:09 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2650,6 +2650,7 @@
unless ($fieldname) { $fieldname='comment'; }
my $pre=&mt("Show Preview and Check Spelling");
return(<<ENDPREVIEW);
+<br />
<form name="preview" action="/adm/feedback?preview=1" method="post" target="preview">
<input type="hidden" name="subject">
<input type="hidden" name="comment" />
@@ -2780,6 +2781,7 @@
my $origpage = $ENV{'REQUEST_URI'};
my $att=$attachnum.' '.&mt("attachments");
my $response = (<<END);
+<br />
<form name="attachment" action="/adm/feedback?attach=$ressymb" method="post">
Click to add/remove attachments: <input type="button" value="$att"
onClick="if (typeof(document.mailform.onsubmit)=='function') {document.mailform.onsubmit();};this.form.comment.value=escape(document.mailform.comment.value);this.form.subject.value=escape(document.mailform.subject.value);