mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
fixed content of notification mail
This commit is contained in:
parent
2b4a96e8f5
commit
b67ece54a2
|
@ -62,11 +62,11 @@ if (!$document->removeDocumentFile($fileid)) {
|
|||
// Send notification to subscribers.
|
||||
$document->getNotifyList();
|
||||
if($notifier) {
|
||||
$subject = "###SITENAME###: ".$document->_name." - ".getMLText("removed_file_email");
|
||||
$subject = "###SITENAME###: ".$document->getName()." - ".getMLText("removed_file_email");
|
||||
$message = getMLText("removed_file_email")."\r\n";
|
||||
$message .=
|
||||
getMLText("name").": ".$name."\r\n".
|
||||
getMLText("comment").": ".$comment."\r\n".
|
||||
getMLText("name").": ".$document->getName()."\r\n".
|
||||
getMLText("file").": ".$file->getOriginalFileName()."\r\n".
|
||||
getMLText("user").": ".$user->getFullName()." <". $user->getEmail() .">\r\n".
|
||||
"URL: ###URL_PREFIX###out/out.ViewDocument.php?documentid=".$document->getID()."\r\n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user