Commit

commit 7a6c79051c8d0fa6f3f8d14f8de54101c21b2090
Author: dankert 
Date:   Fri Mar 18 22:38:42 2022 +0100

    Refactoring: Extracted the TemplateGenerator out of the PageGenerator.

 modules/cms/action/BaseAction.class.php            |  21 ++-
 modules/cms/action/PageAction.class.php            |  10 +-
 .../cms/action/page/PagePreviewAction.class.php    |   9 +-
 .../template/TemplatePreviewAction.class.php       |   2 +-
 .../action/template/TemplateShowAction.class.php   |  55 +++-----
 modules/cms/action/text/TextShowAction.class.php   |   4 +-
 modules/cms/generator/PageGenerator.class.php      | 105 +--------------
 modules/cms/generator/TemplateGenerator.class.php  | 149 +++++++++++++++++++++
 modules/cms/generator/link/PreviewLink.class.php   |  11 +-
 modules/cms/generator/link/PublicLink.class.php    |   2 +
 modules/cms/model/Element.class.php                |  47 +++++--
 .../cms/ui/themes/default/html/views/file/show.php |   1 -
 .../default/html/views/file/show.tpl.src.xml       |   1 -
 .../ui/themes/default/html/views/folder/show.php   |  60 ---------
 .../default/html/views/folder/show.tpl.src.xml     |  53 --------
 .../ui/themes/default/html/views/image/preview.php |   2 +-
 .../default/html/views/image/preview.tpl.src.xml   |   2 +-
 .../ui/themes/default/html/views/image/show.php    |  14 --
 .../default/html/views/image/show.tpl.src.xml      |  15 ---
 .../cms/ui/themes/default/html/views/page/show.php |   1 -
 .../default/html/views/page/show.tpl.src.xml       |   1 -
 .../ui/themes/default/html/views/template/show.php |   1 -
 .../default/html/views/template/show.tpl.src.xml   |   1 -
 .../cms/ui/themes/default/html/views/text/show.php |   1 -
 .../default/html/views/text/show.tpl.src.xml       |   1 -
 25 files changed, 251 insertions(+), 318 deletions(-)