Commit
commit eb00f10c6ac14862684cb73f05455506bb3d5935 Author: Jan DankertDate: Sat Jan 28 19:10:47 2023 +0100 New: Templates may be rendered as Mustache, Script and Script template. dev-helper/update.sh | 2 +- modules/cms/action/page/PageShowAction.class.php | 33 ++-- .../action/template/TemplateEditAction.class.php | 35 +---- .../action/template/TemplateSrcAction.class.php | 55 +------ modules/cms/generator/PageGenerator.class.php | 24 ++- modules/cms/generator/TemplateGenerator.class.php | 171 +++++++++++---------- modules/cms/generator/ValueGenerator.class.php | 2 +- modules/cms/macros/MacroRunner.class.php | 2 +- modules/cms/model/TemplateModel.class.php | 53 ++++++- modules/cms/output/UIOutput.class.php | 17 +- .../ui/themes/default/html/views/template/src.php | 29 +++- .../default/html/views/template/src.tpl.src.xml | 14 +- modules/language/Language_CN.class.php | 3 + modules/language/Language_DE.class.php | 3 + modules/language/Language_EN.class.php | 3 + modules/language/Language_ES.class.php | 3 + modules/language/Language_FR.class.php | 3 + modules/language/Language_IT.class.php | 3 + modules/language/Language_RU.class.php | 3 + modules/language/Messages.class.php | 3 + modules/language/language.yml | 9 ++ modules/util/Text.class.php | 105 ++++++++++++- 22 files changed, 390 insertions(+), 185 deletions(-)