Commit
commit 4f94f9de61503f6a9b4d3620c33b7e8894bc92cc Author: Jan DankertDate: Sat Sep 26 04:03:53 2020 +0200 Refactoring: read language keys with a class. modules/cms/action/Action.class.php | 2 +- modules/cms/action/ElementAction.class.php | 6 +- modules/cms/action/FileAction.class.php | 8 +- modules/cms/action/FolderAction.class.php | 28 +- modules/cms/action/GroupAction.class.php | 2 +- modules/cms/action/ImageAction.class.php | 4 +- modules/cms/action/LoginAction.class.php | 2 +- modules/cms/action/ModellistAction.class.php | 2 +- modules/cms/action/ObjectAction.class.php | 12 +- modules/cms/action/PageAction.class.php | 12 +- modules/cms/action/PageelementAction.class.php | 20 +- modules/cms/action/ProjectAction.class.php | 2 +- modules/cms/action/StartAction.class.php | 4 +- modules/cms/action/TemplateAction.class.php | 8 +- modules/cms/action/UserAction.class.php | 2 +- modules/cms/base/Language.class.php | 138 ++----- modules/cms/base/Startup.class.php | 4 +- modules/cms/generator/ValueGenerator.class.php | 4 +- modules/cms/model/Acl.class.php | 2 +- modules/cms/model/Element.class.php | 2 +- modules/cms/model/Group.class.php | 4 +- modules/cms/model/Template.class.php | 2 +- modules/cms/model/User.class.php | 4 +- modules/cms/ui/UI.class.php | 2 +- modules/cms/ui/action/TitleAction.class.php | 6 +- .../default/html/views/configuration/show.php | 30 +- .../default/html/views/configuration/src.php | 2 +- .../themes/default/html/views/element/advanced.php | 300 +++++++-------- .../ui/themes/default/html/views/element/info.php | 44 +-- .../ui/themes/default/html/views/element/name.php | 44 +-- .../ui/themes/default/html/views/element/prop.php | 72 ++-- .../default/html/views/element/properties.php | 278 +++++++------- .../themes/default/html/views/element/remove.php | 80 ++-- .../ui/themes/default/html/views/file/advanced.php | 32 +- .../ui/themes/default/html/views/file/compress.php | 56 +-- .../cms/ui/themes/default/html/views/file/edit.php | 40 +- .../ui/themes/default/html/views/file/extract.php | 22 +- .../cms/ui/themes/default/html/views/file/info.php | 228 +++++------ .../ui/themes/default/html/views/file/preview.php | 6 +- .../cms/ui/themes/default/html/views/file/pub.php | 32 +- .../ui/themes/default/html/views/file/remove.php | 30 +- .../themes/default/html/views/file/uncompress.php | 50 +-- .../ui/themes/default/html/views/file/value.php | 32 +- .../themes/default/html/views/folder/advanced.php | 132 +++---- .../themes/default/html/views/folder/content.php | 94 ++--- .../ui/themes/default/html/views/folder/create.php | 44 +-- .../default/html/views/folder/createfile.php | 94 ++--- .../default/html/views/folder/createfolder.php | 42 +- .../default/html/views/folder/createimage.php | 94 ++--- .../default/html/views/folder/createlink.php | 46 +-- .../default/html/views/folder/createpage.php | 52 +-- .../default/html/views/folder/createtext.php | 92 ++--- .../themes/default/html/views/folder/createurl.php | 58 +-- .../ui/themes/default/html/views/folder/edit.php | 68 ++-- .../themes/default/html/views/folder/inherit.php | 44 +-- .../ui/themes/default/html/views/folder/order.php | 74 ++-- .../ui/themes/default/html/views/folder/pub.php | 88 ++--- .../ui/themes/default/html/views/folder/remove.php | 36 +- .../ui/themes/default/html/views/folder/show.php | 64 ++-- .../cms/ui/themes/default/html/views/group/add.php | 30 +- .../ui/themes/default/html/views/group/info.php | 56 +-- .../default/html/views/group/memberships.php | 54 +-- .../ui/themes/default/html/views/group/prop.php | 32 +- .../ui/themes/default/html/views/group/remove.php | 50 +-- .../ui/themes/default/html/views/group/rights.php | 84 ++-- .../ui/themes/default/html/views/grouplist/add.php | 30 +- .../themes/default/html/views/grouplist/show.php | 36 +- .../themes/default/html/views/image/compress.php | 56 +-- .../ui/themes/default/html/views/image/edit.php | 38 +- .../ui/themes/default/html/views/image/extract.php | 22 +- .../ui/themes/default/html/views/image/preview.php | 2 +- .../cms/ui/themes/default/html/views/image/pub.php | 30 +- .../ui/themes/default/html/views/image/show.php | 18 +- .../ui/themes/default/html/views/image/size.php | 138 +++---- .../themes/default/html/views/image/uncompress.php | 50 +-- .../ui/themes/default/html/views/image/value.php | 32 +- .../ui/themes/default/html/views/language/add.php | 30 +- .../ui/themes/default/html/views/language/info.php | 46 +-- .../themes/default/html/views/language/listing.php | 52 +-- .../ui/themes/default/html/views/language/prop.php | 52 +-- .../themes/default/html/views/language/remove.php | 56 +-- .../themes/default/html/views/languagelist/add.php | 30 +- .../default/html/views/languagelist/show.php | 58 +-- .../cms/ui/themes/default/html/views/link/edit.php | 32 +- .../ui/themes/default/html/views/link/remove.php | 30 +- .../ui/themes/default/html/views/login/license.php | 162 ++++---- .../ui/themes/default/html/views/login/login.php | 180 ++++----- .../ui/themes/default/html/views/login/openid.php | 96 ++--- .../themes/default/html/views/login/password.php | 58 +-- .../default/html/views/login/passwordcode.php | 50 +-- .../themes/default/html/views/login/register.php | 54 +-- .../default/html/views/login/registercode.php | 78 ++-- .../ui/themes/default/html/views/model/info.php | 30 +- .../ui/themes/default/html/views/model/listing.php | 46 +-- .../ui/themes/default/html/views/model/prop.php | 40 +- .../ui/themes/default/html/views/model/remove.php | 56 +-- .../ui/themes/default/html/views/modellist/add.php | 30 +- .../themes/default/html/views/modellist/show.php | 54 +-- .../themes/default/html/views/object/aclform.php | 132 +++---- .../ui/themes/default/html/views/object/copy.php | 48 +-- .../ui/themes/default/html/views/object/info.php | 310 +++++++-------- .../themes/default/html/views/object/inherit.php | 42 +- .../ui/themes/default/html/views/object/name.php | 44 +-- .../ui/themes/default/html/views/object/prop.php | 50 +-- .../ui/themes/default/html/views/object/rights.php | 72 ++-- .../themes/default/html/views/object/settings.php | 90 ++--- .../default/html/views/page/changetemplate.php | 48 +-- .../views/page/changetemplateselectelements.php | 32 +- .../cms/ui/themes/default/html/views/page/edit.php | 50 +-- .../cms/ui/themes/default/html/views/page/form.php | 106 +++--- .../cms/ui/themes/default/html/views/page/info.php | 238 ++++++------ .../cms/ui/themes/default/html/views/page/name.php | 76 ++-- .../ui/themes/default/html/views/page/preview.php | 46 +-- .../cms/ui/themes/default/html/views/page/pub.php | 46 +-- .../ui/themes/default/html/views/page/remove.php | 30 +- .../cms/ui/themes/default/html/views/page/src.php | 38 +- .../default/html/views/pageelement/advanced.php | 44 +-- .../themes/default/html/views/pageelement/diff.php | 58 +-- .../themes/default/html/views/pageelement/edit.php | 32 +- .../default/html/views/pageelement/export.php | 30 +- .../default/html/views/pageelement/history.php | 118 +++--- .../default/html/views/pageelement/import.php | 36 +- .../themes/default/html/views/pageelement/info.php | 106 +++--- .../themes/default/html/views/pageelement/link.php | 76 ++-- .../default/html/views/pageelement/preview.php | 14 +- .../themes/default/html/views/pageelement/prop.php | 156 ++++---- .../themes/default/html/views/pageelement/pub.php | 46 +-- .../default/html/views/pageelement/value.php | 346 ++++++++--------- .../default/html/views/profile/confirmmail.php | 42 +- .../ui/themes/default/html/views/profile/edit.php | 210 +++++----- .../themes/default/html/views/profile/history.php | 40 +- .../ui/themes/default/html/views/profile/mail.php | 62 +-- .../default/html/views/profile/memberships.php | 28 +- .../ui/themes/default/html/views/profile/pw.php | 100 ++--- .../ui/themes/default/html/views/project/add.php | 70 ++-- .../ui/themes/default/html/views/project/edit.php | 40 +- .../themes/default/html/views/project/export.php | 30 +- .../themes/default/html/views/project/history.php | 46 +-- .../ui/themes/default/html/views/project/info.php | 22 +- .../default/html/views/project/maintenance.php | 50 +-- .../ui/themes/default/html/views/project/prop.php | 184 ++++----- .../themes/default/html/views/project/remove.php | 54 +-- .../themes/default/html/views/projectlist/add.php | 66 ++-- .../themes/default/html/views/projectlist/edit.php | 36 +- .../default/html/views/projectlist/history.php | 46 +-- .../themes/default/html/views/projectlist/show.php | 6 +- .../ui/themes/default/html/views/search/edit.php | 84 ++-- .../ui/themes/default/html/views/search/result.php | 32 +- .../default/html/views/start/applications.php | 30 +- .../default/html/views/start/projectmenu.php | 100 ++--- .../html/views/start/userprojecttimeline.php | 38 +- .../themes/default/html/views/template/addel.php | 66 ++-- .../ui/themes/default/html/views/template/edit.php | 74 ++-- .../default/html/views/template/extension.php | 36 +- .../ui/themes/default/html/views/template/info.php | 32 +- .../themes/default/html/views/template/listing.php | 28 +- .../themes/default/html/views/template/preview.php | 46 +-- .../ui/themes/default/html/views/template/prop.php | 68 ++-- .../ui/themes/default/html/views/template/pub.php | 46 +-- .../themes/default/html/views/template/remove.php | 56 +-- .../ui/themes/default/html/views/template/src.php | 36 +- .../default/html/views/template/srcelement.php | 78 ++-- .../themes/default/html/views/templatelist/add.php | 86 ++--- .../default/html/views/templatelist/show.php | 40 +- .../ui/themes/default/html/views/text/compress.php | 56 +-- .../cms/ui/themes/default/html/views/text/edit.php | 38 +- .../ui/themes/default/html/views/text/extract.php | 22 +- .../ui/themes/default/html/views/text/preview.php | 2 +- .../cms/ui/themes/default/html/views/text/pub.php | 32 +- .../cms/ui/themes/default/html/views/text/size.php | 138 +++---- .../themes/default/html/views/text/uncompress.php | 50 +-- .../ui/themes/default/html/views/text/value.php | 34 +- .../ui/themes/default/html/views/title/ping.php | 2 +- .../ui/themes/default/html/views/title/show.php | 424 ++++++++++----------- .../cms/ui/themes/default/html/views/url/edit.php | 34 +- .../ui/themes/default/html/views/url/preview.php | 6 +- .../ui/themes/default/html/views/url/remove.php | 30 +- .../cms/ui/themes/default/html/views/user/add.php | 30 +- .../ui/themes/default/html/views/user/history.php | 40 +- .../cms/ui/themes/default/html/views/user/info.php | 226 +++++------ .../ui/themes/default/html/views/user/listing.php | 50 +-- .../themes/default/html/views/user/memberships.php | 48 +-- .../cms/ui/themes/default/html/views/user/prop.php | 208 +++++----- .../cms/ui/themes/default/html/views/user/pw.php | 112 +++--- .../ui/themes/default/html/views/user/remove.php | 62 +-- .../ui/themes/default/html/views/user/rights.php | 80 ++-- .../themes/default/html/views/usergroup/show.php | 36 +- .../ui/themes/default/html/views/userlist/add.php | 30 +- .../ui/themes/default/html/views/userlist/show.php | 62 +-- modules/cms/ui/themes/default/layout/index.php | 2 +- modules/template_engine/Output.class.php | 30 ++ modules/template_engine/TemplateCompiler.php | 3 +- .../components/html/button/Button.class.php | 2 +- .../components/html/date/component-date.php | 34 +- .../components/html/user/component-user.php | 4 +- modules/template_engine/element/Value.class.php | 4 +- modules/util/GlobalFunctions.class.php | 2 +- modules/util/Mail.class.php | 4 +- modules/util/Text.class.php | 70 ++++ modules/util/Tree.class.php | 70 ++-- .../wikiparser/renderer/HtmlDomRenderer.class.php | 2 +- 201 files changed, 5817 insertions(+), 5790 deletions(-)