PMCORE-965

This commit is contained in:
Paula Quispe
2021-08-04 16:13:22 -04:00
parent ec7b157c00
commit bda8f1d4ec
9 changed files with 23 additions and 159 deletions

View File

@@ -1,44 +0,0 @@
<form id="{$form_id}" name="{$form_name}" action="{$form_action}" class="{$form_className}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit="return validateForm('{$form_objectRequiredFields}');"> <div class="borderForm" style="width:{$form_width}; padding-left:0; padding-right:0; border-width:{$form_border};">
<div class="boxTop"><div class="a"></div><div class="b"></div><div class="c"></div></div>
<div class="content" style="height:{$form_height};" >
<table width="99%">
<tr>
<td valign='top'>
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class='FormTitle' colspan="2" align="">
<table width="100%"><tr><td width="50%" class='FormTitle'>{$form.HB_TITLE} </td><td align="right" >{$form.HB_LINKINFO}</td></tr></table>
</td>
</tr>
<tr>
<td class='FormLabel' width="{$form_labelWidth}">{$HB_OPTION}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.HB_OPTION} </td> //-->
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.HB_OPTION}</td>
</tr>
<tr>
<td class='FormButton' colspan="2" align="center">{$form.HB_SAVE}</td>
</tr>
<tr>
<!-- <td class='FormLabel' width="{$form_labelWidth}">{$HB_LINKINFO}</td> //-->
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.HB_LINKINFO} </td> //-->
<!-- <td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.HB_LINKINFO}</td> -->
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="boxBottom"><div class="a"></div><div class="b"></div><div class="c"></div></div>
</div>
<script type="text/javascript">
{$form.HB_JS}
</script>
</form>
<script type="text/javascript">
try {literal}{{/literal} dynaformSetFocus();}catch(e){literal}{{/literal}}
</script>

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<dynaForm name="ProcessHeartBeatConfig" width="55%" enableTemplate="1">
<HB_TITLE type="title" enablehtml="0" btn_cancel="Cancel" enableHTML="1">
<en><![CDATA[Processmaker Heartbeat]]></en>
</HB_TITLE>
<HB_OPTION type="dropdown" required="0" readonly="0" savelabel="0" mode="edit" options="Array">
<en><![CDATA[Enable Heartbeat]]><option name="0"><![CDATA[No]]></option><option name="1"><![CDATA[Yes]]></option></en>
</HB_OPTION>
<HB_SAVE type="button" onclick="sendValues(this.form);">
<en><![CDATA[save]]></en>
</HB_SAVE>
<HB_LINKINFO type="link" colWidth="60" titleAlign="left" align="left" link="#" onclick="var k=window.open('http://wiki.processmaker.com/index.php/Heartbeat ','_blank');return false;">
<en><![CDATA[Read Online Documentation]]></en>
</HB_LINKINFO>
<HB_JS type="javascript">
var sendValues=function(form){
var hbOption = getField('HB_OPTION').value;
ajax_function('processHeartBeatSave','','HB_OPTION='+hbOption,'POST') ;
window.location = 'processHeartBeatConfig';
};
</HB_JS>
</dynaForm>