Commit
commit bc42ea4e60a3bd1448f31751a24eb18e827a2348 Author: Jan DankertDate: Wed Dec 11 00:51:02 2019 +0100 Refactoring: Moving up the action method infoView() to ObjectAction, because the output is nearly the same. modules/cms-core/action/AliasAction.class.php | 4 - modules/cms-core/action/FileAction.class.php | 48 +-- modules/cms-core/action/FolderAction.class.php | 29 +- modules/cms-core/action/ImageAction.class.php | 444 +++++++++++---------- modules/cms-core/action/LinkAction.class.php | 20 +- modules/cms-core/action/ObjectAction.class.php | 53 ++- modules/cms-core/action/PageAction.class.php | 28 +- modules/cms-core/action/TextAction.class.php | 191 ++++----- modules/cms-core/action/UrlAction.class.php | 18 +- modules/cms-core/model/BaseObject.class.php | 16 +- modules/cms-core/model/File.class.php | 7 + .../themes/default/html/views/alias/info.php | 63 --- .../default/html/views/alias/info.tpl.src.xml | 68 ---- .../html/views/configuration/src.tpl.src.xml | 4 +- .../themes/default/html/views/folder/info.php | 80 ---- .../default/html/views/folder/info.tpl.src.xml | 82 ---- .../cms-ui/themes/default/html/views/link/info.php | 63 --- .../default/html/views/link/info.tpl.src.xml | 68 ---- .../default/html/views/{image => object}/info.php | 43 +- .../html/views/{image => object}/info.tpl.src.xml | 45 ++- .../cms-ui/themes/default/html/views/url/info.php | 63 --- .../themes/default/html/views/url/info.tpl.src.xml | 68 ---- .../components/html/part/Part.class.php | 5 +- modules/util/.htaccess | 4 +- 24 files changed, 545 insertions(+), 969 deletions(-)