projects
/
ldapsaisie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e22fbef
)
Custom action : fix translation on display onSuccessMsgFormat
author
Benjamin Renard
<brenard@easter-eggs.com>
Tue, 13 Mar 2012 09:29:31 +0000
(10:29 +0100)
committer
Benjamin Renard
<brenard@easter-eggs.com>
Tue, 13 Mar 2012 09:29:37 +0000
(10:29 +0100)
public_html/custom_action.php
patch
|
blob
|
history
diff --git
a/public_html/custom_action.php
b/public_html/custom_action.php
index
ae55395
..
41612da
100644
(file)
--- a/
public_html/custom_action.php
+++ b/
public_html/custom_action.php
@@
-44,7
+44,7
@@
if(LSsession :: startLSsession()) {
if ($config['function']($object)) {
if ($config['disableOnSuccessMsg']!=true) {
if ($config['onSuccessMsgFormat']) {
- LSsession :: addInfo(getFData(
$config['onSuccessMsgFormat']
,$objectname));
+ LSsession :: addInfo(getFData(
__($config['onSuccessMsgFormat'])
,$objectname));
}
else {
LSsession :: addInfo(getFData(_('The custom action %{customAction} have been successfully execute on %{objectname}.'),array('objectname' => $objectname,'customAction' => $_GET['customAction'])));