mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
set splash msg
This commit is contained in:
parent
840feec9fa
commit
000d2b39f1
|
@ -166,6 +166,7 @@ if ($action == "setowner") {
|
|||
}
|
||||
// $notifier->toIndividual($user, $oldowner, $subject, $message, $params);
|
||||
}
|
||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_setowner')));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -190,6 +191,7 @@ else if ($action == "notinherit") {
|
|||
}
|
||||
|
||||
}
|
||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_notinherit_access')));
|
||||
}
|
||||
|
||||
// Change to inherit-----------------------------------------------------
|
||||
|
@ -211,6 +213,7 @@ else if ($action == "inherit") {
|
|||
$notifier->toGroup($user, $grp, $subject, $message, $params);
|
||||
}
|
||||
}
|
||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_inherit_access')));
|
||||
}
|
||||
|
||||
// Set default permissions ----------------------------------------------
|
||||
|
@ -232,6 +235,13 @@ else if ($action == "setdefault") {
|
|||
$notifier->toGroup($user, $grp, $subject, $message, $params);
|
||||
}
|
||||
}
|
||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_set_default_access')));
|
||||
} elseif($action == "delaccess") {
|
||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_delete_access')));
|
||||
} elseif($action == "addaccess") {
|
||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_add_access')));
|
||||
} elseif($action == "editaccess") {
|
||||
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_edit_access')));
|
||||
}
|
||||
|
||||
add_log_line("");
|
||||
|
|
Loading…
Reference in New Issue
Block a user