Diff for /loncom/interface/lonmsg.pm between versions 1.239.2.5 and 1.239.2.5.2.1

version 1.239.2.5, 2024/02/08 03:09:10 version 1.239.2.5.2.1, 2024/08/22 14:41:09
Line 520  sub sendnotification { Line 520  sub sendnotification {
   
     $text=~s/\&lt\;/\</gs;      $text=~s/\&lt\;/\</gs;
     $text=~s/\&gt\;/\>/gs;      $text=~s/\&gt\;/\>/gs;
     my $homeserver = &Apache::lonnet::homeserver($touname,$toudom);      my $touhome = &Apache::lonnet::homeserver($touname,$toudom);
     my $protocol = $Apache::lonnet::protocol{$homeserver};      my $url = &Apache::lonnet::url_prefix('',$toudom,$touhome,'email').
     $protocol = 'http' if ($protocol ne 'https');  
     my $url = $protocol.'://'.&Apache::lonnet::hostname($homeserver).  
               '/adm/email?username='.$touname.'&domain='.$toudom.                '/adm/email?username='.$touname.'&domain='.$toudom.
               '&display='.&escape($msgid);                '&display='.&escape($msgid);
     my ($sendtime,$shortsubj,$fromname,$fromdomain,$status,$fromcid,      my ($sendtime,$shortsubj,$fromname,$fromdomain,$status,$fromcid,

Removed from v.1.239.2.5  
changed lines
  Added in v.1.239.2.5.2.1


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