Commit
commit 0b8f700c5400321393293856c86ef21658a98e25 Author: Jan DankertDate: Sun Dec 3 02:51:28 2017 +0100 Refactoring: Template-Engine als POC in ein eigenes "Modul" ausgelagert. action/Action.class.php | 4 +- action/IndexAction.class.php | 9 +- init.php | 4 + .../components}/html/Component.class.php | 0 .../components}/html/button/Button.class.php | 0 .../components}/html/checkbox/Checkbox.class.php | 0 .../components}/html/column/Column.class.php | 0 .../components}/html/date/Date.class.php | 0 .../components}/html/date/component-date.php | 0 .../components}/html/dummy/Dummy.class.php | 0 .../components}/html/editor/Editor.class.php | 0 .../components}/html/editor/editor.css | 0 .../components}/html/editor/editor.js | 0 .../components}/html/editor/editor.less | 0 .../components}/html/editor/editor.min.css | 0 .../components}/html/editor/editor.min.js | 0 .../components}/html/else/Else.class.php | 0 .../components}/html/focus/Focus.class.php | 0 .../components}/html/form/Form.class.php | 0 .../template-engine/components}/html/form/form.js | 0 .../components}/html/form/form.min.js | 0 .../components}/html/group/Group.class.php | 0 .../components}/html/group/group.css | 0 .../components}/html/group/group.js | 0 .../components}/html/group/group.less | 0 .../components}/html/group/group.min.css | 0 .../components}/html/group/group.min.js | 0 .../components}/html/header/Header.class.php | 0 .../components}/html/hidden/Hidden.class.php | 0 .../components}/html/if/If.class.php | 0 .../components}/html/image/Image.class.php | 0 .../components}/html/image/image.css | 0 .../components}/html/image/image.js | 0 .../components}/html/image/image.less | 0 .../components}/html/image/image.min.css | 0 .../components}/html/image/image.min.js | 0 .../components}/html/input/Input.class.php | 0 .../components}/html/inputarea/Inputarea.class.php | 0 .../components}/html/insert/Insert.class.php | 0 .../components}/html/label/Label.class.php | 0 .../components}/html/link/Link.class.php | 0 .../template-engine/components}/html/link/link.js | 0 .../components/html/link/link.min.js | 1 + .../components}/html/list/List.class.php | 0 .../components}/html/logo/Logo.class.php | 0 .../components}/html/newline/Newline.class.php | 0 .../components}/html/output/Output.class.php | 0 .../components}/html/page/Window.class.php | 0 .../components}/html/part/Part.class.php | 0 .../components}/html/password/Password.class.php | 0 .../components}/html/qrcode/Qrcode.class.php | 0 .../components}/html/qrcode/qrcode.js | 0 .../components}/html/qrcode/qrcode.min.js | 0 .../components}/html/radio/Radio.class.php | 0 .../components}/html/radiobox/Radiobox.class.php | 0 .../html/radiobox/component-radio-box.php | 0 .../components}/html/row/Row.class.php | 0 .../components}/html/selectbox/Selectbox.class.php | 0 .../html/selectbox/component-select-box.php | 0 .../components}/html/selector/Selector.class.php | 0 .../components}/html/set/Set.class.php | 0 .../components}/html/table/Table.class.php | 0 .../components}/html/table/table.js | 0 .../components}/html/table/table.min.js | 0 .../components}/html/text/Text.class.php | 0 .../components}/html/tree/Tree.class.php | 0 .../components}/html/tree/component-tree.php | 0 .../components}/html/upload/Upload.class.php | 0 .../components}/html/upload/upload.css | 0 .../components}/html/upload/upload.js | 0 .../components}/html/upload/upload.less | 0 .../components}/html/upload/upload.min.css | 0 .../components}/html/upload/upload.min.js | 0 .../components}/html/user/User.class.php | 0 .../components}/html/user/component-user.php | 0 .../components}/html/window/Window.class.php | 0 .../engine}/TemplateEngine.class.php | 33 +- modules/template-engine/require.php | 5 + .../default/templates/element/delete.tpl.src.xml | 2 +- themes/default/templates/element/edit.tpl.out.php | 59 ++ themes/default/templates/element/prop.tpl.out.php | 719 ++++++++++++++++ themes/default/templates/file/edit.tpl.out.php | 23 +- themes/default/templates/file/prop.tpl.out.php | 99 +-- .../default/templates/file/structure.tpl.out.php | 5 + themes/default/templates/folder/edit.tpl.out.php | 357 +++----- themes/default/templates/folder/info.tpl.out.php | 76 +- themes/default/templates/folder/prop.tpl.out.php | 90 +- themes/default/templates/folder/pub.tpl.out.php | 159 ++-- .../default/templates/folder/structure.tpl.out.php | 8 +- themes/default/templates/group/edit.tpl.out.php | 38 +- .../templates/group/memberships.tpl.out.php | 90 +- .../default/templates/grouplist/show.tpl.out.php | 32 + .../templates/languagelist/show.tpl.out.php | 311 ++----- themes/default/templates/login/license.tpl.out.php | 75 +- themes/default/templates/login/login.tpl.out.php | 263 +++--- .../default/templates/login/register.tpl.out.php | 94 +-- themes/default/templates/model/edit.tpl.out.php | 51 ++ .../default/templates/model/structure.tpl.out.php | 5 + .../default/templates/modellist/show.tpl.out.php | 283 ++----- .../default/templates/object/inherit.tpl.out.php | 67 ++ themes/default/templates/object/rights.tpl.out.php | 76 +- .../templates/page/changetemplate.tpl.out.php | 125 +++ themes/default/templates/page/edit.tpl.out.php | 182 +--- themes/default/templates/page/form.tpl.src.xml | 81 +- themes/default/templates/page/prop.tpl.out.php | 78 +- themes/default/templates/page/pub.tpl.out.php | 65 ++ .../default/templates/page/structure.tpl.out.php | 29 +- .../default/templates/pageelement/edit.tpl.out.php | 914 +++++++++++++++++++++ .../templates/pageelement/structure.tpl.out.php | 4 + themes/default/templates/profile/edit.tpl.out.php | 389 +++------ .../templates/profile/memberships.tpl.out.php | 71 +- themes/default/templates/profile/pw.tpl.out.php | 79 ++ themes/default/templates/project/edit.tpl.out.php | 127 +++ themes/default/templates/project/info.tpl.out.php | 17 + .../default/templates/projectlist/show.tpl.out.php | 35 + .../templates/start/applications.tpl.out.php | 141 +--- .../templates/start/projectmenu.tpl.out.php | 223 ++--- themes/default/templates/template/edit.tpl.out.php | 248 ++---- themes/default/templates/template/prop.tpl.out.php | 182 ++-- themes/default/templates/template/src.tpl.out.php | 37 + .../default/templates/templatelist/add.tpl.out.php | 211 +++++ .../templates/templatelist/show.tpl.out.php | 151 +--- themes/default/templates/title/ping.tpl.out.php | 4 +- themes/default/templates/title/show.tpl.out.php | 694 +++++----------- themes/default/templates/tree/tree.tpl.out.php | 23 +- themes/default/templates/user/edit.tpl.out.php | 503 ++++-------- themes/default/templates/user/info.tpl.out.php | 147 +--- .../default/templates/user/memberships.tpl.out.php | 121 +-- themes/default/templates/user/pw.tpl.out.php | 127 +++ themes/default/templates/userlist/show.tpl.out.php | 61 ++ util/Http.class.php | 9 +- util/include.inc.php | 1 - version.ini | 8 +- 133 files changed, 4432 insertions(+), 3693 deletions(-)