Commit
commit 29a210ef78a5d746d94394ff6310ae816be4184c Author: Jan DankertDate: Sun Nov 15 21:52:19 2020 +0100 Optimized template element renderer: Elements without children are closed in the same line. This fixes the space problem in HTML textareas. .../default/html/views/configuration/show.php | 12 +- .../default/html/views/configuration/src.php | 3 +- .../themes/default/html/views/element/advanced.php | 153 ++++------ .../ui/themes/default/html/views/element/info.php | 21 +- .../ui/themes/default/html/views/element/name.php | 24 +- .../ui/themes/default/html/views/element/prop.php | 39 +-- .../themes/default/html/views/element/remove.php | 45 +-- .../ui/themes/default/html/views/file/advanced.php | 24 +- .../ui/themes/default/html/views/file/compress.php | 39 +-- .../cms/ui/themes/default/html/views/file/edit.php | 3 +- .../ui/themes/default/html/views/file/extract.php | 15 +- .../ui/themes/default/html/views/file/preview.php | 3 +- .../cms/ui/themes/default/html/views/file/pub.php | 18 +- .../ui/themes/default/html/views/file/remove.php | 24 +- .../themes/default/html/views/file/uncompress.php | 39 +-- .../ui/themes/default/html/views/file/value.php | 18 +- .../themes/default/html/views/folder/advanced.php | 63 ++--- .../themes/default/html/views/folder/content.php | 39 +-- .../ui/themes/default/html/views/folder/create.php | 21 +- .../default/html/views/folder/createfile.php | 69 ++--- .../default/html/views/folder/createfolder.php | 30 +- .../default/html/views/folder/createimage.php | 69 ++--- .../default/html/views/folder/createlink.php | 39 +-- .../default/html/views/folder/createpage.php | 39 +-- .../default/html/views/folder/createtext.php | 72 ++--- .../themes/default/html/views/folder/createurl.php | 45 +-- .../ui/themes/default/html/views/folder/edit.php | 36 +-- .../themes/default/html/views/folder/inherit.php | 33 +-- .../ui/themes/default/html/views/folder/order.php | 39 +-- .../ui/themes/default/html/views/folder/pub.php | 60 ++-- .../ui/themes/default/html/views/folder/remove.php | 33 +-- .../ui/themes/default/html/views/folder/show.php | 33 +-- .../ui/themes/default/html/views/group/info.php | 27 +- .../default/html/views/group/memberships.php | 27 +- .../ui/themes/default/html/views/group/prop.php | 18 +- .../ui/themes/default/html/views/group/remove.php | 36 +-- .../ui/themes/default/html/views/group/rights.php | 45 +-- .../ui/themes/default/html/views/grouplist/add.php | 18 +- .../themes/default/html/views/grouplist/show.php | 15 +- .../themes/default/html/views/image/compress.php | 39 +-- .../ui/themes/default/html/views/image/extract.php | 15 +- .../ui/themes/default/html/views/image/preview.php | 6 +- .../cms/ui/themes/default/html/views/image/pub.php | 18 +- .../ui/themes/default/html/views/image/show.php | 9 +- .../ui/themes/default/html/views/image/size.php | 102 +++---- .../themes/default/html/views/image/uncompress.php | 39 +-- .../ui/themes/default/html/views/image/value.php | 21 +- .../ui/themes/default/html/views/index/show.php | 39 +-- .../ui/themes/default/html/views/language/info.php | 27 +- .../ui/themes/default/html/views/language/prop.php | 27 +- .../themes/default/html/views/language/remove.php | 39 +-- .../themes/default/html/views/languagelist/add.php | 21 +- .../default/html/views/languagelist/show.php | 30 +- .../cms/ui/themes/default/html/views/link/edit.php | 27 +- .../ui/themes/default/html/views/link/remove.php | 24 +- .../ui/themes/default/html/views/login/license.php | 102 +++---- .../ui/themes/default/html/views/login/login.php | 93 ++---- .../themes/default/html/views/login/password.php | 36 +-- .../default/html/views/login/passwordcode.php | 27 +- .../themes/default/html/views/login/register.php | 30 +- .../default/html/views/login/registercode.php | 39 +-- .../ui/themes/default/html/views/model/info.php | 18 +- .../ui/themes/default/html/views/model/prop.php | 24 +- .../ui/themes/default/html/views/model/remove.php | 39 +-- .../ui/themes/default/html/views/modellist/add.php | 18 +- .../themes/default/html/views/modellist/show.php | 27 +- .../themes/default/html/views/object/aclform.php | 84 ++---- .../ui/themes/default/html/views/object/copy.php | 36 +-- .../ui/themes/default/html/views/object/info.php | 180 ++++-------- .../themes/default/html/views/object/inherit.php | 33 +-- .../ui/themes/default/html/views/object/name.php | 27 +- .../ui/themes/default/html/views/object/prop.php | 36 +-- .../ui/themes/default/html/views/object/rights.php | 48 ++-- .../themes/default/html/views/object/settings.php | 45 +-- .../default/html/views/page/changetemplate.php | 27 +- .../views/page/changetemplateselectelements.php | 21 +- .../cms/ui/themes/default/html/views/page/edit.php | 27 +- .../cms/ui/themes/default/html/views/page/form.php | 60 ++-- .../cms/ui/themes/default/html/views/page/info.php | 132 +++------ .../cms/ui/themes/default/html/views/page/name.php | 54 ++-- .../ui/themes/default/html/views/page/preview.php | 33 +-- .../cms/ui/themes/default/html/views/page/pub.php | 33 +-- .../ui/themes/default/html/views/page/remove.php | 24 +- .../cms/ui/themes/default/html/views/page/src.php | 27 +- .../default/html/views/pageelement/advanced.php | 18 +- .../themes/default/html/views/pageelement/diff.php | 39 +-- .../themes/default/html/views/pageelement/edit.php | 12 +- .../default/html/views/pageelement/export.php | 18 +- .../default/html/views/pageelement/history.php | 66 ++--- .../default/html/views/pageelement/import.php | 18 +- .../themes/default/html/views/pageelement/info.php | 66 ++--- .../themes/default/html/views/pageelement/link.php | 45 +-- .../default/html/views/pageelement/preview.php | 12 +- .../themes/default/html/views/pageelement/pub.php | 33 +-- .../default/html/views/pageelement/value.php | 216 +++++--------- .../default/html/views/profile/confirmmail.php | 27 +- .../ui/themes/default/html/views/profile/edit.php | 120 +++----- .../themes/default/html/views/profile/history.php | 15 +- .../ui/themes/default/html/views/profile/mail.php | 36 +-- .../default/html/views/profile/memberships.php | 9 +- .../ui/themes/default/html/views/profile/pw.php | 39 +-- .../ui/themes/default/html/views/project/add.php | 36 +-- .../ui/themes/default/html/views/project/edit.php | 33 +-- .../themes/default/html/views/project/export.php | 24 +- .../themes/default/html/views/project/history.php | 21 +- .../ui/themes/default/html/views/project/info.php | 18 +- .../default/html/views/project/maintenance.php | 30 +- .../ui/themes/default/html/views/project/prop.php | 96 +++---- .../themes/default/html/views/project/remove.php | 30 +- .../themes/default/html/views/projectlist/add.php | 18 +- .../themes/default/html/views/projectlist/edit.php | 15 +- .../default/html/views/projectlist/history.php | 21 +- .../ui/themes/default/html/views/search/edit.php | 42 +-- .../ui/themes/default/html/views/search/result.php | 9 +- .../themes/default/html/views/template/addel.php | 39 +-- .../ui/themes/default/html/views/template/edit.php | 42 +-- .../default/html/views/template/extension.php | 27 +- .../ui/themes/default/html/views/template/info.php | 27 +- .../themes/default/html/views/template/listing.php | 12 +- .../themes/default/html/views/template/preview.php | 30 +- .../ui/themes/default/html/views/template/prop.php | 48 ++-- .../ui/themes/default/html/views/template/pub.php | 36 +-- .../themes/default/html/views/template/remove.php | 45 +-- .../ui/themes/default/html/views/template/src.php | 45 +-- .../default/html/views/template/srcelement.php | 57 ++-- .../themes/default/html/views/templatelist/add.php | 36 +-- .../default/html/views/templatelist/show.php | 18 +- .../ui/themes/default/html/views/text/compress.php | 39 +-- .../cms/ui/themes/default/html/views/text/edit.php | 3 +- .../ui/themes/default/html/views/text/extract.php | 15 +- .../ui/themes/default/html/views/text/preview.php | 9 +- .../cms/ui/themes/default/html/views/text/pub.php | 18 +- .../cms/ui/themes/default/html/views/text/size.php | 102 +++---- .../themes/default/html/views/text/uncompress.php | 39 +-- .../ui/themes/default/html/views/text/value.php | 24 +- .../ui/themes/default/html/views/title/ping.php | 3 +- .../ui/themes/default/html/views/title/show.php | 312 +++++++-------------- .../ui/themes/default/html/views/tree/branch.php | 9 +- .../cms/ui/themes/default/html/views/tree/path.php | 12 +- .../cms/ui/themes/default/html/views/tree/show.php | 3 +- .../cms/ui/themes/default/html/views/url/edit.php | 9 +- .../ui/themes/default/html/views/url/preview.php | 6 +- .../ui/themes/default/html/views/url/remove.php | 24 +- .../cms/ui/themes/default/html/views/url/value.php | 21 +- .../ui/themes/default/html/views/user/history.php | 15 +- .../cms/ui/themes/default/html/views/user/info.php | 135 +++------ .../themes/default/html/views/user/memberships.php | 24 +- .../cms/ui/themes/default/html/views/user/prop.php | 99 +++---- .../cms/ui/themes/default/html/views/user/pw.php | 42 +-- .../ui/themes/default/html/views/user/remove.php | 45 +-- .../ui/themes/default/html/views/user/rights.php | 54 ++-- .../ui/themes/default/html/views/user/switch.php | 21 +- .../themes/default/html/views/usergroup/show.php | 15 +- .../ui/themes/default/html/views/userlist/add.php | 18 +- .../ui/themes/default/html/views/userlist/show.php | 30 +- modules/template_engine/element/Element.class.php | 6 +- .../engine/TemplateEngine.class.php | 2 + 157 files changed, 2020 insertions(+), 4027 deletions(-)