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

ehlerst ehlerst@source.lon-capa.org
Mon, 22 Dec 2008 14:24:50 -0000


ehlerst		Mon Dec 22 14:24:50 2008 EDT

  Modified files:              
    /loncom/interface	lontemplate.pm 
  Log:
  embedded the text in the "Send message" link.
  
  
Index: loncom/interface/lontemplate.pm
diff -u loncom/interface/lontemplate.pm:1.13 loncom/interface/lontemplate.pm:1.14
--- loncom/interface/lontemplate.pm:1.13	Wed Dec 17 14:56:51 2008
+++ loncom/interface/lontemplate.pm	Mon Dec 22 14:24:50 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # "Template" Functions to generate html output
 #
-# $Id: lontemplate.pm,v 1.13 2008/12/17 14:56:51 harmsja Exp $
+# $Id: lontemplate.pm,v 1.14 2008/12/22 14:24:50 ehlerst Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -107,7 +107,7 @@
 	my ($r,$cnum,$cdom) = @_;
 	my $image = qq{<img name="Send message" src="/res/adm/pages/com.png" border="none" />};
 	$r->print('<div>');
-	$r->print(&Apache::loncommon::messagewrapper($image,$cnum,$cdom).' '.&mt('Send me a message'));
+	$r->print(&Apache::loncommon::messagewrapper($image,$cnum,$cdom).' '.&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom));
 	$r->print('</div>');
 }