Commit
commit 3e439192804e85f22fe4392b6da3351deef9612d Author: Jan DankertDate: Sat Sep 26 12:20:43 2020 +0200 Refactoring: No global variables like $SESS any more. All constants are capsulated by classes. modules/cms/Dispatcher.class.php | 12 +++---- modules/cms/action/Action.class.php | 10 ++---- modules/cms/action/ElementAction.class.php | 40 +++++++++------------ modules/cms/action/FolderAction.class.php | 6 ---- modules/cms/action/LanguagelistAction.class.php | 7 ++-- modules/cms/action/LoginAction.class.php | 7 ++-- modules/cms/action/PageAction.class.php | 2 -- modules/cms/action/ProjectAction.class.php | 2 -- modules/cms/action/RequestParams.class.php | 17 ++++----- modules/cms/action/TemplateAction.class.php | 2 -- modules/cms/api/API.class.php | 1 - modules/cms/auth/OpenIdAuth.class.php | 2 +- modules/cms/base/HttpRequest.class.php | 18 ++++++++++ modules/cms/base/HttpResponse.class.php | 10 ++++++ modules/cms/base/Startup.class.php | 42 +++++++--------------- modules/cms/generator/ValueGenerator.class.php | 3 +- modules/cms/model/BaseObject.class.php | 3 -- modules/cms/model/File.class.php | 31 ---------------- modules/cms/model/Folder.class.php | 8 ++++- modules/cms/model/Group.class.php | 29 +-------------- modules/cms/model/Language.class.php | 6 ++-- modules/cms/model/Model.class.php | 1 - modules/cms/model/Url.class.php | 1 - modules/cms/ui/action/IndexAction.class.php | 9 ++--- modules/cms/ui/themes/default/layout/index.php | 10 +++--- modules/template_engine/TemplateCompiler.php | 41 +++++++++++++++++---- .../components/html/button/Button.class.php | 3 +- .../components/html/image/Image.class.php | 13 +++---- .../components/html/upload/Upload.class.php | 2 +- .../engine/TemplateEngine.class.php | 17 ++------- modules/util/Api.class.php | 29 +++------------ modules/util/Code.class.php | 3 -- modules/util/GlobalFunctions.class.php | 35 ------------------ modules/util/Html.class.php | 1 - modules/util/Http.class.php | 4 +-- 35 files changed, 154 insertions(+), 273 deletions(-)