{[ "type": "text", "label": "", "name": "name", "required": 1, "value": "$name$" ]}
{[ "type": "select", "label": "", "name": "module", "required": 1, "values": "query=SELECT id, name AS descrizione FROM zz_modules WHERE ( enabled = 1 AND options != 'custom' ) OR id = ORDER BY name ASC", "value": "", "extra": "" ]}
{[ "type": "checkbox", "label": "", "name": "predefined", "value": "$predefined$", "help": "", "placeholder": "", "extra": "" ]}
{[ "type": "textarea", "label": "", "name": "clause", "required": 1, "value": "$clause$" ]}
{[ "type": "select", "label": "", "name": "position", "required": 1, "values":"list=\"WHR\": \"WHERE\", \"HVN\": \"HAVING\"", "value": "$position$" ]}
'.tr('Query risultante').':
'.htmlentities($module_query).'
';
$_SESSION['module_'.$id_module]['id_segment'] = $previous;
$_SESSION['module_'.$record['id_module']]['id_segment'] = $previous_module;
?>
{[ "type": "textarea", "label": "", "name": "note", "value": "$note$" ]}