Diff for /loncom/interface/resetpw.pm between versions 1.29 and 1.30

version 1.29, 2013/02/01 17:39:22 version 1.30, 2013/02/05 15:33:36
Line 429  sub display_actions { Line 429  sub display_actions {
                    '<a href="javascript:history.go(-1)">','</a>'));                     '<a href="javascript:history.go(-1)">','</a>'));
     my $msg2 = '';      my $msg2 = '';
     if ($contact_email ne '') {      if ($contact_email ne '') {
             my $escuri = &HTML::Entities::encode('/adm/resetpw','&<>"');          my $escuri = &HTML::Entities::encode('/adm/resetpw','&<>"');
             push(@msg, &mt('Contact the [_1]LON-CAPA helpdesk[_2] for the institution: [_3]',          push(@msg, &mt('Contact the [_1]LON-CAPA helpdesk[_2] for the institution: [_3]',
                            '<a href="/adm/helpdesk?origurl='.$escuri.'">',                         '<a href="/adm/helpdesk?origurl='.$escuri.'">',
                            '</a>','<i>'.$domdesc.'</i>'));                         '</a>','<i>'.$domdesc.'</i>'));
         } else {      } else {
             $msg2 =          $msg2 =
                 '<p>'              '<p>'
                 .&mt('You may wish to send an e-mail to the'             .&mt('You may wish to send an e-mail to the'
                     .' server administrator: [_1] for the [_2] domain.',             .' server administrator: [_1] for the [_2] domain.',
                          '<i>'.$Apache::lonnet::perlvar{'AdminEmail'}.'</i>',                  '<i>'.$Apache::lonnet::perlvar{'AdminEmail'}.'</i>',
                          '<i>'.$domdesc.'</i>')                  '<i>'.$domdesc.'</i>')
                 .'</p>';             .'</p>';
         }      }
   
     return &Apache::lonhtmlcommon::actionbox(\@msg).$msg2;      return &Apache::lonhtmlcommon::actionbox(\@msg).$msg2;
   

Removed from v.1.29  
changed lines
  Added in v.1.30


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