Various settings for Javascript code more than one line

This commit is contained in:
Hector Cortez
2011-02-28 16:40:37 +00:00
parent 6e853a140a
commit 6ad29ec1e5
2 changed files with 2 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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>