Commit

commit f39b4850f26efe0989b1d3ad14acbb9924de6718
Author: Jan Dankert 
Date:   Wed Feb 19 23:16:50 2020 +0100

    New: A ConditionalAttribute for HTML checkboxes and radiobuttons (the attribute 'checked' may not be present if value is 'off').

 .../themes/default/html/views/element/advanced.php | 22 +++++++--------
 .../themes/default/html/views/element/name.php     |  2 +-
 .../themes/default/html/views/element/prop.php     |  4 +--
 .../default/html/views/element/properties.php      | 20 +++++++-------
 .../themes/default/html/views/element/remove.php   |  2 +-
 .../themes/default/html/views/file/advanced.php    |  2 +-
 .../themes/default/html/views/file/remove.php      |  2 +-
 .../themes/default/html/views/folder/advanced.php  |  6 ++---
 .../default/html/views/folder/createfile.php       |  4 +--
 .../default/html/views/folder/createfolder.php     |  2 +-
 .../default/html/views/folder/createimage.php      |  4 +--
 .../default/html/views/folder/createlink.php       |  2 +-
 .../default/html/views/folder/createpage.php       |  2 +-
 .../default/html/views/folder/createtext.php       |  4 +--
 .../themes/default/html/views/folder/createurl.php |  4 +--
 .../themes/default/html/views/folder/inherit.php   |  2 +-
 .../themes/default/html/views/folder/pub.php       |  8 +++---
 .../themes/default/html/views/folder/remove.php    |  4 +--
 .../cms-ui/themes/default/html/views/group/add.php |  2 +-
 .../default/html/views/group/memberships.php       |  2 +-
 .../themes/default/html/views/group/prop.php       |  2 +-
 .../themes/default/html/views/group/remove.php     |  2 +-
 .../themes/default/html/views/group/rights.php     |  2 +-
 .../themes/default/html/views/grouplist/add.php    |  2 +-
 .../themes/default/html/views/image/remove.php     |  2 +-
 .../themes/default/html/views/image/size.php       |  6 ++---
 .../themes/default/html/views/language/prop.php    |  6 ++---
 .../themes/default/html/views/language/remove.php  |  2 +-
 .../themes/default/html/views/link/remove.php      |  2 +-
 .../themes/default/html/views/login/login.php      |  6 ++---
 .../themes/default/html/views/login/openid.php     |  2 +-
 .../themes/default/html/views/login/password.php   |  2 +-
 .../default/html/views/login/passwordcode.php      |  2 +-
 .../themes/default/html/views/login/register.php   |  2 +-
 .../default/html/views/login/registercode.php      |  4 +--
 .../themes/default/html/views/model/prop.php       |  4 +--
 .../themes/default/html/views/model/remove.php     |  2 +-
 .../themes/default/html/views/modellist/add.php    |  2 +-
 .../themes/default/html/views/object/aclform.php   |  4 +--
 .../themes/default/html/views/object/inherit.php   |  2 +-
 .../themes/default/html/views/object/name.php      |  2 +-
 .../themes/default/html/views/object/prop.php      |  4 +--
 .../themes/default/html/views/object/settings.php  |  8 +++---
 .../cms-ui/themes/default/html/views/page/form.php |  8 +++---
 .../cms-ui/themes/default/html/views/page/name.php |  6 ++---
 .../cms-ui/themes/default/html/views/page/pub.php  |  2 +-
 .../themes/default/html/views/page/remove.php      |  2 +-
 .../themes/default/html/views/pageelement/link.php |  4 +--
 .../themes/default/html/views/pageelement/pub.php  |  2 +-
 .../default/html/views/pageelement/value.php       | 16 +++++------
 .../default/html/views/profile/confirmmail.php     |  2 +-
 .../themes/default/html/views/profile/edit.php     | 10 +++----
 .../themes/default/html/views/profile/mail.php     |  2 +-
 .../themes/default/html/views/project/add.php      |  2 +-
 .../themes/default/html/views/project/prop.php     | 20 +++++++-------
 .../themes/default/html/views/project/remove.php   |  2 +-
 .../themes/default/html/views/projectlist/add.php  |  2 +-
 .../themes/default/html/views/search/edit.php      | 12 ++++-----
 .../themes/default/html/views/template/addel.php   |  4 +--
 .../default/html/views/template/extension.php      |  2 +-
 .../themes/default/html/views/template/prop.php    |  2 +-
 .../themes/default/html/views/template/pub.php     |  2 +-
 .../themes/default/html/views/template/remove.php  |  2 +-
 .../themes/default/html/views/templatelist/add.php |  2 +-
 .../themes/default/html/views/text/remove.php      |  2 +-
 .../cms-ui/themes/default/html/views/text/size.php |  6 ++---
 .../themes/default/html/views/title/show.php       |  2 +-
 .../cms-ui/themes/default/html/views/url/edit.php  |  2 +-
 .../themes/default/html/views/url/remove.php       |  2 +-
 .../cms-ui/themes/default/html/views/user/add.php  |  2 +-
 .../cms-ui/themes/default/html/views/user/info.php |  4 +--
 .../themes/default/html/views/user/memberships.php |  2 +-
 .../cms-ui/themes/default/html/views/user/prop.php | 20 +++++++-------
 .../default/html/views/user/prop.tpl.src.xml       |  2 +-
 .../cms-ui/themes/default/html/views/user/pw.php   |  4 +--
 .../themes/default/html/views/user/remove.php      |  2 +-
 .../themes/default/html/views/user/rights.php      |  2 +-
 .../themes/default/html/views/userlist/add.php     |  2 +-
 modules/template-engine/CMSElement.class.php       | 16 +++--------
 modules/template-engine/ConditionalAttribute.php   | 31 ++++++++++++++++++++++
 modules/template-engine/Element.class.php          | 19 ++++++++-----
 modules/template-engine/HtmlElement.class.php      |  4 +--
 modules/template-engine/SimpleAttribute.php        | 30 +++++++++++++++++++++
 .../components/html/checkbox/Checkbox.class.php    |  9 ++++---
 .../components/html/group/Group.class.php          |  2 ++
 modules/template-engine/require.php                |  2 ++
 86 files changed, 255 insertions(+), 190 deletions(-)