version 1.98, 2004/05/03 19:10:39
|
version 1.99, 2004/05/07 12:03:53
|
Line 176 sub unpackagemsg {
|
Line 176 sub unpackagemsg {
|
if ($notoken) { |
if ($notoken) { |
$content{'message'}.='<p>'.&mt('Attachment').': <tt>'.$fname.'.'.$ft.'</tt>'; |
$content{'message'}.='<p>'.&mt('Attachment').': <tt>'.$fname.'.'.$ft.'</tt>'; |
} else { |
} else { |
$content{'message'}.='<p>'.&mt('Attachment').': <a href="'. |
&Apache::lonnet::allowuploaded('/adm/msg', |
&Apache::lonnet::tokenwrapper($content{'attachmenturl'}). |
$content{'attachmenturl'}); |
'"><tt>'.$fname.'.'.$ft.'</tt></a>'; |
$content{'message'}.='<p>'.&mt('Attachment'). |
|
': <a href="'.$content{'attachmenturl'}.'"><tt>'. |
|
$fname.'.'.$ft.'</tt></a>'; |
} |
} |
} |
} |
return %content; |
return %content; |