initial commit from rev. 632
This commit is contained in:
55
workflow/engine/xmlform/dynaforms/fields/javascript.html
Normal file
55
workflow/engine/xmlform/dynaforms/fields/javascript.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<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="" />
|
||||
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||
<tr style="display: none">
|
||||
<td colspan="2">{$form.PME_A}</td>
|
||||
</tr>
|
||||
<tr style="display: none">
|
||||
<td colspan="2">{$form.PME_TYPE}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='FormTitle' colspan="2" align="">{$form.PME_TITLE}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='FormLabel' width="{$form_labelWidth}"><font color="red">* </font>{$PME_XMLNODE_NAME}</td>
|
||||
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.PME_XMLNODE_NAME} </td> //-->
|
||||
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.PME_XMLNODE_NAME}</td>
|
||||
</tr>
|
||||
<tr style="display: none">
|
||||
<td colspan="2">{$form.PME_XMLNODE_NAME_OLD}</td>
|
||||
</tr>
|
||||
<tr style="display: none">
|
||||
<td colspan="2">{$form.PME_VALIDATE_NAME}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='FormLabel' width="{$form_labelWidth}">{$PME_CODE}</td>
|
||||
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.PME_CODE} </td> //-->
|
||||
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.PME_CODE}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='FormButton' colspan="2" align="center"> {$form.PME_ACCEPT} {$form.BTN_CANCEL} </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="FormRequiredTextMessage"><font color="red">* </font>{php}echo (G::LoadTranslation('ID_REQUIRED_FIELD'));{/php}</div> </div>
|
||||
<div class="boxBottom"><div class="a"></div><div class="b"></div><div class="c"></div></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
{$form.PME_JS}
|
||||
</script>
|
||||
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
try {literal}{{/literal} dynaformSetFocus();}catch(e){literal}{{/literal}}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user