mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
set url in notification email (Bug #56)
This commit is contained in:
parent
8d4247f665
commit
78dd186742
|
@ -114,6 +114,7 @@ if ($_POST["reviewType"] == "ind") {
|
|||
$params['status'] = getReviewStatusText($_POST["reviewStatus"]);
|
||||
$params['comment'] = $comment;
|
||||
$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;
|
||||
$params['http_root'] = $settings->_httpRoot;
|
||||
$notifier->toList($user, $nl["users"], $subject, $message, $params);
|
||||
|
|
Loading…
Reference in New Issue
Block a user