Commit
commit bdc9dbc7b444c72fe83a3641b6a09d46f3138b21 Author: Jan DankertDate: Sat Sep 26 04:26:55 2020 +0200 Refactoring: read configuration values with a class. modules/cms/Dispatcher.class.php | 20 +++--- modules/cms/action/Action.class.php | 10 +-- modules/cms/action/ElementAction.class.php | 8 +-- modules/cms/action/FileAction.class.php | 4 +- modules/cms/action/LanguageAction.class.php | 2 +- modules/cms/action/LoginAction.class.php | 26 +++---- modules/cms/action/PageAction.class.php | 4 +- modules/cms/action/ProfileAction.class.php | 21 +++--- modules/cms/action/StartAction.class.php | 8 +-- modules/cms/action/UserAction.class.php | 6 +- modules/cms/auth/InternalAuth.class.php | 4 +- modules/cms/auth/OpenIdAuth.class.php | 8 +-- modules/cms/auth/RememberAuth.class.php | 2 +- modules/cms/auth/SSLAuth.class.php | 6 +- modules/cms/base/Configuration.class.php | 82 ++++++++++------------ modules/cms/base/Language.class.php | 8 --- modules/cms/base/Startup.class.php | 7 +- modules/cms/generator/PageGenerator.class.php | 12 ++-- modules/cms/generator/Publisher.class.php | 4 +- modules/cms/generator/ValueGenerator.class.php | 3 +- modules/cms/generator/link/PublicLink.class.php | 12 ++-- modules/cms/generator/target/Ftp.class.php | 2 +- modules/cms/generator/target/Local.class.php | 2 +- modules/cms/model/BaseObject.class.php | 4 +- modules/cms/model/Folder.class.php | 2 +- modules/cms/model/Language.class.php | 2 +- modules/cms/model/User.class.php | 4 +- modules/cms/model/Value.class.php | 4 +- modules/cms/ui/UI.class.php | 2 +- modules/cms/ui/action/IndexAction.class.php | 34 ++++----- modules/cms/ui/action/TitleAction.class.php | 4 +- .../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 +- .../cms/ui/themes/default/html/views/image/pub.php | 2 +- .../ui/themes/default/html/views/login/login.php | 20 +++--- .../ui/themes/default/html/views/login/openid.php | 6 +- .../themes/default/html/views/login/password.php | 2 +- .../themes/default/html/views/login/register.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/project/prop.php | 4 +- .../ui/themes/default/html/views/search/edit.php | 10 +-- .../ui/themes/default/html/views/template/pub.php | 2 +- .../cms/ui/themes/default/html/views/text/pub.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 | 4 +- modules/cms/ui/themes/default/layout/index.php | 4 +- modules/template_engine/Output.class.php | 6 ++ .../components/html/user/component-user.php | 2 +- .../element/PHPBlockElement.class.php | 2 +- modules/template_engine/element/Value.class.php | 2 +- modules/util/GlobalFunctions.class.php | 4 +- modules/util/Html.class.php | 2 +- modules/util/cache/FileCache.class.php | 2 +- .../util/text/variables/VariableResolver.class.php | 28 ++++++++ 59 files changed, 248 insertions(+), 233 deletions(-)