Commit
commit df3e4ff9881eee5702257c39688422f07c065e2f Author: Jan DankertDate: Sun Jan 29 00:20:21 2023 +0100 New node type "Script". modules/cms/action/ScriptAction.class.php | 65 +++++++++++++ modules/cms/action/TextAction.class.php | 6 +- .../cms/action/file/FileAdvancedAction.class.php | 7 +- .../cms/action/folder/FolderAddAction.class.php | 1 + .../folder/FolderCreatescriptAction.class.php | 55 +++++++++++ .../cms/action/script/ScriptDiffAction.class.php | 55 +++++++++++ .../cms/action/script/ScriptEditAction.class.php | 17 ++++ .../action/script/ScriptHistoryAction.class.php | 46 +++++++++ .../action/script/ScriptPreviewAction.class.php | 56 +++++++++++ .../cms/action/script/ScriptShowAction.class.php | 11 +++ .../cms/action/script/ScriptValueAction.class.php | 32 ++++++ modules/cms/generator/FileGenerator.class.php | 33 +++++++ modules/cms/model/BaseObject.class.php | 15 +-- modules/cms/model/File.class.php | 30 +++--- modules/cms/model/Image.class.php | 4 +- modules/cms/model/Script.class.php | 41 ++++++++ modules/cms/model/Value.class.php | 20 ++-- .../cms/ui/action/tree/TreePathAction.class.php | 1 + .../ui/themes/default/html/views/folder/add.php | 7 ++ .../default/html/views/folder/add.tpl.src.xml | 7 ++ .../default/html/views/folder/createscript.php | 63 ++++++++++++ .../html/views/folder/createscript.tpl.src.xml | 23 +++++ .../ui/themes/default/html/views/script/diff.php | 59 ++++++++++++ .../default/html/views/script/diff.tpl.src.xml | 52 ++++++++++ .../ui/themes/default/html/views/script/edit.php | 18 ++++ .../default/html/views/script/edit.tpl.src.xml | 18 ++++ .../themes/default/html/views/script/history.php | 107 +++++++++++++++++++++ .../default/html/views/script/history.tpl.src.xml | 93 ++++++++++++++++++ .../themes/default/html/views/script/preview.php | 11 +++ .../default/html/views/script/preview.tpl.src.xml | 8 ++ .../ui/themes/default/html/views/script/pub.php | 35 +++++++ .../default/html/views/script/pub.tpl.src.xml | 22 +++++ .../ui/themes/default/html/views/script/value.php | 59 ++++++++++++ .../default/html/views/script/value.tpl.src.xml | 20 ++++ .../cms/ui/themes/default/style/openrat-image.less | 1 + modules/cms/ui/themes/default/style/openrat.css | 5 +- .../cms/ui/themes/default/style/openrat.min.css | 2 +- 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 | 11 ++- 46 files changed, 1101 insertions(+), 39 deletions(-)