mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +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"));
|
UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("internal_error"));
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
|
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_rm_notify')));
|
||||||
if($notifier) {
|
if($notifier) {
|
||||||
$notifier->sendDeleteFolderNotifyMail($folder, $user, $obj);
|
$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"));
|
UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("internal_error"));
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
|
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_add_notify')));
|
||||||
if($notifier) {
|
if($notifier) {
|
||||||
$obj = $dms->getUser($userid);
|
$obj = $dms->getUser($userid);
|
||||||
$notifier->sendNewFolderNotifyMail($folder, $user, $obj);
|
$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"));
|
UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("internal_error"));
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
|
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_add_notify')));
|
||||||
if($notifier) {
|
if($notifier) {
|
||||||
$obj = $dms->getGroup($groupid);
|
$obj = $dms->getGroup($groupid);
|
||||||
$notifier->sendNewFolderNotifyMail($folder, $user, $obj);
|
$notifier->sendNewFolderNotifyMail($folder, $user, $obj);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user