Commit
commit 2fb7fd1d451312814c005cc6435a303d5e88b734 Author: Jan DankertDate: Sun Nov 1 00:36:50 2020 +0100 Refactoring: Only using the configuration object. modules/cms/Dispatcher.class.php | 46 +++++----- modules/cms/action/ElementAction.class.php | 14 ++- modules/cms/action/FileAction.class.php | 8 +- modules/cms/action/FolderAction.class.php | 22 ++--- modules/cms/action/GroupAction.class.php | 5 +- modules/cms/action/LanguageAction.class.php | 5 +- modules/cms/action/LanguagelistAction.class.php | 21 ++--- modules/cms/action/LoginAction.class.php | 54 +++++------ modules/cms/action/PageAction.class.php | 6 +- modules/cms/action/ProfileAction.class.php | 40 +++++---- modules/cms/action/StartAction.class.php | 35 ++++---- modules/cms/action/UserAction.class.php | 38 ++++---- modules/cms/auth/InternalAuth.class.php | 2 +- modules/cms/auth/RememberAuth.class.php | 2 +- modules/cms/auth/SSLAuth.class.php | 13 ++- modules/cms/base/Configuration.class.php | 61 +++++-------- modules/cms/base/DefaultConfig.class.php | 2 +- modules/cms/base/Language.class.php | 10 ++- modules/cms/base/Startup.class.php | 2 +- modules/cms/generator/PageGenerator.class.php | 16 ++-- modules/cms/generator/link/PublicLink.class.php | 15 ++-- modules/cms/generator/target/Ftp.class.php | 3 +- modules/cms/generator/target/Local.class.php | 11 +-- modules/cms/model/BaseObject.class.php | 9 +- modules/cms/model/Folder.class.php | 7 +- modules/cms/model/Language.class.php | 5 +- modules/cms/model/Value.class.php | 27 +++--- modules/cms/ui/action/IndexAction.class.php | 100 ++++++++++----------- modules/cms/ui/action/TitleAction.class.php | 5 +- .../themes/default/html/views/element/advanced.php | 2 +- .../cms/ui/themes/default/html/views/file/pub.php | 2 +- .../ui/themes/default/html/views/folder/pub.php | 2 +- .../themes/default/html/views/grouplist/show.php | 2 +- .../cms/ui/themes/default/html/views/image/pub.php | 2 +- .../themes/default/html/views/image/uncompress.php | 2 +- .../ui/themes/default/html/views/login/login.php | 22 ++--- .../themes/default/html/views/login/password.php | 2 +- .../themes/default/html/views/login/register.php | 2 +- .../themes/default/html/views/modellist/show.php | 2 +- .../cms/ui/themes/default/html/views/page/pub.php | 2 +- .../themes/default/html/views/pageelement/pub.php | 2 +- .../default/html/views/pageelement/value.php | 32 +++---- .../ui/themes/default/html/views/profile/pw.php | 4 +- .../ui/themes/default/html/views/project/prop.php | 2 +- .../themes/default/html/views/projectlist/edit.php | 4 +- .../ui/themes/default/html/views/search/edit.php | 10 +-- .../ui/themes/default/html/views/template/pub.php | 2 +- .../default/html/views/templatelist/show.php | 2 +- .../cms/ui/themes/default/html/views/text/pub.php | 2 +- .../themes/default/html/views/text/uncompress.php | 2 +- .../ui/themes/default/html/views/title/show.php | 12 +-- .../cms/ui/themes/default/html/views/user/info.php | 2 +- .../cms/ui/themes/default/html/views/user/prop.php | 2 +- .../cms/ui/themes/default/html/views/user/pw.php | 2 +- modules/configuration/Config.class.php | 18 ++++ modules/language/LanguageCompiler.class.php | 36 +++++--- modules/language/Language_CN.class.php | 1 + modules/language/Language_DE.class.php | 1 + modules/language/Language_EN.class.php | 1 + modules/language/Language_ES.class.php | 1 + modules/language/Language_FR.class.php | 1 + modules/language/Language_IT.class.php | 1 + modules/language/Language_RU.class.php | 1 + modules/language/Messages.class.php | 2 + modules/language/language.yml | 8 ++ modules/template_engine/Output.class.php | 14 ++- .../html/component_user/component-user.php | 2 +- .../element/PHPBlockElement.class.php | 2 +- modules/template_engine/element/Value.class.php | 2 +- modules/util/cache/FileCache.class.php | 2 +- 70 files changed, 433 insertions(+), 366 deletions(-)