Adding a couple of missing labels for audit log

This commit is contained in:
Julio Cesar Laura
2015-02-21 12:17:32 -04:00
parent 27f4cbd7de
commit 7f93f9036e
7 changed files with 25 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ $proUid = $eventFields['PRO_UID'];
$infoProcess = new Process();
$resultProcess = $infoProcess->load($proUid);
G::auditLog('Events','Delete event ('.$_POST['EVN_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');
G::auditLog('DeleteEvent','Delete event ('.$_POST['EVN_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');
$evnUid = $_POST['EVN_UID'];
require_once 'classes/model/Event.php';

View File

@@ -62,7 +62,7 @@ if ($_POST['form']['EVN_UID'] == '') {
$infoProcess = new Process();
$resultProcess = $infoProcess->load($_POST['form']['PRO_UID']);
G::auditLog('Events','Save intermediate message ('.$_POST['form']['EVN_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');
G::auditLog('EditEvent','Save intermediate message ('.$_POST['form']['EVN_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');
function replaceQuotes ($aData)
{

View File

@@ -42,5 +42,5 @@ $proUid = $triggerFields['PRO_UID'];
$infoProcess = new Process();
$resultProcess = $infoProcess->load($proUid);
G::auditLog('Events','Save event ('.$_POST['form']['TRI_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');
G::auditLog('EditEvent','Save trigger from event ('.$_POST['form']['TRI_UID'].') in process "'.$resultProcess['PRO_TITLE'].'"');

View File

@@ -112,7 +112,8 @@ $arrayAction = array (array ("ALL", G::LoadTranslation( "ID_ALL" )),
array ("AssignSupervisorInput", G::LoadTranslation( "ID_ASSIGN_SUPERVISOR_INPUT" )),
array ("RemoveSupervisorInput", G::LoadTranslation( "ID_REMOVE_SUPERVISOR_INPUT" )),
array ("CaseTrackers", G::LoadTranslation( "ID_CASE_TRACKERS" )),
array ("Events", G::LoadTranslation( "ID_EDIT_PROCESS" )),
array ("EditEvent", G::LoadTranslation( "ID_EDIT_EVENT" )),
array ("DeleteEvent", G::LoadTranslation( "ID_EVENT_DELETED" )),
array ("CreateDynaform", G::LoadTranslation( "ID_CREATE_DYNAFORM" )),
array ("UpdateDynaform", G::LoadTranslation( "ID_UPDATE_DYNAFORM" )),
array ("DeleteDynaform", G::LoadTranslation( "ID_DELETE_DYNAFORM" )),