Diff for /loncom/interface/resetpw.pm between versions 1.33 and 1.36

version 1.33, 2013/07/19 16:17:07 version 1.36, 2013/08/17 00:34:29
Line 225  sub send_token { Line 225  sub send_token {
         my $result = &send_mail($domdesc,$email,$mailmsg,$contact_name,          my $result = &send_mail($domdesc,$email,$mailmsg,$contact_name,
                                 $contact_email);                                  $contact_email);
         if ($result eq 'ok') {          if ($result eq 'ok') {
             $msg .= &mt("An e-mail sent to the e-mail address associated with your LON-CAPA account includes the web address for the link you should use to complete the reset process.<br /><br />The link included in the message will be valid for the next <b>two</b> hours.");              $msg .=
                   &mt('An e-mail sent to the e-mail address associated with your LON-CAPA account includes the web address for the link you should use to complete the reset process.')
                  .'<br /><br />'
                  .&mt('The link included in the message will be valid for the next [_1]two[_2] hours.','<b>','</b>');
         } else {          } else {
             $msg .=              $msg .=
                 '<p class="LC_error">'                  '<p class="LC_error">'
Line 233  sub send_token { Line 236  sub send_token {
                    .' associated with your LON-CAPA account.')                     .' associated with your LON-CAPA account.')
                .'</p>'                 .'</p>'
                .&display_actions($contact_email,$domdesc);                 .&display_actions($contact_email,$domdesc);
   
         }          }
     } else {      } else {
         $msg .=          $msg .=
Line 395  sub generic_failure_msg { Line 397  sub generic_failure_msg {
         '<p class="LC_error">'          '<p class="LC_error">'
        .&mt('A problem occurred when attempting to reset the password for your account.')         .&mt('A problem occurred when attempting to reset the password for your account.')
        .'<br />'         .'<br />'
        .&mt('Please contact the [_1] - ([_2]) for assistance.',         .&mt('Please contact the [_1] ([_2]) for assistance.',
               $contact_name,'<a href="mailto:'.$contact_email.'">'.$contact_email.'</a>')                $contact_name,'<a href="mailto:'.$contact_email.'">'.$contact_email.'</a>')
        .'</p>';         .'</p>';
 }  }

Removed from v.1.33  
changed lines
  Added in v.1.36


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>