mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
fix line indention
This commit is contained in:
parent
ec02e939fb
commit
ff7a80f23d
|
@ -82,21 +82,21 @@ if($version->triggerWorkflowTransition($user, $transition, $_POST["comment"])) {
|
|||
getMLText("current_state").": ".$transition->getNextState()->getName()."\r\n".
|
||||
getMLText("user").": ".$user->getFullName()." <". $user->getEmail() ."> ";
|
||||
*/
|
||||
$subject = "transition_triggered_email_subject";
|
||||
$message = "transition_triggered_email_body";
|
||||
$params = array();
|
||||
$params['name'] = $document->getName();
|
||||
$params['version'] = $version->getVersion();
|
||||
$params['workflow'] = $workflow->getName();
|
||||
$params['action'] = $transition->getAction()->getName();
|
||||
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||
$params['comment'] = $_POST["comment"];
|
||||
$params['previous_state'] = $transition->getState()->getName();
|
||||
$params['current_state'] = $transition->getNextState()->getName();
|
||||
$params['username'] = $user->getFullName();
|
||||
$params['sitename'] = $settings->_siteName;
|
||||
$params['http_root'] = $settings->_httpRoot;
|
||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||
$subject = "transition_triggered_email_subject";
|
||||
$message = "transition_triggered_email_body";
|
||||
$params = array();
|
||||
$params['name'] = $document->getName();
|
||||
$params['version'] = $version->getVersion();
|
||||
$params['workflow'] = $workflow->getName();
|
||||
$params['action'] = $transition->getAction()->getName();
|
||||
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||
$params['comment'] = $_POST["comment"];
|
||||
$params['previous_state'] = $transition->getState()->getName();
|
||||
$params['current_state'] = $transition->getNextState()->getName();
|
||||
$params['username'] = $user->getFullName();
|
||||
$params['sitename'] = $settings->_siteName;
|
||||
$params['http_root'] = $settings->_httpRoot;
|
||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||
|
||||
// Send notification to subscribers.
|
||||
$notifier->toList($user, $nl["users"], $subject, $message, $params);
|
||||
|
|
Loading…
Reference in New Issue
Block a user