openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs | README

commit 51db1054f08329113358751e744a4978e335a58f
parent 6c8bdf49c34f2424e6c16eae4a87bd0c9cda1963
Author: Jan Dankert <develop@jandankert.de>
Date:   Wed, 14 Oct 2020 22:10:49 +0200

Refactoring: Renamed component class files, so that the filename correlates with the class names (as in all other classes)

Diffstat:
Mmodules/template_engine/TemplateCompiler.php | 2+-
Rmodules/template_engine/components/html/button/Button.class.php -> modules/template_engine/components/html/button/ButtonComponent.class.php | 0
Rmodules/template_engine/components/html/checkbox/Checkbox.class.php -> modules/template_engine/components/html/checkbox/CheckboxComponent.class.php | 0
Rmodules/template_engine/components/html/column/Column.class.php -> modules/template_engine/components/html/column/ColumnComponent.class.php | 0
Rmodules/template_engine/components/html/date/Date.class.php -> modules/template_engine/components/html/date/DateComponent.class.php | 0
Rmodules/template_engine/components/html/editor/Editor.class.php -> modules/template_engine/components/html/editor/EditorComponent.class.php | 0
Rmodules/template_engine/components/html/else/Else.class.php -> modules/template_engine/components/html/else/ElseComponent.class.php | 0
Rmodules/template_engine/components/html/form/Form.class.php -> modules/template_engine/components/html/form/FormComponent.class.php | 0
Rmodules/template_engine/components/html/group/Group.class.php -> modules/template_engine/components/html/group/GroupComponent.class.php | 0
Rmodules/template_engine/components/html/hidden/Hidden.class.php -> modules/template_engine/components/html/hidden/HiddenComponent.class.php | 0
Rmodules/template_engine/components/html/if/If.class.php -> modules/template_engine/components/html/if/IfComponent.class.php | 0
Rmodules/template_engine/components/html/image/Image.class.php -> modules/template_engine/components/html/image/ImageComponent.class.php | 0
Rmodules/template_engine/components/html/include/Include.class.php -> modules/template_engine/components/html/include/IncludeComponent.class.php | 0
Rmodules/template_engine/components/html/input/Input.class.php -> modules/template_engine/components/html/input/InputComponent.class.php | 0
Rmodules/template_engine/components/html/inputarea/Inputarea.class.php -> modules/template_engine/components/html/inputarea/InputareaComponent.class.php | 0
Rmodules/template_engine/components/html/insert/Insert.class.php -> modules/template_engine/components/html/insert/InsertComponent.class.php | 0
Rmodules/template_engine/components/html/label/Label.class.php -> modules/template_engine/components/html/label/LabelComponent.class.php | 0
Rmodules/template_engine/components/html/link/Link.class.php -> modules/template_engine/components/html/link/LinkComponent.class.php | 0
Rmodules/template_engine/components/html/list/List.class.php -> modules/template_engine/components/html/list/ListComponent.class.php | 0
Rmodules/template_engine/components/html/logo/Logo.class.php -> modules/template_engine/components/html/logo/LogoComponent.class.php | 0
Rmodules/template_engine/components/html/newline/Newline.class.php -> modules/template_engine/components/html/newline/NewlineComponent.class.php | 0
Rmodules/template_engine/components/html/output/Output.class.php -> modules/template_engine/components/html/output/OutputComponent.class.php | 0
Rmodules/template_engine/components/html/part/Part.class.php -> modules/template_engine/components/html/part/PartComponent.class.php | 0
Rmodules/template_engine/components/html/password/Password.class.php -> modules/template_engine/components/html/password/PasswordComponent.class.php | 0
Rmodules/template_engine/components/html/qrcode/Qrcode.class.php -> modules/template_engine/components/html/qrcode/QrcodeComponent.class.php | 0
Rmodules/template_engine/components/html/radio/Radio.class.php -> modules/template_engine/components/html/radio/RadioComponent.class.php | 0
Rmodules/template_engine/components/html/radiobox/Radiobox.class.php -> modules/template_engine/components/html/radiobox/RadioboxComponent.class.php | 0
Rmodules/template_engine/components/html/row/Row.class.php -> modules/template_engine/components/html/row/RowComponent.class.php | 0
Rmodules/template_engine/components/html/selectbox/Selectbox.class.php -> modules/template_engine/components/html/selectbox/SelectboxComponent.class.php | 0
Rmodules/template_engine/components/html/selector/Selector.class.php -> modules/template_engine/components/html/selector/SelectorComponent.class.php | 0
Rmodules/template_engine/components/html/set/Set.class.php -> modules/template_engine/components/html/set/SetComponent.class.php | 0
Rmodules/template_engine/components/html/table/Table.class.php -> modules/template_engine/components/html/table/TableComponent.class.php | 0
Rmodules/template_engine/components/html/text/Text.class.php -> modules/template_engine/components/html/text/TextComponent.class.php | 0
Rmodules/template_engine/components/html/upload/Upload.class.php -> modules/template_engine/components/html/upload/UploadComponent.class.php | 0
Rmodules/template_engine/components/html/user/User.class.php -> modules/template_engine/components/html/user/UserComponent.class.php | 0
35 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/template_engine/TemplateCompiler.php b/modules/template_engine/TemplateCompiler.php @@ -43,7 +43,7 @@ spl_autoload_register( $componentName = substr($className,0,-9 ); - $c = __DIR__.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'html'.DIRECTORY_SEPARATOR.strtolower($componentName).DIRECTORY_SEPARATOR.$componentName.'.class.php'; + $c = __DIR__.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'html'.DIRECTORY_SEPARATOR.strtolower($componentName).DIRECTORY_SEPARATOR.$componentName.'Component.class.php'; if ( is_file($c) ) require($c); diff --git a/modules/template_engine/components/html/button/Button.class.php b/modules/template_engine/components/html/button/ButtonComponent.class.php diff --git a/modules/template_engine/components/html/checkbox/Checkbox.class.php b/modules/template_engine/components/html/checkbox/CheckboxComponent.class.php diff --git a/modules/template_engine/components/html/column/Column.class.php b/modules/template_engine/components/html/column/ColumnComponent.class.php diff --git a/modules/template_engine/components/html/date/Date.class.php b/modules/template_engine/components/html/date/DateComponent.class.php diff --git a/modules/template_engine/components/html/editor/Editor.class.php b/modules/template_engine/components/html/editor/EditorComponent.class.php diff --git a/modules/template_engine/components/html/else/Else.class.php b/modules/template_engine/components/html/else/ElseComponent.class.php diff --git a/modules/template_engine/components/html/form/Form.class.php b/modules/template_engine/components/html/form/FormComponent.class.php diff --git a/modules/template_engine/components/html/group/Group.class.php b/modules/template_engine/components/html/group/GroupComponent.class.php diff --git a/modules/template_engine/components/html/hidden/Hidden.class.php b/modules/template_engine/components/html/hidden/HiddenComponent.class.php diff --git a/modules/template_engine/components/html/if/If.class.php b/modules/template_engine/components/html/if/IfComponent.class.php diff --git a/modules/template_engine/components/html/image/Image.class.php b/modules/template_engine/components/html/image/ImageComponent.class.php diff --git a/modules/template_engine/components/html/include/Include.class.php b/modules/template_engine/components/html/include/IncludeComponent.class.php diff --git a/modules/template_engine/components/html/input/Input.class.php b/modules/template_engine/components/html/input/InputComponent.class.php diff --git a/modules/template_engine/components/html/inputarea/Inputarea.class.php b/modules/template_engine/components/html/inputarea/InputareaComponent.class.php diff --git a/modules/template_engine/components/html/insert/Insert.class.php b/modules/template_engine/components/html/insert/InsertComponent.class.php diff --git a/modules/template_engine/components/html/label/Label.class.php b/modules/template_engine/components/html/label/LabelComponent.class.php diff --git a/modules/template_engine/components/html/link/Link.class.php b/modules/template_engine/components/html/link/LinkComponent.class.php diff --git a/modules/template_engine/components/html/list/List.class.php b/modules/template_engine/components/html/list/ListComponent.class.php diff --git a/modules/template_engine/components/html/logo/Logo.class.php b/modules/template_engine/components/html/logo/LogoComponent.class.php diff --git a/modules/template_engine/components/html/newline/Newline.class.php b/modules/template_engine/components/html/newline/NewlineComponent.class.php diff --git a/modules/template_engine/components/html/output/Output.class.php b/modules/template_engine/components/html/output/OutputComponent.class.php diff --git a/modules/template_engine/components/html/part/Part.class.php b/modules/template_engine/components/html/part/PartComponent.class.php diff --git a/modules/template_engine/components/html/password/Password.class.php b/modules/template_engine/components/html/password/PasswordComponent.class.php diff --git a/modules/template_engine/components/html/qrcode/Qrcode.class.php b/modules/template_engine/components/html/qrcode/QrcodeComponent.class.php diff --git a/modules/template_engine/components/html/radio/Radio.class.php b/modules/template_engine/components/html/radio/RadioComponent.class.php diff --git a/modules/template_engine/components/html/radiobox/Radiobox.class.php b/modules/template_engine/components/html/radiobox/RadioboxComponent.class.php diff --git a/modules/template_engine/components/html/row/Row.class.php b/modules/template_engine/components/html/row/RowComponent.class.php diff --git a/modules/template_engine/components/html/selectbox/Selectbox.class.php b/modules/template_engine/components/html/selectbox/SelectboxComponent.class.php diff --git a/modules/template_engine/components/html/selector/Selector.class.php b/modules/template_engine/components/html/selector/SelectorComponent.class.php diff --git a/modules/template_engine/components/html/set/Set.class.php b/modules/template_engine/components/html/set/SetComponent.class.php diff --git a/modules/template_engine/components/html/table/Table.class.php b/modules/template_engine/components/html/table/TableComponent.class.php diff --git a/modules/template_engine/components/html/text/Text.class.php b/modules/template_engine/components/html/text/TextComponent.class.php diff --git a/modules/template_engine/components/html/upload/Upload.class.php b/modules/template_engine/components/html/upload/UploadComponent.class.php diff --git a/modules/template_engine/components/html/user/User.class.php b/modules/template_engine/components/html/user/UserComponent.class.php