diff --git a/modules/custom_fields/add.php b/modules/custom_fields/add.php index ca7250729..ed93a90c5 100755 --- a/modules/custom_fields/add.php +++ b/modules/custom_fields/add.php @@ -44,10 +44,10 @@ include_once __DIR__.'/../../core.php'; 'textarea', - 'label' => tr('Contenuto'), + 'label' => tr('Codice'), 'name' => 'content', 'required' => 1, - 'value' => $record['content'], + 'value' => '{[ "type": "text", "label": "|label|", "name": "|name|", "value": "|value|" ]}', ]); ?> diff --git a/modules/custom_fields/content-info.php b/modules/custom_fields/content-info.php index 1f68ed21e..099e10b70 100755 --- a/modules/custom_fields/content-info.php +++ b/modules/custom_fields/content-info.php @@ -22,7 +22,7 @@ echo '

'.tr('Istruzioni per il campo _FIELD_', [ - '_FIELD_' => tr('Contenuto'), + '_FIELD_' => tr('Codice'), ]).'

diff --git a/modules/custom_fields/edit.php b/modules/custom_fields/edit.php index 115ce2239..1ed3b6303 100755 --- a/modules/custom_fields/edit.php +++ b/modules/custom_fields/edit.php @@ -47,11 +47,11 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "checkbox", "label": "", "name": "on_add","value": "$on_add$" ]} + {[ "type": "checkbox", "label": "", "name": "on_add","value": "$on_add$" ]}
- {[ "type": "checkbox", "label": "", "name": "top", "value": "$top$" ]} + {[ "type": "checkbox", "label": "", "name": "top", "value": "$top$" ]}
@@ -60,7 +60,7 @@ include_once __DIR__.'/../../core.php'; 'textarea', - 'label' => tr('Contenuto'), + 'label' => tr('Codice'), 'name' => 'content', 'value' => $record['content'], ]);