From 5cae6e666a77670d0916ae6336558b32c25a5da0 Mon Sep 17 00:00:00 2001 From: Fabio Lovato Date: Tue, 6 Mar 2018 18:27:02 +0100 Subject: [PATCH] =?UTF-8?q?Aggiunta=20possibilit=C3=A0=20di=20nascondere?= =?UTF-8?q?=20dei=20campi=20di=20default=20nelle=20viste?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/viste/edit.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/viste/edit.php b/modules/viste/edit.php index b027ad5c9..717c6381d 100644 --- a/modules/viste/edit.php +++ b/modules/viste/edit.php @@ -167,11 +167,7 @@ if (!empty($options) && $options != 'custom') {
- {[ "type": "select", "label": "'.tr('Visibilità').'", "name": "enabled['.$key.']", "values": "list=\"0\":\"'.tr('Nascosto (variabili di stato)').'\",\"1\": \"'.tr('Visibile nella sezione').'\"", "value": "'.$field['enabled'].'"'; - if (!$editable) { - echo ', "readonly": "1"'; - } - echo ', "help": "'.tr('Stato del campo: visibile nella tabella oppure nascosto').'" ]} + {[ "type": "select", "label": "'.tr('Visibilità').'", "name": "enabled['.$key.']", "values": "list=\"0\":\"'.tr('Nascosto (variabili di stato)').'\",\"1\": \"'.tr('Visibile nella sezione').'\"", "value": "'.$field['enabled'].'", "help": "'.tr('Stato del campo: visibile nella tabella oppure nascosto').'" ]}