From 093ae309554c4b36c6dfd7ecfe4d44c8eddd585b Mon Sep 17 00:00:00 2001 From: dheeyi william Date: Tue, 10 Jan 2017 17:32:11 -0400 Subject: [PATCH 1/2] HOR-2488 [Mantis - 21807]-Actions by Email Feature's huge upper padding on @#__ABE__ variable --- workflow/engine/classes/class.actionsByEmailCore.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/workflow/engine/classes/class.actionsByEmailCore.php b/workflow/engine/classes/class.actionsByEmailCore.php index e8f979aa3..1defe9866 100644 --- a/workflow/engine/classes/class.actionsByEmailCore.php +++ b/workflow/engine/classes/class.actionsByEmailCore.php @@ -171,25 +171,25 @@ class actionsByEmailCoreClass extends PMPlugin $variables = $variableService->doGetVariables($caseFields['PRO_UID']); $field = new stdClass(); $field->label = ''; - $actionField = str_replace(array('@@','@#','@=','@%','@?','@$'), '', $configuration['ABE_ACTION_FIELD']); + $actionField = str_replace(array('@@', '@#', '@=', '@%', '@?', '@$'), '', $configuration['ABE_ACTION_FIELD']); G::LoadClass('pmDynaform'); $obj = new pmDynaform($configuration['DYN_UID']); $configuration['CURRENT_DYNAFORM'] = $configuration['DYN_UID']; $file = $obj->printPmDynaformAbe($configuration); $__ABE__ .= $file; - $__ABE__ .= '' . $field->label . '

'; + $__ABE__ .= '' . $field->label . '
'; $index = 1; - $__ABE__.='
'; + $__ABE__ .= '
'; foreach ($customGrid as $key => $value) { - $__ABE__ .= '' . (($index % 5 == 0) ? '' : ' '); $index++; } - $__ABE__.='
' . $value['abe_custom_label']; $__ABE__ .= '

'; + $__ABE__ .= '

'; break; case 'LINK': $__ABE__ .= 'Please complete this form'; From 948b97d7079b5d0b92e9d3b8561f188801e090e2 Mon Sep 17 00:00:00 2001 From: dheeyi william Date: Thu, 12 Jan 2017 09:37:54 -0400 Subject: [PATCH 2/2] HOR-2488 [Mantis - 21807]-Actions by Email Feature's huge upper padding on @#__ABE__ variable --- workflow/engine/classes/class.actionsByEmailCore.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/engine/classes/class.actionsByEmailCore.php b/workflow/engine/classes/class.actionsByEmailCore.php index 1defe9866..05255c2f1 100644 --- a/workflow/engine/classes/class.actionsByEmailCore.php +++ b/workflow/engine/classes/class.actionsByEmailCore.php @@ -177,7 +177,7 @@ class actionsByEmailCoreClass extends PMPlugin $configuration['CURRENT_DYNAFORM'] = $configuration['DYN_UID']; $file = $obj->printPmDynaformAbe($configuration); $__ABE__ .= $file; - $__ABE__ .= '' . $field->label . ''; + $__ABE__ .= '
' . $field->label . '
'; $index = 1; $__ABE__ .= '
'; foreach ($customGrid as $key => $value) { @@ -189,7 +189,7 @@ class actionsByEmailCoreClass extends PMPlugin $__ABE__ .= '' . (($index % 5 == 0) ? '' : ' '); $index++; } - $__ABE__ .= '

'; + $__ABE__ .= '
'; break; case 'LINK': $__ABE__ .= 'Please complete this form';