Commit

commit 494425054102f4683e16a96f7ca29de9ef9d0565
Author: dankert 
Date:   Wed Mar 9 13:28:52 2022 +0100

    Refactoring: Checkbox values are always sent to the server. In the actions we must test the value with 'isTrue()'

 modules/cms/Dispatcher.class.php                   |   4 +-
 modules/cms/action/PageAction.class.php            |   8 +-
 modules/cms/action/PageelementAction.class.php     |  50 ++++------
 modules/cms/action/RequestParams.class.php         |  45 ++-------
 .../action/element/ElementAdvancedAction.class.php | 111 +++++++++++++--------
 .../action/element/ElementRemoveAction.class.php   |   3 -
 modules/cms/action/file/FileEditAction.class.php   |   4 +-
 .../action/folder/FolderAdvancedAction.class.php   |   6 +-
 .../action/folder/FolderCreatefileAction.class.php |   7 +-
 .../folder/FolderCreateimageAction.class.php       |   3 +-
 .../action/folder/FolderCreatetextAction.class.php |  50 ++++------
 .../cms/action/folder/FolderPubAction.class.php    |   8 +-
 .../cms/action/folder/FolderRemoveAction.class.php |  14 +--
 .../action/group/GroupMembershipsAction.class.php  |   4 +-
 modules/cms/action/image/ImageSizeAction.class.php |  16 +--
 .../action/language/LanguagePropAction.class.php   |   8 +-
 .../cms/action/login/LoginLoginAction.class.php    |   2 +-
 modules/cms/action/login/LoginOidcAction.class.php |   6 +-
 modules/cms/action/model/ModelPropAction.class.php |   6 +-
 .../cms/action/model/ModelRemoveAction.class.php   |   2 +-
 .../action/object/ObjectAclformAction.class.php    |  22 ++--
 .../action/object/ObjectInheritAction.class.php    |   2 +-
 .../cms/action/object/ObjectNameAction.class.php   |  14 ++-
 .../cms/action/object/ObjectPropAction.class.php   |  13 ++-
 .../action/object/ObjectSettingsAction.class.php   |  27 +++--
 modules/cms/action/page/PageAllAction.class.php    |   8 +-
 .../cms/action/profile/ProfileEditAction.class.php |   4 +-
 .../cms/action/project/ProjectCopyAction.class.php |   2 +-
 .../cms/action/search/SearchEditAction.class.php   |  12 +--
 .../action/template/TemplateAddelAction.class.php  |   2 +-
 .../action/template/TemplatePropAction.class.php   |   8 +-
 modules/cms/action/text/TextValueAction.class.php  |   2 +-
 .../action/user/UserMembershipsAction.class.php    |   4 +-
 modules/cms/action/user/UserPropAction.class.php   |   2 +-
 modules/cms/action/user/UserPwAction.class.php     |   4 +-
 modules/cms/base/HttpRequest.class.php             |  18 ----
 modules/cms/base/HttpResponse.class.php            |  10 --
 .../cms/ui/action/tree/TreeBranchAction.class.php  |   4 +-
 .../themes/default/html/views/element/advanced.php |  12 ++-
 .../themes/default/html/views/element/remove.php   |   3 +-
 .../ui/themes/default/html/views/file/remove.php   |   3 +-
 .../themes/default/html/views/folder/advanced.php  |   6 +-
 .../ui/themes/default/html/views/folder/pub.php    |  12 ++-
 .../ui/themes/default/html/views/folder/remove.php |   6 +-
 .../default/html/views/group/memberships.php       |  12 +--
 .../html/views/group/memberships.tpl.src.xml       |  10 +-
 .../ui/themes/default/html/views/group/remove.php  |   3 +-
 .../ui/themes/default/html/views/image/size.php    |   3 +-
 .../ui/themes/default/html/views/language/prop.php |   3 +-
 .../themes/default/html/views/language/remove.php  |   3 +-
 .../ui/themes/default/html/views/link/remove.php   |   3 +-
 .../ui/themes/default/html/views/login/login.php   |   3 +-
 .../ui/themes/default/html/views/model/prop.php    |   3 +-
 .../ui/themes/default/html/views/model/remove.php  |   3 +-
 .../themes/default/html/views/object/aclform.php   |   3 +-
 .../themes/default/html/views/object/inherit.php   |   3 +-
 .../cms/ui/themes/default/html/views/page/all.php  |   6 +-
 .../cms/ui/themes/default/html/views/page/name.php |   6 +-
 .../default/html/views/page/name.tpl.src.xml       |   2 +-
 .../cms/ui/themes/default/html/views/page/pub.php  |   3 +-
 .../ui/themes/default/html/views/page/remove.php   |   3 +-
 .../themes/default/html/views/pageelement/link.php |  16 +--
 .../html/views/pageelement/link.tpl.src.xml        |  12 +--
 .../themes/default/html/views/pageelement/pub.php  |   3 +-
 .../default/html/views/pageelement/value.php       |   6 +-
 .../ui/themes/default/html/views/profile/edit.php  |   6 +-
 .../ui/themes/default/html/views/project/prop.php  |  15 ++-
 .../themes/default/html/views/project/remove.php   |   3 +-
 .../ui/themes/default/html/views/search/edit.php   |  15 ++-
 .../themes/default/html/views/template/addel.php   |   3 +-
 .../ui/themes/default/html/views/template/prop.php |   3 +-
 .../themes/default/html/views/template/remove.php  |   3 +-
 .../ui/themes/default/html/views/template/src.php  |   3 +-
 .../ui/themes/default/html/views/text/value.php    |   3 +-
 .../ui/themes/default/html/views/url/remove.php    |   3 +-
 .../cms/ui/themes/default/html/views/user/info.php |   6 +-
 .../themes/default/html/views/user/memberships.php |  12 +--
 .../html/views/user/memberships.tpl.src.xml        |  10 +-
 .../cms/ui/themes/default/html/views/user/prop.php |   9 +-
 .../cms/ui/themes/default/html/views/user/pw.php   |   6 +-
 .../ui/themes/default/html/views/user/remove.php   |   3 +-
 .../ui/themes/default/script/openrat/components.js |   8 +-
 .../default/script/openrat/components.min.js       |   8 +-
 .../component_checkbox/CheckboxComponent.class.php |   5 +-
 .../components/html/component_checkbox/checkbox.js |  14 +++
 .../html/component_checkbox/checkbox.min.js        |   6 ++
 86 files changed, 421 insertions(+), 389 deletions(-)