Commit
commit 9206863d3fcfdafe3992557b32c4b34326ac08ce Author: Jan DankertDate: Sun Sep 23 22:26:00 2018 +0200 Die IndexAction soll beim Start des UI auch die Action und Id ermitteln. Damit die Id gesetzt werden kann, muss die Id über den Dispatcher in die Action gebracht werden. Dazu muss erst der Request gesetzt werden, bevor die weitere Verarbeitung geschieht, daher geschieht die fachliche Initialisierung der Actions jetzt (wieder) über eine init()-Methode, die vom Dispatcher aufgerufen wird. modules/cms-core/Dispatcher.class.php | 1 + modules/cms-core/action/Action.class.php | 14 ++++--- modules/cms-core/action/ElementAction.class.php | 5 +++ modules/cms-core/action/FileAction.class.php | 6 ++- modules/cms-core/action/FolderAction.class.php | 5 +++ modules/cms-core/action/GroupAction.class.php | 8 +++- modules/cms-core/action/ImageAction.class.php | 5 +++ modules/cms-core/action/LanguageAction.class.php | 5 +++ modules/cms-core/action/LinkAction.class.php | 7 ++++ modules/cms-core/action/LoginAction.class.php | 6 --- modules/cms-core/action/ModelAction.class.php | 5 +++ modules/cms-core/action/ObjectAction.class.php | 5 +++ modules/cms-core/action/PageAction.class.php | 7 +++- .../cms-core/action/PageelementAction.class.php | 5 +++ modules/cms-core/action/ProfileAction.class.php | 1 - modules/cms-core/action/ProjectAction.class.php | 4 ++ modules/cms-core/action/RequestParams.class.php | 9 +++-- modules/cms-core/action/StartAction.class.php | 1 + modules/cms-core/action/TemplateAction.class.php | 5 +++ modules/cms-core/action/TextAction.class.php | 5 +++ modules/cms-core/action/UrlAction.class.php | 5 +++ modules/cms-core/action/UserAction.class.php | 7 +++- modules/cms-core/action/WebdavAction.class.php | 1 + modules/cms-ui/UI.class.php | 3 +- modules/cms-ui/action/IndexAction.class.php | 45 +++++++++++++--------- modules/cms-ui/themes/default/layout/index.php | 14 +++---- modules/util/Html.class.php | 3 -- modules/util/Session.class.php | 2 + modules/util/Tree.class.php | 25 ------------ modules/util/TreeElement.class.php | 1 - 30 files changed, 138 insertions(+), 77 deletions(-)