diff --git a/workflow/engine/methods/events/eventsEditAction.php b/workflow/engine/methods/events/eventsEditAction.php index eff7749f3..7ee480b9e 100755 --- a/workflow/engine/methods/events/eventsEditAction.php +++ b/workflow/engine/methods/events/eventsEditAction.php @@ -229,6 +229,7 @@ $_DBArray['triggers'] = $aTriggers; $_SESSION['_DBArray'] = $_DBArray; +$aFields = array_merge($aFields, setLabels()); $G_PUBLISH = new Publisher(); $G_PUBLISH->AddContent( 'xmlform', 'xmlform', 'events/eventsEditAction', '', $aFields, '../events/eventsSave' ); //$G_PUBLISH->AddContent('xmlform', 'xmlform', 'events/eventsEditAction', '', $aFields, '../events/eventsSave'); @@ -239,3 +240,15 @@ function replaceQuotes ($aData) return str_replace( '"', '"e;', $aData ); } +function setLabels () { + $labels = array( + 'LABEL_ADD' => G::LoadTranslation( 'ID_ADD' ), + 'LABEL_ADD_CURRENT' => G::LoadTranslation( 'ID_EVENT_ADD_CURRENT' ), + 'LABEL_ADD_USERS' => G::LoadTranslation( 'ID_EVENT_ADD_USERS' ), + 'LABEL_REMOVED_SELECTED' => G::LoadTranslation( 'ID_EVENT_REMOVE_SELECTED' ), + 'LABEL_ADD_DYNAVAR' => G::LoadTranslation( 'ID_EVENT_ADD_DYNAVAR' ), + 'LABEL_ADD_GROUPS' => G::LoadTranslation( 'ID_EVENT_ADD_GROUPS' ) + ); + return $labels; +} + diff --git a/workflow/engine/xmlform/events/eventsEditAction.html b/workflow/engine/xmlform/events/eventsEditAction.html index 70bd5bfa1..f486889f5 100755 --- a/workflow/engine/xmlform/events/eventsEditAction.html +++ b/workflow/engine/xmlform/events/eventsEditAction.html @@ -60,14 +60,14 @@ - - - + + + - - - + + + @@ -86,14 +86,14 @@
{$form.EVN_MESSAGE_TO_TO_SIMPLEADD}
{$form.EVN_MESSAGE_TO_TO}
 
- - - + + + - - - + + + @@ -111,14 +111,14 @@
{$form.EVN_MESSAGE_TO_CC_SIMPLEADD}
{$form.EVN_MESSAGE_TO_CC}
 
- - - + + + - - - + + + @@ -141,6 +141,14 @@
{$form.EVN_MESSAGE_TO_BCC_SIMPLEADD}
{$form.EVN_MESSAGE_TO_BCC}
 
+
+ {$form.LABEL_ADD} + {$form.LABEL_ADD_CURRENT} + {$form.LABEL_ADD_USERS} + {$form.LABEL_REMOVED_SELECTED} + {$form.LABEL_ADD_DYNAVAR} + {$form.LABEL_ADD_GROUPS} +
* {php}echo (G::LoadTranslation('ID_REQUIRED_FIELD'));{/php}
diff --git a/workflow/engine/xmlform/events/eventsEditAction.xml b/workflow/engine/xmlform/events/eventsEditAction.xml index 527b249b8..370fdab0e 100755 --- a/workflow/engine/xmlform/events/eventsEditAction.xml +++ b/workflow/engine/xmlform/events/eventsEditAction.xml @@ -83,6 +83,14 @@ SELECT TRI_UID, TRI_TITLE FROM triggers Save + + + + + + + + \ No newline at end of file