Merged in bugfix/HOR-2488 (pull request #5328)

HOR-2488
This commit is contained in:
Julio Cesar Laura Avendaño
2017-01-17 15:17:16 -04:00

View File

@@ -177,9 +177,9 @@ class actionsByEmailCoreClass extends PMPlugin
$configuration['CURRENT_DYNAFORM'] = $configuration['DYN_UID']; $configuration['CURRENT_DYNAFORM'] = $configuration['DYN_UID'];
$file = $obj->printPmDynaformAbe($configuration); $file = $obj->printPmDynaformAbe($configuration);
$__ABE__ .= $file; $__ABE__ .= $file;
$__ABE__ .= '<strong>' . $field->label . '</strong><br /><br /><table align="left" border="0"><tr>'; $__ABE__ .= '<div style="width: 100%"></div><strong>' . $field->label . '</strong><table align="left" border="0"><tr>';
$index = 1; $index = 1;
$__ABE__.='<br /><td><table align="left" cellpadding="2"><tr>'; $__ABE__ .= '<td><table align="left" cellpadding="2"><tr>';
foreach ($customGrid as $key => $value) { foreach ($customGrid as $key => $value) {
$__ABE__ .= '<td align="center"><a style="' . $value['abe_custom_format'] . '" '; $__ABE__ .= '<td align="center"><a style="' . $value['abe_custom_format'] . '" ';
$__ABE__ .= 'href="' . urldecode(urlencode($link)) . '?ACTION=' . G::encrypt('processABE', URL_KEY) . '&APP_UID='; $__ABE__ .= 'href="' . urldecode(urlencode($link)) . '?ACTION=' . G::encrypt('processABE', URL_KEY) . '&APP_UID=';
@@ -189,7 +189,7 @@ class actionsByEmailCoreClass extends PMPlugin
$__ABE__ .= '</a></td>' . (($index % 5 == 0) ? '</tr><tr>' : ' '); $__ABE__ .= '</a></td>' . (($index % 5 == 0) ? '</tr><tr>' : ' ');
$index++; $index++;
} }
$__ABE__.='</tr></table><br />'; $__ABE__ .= '</tr></table></div>';
break; break;
case 'LINK': case 'LINK':
$__ABE__ .= '<a href="' . $link . 'DataForm?APP_UID=' . G::encrypt($data->APP_UID, URL_KEY) . '&DEL_INDEX=' . G::encrypt($data->DEL_INDEX, URL_KEY) . '&DYN_UID=' . G::encrypt($configuration['DYN_UID'], URL_KEY) . '&ABER=' . G::encrypt($abeRequest['ABE_REQ_UID'], URL_KEY) . '" target="_blank">Please complete this form</a>'; $__ABE__ .= '<a href="' . $link . 'DataForm?APP_UID=' . G::encrypt($data->APP_UID, URL_KEY) . '&DEL_INDEX=' . G::encrypt($data->DEL_INDEX, URL_KEY) . '&DYN_UID=' . G::encrypt($configuration['DYN_UID'], URL_KEY) . '&ABER=' . G::encrypt($abeRequest['ABE_REQ_UID'], URL_KEY) . '" target="_blank">Please complete this form</a>';