Commit

commit 2097f71a80363c153d8cf8cc3cb2405358a707d5
Author: Jan Dankert 
Date:   Thu Mar 4 02:24:45 2021 +0100

    New: The calculation of the mime types should be done in the generators.

 modules/cms/action/page/PageInfoAction.class.php   |  9 ++-
 modules/cms/action/page/PageShowAction.class.php   |  7 +--
 modules/cms/generator/BaseGenerator.class.php      |  8 +++
 modules/cms/generator/FileGenerator.class.php      | 16 ++++++
 modules/cms/generator/PageGenerator.class.php      | 12 ++++
 modules/cms/generator/ValueGenerator.class.php     |  9 +++
 modules/cms/model/File.class.php                   |  1 +
 modules/cms/model/Page.class.php                   |  3 +-
 .../cms/ui/themes/default/html/views/page/info.php | 64 +++++++++++++++++-----
 .../default/html/views/page/info.tpl.src.xml       | 49 ++++++++++++++---
 10 files changed, 148 insertions(+), 30 deletions(-)