Diff for /loncom/interface/lonpreferences.pm between versions 1.154 and 1.156

version 1.154, 2009/04/25 20:22:07 version 1.156, 2009/05/04 19:35:31
Line 1081  sub colorschanger { Line 1081  sub colorschanger {
                     'tabbg' => 'Header Background',                      'tabbg' => 'Header Background',
                     'sidebg'=> 'Header Border',                      'sidebg'=> 'Header Border',
                     'font'  => 'Font',                      'font'  => 'Font',
       'fontmenu' => 'Font Menu',
                     'link'  => 'Un-Visited Link',                      'link'  => 'Un-Visited Link',
                     'vlink' => 'Visited Link',                      'vlink' => 'Visited Link',
                     'alink' => 'Active Link');                      'alink' => 'Active Link');
Line 1155  sub verify_and_change_colors { Line 1156  sub verify_and_change_colors {
                     'tabbg' => 'Header Background',                      'tabbg' => 'Header Background',
                     'sidebg'=> 'Header Border',                      'sidebg'=> 'Header Border',
                     'font'  => 'Font',                      'font'  => 'Font',
       'fontmenu' => 'Font Menu',
                     'link'  => 'Un-Visited Link',                      'link'  => 'Un-Visited Link',
                     'vlink' => 'Visited Link',                      'vlink' => 'Visited Link',
                     'alink' => 'Active Link');                      'alink' => 'Active Link');
Line 1206  sub passwordchanger { Line 1208  sub passwordchanger {
             $defdom = $r->dir_config('lonDefDomain');              $defdom = $r->dir_config('lonDefDomain');
             my %data = &Apache::lonnet::tmpget($mailtoken);              my %data = &Apache::lonnet::tmpget($mailtoken);
             if (keys(%data) == 0) {              if (keys(%data) == 0) {
                 $r->print(&mt('Sorry, the URL you provided to complete the reset of your password was invalid. Either the token included in the URL has been deleted or the URL you provided was invalid. Please submit a <a href="/adm/resetpw">new request</a> for a password reset, and follow the link to the new URL included in the e-mail that will be sent to you, to allow you to enter a new password.'));                  $r->print(&mt('Sorry, the URL you provided to complete the reset of your password was invalid. Either the token included in the URL has been deleted or the URL you provided was invalid. Please submit a [_1]new request[_2] for a password reset, and follow the link to the new URL included in the e-mail that will be sent to you, to allow you to enter a new password.'
                                ,'<a href="/adm/resetpw">','</a>')
                   );
                 return;                  return;
             }              }
             if (defined($data{time})) {              if (defined($data{time})) {

Removed from v.1.154  
changed lines
  Added in v.1.156


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