Various settings for Javascript code more than one line
This commit is contained in:
@@ -63,6 +63,7 @@ if (($RBAC_Response=$RBAC->userCanAccess("PM_FACTORY"))!=1) return $RBAC_Respons
|
||||
$pmeCode = $_POST['form']['PME_CODE'];
|
||||
$pmeCode = str_replace("'", "''", $pmeCode);
|
||||
$pmeCode = str_replace('"', '""', $pmeCode);
|
||||
$pmeCode = preg_replace("/\)\s*\n/", ") //\n", $pmeCode);
|
||||
$_POST['form']['PME_CODE'] = $pmeCode;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<td colspan="2">{$form.PME_VALIDATE_NAME}</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class='FormLabel' width="90%" align="left" colspan="2">{$PME_CODE}</td>
|
||||
<td width="90%" align="left" colspan="2">{$PME_CODE}</td>
|
||||
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.PME_CODE} </td> //-->
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user