. */ include_once __DIR__.'/../../../core.php'; $manager_id = filter('manager_id'); $checks = $structure->recordChecks($id_record); $list = []; foreach ($checks as $check) { $list[] = [ 'id' => $check->id, 'text' => $check->content, ]; } echo '
'.input([ 'type' => 'ckeditor', 'label' => tr('Contenuto'), 'name' => 'content', 'required' => 1, 'value' => '', ]).'
{[ "type": "select", "label": "'.tr('Collega a').'", "name": "parent", "values": '.json_encode($list).' ]}
{[ "type": "checkbox", "label": "'.tr('Utilizza come titolo').'", "name": "is_titolo" ]}
{[ "type": "select", "label": "'.tr('Gruppo assegnato').'", "name": "group_id", "values": "query=SELECT id, nome AS text FROM zz_groups" ]}
{[ "type": "select", "label": "'.tr('Utente assegnato').'", "name": "assigned_users", "ajax-source": "utenti", "multiple": 1 ]}


';