Commit
commit 8914e0ae7871414622086c53480a0caf05dbf683 Author: Jan DankertDate: Fri Aug 21 00:22:13 2020 +0200 Refactoring: Collect all frontend compiler scripts in update.php. Compiling of CSS and JS was extracted to a new TemplateCompiler. JS and CSS is now collected in a new openrat.[min.][js|css]. dev-helper/create-output-files.sh | 6 + dev-helper/template-watcher.sh | 24 +- dev-helper/update.html | 19 - dev-helper/update.php | 78 + modules/cms/Dispatcher.class.php | 3 +- modules/cms/ui/action/IndexAction.class.php | 366 +- modules/cms/ui/themes/ThemeCompiler.class.php | 323 + modules/cms/ui/themes/default/script/jquery-ui.js | 4350 -- .../cms/ui/themes/default/script/jquery.hotkeys.js | 204 - modules/cms/ui/themes/default/script/jquery.js | 10598 ---- .../ui/themes/default/script/jquery.scrollTo.js | 216 - modules/cms/ui/themes/default/script/mark.min.js | 27 - modules/cms/ui/themes/default/script/openrat.js | 53395 +++++++++++++++++++ .../combined.min.js => script/openrat.min.js} | 10643 +--- .../ui/themes/default/script/openrat/common.min.js | 5 - .../ui/themes/default/script/openrat/form.min.js | 4 - .../ui/themes/default/script/openrat/init.min.js | 1 - .../themes/default/script/openrat/navigator.min.js | 1 - .../ui/themes/default/script/openrat/view.min.js | 3 - .../themes/default/script/openrat/workbench.min.js | 3 - .../plugin/jquery-plugin-orAutoheight.min.js | 1 - .../script/plugin/jquery-plugin-orLinkify.min.js | 1 - .../script/plugin/jquery-plugin-orSearch.min.js | 2 - .../script/plugin/jquery-plugin-orTree.min.js | 4 - .../cms/ui/themes/default/style/openrat-base.css | 205 - .../ui/themes/default/style/openrat-base.min.css | 1 - .../cms/ui/themes/default/style/openrat-header.css | 101 - .../ui/themes/default/style/openrat-header.min.css | 1 - .../ui/themes/default/style/openrat-navigation.css | 30 - .../default/style/openrat-navigation.min.css | 1 - modules/cms/ui/themes/default/style/openrat-ui.css | 751 - .../cms/ui/themes/default/style/openrat-ui.min.css | 1 - .../ui/themes/default/style/openrat-workbench.css | 335 - .../themes/default/style/openrat-workbench.min.css | 1 - modules/cms/ui/themes/default/style/openrat.css | 1670 + .../combined.min.css => style/openrat.min.css} | 17 +- modules/language/Language.class.php | 117 +- modules/language/LanguageCompiler.class.php | 98 + modules/language/lang-cn.php | 36 +- modules/language/lang-de.php | 2 +- modules/language/lang-en.php | 36 +- modules/language/lang-es.php | 32 +- modules/language/lang-fr.php | 32 +- modules/language/lang-it.php | 32 +- modules/language/lang-ru.php | 32 +- modules/language/language.yml | 18 + modules/template_engine/TemplateCompiler.php | 8 +- .../template_engine/components/XSDGenerator.php | 5 +- .../components/html/column/column.min.js | 1 - .../components/html/editor/editor.css | 32 - .../components/html/editor/editor.min.css | 1 - .../components/html/editor/editor.min.js | 1 - .../components/html/group/group.css | 12 - .../components/html/group/group.min.css | 1 - .../components/html/group/group.min.js | 1 - .../components/html/image/image.css | 2 - .../components/html/image/image.min.css | 0 .../components/html/image/image.min.js | 1 - .../components/html/link/link.min.js | 1 - .../components/html/qrcode/qrcode.min.js | 1 - .../components/html/table/table.css | 175 - .../components/html/table/table.min.css | 1 - .../components/html/table/table.min.js | 1 - .../components/html/tree/tree.min.js | 1 - .../components/html/upload/upload.css | 6 - .../components/html/upload/upload.min.css | 1 - .../components/html/upload/upload.min.js | 1 - 67 files changed, 56483 insertions(+), 27596 deletions(-)