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

schafran lon-capa-cvs-allow@mail.lon-capa.org
Tue, 25 Nov 2008 21:59:24 -0000


schafran		Tue Nov 25 21:59:24 2008 EDT

  Modified files:              
    /loncom/interface	lonmsgdisplay.pm 
  Log:
  Send button correction.
  
  
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.97 loncom/interface/lonmsgdisplay.pm:1.98
--- loncom/interface/lonmsgdisplay.pm:1.97	Sun Nov 23 15:48:27 2008
+++ loncom/interface/lonmsgdisplay.pm	Tue Nov 25 21:59:24 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging display
 #
-# $Id: lonmsgdisplay.pm,v 1.97 2008/11/23 15:48:27 schafran Exp $
+# $Id: lonmsgdisplay.pm,v 1.98 2008/11/25 21:59:24 schafran Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1676,6 +1676,7 @@
 sub submit_button_row {
     my ($folder,$dismode,$sendtext,$lt,$is_crsform,$group) = @_;
     my $pre=&mt("Show Preview and Check Spelling");
+    my $value=&mt('Send');
     my $prevbutton = '<input type="button" name="preview" value="'.$pre.'" onclick="if (typeof(document.compemail.onsubmit)=='."'function'".') {document.compemail.onsubmit();};document.preview.comment.value=document.compemail.message.value;document.preview.subject.value=document.compemail.subject.value;document.preview.submit();" />';
     my $output = qq|
 <input type="hidden" name="folder" value="$folder" />
@@ -1688,7 +1689,7 @@
     }
     $output .= qq|
 <table><tr><td align="left">
-<input type="submit" name="send" value="Send" title="$sendtext" />
+<input type="submit" name="send" value="$value" title="$sendtext" />
 <input type="submit" name="cancel" value="$lt->{'ca'}" />
 </td><td width="60">&nbsp;</td><td align="right">$prevbutton</td></tr></table>
 |;