mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
issue splash messages
This commit is contained in:
parent
477d1a69b8
commit
eacd59c2ef
|
@ -95,6 +95,7 @@ if ($action == "delnotify") {
|
|||
UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("internal_error"));
|
||||
break;
|
||||
case 0:
|
||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_rm_notify')));
|
||||
if($notifier) {
|
||||
$notifier->sendDeleteFolderNotifyMail($folder, $user, $obj);
|
||||
}
|
||||
|
@ -121,6 +122,7 @@ else if ($action == "addnotify") {
|
|||
UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("internal_error"));
|
||||
break;
|
||||
case 0:
|
||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_add_notify')));
|
||||
if($notifier) {
|
||||
$obj = $dms->getUser($userid);
|
||||
$notifier->sendNewFolderNotifyMail($folder, $user, $obj);
|
||||
|
@ -145,6 +147,7 @@ else if ($action == "addnotify") {
|
|||
UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("internal_error"));
|
||||
break;
|
||||
case 0:
|
||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_add_notify')));
|
||||
if($notifier) {
|
||||
$obj = $dms->getGroup($groupid);
|
||||
$notifier->sendNewFolderNotifyMail($folder, $user, $obj);
|
||||
|
|
Loading…
Reference in New Issue
Block a user