Commit
commit b1816a275a4284e0cbd5a53efd37b262ebe2da36 Author: Jan DankertDate: Sat Oct 10 01:29:41 2020 +0200 Refactoring: Only using CSS classes with the 'or-'-prefix. modules/cms/action/ConfigurationAction.class.php | 4 +- modules/cms/base/Startup.class.php | 1 + .../default/html/views/configuration/show.php | 12 +- .../default/html/views/configuration/src.php | 2 +- .../themes/default/html/views/element/advanced.php | 160 ++--- .../html/views/element/advanced.tpl.src.xml | 44 +- .../ui/themes/default/html/views/element/info.php | 10 +- .../ui/themes/default/html/views/element/name.php | 10 +- .../ui/themes/default/html/views/element/prop.php | 40 +- .../default/html/views/element/prop.tpl.src.xml | 8 +- .../default/html/views/element/properties.php | 16 +- .../themes/default/html/views/element/remove.php | 46 +- .../default/html/views/element/remove.tpl.src.xml | 6 +- .../ui/themes/default/html/views/file/advanced.php | 8 +- .../ui/themes/default/html/views/file/compress.php | 26 +- .../default/html/views/file/compress.tpl.src.xml | 2 +- .../cms/ui/themes/default/html/views/file/edit.php | 20 +- .../default/html/views/file/edit.tpl.src.xml | 6 +- .../ui/themes/default/html/views/file/extract.php | 8 +- .../cms/ui/themes/default/html/views/file/info.php | 138 ++-- .../default/html/views/file/info.tpl.src.xml | 26 +- .../ui/themes/default/html/views/file/preview.php | 4 +- .../cms/ui/themes/default/html/views/file/pub.php | 12 +- .../ui/themes/default/html/views/file/remove.php | 6 +- .../themes/default/html/views/file/uncompress.php | 26 +- .../default/html/views/file/uncompress.tpl.src.xml | 2 +- .../ui/themes/default/html/views/file/value.php | 10 +- .../themes/default/html/views/folder/advanced.php | 62 +- .../default/html/views/folder/advanced.tpl.src.xml | 6 +- .../themes/default/html/views/folder/content.php | 20 +- .../ui/themes/default/html/views/folder/create.php | 14 +- .../default/html/views/folder/create.tpl.src.xml | 16 +- .../default/html/views/folder/createfile.php | 60 +- .../html/views/folder/createfile.tpl.src.xml | 14 +- .../default/html/views/folder/createfolder.php | 20 +- .../html/views/folder/createfolder.tpl.src.xml | 4 +- .../default/html/views/folder/createimage.php | 60 +- .../html/views/folder/createimage.tpl.src.xml | 14 +- .../default/html/views/folder/createlink.php | 26 +- .../html/views/folder/createlink.tpl.src.xml | 6 +- .../default/html/views/folder/createpage.php | 28 +- .../html/views/folder/createpage.tpl.src.xml | 6 +- .../default/html/views/folder/createtext.php | 60 +- .../html/views/folder/createtext.tpl.src.xml | 14 +- .../themes/default/html/views/folder/createurl.php | 32 +- .../html/views/folder/createurl.tpl.src.xml | 8 +- .../ui/themes/default/html/views/folder/edit.php | 14 +- .../default/html/views/folder/edit.tpl.src.xml | 6 +- .../themes/default/html/views/folder/inherit.php | 24 +- .../default/html/views/folder/inherit.tpl.src.xml | 2 +- .../ui/themes/default/html/views/folder/order.php | 24 +- .../default/html/views/folder/order.tpl.src.xml | 2 +- .../ui/themes/default/html/views/folder/pub.php | 52 +- .../default/html/views/folder/pub.tpl.src.xml | 8 +- .../ui/themes/default/html/views/folder/remove.php | 6 +- .../ui/themes/default/html/views/folder/show.php | 14 +- .../default/html/views/folder/show.tpl.src.xml | 4 +- .../cms/ui/themes/default/html/views/group/add.php | 16 +- .../default/html/views/group/add.tpl.src.xml | 2 +- .../ui/themes/default/html/views/group/info.php | 24 +- .../default/html/views/group/info.tpl.src.xml | 10 +- .../default/html/views/group/memberships.php | 16 +- .../ui/themes/default/html/views/group/prop.php | 16 +- .../default/html/views/group/prop.tpl.src.xml | 2 +- .../ui/themes/default/html/views/group/remove.php | 32 +- .../default/html/views/group/remove.tpl.src.xml | 4 +- .../ui/themes/default/html/views/group/rights.php | 28 +- .../default/html/views/group/rights.tpl.src.xml | 2 +- .../ui/themes/default/html/views/grouplist/add.php | 16 +- .../default/html/views/grouplist/add.tpl.src.xml | 2 +- .../themes/default/html/views/grouplist/show.php | 14 +- .../themes/default/html/views/image/compress.php | 26 +- .../default/html/views/image/compress.tpl.src.xml | 2 +- .../ui/themes/default/html/views/image/edit.php | 20 +- .../default/html/views/image/edit.tpl.src.xml | 6 +- .../ui/themes/default/html/views/image/extract.php | 8 +- .../cms/ui/themes/default/html/views/image/pub.php | 12 +- .../ui/themes/default/html/views/image/show.php | 4 +- .../ui/themes/default/html/views/image/size.php | 76 +-- .../default/html/views/image/size.tpl.src.xml | 14 +- .../themes/default/html/views/image/uncompress.php | 26 +- .../html/views/image/uncompress.tpl.src.xml | 2 +- .../ui/themes/default/html/views/image/value.php | 10 +- .../ui/themes/default/html/views/index/show.php | 24 +- .../ui/themes/default/html/views/language/add.php | 12 +- .../default/html/views/language/add.tpl.src.xml | 2 +- .../ui/themes/default/html/views/language/info.php | 24 +- .../default/html/views/language/info.tpl.src.xml | 8 +- .../themes/default/html/views/language/listing.php | 4 +- .../ui/themes/default/html/views/language/prop.php | 28 +- .../default/html/views/language/prop.tpl.src.xml | 6 +- .../themes/default/html/views/language/remove.php | 34 +- .../default/html/views/language/remove.tpl.src.xml | 4 +- .../themes/default/html/views/languagelist/add.php | 12 +- .../html/views/languagelist/add.tpl.src.xml | 2 +- .../default/html/views/languagelist/show.php | 16 +- .../cms/ui/themes/default/html/views/link/edit.php | 20 +- .../default/html/views/link/edit.tpl.src.xml | 2 +- .../ui/themes/default/html/views/link/remove.php | 6 +- .../ui/themes/default/html/views/login/license.php | 94 +-- .../default/html/views/login/license.tpl.src.xml | 18 +- .../ui/themes/default/html/views/login/login.php | 104 +-- .../default/html/views/login/login.tpl.src.xml | 14 +- .../ui/themes/default/html/views/login/openid.php | 44 +- .../default/html/views/login/openid.tpl.src.xml | 4 +- .../themes/default/html/views/login/password.php | 26 +- .../default/html/views/login/password.tpl.src.xml | 4 +- .../default/html/views/login/passwordcode.php | 16 +- .../themes/default/html/views/login/register.php | 30 +- .../default/html/views/login/register.tpl.src.xml | 4 +- .../default/html/views/login/registercode.php | 40 +- .../html/views/login/registercode.tpl.src.xml | 8 +- .../ui/themes/default/html/views/model/info.php | 10 +- .../default/html/views/model/info.tpl.src.xml | 4 +- .../ui/themes/default/html/views/model/listing.php | 4 +- .../ui/themes/default/html/views/model/prop.php | 20 +- .../default/html/views/model/prop.tpl.src.xml | 4 +- .../ui/themes/default/html/views/model/remove.php | 36 +- .../default/html/views/model/remove.tpl.src.xml | 4 +- .../ui/themes/default/html/views/modellist/add.php | 14 +- .../default/html/views/modellist/add.tpl.src.xml | 2 +- .../themes/default/html/views/modellist/show.php | 16 +- .../themes/default/html/views/object/aclform.php | 76 +-- .../default/html/views/object/aclform.tpl.src.xml | 10 +- .../ui/themes/default/html/views/object/copy.php | 24 +- .../default/html/views/object/copy.tpl.src.xml | 6 +- .../ui/themes/default/html/views/object/info.php | 188 +++--- .../default/html/views/object/info.tpl.src.xml | 34 +- .../themes/default/html/views/object/inherit.php | 24 +- .../default/html/views/object/inherit.tpl.src.xml | 2 +- .../ui/themes/default/html/views/object/name.php | 18 +- .../ui/themes/default/html/views/object/prop.php | 20 +- .../ui/themes/default/html/views/object/rights.php | 28 +- .../themes/default/html/views/object/settings.php | 52 +- .../default/html/views/object/settings.tpl.src.xml | 6 +- .../default/html/views/page/changetemplate.php | 18 +- .../html/views/page/changetemplate.tpl.src.xml | 4 +- .../views/page/changetemplateselectelements.php | 12 +- .../page/changetemplateselectelements.tpl.src.xml | 2 +- .../cms/ui/themes/default/html/views/page/edit.php | 8 +- .../default/html/views/page/edit.tpl.src.xml | 2 +- .../cms/ui/themes/default/html/views/page/form.php | 38 +- .../cms/ui/themes/default/html/views/page/info.php | 142 ++-- .../default/html/views/page/info.tpl.src.xml | 22 +- .../cms/ui/themes/default/html/views/page/name.php | 30 +- .../ui/themes/default/html/views/page/preview.php | 20 +- .../default/html/views/page/preview.tpl.src.xml | 2 +- .../cms/ui/themes/default/html/views/page/pub.php | 28 +- .../themes/default/html/views/page/pub.tpl.src.xml | 2 +- .../ui/themes/default/html/views/page/remove.php | 6 +- .../cms/ui/themes/default/html/views/page/src.php | 16 +- .../default/html/views/pageelement/advanced.php | 8 +- .../themes/default/html/views/pageelement/diff.php | 14 +- .../themes/default/html/views/pageelement/edit.php | 4 +- .../html/views/pageelement/edit.tpl.src.xml | 2 +- .../default/html/views/pageelement/export.php | 6 +- .../default/html/views/pageelement/history.php | 26 +- .../default/html/views/pageelement/import.php | 8 +- .../themes/default/html/views/pageelement/info.php | 34 +- .../themes/default/html/views/pageelement/link.php | 24 +- .../default/html/views/pageelement/preview.php | 12 +- .../themes/default/html/views/pageelement/prop.php | 34 +- .../themes/default/html/views/pageelement/pub.php | 28 +- .../default/html/views/pageelement/pub.tpl.src.xml | 2 +- .../default/html/views/pageelement/value.php | 158 ++--- .../html/views/pageelement/value.tpl.src.xml | 4 +- .../default/html/views/profile/confirmmail.php | 20 +- .../html/views/profile/confirmmail.tpl.src.xml | 2 +- .../ui/themes/default/html/views/profile/edit.php | 142 ++-- .../default/html/views/profile/edit.tpl.src.xml | 24 +- .../themes/default/html/views/profile/history.php | 8 +- .../ui/themes/default/html/views/profile/mail.php | 32 +- .../default/html/views/profile/mail.tpl.src.xml | 2 +- .../default/html/views/profile/memberships.php | 6 +- .../ui/themes/default/html/views/profile/pw.php | 64 +- .../default/html/views/profile/pw.tpl.src.xml | 6 +- .../ui/themes/default/html/views/project/add.php | 26 +- .../ui/themes/default/html/views/project/edit.php | 10 +- .../themes/default/html/views/project/export.php | 12 +- .../default/html/views/project/export.tpl.src.xml | 2 +- .../themes/default/html/views/project/history.php | 6 +- .../ui/themes/default/html/views/project/info.php | 4 +- .../default/html/views/project/maintenance.php | 24 +- .../ui/themes/default/html/views/project/prop.php | 128 ++-- .../default/html/views/project/prop.tpl.src.xml | 18 +- .../themes/default/html/views/project/remove.php | 34 +- .../default/html/views/project/remove.tpl.src.xml | 4 +- .../themes/default/html/views/projectlist/add.php | 34 +- .../default/html/views/projectlist/add.tpl.src.xml | 4 +- .../themes/default/html/views/projectlist/edit.php | 14 +- .../default/html/views/projectlist/history.php | 6 +- .../ui/themes/default/html/views/search/edit.php | 32 +- .../default/html/views/search/edit.tpl.src.xml | 4 +- .../ui/themes/default/html/views/search/result.php | 8 +- .../default/html/views/start/applications.php | 4 +- .../default/html/views/start/projectmenu.php | 26 +- .../html/views/start/userprojecttimeline.php | 6 +- .../themes/default/html/views/template/addel.php | 36 +- .../default/html/views/template/addel.tpl.src.xml | 6 +- .../ui/themes/default/html/views/template/edit.php | 28 +- .../default/html/views/template/edit.tpl.src.xml | 2 +- .../default/html/views/template/extension.php | 16 +- .../ui/themes/default/html/views/template/info.php | 10 +- .../themes/default/html/views/template/listing.php | 6 +- .../themes/default/html/views/template/preview.php | 18 +- .../ui/themes/default/html/views/template/prop.php | 36 +- .../default/html/views/template/prop.tpl.src.xml | 6 +- .../ui/themes/default/html/views/template/pub.php | 28 +- .../default/html/views/template/pub.tpl.src.xml | 2 +- .../themes/default/html/views/template/remove.php | 36 +- .../default/html/views/template/remove.tpl.src.xml | 4 +- .../ui/themes/default/html/views/template/src.php | 20 +- .../default/html/views/template/srcelement.php | 42 +- .../html/views/template/srcelement.tpl.src.xml | 8 +- .../themes/default/html/views/templatelist/add.php | 46 +- .../html/views/templatelist/add.tpl.src.xml | 8 +- .../default/html/views/templatelist/show.php | 14 +- .../ui/themes/default/html/views/text/compress.php | 26 +- .../default/html/views/text/compress.tpl.src.xml | 2 +- .../cms/ui/themes/default/html/views/text/edit.php | 20 +- .../default/html/views/text/edit.tpl.src.xml | 6 +- .../ui/themes/default/html/views/text/extract.php | 8 +- .../cms/ui/themes/default/html/views/text/pub.php | 12 +- .../cms/ui/themes/default/html/views/text/size.php | 76 +-- .../default/html/views/text/size.tpl.src.xml | 14 +- .../themes/default/html/views/text/uncompress.php | 26 +- .../default/html/views/text/uncompress.tpl.src.xml | 2 +- .../ui/themes/default/html/views/text/value.php | 12 +- .../ui/themes/default/html/views/title/show.php | 266 ++++---- .../default/html/views/title/show.tpl.src.xml | 132 ++-- .../ui/themes/default/html/views/tree/branch.php | 12 +- .../default/html/views/tree/branch.tpl.src.xml | 6 +- .../cms/ui/themes/default/html/views/tree/path.php | 10 +- .../default/html/views/tree/path.tpl.src.xml | 4 +- .../cms/ui/themes/default/html/views/tree/show.php | 4 +- .../default/html/views/tree/show.tpl.src.xml | 6 +- .../cms/ui/themes/default/html/views/url/edit.php | 16 +- .../themes/default/html/views/url/edit.tpl.src.xml | 2 +- .../ui/themes/default/html/views/url/preview.php | 4 +- .../default/html/views/url/preview.tpl.src.xml | 2 +- .../ui/themes/default/html/views/url/remove.php | 6 +- .../cms/ui/themes/default/html/views/user/add.php | 16 +- .../themes/default/html/views/user/add.tpl.src.xml | 2 +- .../ui/themes/default/html/views/user/history.php | 8 +- .../cms/ui/themes/default/html/views/user/info.php | 154 ++--- .../default/html/views/user/info.tpl.src.xml | 40 +- .../ui/themes/default/html/views/user/listing.php | 4 +- .../themes/default/html/views/user/memberships.php | 14 +- .../cms/ui/themes/default/html/views/user/prop.php | 142 ++-- .../default/html/views/user/prop.tpl.src.xml | 24 +- .../cms/ui/themes/default/html/views/user/pw.php | 76 +-- .../themes/default/html/views/user/pw.tpl.src.xml | 14 +- .../ui/themes/default/html/views/user/remove.php | 44 +- .../default/html/views/user/remove.tpl.src.xml | 4 +- .../ui/themes/default/html/views/user/rights.php | 34 +- .../default/html/views/user/rights.tpl.src.xml | 2 +- .../themes/default/html/views/usergroup/show.php | 14 +- .../ui/themes/default/html/views/userlist/add.php | 16 +- .../default/html/views/userlist/add.tpl.src.xml | 2 +- .../ui/themes/default/html/views/userlist/show.php | 18 +- modules/cms/ui/themes/default/script/openrat.js | 190 +++--- .../cms/ui/themes/default/script/openrat.min.js | 27 +- .../cms/ui/themes/default/script/openrat/common.js | 68 +- .../cms/ui/themes/default/script/openrat/init.js | 22 + .../ui/themes/default/script/openrat/workbench.js | 54 +- .../script/plugin/jquery-plugin-orLinkify.js | 2 +- .../script/plugin/jquery-plugin-orSearch.js | 16 +- .../default/script/plugin/jquery-plugin-orTree.js | 8 +- .../cms/ui/themes/default/style/openrat-base.less | 17 +- .../cms/ui/themes/default/style/openrat-form.less | 30 +- .../ui/themes/default/style/openrat-header.less | 113 ++-- .../themes/default/style/openrat-navigation.less | 56 +- .../cms/ui/themes/default/style/openrat-ui.less | 274 ++++---- .../ui/themes/default/style/openrat-workbench.less | 157 +++-- modules/cms/ui/themes/default/style/openrat.css | 728 +++++++++++---------- .../cms/ui/themes/default/style/openrat.min.css | 14 +- .../themes/default/style/theme/openrat-theme.less | 98 ++- modules/template_engine/AppInfo.class.php | 10 + modules/template_engine/TemplateCompiler.php | 6 +- .../components/html/checkbox/Checkbox.class.php | 4 +- .../components/html/column/Column.class.php | 2 +- .../components/html/date/component-date.php | 2 +- .../components/html/editor/Editor.class.php | 2 +- .../components/html/editor/editor.js | 6 +- .../components/html/form/Form.class.php | 32 +- .../components/html/group/Group.class.php | 13 +- .../template_engine/components/html/group/group.js | 2 +- .../components/html/image/image.less | 3 - .../components/html/input/Input.class.php | 6 +- .../components/html/inputarea/Inputarea.class.php | 5 +- .../template_engine/components/html/link/link.js | 2 +- .../components/html/password/Password.class.php | 2 +- .../components/html/qrcode/Qrcode.class.php | 4 +- .../components/html/radio/Radio.class.php | 4 +- .../components/html/selectbox/Selectbox.class.php | 6 +- .../components/html/selector/Selector.class.php | 8 +- .../components/html/table/Table.class.php | 8 +- .../template_engine/components/html/table/table.js | 10 +- .../components/html/table/table.less | 60 +- .../components/html/text/Text.class.php | 4 +- .../template_engine/element/HtmlElement.class.php | 9 +- 301 files changed, 4104 insertions(+), 3963 deletions(-)