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

bisitz bisitz@source.lon-capa.org
Fri, 28 Nov 2008 18:28:53 -0000


bisitz		Fri Nov 28 18:28:53 2008 EDT

  Modified files:              
    /loncom/interface	resetpw.pm 
  Log:
  Localization:
  Corrected/Optimized &mt() usage
  
  
Index: loncom/interface/resetpw.pm
diff -u loncom/interface/resetpw.pm:1.10 loncom/interface/resetpw.pm:1.11
--- loncom/interface/resetpw.pm:1.10	Sat Oct  4 00:09:18 2008
+++ loncom/interface/resetpw.pm	Fri Nov 28 18:28:52 2008
@@ -58,7 +58,7 @@
                                            {
                                              'no_inline_link'   => 1,});
     $r->print($start_page);
-    $r->print(&mt('<h3>'.&mt('Reset forgotten LON-CAPA password').'</h3>'));
+    $r->print('<h3>'.&mt('Reset forgotten LON-CAPA password').'</h3>');
     my $output;
     if ($token) {
         $output = &reset_passwd($r,$token,$contact_name,$contact_email);
@@ -150,8 +150,7 @@
 sub send_token {
     my ($uname,$udom,$email,$server,$domdesc,$contact_name,
         $contact_email) = @_;
-    my $msg = &mt('Thank you for your request to reset the password for your
-        LON-CAPA account.').'<br /><br />';
+    my $msg = &mt('Thank you for your request to reset the password for your LON-CAPA account.').'<br /><br />';
 
     my $now = time;
     my $temppasswd = &create_passwd();