[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm
goltermann
goltermann at source.lon-capa.org
Mon Feb 20 06:28:01 EST 2012
goltermann Mon Feb 20 11:28:01 2012 EDT
Modified files:
/loncom/interface lonfeedback.pm
Log:
improved layout and button labeling.
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.334 loncom/interface/lonfeedback.pm:1.335
--- loncom/interface/lonfeedback.pm:1.334 Tue Jan 10 20:06:07 2012
+++ loncom/interface/lonfeedback.pm Mon Feb 20 11:28:01 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.334 2012/01/10 20:06:07 www Exp $
+# $Id: lonfeedback.pm,v 1.335 2012/02/20 11:28:01 goltermann Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3474,14 +3474,13 @@
my ($idx,$attachnum,$ressymb,$now,$currnewattach,$deloldattach,
$numoldver,$mode,$blockblog) = @_;
my $origpage = $ENV{'REQUEST_URI'};
- my $att=$attachnum.' '.&mt("attachments");
my %lt = &Apache::lonlocal::texthash(
- 'clic' => 'Click to add/remove attachments',
+ 'clic' => 'Add/remove attachments',
);
my $response = (<<END);
<br />
<form name="attachment" action="/adm/feedback?attach=$ressymb" method="post">
-$lt{'clic'}: <input type="button" value="$att"
+<input type="button" value="$lt{'clic'}"
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);
END
if (!$blockblog) {
More information about the LON-CAPA-cvs
mailing list