mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
set recipient in notification mails
This commit is contained in:
parent
efc11d4236
commit
7597cb1c74
|
@ -123,6 +123,7 @@ foreach ($pIndRev as $p) {
|
|||
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||
$params['version'] = $content->_version;
|
||||
$params['comment'] = $content->getComment();
|
||||
$params['recipient'] = $accessIndex["i"][$p]->getFullName();
|
||||
$params['username'] = $user->getFullName();
|
||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||
$params['sitename'] = $settings->_siteName;
|
||||
|
@ -183,6 +184,7 @@ if (count($receiptIndex["i"]) > 0) {
|
|||
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||
$params['version'] = $content->_version;
|
||||
$params['comment'] = $content->getComment();
|
||||
$params['recipient'] = $accessIndex["i"][$p]->getFullName();
|
||||
$params['username'] = $user->getFullName();
|
||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||
$params['sitename'] = $settings->_siteName;
|
||||
|
@ -230,6 +232,7 @@ foreach ($pGrpRev as $p) {
|
|||
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||
$params['version'] = $content->_version;
|
||||
$params['comment'] = $content->getComment();
|
||||
$params['recipient'] = $accessIndex["g"][$p]->getName();
|
||||
$params['username'] = $user->getFullName();
|
||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||
$params['sitename'] = $settings->_siteName;
|
||||
|
@ -286,6 +289,7 @@ if (count($receiptIndex["g"]) > 0) {
|
|||
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||
$params['version'] = $content->_version;
|
||||
$params['comment'] = $content->getComment();
|
||||
$params['recipient'] = $accessIndex["g"][$p]->getName();
|
||||
$params['username'] = $user->getFullName();
|
||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||
$params['sitename'] = $settings->_siteName;
|
||||
|
|
Loading…
Reference in New Issue
Block a user