BUG 9336 Hidden field: Mode Edit/View SOLVED
- This field is not need in the form. - this field was placed with a defaultvalue of edit.
This commit is contained in:
@@ -143,8 +143,10 @@ if (($RBAC_Response=$RBAC->userCanAccess("PM_FACTORY"))!=1) return $RBAC_Respons
|
|||||||
|
|
||||||
$attributes = $_POST['form'];
|
$attributes = $_POST['form'];
|
||||||
|
|
||||||
$attributes['HINT'] = addslashes($attributes['HINT']);
|
if (isset($attributes['HINT'])) {
|
||||||
$attributes['HINT'] = htmlspecialchars($attributes['HINT'], ENT_QUOTES, "UTF-8");
|
$attributes['HINT'] = addslashes($attributes['HINT']);
|
||||||
|
$attributes['HINT'] = htmlspecialchars($attributes['HINT'], ENT_QUOTES, "UTF-8");
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($attributes['CODE'])) $attributes['XMLNODE_VALUE'] = ($attributes['CODE']);
|
if (isset($attributes['CODE'])) $attributes['XMLNODE_VALUE'] = ($attributes['CODE']);
|
||||||
|
|
||||||
|
|||||||
@@ -20,10 +20,7 @@ SELECT XMLNODE_NAME, TYPE FROM dynaForm WHERE XMLNODE_NAME = @@PME_XMLNODE_NAME
|
|||||||
<en>Default Value</en>
|
<en>Default Value</en>
|
||||||
</PME_DEFAULTVALUE>
|
</PME_DEFAULTVALUE>
|
||||||
|
|
||||||
|
<PME_MODE type="hidden" defaultvalue="edit">
|
||||||
|
|
||||||
<PME_MODE type="dropdown" defaultvalue="edit">
|
|
||||||
<en>Mode<option name="edit">Edit</option><option name="view">View</option></en>
|
|
||||||
</PME_MODE>
|
</PME_MODE>
|
||||||
|
|
||||||
<PME_SUBTITLE2 type="title" enableHTML="1">
|
<PME_SUBTITLE2 type="title" enableHTML="1">
|
||||||
|
|||||||
Reference in New Issue
Block a user