From 073948d4c37883e8b7c92ead3b5ab85c9b4f6b67 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 2 Apr 2025 08:08:37 +0200 Subject: [PATCH] add hidden field without value to checkboxes --- views/bootstrap/class.Settings.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index c57c6454b..2f92f2ab5 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -189,9 +189,10 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style { isVisible($name)) + if($this->isVisible($name)) { + echo ''; echo '{"_".$name} ? "checked" : '').' />'; - else + } else echo getMLText('settings_conf_field_not_editable'); echo "\n"; ?>