version 1.194, 2006/12/28 18:47:15
|
version 1.195, 2006/12/28 19:43:24
|
Line 274 sub sendnotification {
|
Line 274 sub sendnotification {
|
$coursetext .= "\n\n"; |
$coursetext .= "\n\n"; |
} |
} |
my $body = $coursetext. |
my $body = $coursetext. |
&mt('You received a[_1] message from '.$sender.' in LON-CAPA.',$critical).' '.&mt("The subject is |
&mt('You received a'.$critical.' message from [_1] in LON-CAPA.',$sender).' '.&mt('The subject is |
|
|
$subj |
[_1] |
|
|
")."\n". |
',$subj)."\n". |
'=== '.&mt('Excerpt')." ============================================================ |
'=== '.&mt('Excerpt')." ============================================================ |
$text |
$text |
======================================================================== |
======================================================================== |
|
|
".&mt("Use |
".&mt('Use |
|
|
$url |
[_1] |
|
|
to access the full message."); |
to access the full message.',$url); |
&sendemail($to,'New'.$critical.' message from '.$sender,$body); |
&sendemail($to,'New'.$critical.' message from '.$sender,$body); |
} |
} |
# ============================================================= Check for email |
# ============================================================= Check for email |