From 78208d1525aa3f0f30469ba15a0118dc478ec3d2 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Tue, 7 Aug 2018 14:25:26 +0200 Subject: [PATCH] Fixed the compiler to allow edit views be build even if no other site views are set. Removed all the depreciated joomla jimport statments. Update the getModel method in the controller. Updated the getRedirectToItemAppend, cancel and save method in the controller to also use the return value if internal. Added the addTablePath to the getTable method in the model to insure table is found when called from outside the in another component. Updated the diplay method in the JViewLagacy class to also use the return value if not null. Updated the component core to use JAccessExceptionNotallowed instead of JError::raiseWaring when user not have access to core. --- README.md | 4 +- admin/README.txt | 4 +- .../joomla_3/DASHJControllerAdmin.php | 3 - admin/compiler/joomla_3/DASHJModelList.php | 4 - admin/compiler/joomla_3/DASHJViewLagacy.php | 3 - admin/compiler/joomla_3/Helper_email.php | 2 +- admin/compiler/joomla_3/JControllerAdmin.php | 29 ++-- .../JControllerAdmin_custom_admin.php | 3 - admin/compiler/joomla_3/JControllerForm.php | 135 ++++++++++------- .../joomla_3/JControllerForm_custom_site.php | 3 - .../joomla_3/JControllerForm_site.php | 139 ++++++++++-------- admin/compiler/joomla_3/JControllerLegacy.php | 3 - .../joomla_3/JControllerLegacyAjax.php | 3 - .../joomla_3/JControllerLegacyAjaxSite.php | 3 - .../joomla_3/JControllerLegacyHelp.php | 3 - .../joomla_3/JControllerLegacyHelp_site.php | 3 - .../joomla_3/JControllerLegacySITE.php | 3 - .../JControllerLegacy_custom_admin.php | 3 - admin/compiler/joomla_3/JModelAdmin.php | 6 +- admin/compiler/joomla_3/JModelAdmin_site.php | 6 +- .../joomla_3/JModelItem_custom_admin.php | 3 - admin/compiler/joomla_3/JModelItem_site.php | 3 - admin/compiler/joomla_3/JModelList.php | 3 - admin/compiler/joomla_3/JModelListAjax.php | 2 - .../joomla_3/JModelList_custom_admin.php | 3 - admin/compiler/joomla_3/JModelList_site.php | 3 - admin/compiler/joomla_3/JTable.php | 3 - .../joomla_3/JViewLegacy_custom_admin.php | 5 +- admin/compiler/joomla_3/JViewLegacy_edit.php | 21 ++- .../joomla_3/JViewLegacy_edit_site.php | 37 +++-- .../compiler/joomla_3/JViewLegacy_import.php | 3 - .../joomla_3/JViewLegacy_import_custom.php | 3 - admin/compiler/joomla_3/JViewLegacy_list.php | 3 - .../JViewLegacy_list_custom_admin.php | 5 +- .../joomla_3/JViewLegacy_list_site.php | 5 +- admin/compiler/joomla_3/JViewLegacy_site.php | 5 +- admin/compiler/joomla_3/ajax.json.php | 13 +- admin/compiler/joomla_3/ajax.php | 18 +-- admin/compiler/joomla_3/batchselection.php | 4 +- admin/compiler/joomla_3/component_admin.php | 15 +- admin/compiler/joomla_3/component_site.php | 11 +- admin/compiler/joomla_3/edit.php | 2 +- admin/compiler/joomla_3/edit_site.php | 2 +- admin/compiler/joomla_3/layout.php | 1 - .../compiler/joomla_3/layout_custom_admin.php | 1 - admin/compiler/joomla_3/layout_site.php | 1 - admin/compiler/joomla_3/layoutfull.php | 1 - admin/compiler/joomla_3/layoutitems.php | 1 - admin/compiler/joomla_3/layoutlinkedview.php | 1 - admin/compiler/joomla_3/layoutmetadata.php | 1 - admin/compiler/joomla_3/layoutpublished.php | 1 - admin/compiler/joomla_3/layouttitle.php | 1 - admin/compiler/joomla_3/routeHelper.php | 4 - admin/compiler/joomla_3/script.php | 2 - admin/componentbuilder.php | 15 +- admin/controller.php | 3 - admin/controllers/admin_fields.php | 135 ++++++++++------- admin/controllers/admin_fields_conditions.php | 135 ++++++++++------- admin/controllers/admin_fields_relations.php | 135 ++++++++++------- admin/controllers/admin_view.php | 135 ++++++++++------- admin/controllers/admin_views.php | 29 ++-- admin/controllers/admins_fields.php | 29 ++-- .../controllers/admins_fields_conditions.php | 29 ++-- admin/controllers/admins_fields_relations.php | 29 ++-- admin/controllers/ajax.json.php | 3 - admin/controllers/compiler.php | 3 - admin/controllers/component_admin_views.php | 135 ++++++++++------- admin/controllers/component_config.php | 135 ++++++++++------- .../component_custom_admin_menus.php | 135 ++++++++++------- .../component_custom_admin_views.php | 135 ++++++++++------- admin/controllers/component_dashboard.php | 135 ++++++++++------- admin/controllers/component_files_folders.php | 135 ++++++++++------- admin/controllers/component_mysql_tweaks.php | 135 ++++++++++------- admin/controllers/component_site_views.php | 135 ++++++++++------- admin/controllers/component_updates.php | 135 ++++++++++------- admin/controllers/componentbuilder.php | 3 - admin/controllers/components_admin_views.php | 29 ++-- admin/controllers/components_config.php | 29 ++-- .../components_custom_admin_menus.php | 29 ++-- .../components_custom_admin_views.php | 29 ++-- admin/controllers/components_dashboard.php | 29 ++-- .../controllers/components_files_folders.php | 29 ++-- admin/controllers/components_mysql_tweaks.php | 29 ++-- admin/controllers/components_site_views.php | 29 ++-- admin/controllers/components_updates.php | 29 ++-- admin/controllers/custom_admin_view.php | 135 ++++++++++------- admin/controllers/custom_admin_views.php | 29 ++-- admin/controllers/custom_code.php | 135 ++++++++++------- admin/controllers/custom_codes.php | 29 ++-- admin/controllers/dynamic_get.php | 135 ++++++++++------- admin/controllers/dynamic_gets.php | 29 ++-- admin/controllers/field.php | 135 ++++++++++------- admin/controllers/fields.php | 29 ++-- admin/controllers/fieldtype.php | 135 ++++++++++------- admin/controllers/fieldtypes.php | 29 ++-- admin/controllers/get_snippets.php | 3 - admin/controllers/help.php | 3 - admin/controllers/help_document.php | 135 ++++++++++------- admin/controllers/help_documents.php | 29 ++-- admin/controllers/joomla_component.php | 135 ++++++++++------- admin/controllers/joomla_components.php | 29 ++-- admin/controllers/language.php | 135 ++++++++++------- admin/controllers/language_translation.php | 135 ++++++++++------- admin/controllers/language_translations.php | 29 ++-- admin/controllers/languages.php | 29 ++-- admin/controllers/layout.php | 135 ++++++++++------- admin/controllers/layouts.php | 29 ++-- admin/controllers/libraries.php | 29 ++-- admin/controllers/libraries_config.php | 29 ++-- .../libraries_files_folders_urls.php | 29 ++-- admin/controllers/library.php | 135 ++++++++++------- admin/controllers/library_config.php | 135 ++++++++++------- .../library_files_folders_urls.php | 135 ++++++++++------- admin/controllers/server.php | 135 ++++++++++------- admin/controllers/servers.php | 29 ++-- admin/controllers/site_view.php | 135 ++++++++++------- admin/controllers/site_views.php | 29 ++-- admin/controllers/snippet.php | 135 ++++++++++------- admin/controllers/snippet_type.php | 135 ++++++++++------- admin/controllers/snippet_types.php | 29 ++-- admin/controllers/snippets.php | 29 ++-- admin/controllers/template.php | 135 ++++++++++------- admin/controllers/templates.php | 29 ++-- admin/controllers/validation_rule.php | 135 ++++++++++------- admin/controllers/validation_rules.php | 29 ++-- admin/helpers/compiler.php | 2 +- admin/helpers/compiler/e_Interpretation.php | 14 +- admin/helpers/compiler/f_Infusion.php | 30 ++-- admin/helpers/componentbuilderemail.php | 2 +- .../en-GB/en-GB.com_componentbuilder.ini | 2 +- admin/layouts/admin_fields/fields_above.php | 1 - .../layouts/admin_fields/fields_fullwidth.php | 1 - admin/layouts/admin_fields/publishing.php | 1 - admin/layouts/admin_fields/publlshing.php | 1 - .../conditions_above.php | 1 - .../conditions_fullwidth.php | 1 - .../admin_fields_conditions/publishing.php | 1 - .../admin_fields_conditions/publlshing.php | 1 - .../admin_fields_relations/publishing.php | 1 - .../admin_fields_relations/publlshing.php | 1 - .../relations_above.php | 1 - .../relations_fullwidth.php | 1 - admin/layouts/admin_view/css_fullwidth.php | 1 - .../admin_view/custom_buttons_fullwidth.php | 1 - .../admin_view/custom_buttons_left.php | 1 - .../admin_view/custom_import_fullwidth.php | 1 - admin/layouts/admin_view/details_above.php | 1 - .../layouts/admin_view/details_fullwidth.php | 1 - admin/layouts/admin_view/details_left.php | 1 - admin/layouts/admin_view/details_right.php | 1 - admin/layouts/admin_view/details_under.php | 1 - admin/layouts/admin_view/fields_fullwidth.php | 1 - admin/layouts/admin_view/fields_left.php | 1 - admin/layouts/admin_view/fields_right.php | 1 - .../admin_view/javascript_fullwidth.php | 1 - admin/layouts/admin_view/mysql_fullwidth.php | 1 - admin/layouts/admin_view/mysql_left.php | 1 - admin/layouts/admin_view/php_fullwidth.php | 1 - admin/layouts/admin_view/publishing.php | 1 - admin/layouts/admin_view/publlshing.php | 1 - .../layouts/admin_view/settings_fullwidth.php | 1 - admin/layouts/batchselection.php | 4 +- .../component_admin_views/publishing.php | 1 - .../component_admin_views/publlshing.php | 1 - .../component_admin_views/views_above.php | 1 - .../component_admin_views/views_fullwidth.php | 1 - admin/layouts/component_config/publishing.php | 1 - admin/layouts/component_config/publlshing.php | 1 - .../layouts/component_config/tweaks_above.php | 1 - .../component_config/tweaks_fullwidth.php | 1 - .../publishing.php | 1 - .../publlshing.php | 1 - .../tweaks_above.php | 1 - .../tweaks_fullwidth.php | 1 - .../publishing.php | 1 - .../publlshing.php | 1 - .../views_above.php | 1 - .../views_fullwidth.php | 1 - .../component_dashboard/dashboard_above.php | 1 - .../dashboard_fullwidth.php | 1 - .../component_dashboard/publishing.php | 1 - .../component_dashboard/publlshing.php | 1 - .../advance_fullwidth.php | 1 - .../component_files_folders/basic_above.php | 1 - .../basic_fullwidth.php | 1 - .../component_files_folders/publishing.php | 1 - .../component_files_folders/publlshing.php | 1 - .../component_mysql_tweaks/publishing.php | 1 - .../component_mysql_tweaks/publlshing.php | 1 - .../component_mysql_tweaks/tweaks_above.php | 1 - .../tweaks_fullwidth.php | 1 - .../component_site_views/publishing.php | 1 - .../component_site_views/publlshing.php | 1 - .../component_site_views/views_above.php | 1 - .../component_site_views/views_fullwidth.php | 1 - .../layouts/component_updates/publishing.php | 1 - .../layouts/component_updates/publlshing.php | 1 - .../component_updates/updates_above.php | 1 - .../component_updates/updates_fullwidth.php | 1 - .../custom_buttons_fullwidth.php | 1 - .../custom_admin_view/custom_buttons_left.php | 1 - .../custom_admin_view/details_above.php | 1 - .../custom_admin_view/details_fullwidth.php | 1 - .../custom_admin_view/details_left.php | 1 - .../custom_admin_view/details_right.php | 1 - .../custom_admin_view/details_rightside.php | 1 - .../custom_admin_view/details_under.php | 1 - .../javascript_css_fullwidth.php | 1 - .../linked_components_fullwidth.php | 1 - .../custom_admin_view/php_fullwidth.php | 1 - .../layouts/custom_admin_view/publishing.php | 1 - .../layouts/custom_admin_view/publlshing.php | 1 - admin/layouts/custom_code/details_above.php | 1 - .../layouts/custom_code/details_fullwidth.php | 1 - admin/layouts/custom_code/details_left.php | 1 - admin/layouts/custom_code/details_right.php | 1 - admin/layouts/custom_code/details_under.php | 1 - admin/layouts/custom_code/publishing.php | 1 - admin/layouts/custom_code/publlshing.php | 1 - .../layouts/dynamic_get/abacus_fullwidth.php | 1 - admin/layouts/dynamic_get/abacus_left.php | 1 - .../dynamic_get/custom_script_fullwidth.php | 1 - admin/layouts/dynamic_get/joint_fullwidth.php | 1 - admin/layouts/dynamic_get/main_above.php | 1 - admin/layouts/dynamic_get/main_fullwidth.php | 1 - admin/layouts/dynamic_get/main_left.php | 1 - admin/layouts/dynamic_get/main_under.php | 1 - admin/layouts/dynamic_get/publishing.php | 1 - admin/layouts/dynamic_get/publlshing.php | 1 - admin/layouts/dynamic_get/tweak_fullwidth.php | 1 - admin/layouts/field/data_base_fullwidth.php | 1 - admin/layouts/field/data_base_left.php | 1 - admin/layouts/field/data_base_right.php | 1 - admin/layouts/field/publishing.php | 1 - admin/layouts/field/publlshing.php | 1 - admin/layouts/field/scripts_left.php | 1 - admin/layouts/field/scripts_right.php | 1 - admin/layouts/field/set_properties_above.php | 1 - .../field/set_properties_fullwidth.php | 1 - admin/layouts/field/set_properties_under.php | 1 - admin/layouts/field/type_info_fullwidth.php | 1 - admin/layouts/fieldtype/details_fullwidth.php | 1 - admin/layouts/fieldtype/details_left.php | 1 - admin/layouts/fieldtype/details_right.php | 1 - admin/layouts/fieldtype/fields_fullwidth.php | 1 - admin/layouts/fieldtype/publishing.php | 1 - admin/layouts/fieldtype/publlshing.php | 1 - admin/layouts/help_document/details_above.php | 1 - .../help_document/details_fullwidth.php | 1 - admin/layouts/help_document/details_left.php | 1 - admin/layouts/help_document/details_right.php | 1 - admin/layouts/help_document/details_under.php | 1 - admin/layouts/help_document/publishing.php | 1 - admin/layouts/help_document/publlshing.php | 1 - .../admin_views_fullwidth.php | 1 - .../custom_admin_views_fullwidth.php | 1 - .../dash_install_fullwidth.php | 1 - .../joomla_component/dash_install_left.php | 1 - .../joomla_component/dash_install_right.php | 1 - .../joomla_component/details_above.php | 1 - .../layouts/joomla_component/details_left.php | 1 - .../joomla_component/details_right.php | 1 - .../joomla_component/details_under.php | 1 - .../dynamic_build_beta_fullwidth.php | 1 - .../dynamic_integration_fullwidth.php | 1 - .../libs_helpers_fullwidth.php | 1 - admin/layouts/joomla_component/metadata.php | 1 - .../joomla_component/mysql_fullwidth.php | 1 - admin/layouts/joomla_component/publishing.php | 1 - .../layouts/joomla_component/readme_left.php | 1 - .../layouts/joomla_component/readme_right.php | 1 - .../joomla_component/settings_fullwidth.php | 1 - .../joomla_component/settings_left.php | 1 - .../joomla_component/settings_right.php | 1 - .../joomla_component/site_views_fullwidth.php | 1 - admin/layouts/language/details_left.php | 1 - admin/layouts/language/details_right.php | 1 - admin/layouts/language/publishing.php | 1 - admin/layouts/language/publlshing.php | 1 - .../details_fullwidth.php | 1 - .../language_translation/publishing.php | 1 - .../language_translation/publlshing.php | 1 - .../layout/custom_script_fullwidth.php | 1 - admin/layouts/layout/details_fullwidth.php | 1 - admin/layouts/layout/details_left.php | 1 - admin/layouts/layout/details_right.php | 1 - admin/layouts/layout/details_rightside.php | 1 - admin/layouts/layout/details_under.php | 1 - admin/layouts/layout/publishing.php | 1 - admin/layouts/layout/publlshing.php | 1 - admin/layouts/library/behaviour_above.php | 1 - admin/layouts/library/behaviour_fullwidth.php | 1 - admin/layouts/library/behaviour_left.php | 1 - admin/layouts/library/behaviour_right.php | 1 - admin/layouts/library/behaviour_under.php | 1 - admin/layouts/library/config_fullwidth.php | 1 - .../library/files_folders_urls_fullwidth.php | 1 - admin/layouts/library/linked_fullwidth.php | 1 - admin/layouts/library/publishing.php | 1 - admin/layouts/library/publlshing.php | 1 - admin/layouts/library_config/publishing.php | 1 - admin/layouts/library_config/publlshing.php | 1 - admin/layouts/library_config/tweaks_above.php | 1 - .../library_config/tweaks_fullwidth.php | 1 - .../advance_fullwidth.php | 1 - .../basic_above.php | 1 - .../basic_fullwidth.php | 1 - .../library_files_folders_urls/publishing.php | 1 - .../library_files_folders_urls/publlshing.php | 1 - admin/layouts/server/details_above.php | 1 - admin/layouts/server/details_fullwidth.php | 1 - admin/layouts/server/details_left.php | 1 - admin/layouts/server/details_right.php | 1 - .../server/linked_components_fullwidth.php | 1 - admin/layouts/server/publishing.php | 1 - admin/layouts/server/publlshing.php | 1 - .../site_view/custom_buttons_fullwidth.php | 1 - .../layouts/site_view/custom_buttons_left.php | 1 - .../site_view/custom_buttons_right.php | 1 - admin/layouts/site_view/details_above.php | 1 - admin/layouts/site_view/details_fullwidth.php | 1 - admin/layouts/site_view/details_left.php | 1 - admin/layouts/site_view/details_right.php | 1 - admin/layouts/site_view/details_rightside.php | 1 - admin/layouts/site_view/details_under.php | 1 - .../site_view/javascript_css_fullwidth.php | 1 - .../site_view/linked_components_fullwidth.php | 1 - admin/layouts/site_view/php_fullwidth.php | 1 - admin/layouts/site_view/publishing.php | 1 - admin/layouts/site_view/publlshing.php | 1 - .../layouts/snippet/contributor_fullwidth.php | 1 - admin/layouts/snippet/contributor_left.php | 1 - admin/layouts/snippet/contributor_right.php | 1 - admin/layouts/snippet/details_above.php | 1 - admin/layouts/snippet/details_left.php | 1 - admin/layouts/snippet/details_right.php | 1 - admin/layouts/snippet/publishing.php | 1 - admin/layouts/snippet/publlshing.php | 1 - admin/layouts/snippet_type/details_left.php | 1 - admin/layouts/snippet_type/details_right.php | 1 - admin/layouts/snippet_type/publishing.php | 1 - admin/layouts/snippet_type/publlshing.php | 1 - .../template/custom_script_fullwidth.php | 1 - admin/layouts/template/details_fullwidth.php | 1 - admin/layouts/template/details_left.php | 1 - admin/layouts/template/details_right.php | 1 - admin/layouts/template/details_rightside.php | 1 - admin/layouts/template/details_under.php | 1 - admin/layouts/template/publishing.php | 1 - admin/layouts/template/publlshing.php | 1 - .../extends_formrule_above.php | 1 - .../extends_formrule_fullwidth.php | 1 - .../validation_rule/extends_formrule_left.php | 1 - .../extends_formrule_right.php | 1 - admin/layouts/validation_rule/publishing.php | 1 - admin/layouts/validation_rule/publlshing.php | 1 - admin/models/admin_fields.php | 18 ++- admin/models/admin_fields_conditions.php | 18 ++- admin/models/admin_fields_relations.php | 18 ++- admin/models/admin_view.php | 18 ++- admin/models/admin_views.php | 3 - admin/models/admins_fields.php | 3 - admin/models/admins_fields_conditions.php | 3 - admin/models/admins_fields_relations.php | 3 - admin/models/ajax.php | 2 - admin/models/compiler.php | 3 - admin/models/component_admin_views.php | 18 ++- admin/models/component_config.php | 18 ++- admin/models/component_custom_admin_menus.php | 18 ++- admin/models/component_custom_admin_views.php | 18 ++- admin/models/component_dashboard.php | 18 ++- admin/models/component_files_folders.php | 18 ++- admin/models/component_mysql_tweaks.php | 18 ++- admin/models/component_site_views.php | 18 ++- admin/models/component_updates.php | 18 ++- admin/models/componentbuilder.php | 4 - admin/models/components_admin_views.php | 3 - admin/models/components_config.php | 3 - .../models/components_custom_admin_menus.php | 3 - .../models/components_custom_admin_views.php | 3 - admin/models/components_dashboard.php | 3 - admin/models/components_files_folders.php | 3 - admin/models/components_mysql_tweaks.php | 3 - admin/models/components_site_views.php | 3 - admin/models/components_updates.php | 3 - admin/models/custom_admin_view.php | 18 ++- admin/models/custom_admin_views.php | 3 - admin/models/custom_code.php | 18 ++- admin/models/custom_codes.php | 3 - admin/models/dynamic_get.php | 18 ++- admin/models/dynamic_gets.php | 3 - admin/models/field.php | 18 ++- admin/models/fields.php | 3 - admin/models/fieldtype.php | 18 ++- admin/models/fieldtypes.php | 3 - admin/models/get_snippets.php | 3 - admin/models/help_document.php | 18 ++- admin/models/help_documents.php | 3 - admin/models/joomla_component.php | 18 ++- admin/models/joomla_components.php | 3 - admin/models/language.php | 18 ++- admin/models/language_translation.php | 18 ++- admin/models/language_translations.php | 3 - admin/models/languages.php | 3 - admin/models/layout.php | 18 ++- admin/models/layouts.php | 3 - admin/models/libraries.php | 3 - admin/models/libraries_config.php | 3 - admin/models/libraries_files_folders_urls.php | 3 - admin/models/library.php | 18 ++- admin/models/library_config.php | 18 ++- admin/models/library_files_folders_urls.php | 18 ++- admin/models/server.php | 18 ++- admin/models/servers.php | 3 - admin/models/site_view.php | 18 ++- admin/models/site_views.php | 3 - admin/models/snippet.php | 18 ++- admin/models/snippet_type.php | 18 ++- admin/models/snippet_types.php | 3 - admin/models/snippets.php | 3 - admin/models/template.php | 18 ++- admin/models/templates.php | 3 - admin/models/validation_rule.php | 18 ++- admin/models/validation_rules.php | 3 - admin/sql/install.mysql.utf8.sql | 2 +- admin/tables/admin_fields.php | 3 - admin/tables/admin_fields_conditions.php | 3 - admin/tables/admin_fields_relations.php | 3 - admin/tables/admin_view.php | 3 - admin/tables/component_admin_views.php | 3 - admin/tables/component_config.php | 3 - admin/tables/component_custom_admin_menus.php | 3 - admin/tables/component_custom_admin_views.php | 3 - admin/tables/component_dashboard.php | 3 - admin/tables/component_files_folders.php | 3 - admin/tables/component_mysql_tweaks.php | 3 - admin/tables/component_site_views.php | 3 - admin/tables/component_updates.php | 3 - admin/tables/custom_admin_view.php | 3 - admin/tables/custom_code.php | 3 - admin/tables/dynamic_get.php | 3 - admin/tables/field.php | 3 - admin/tables/fieldtype.php | 3 - admin/tables/help_document.php | 3 - admin/tables/joomla_component.php | 3 - admin/tables/language.php | 3 - admin/tables/language_translation.php | 3 - admin/tables/layout.php | 3 - admin/tables/library.php | 3 - admin/tables/library_config.php | 3 - admin/tables/library_files_folders_urls.php | 3 - admin/tables/server.php | 3 - admin/tables/site_view.php | 3 - admin/tables/snippet.php | 3 - admin/tables/snippet_type.php | 3 - admin/tables/template.php | 3 - admin/tables/validation_rule.php | 3 - admin/views/admin_fields/tmpl/edit.php | 2 +- admin/views/admin_fields/view.html.php | 23 +-- .../admin_fields_conditions/tmpl/edit.php | 2 +- .../admin_fields_conditions/view.html.php | 23 +-- .../admin_fields_relations/tmpl/edit.php | 2 +- .../admin_fields_relations/view.html.php | 23 +-- admin/views/admin_view/tmpl/edit.php | 2 +- admin/views/admin_view/view.html.php | 23 +-- admin/views/admin_views/view.html.php | 3 - admin/views/admins_fields/view.html.php | 3 - .../admins_fields_conditions/view.html.php | 3 - .../admins_fields_relations/view.html.php | 3 - admin/views/compiler/view.html.php | 3 - .../views/component_admin_views/tmpl/edit.php | 2 +- .../views/component_admin_views/view.html.php | 23 +-- admin/views/component_config/tmpl/edit.php | 2 +- admin/views/component_config/view.html.php | 23 +-- .../tmpl/edit.php | 2 +- .../view.html.php | 23 +-- .../tmpl/edit.php | 2 +- .../view.html.php | 23 +-- admin/views/component_dashboard/tmpl/edit.php | 2 +- admin/views/component_dashboard/view.html.php | 23 +-- .../component_files_folders/tmpl/edit.php | 2 +- .../component_files_folders/view.html.php | 23 +-- .../component_mysql_tweaks/tmpl/edit.php | 2 +- .../component_mysql_tweaks/view.html.php | 23 +-- .../views/component_site_views/tmpl/edit.php | 2 +- .../views/component_site_views/view.html.php | 23 +-- admin/views/component_updates/tmpl/edit.php | 2 +- admin/views/component_updates/view.html.php | 23 +-- admin/views/componentbuilder/view.html.php | 3 - .../components_admin_views/view.html.php | 3 - admin/views/components_config/view.html.php | 3 - .../view.html.php | 3 - .../view.html.php | 3 - .../views/components_dashboard/view.html.php | 3 - .../components_files_folders/view.html.php | 3 - .../components_mysql_tweaks/view.html.php | 3 - .../views/components_site_views/view.html.php | 3 - admin/views/components_updates/view.html.php | 3 - admin/views/custom_admin_view/tmpl/edit.php | 2 +- admin/views/custom_admin_view/view.html.php | 23 +-- admin/views/custom_admin_views/view.html.php | 3 - admin/views/custom_code/tmpl/edit.php | 2 +- admin/views/custom_code/view.html.php | 23 +-- admin/views/custom_codes/view.html.php | 3 - admin/views/dynamic_get/tmpl/edit.php | 2 +- admin/views/dynamic_get/view.html.php | 23 +-- admin/views/dynamic_gets/view.html.php | 3 - admin/views/field/tmpl/edit.php | 2 +- admin/views/field/view.html.php | 23 +-- admin/views/fields/view.html.php | 3 - admin/views/fieldtype/tmpl/edit.php | 2 +- admin/views/fieldtype/view.html.php | 23 +-- admin/views/fieldtypes/view.html.php | 3 - admin/views/get_snippets/view.html.php | 3 - admin/views/help_document/tmpl/edit.php | 2 +- admin/views/help_document/view.html.php | 23 +-- admin/views/help_documents/view.html.php | 3 - admin/views/import/view.html.php | 3 - .../import_joomla_components/view.html.php | 3 - .../view.html.php | 3 - admin/views/joomla_component/tmpl/edit.php | 2 +- admin/views/joomla_component/view.html.php | 23 +-- admin/views/joomla_components/view.html.php | 3 - admin/views/language/tmpl/edit.php | 2 +- admin/views/language/view.html.php | 23 +-- .../views/language_translation/tmpl/edit.php | 2 +- .../views/language_translation/view.html.php | 23 +-- .../views/language_translations/view.html.php | 3 - admin/views/languages/view.html.php | 3 - admin/views/layout/tmpl/edit.php | 2 +- admin/views/layout/view.html.php | 23 +-- admin/views/layouts/view.html.php | 3 - admin/views/libraries/view.html.php | 3 - admin/views/libraries_config/view.html.php | 3 - .../view.html.php | 3 - admin/views/library/tmpl/edit.php | 2 +- admin/views/library/view.html.php | 23 +-- admin/views/library_config/tmpl/edit.php | 2 +- admin/views/library_config/view.html.php | 23 +-- .../library_files_folders_urls/tmpl/edit.php | 2 +- .../library_files_folders_urls/view.html.php | 23 +-- admin/views/server/tmpl/edit.php | 2 +- admin/views/server/view.html.php | 23 +-- admin/views/servers/view.html.php | 3 - admin/views/site_view/tmpl/edit.php | 2 +- admin/views/site_view/view.html.php | 23 +-- admin/views/site_views/view.html.php | 3 - admin/views/snippet/tmpl/edit.php | 2 +- admin/views/snippet/view.html.php | 23 +-- admin/views/snippet_type/tmpl/edit.php | 2 +- admin/views/snippet_type/view.html.php | 23 +-- admin/views/snippet_types/view.html.php | 3 - admin/views/snippets/view.html.php | 3 - admin/views/template/tmpl/edit.php | 2 +- admin/views/template/view.html.php | 23 +-- admin/views/templates/view.html.php | 3 - admin/views/validation_rule/tmpl/edit.php | 2 +- admin/views/validation_rule/view.html.php | 23 +-- admin/views/validation_rules/view.html.php | 3 - componentbuilder.xml | 2 +- script.php | 2 - site/componentbuilder.php | 11 +- site/controller.php | 3 - site/controllers/api.php | 3 - site/controllers/help.php | 3 - site/helpers/route.php | 4 - site/models/api.php | 3 - site/views/api/view.html.php | 3 - 568 files changed, 4230 insertions(+), 3609 deletions(-) diff --git a/README.md b/README.md index 84b60c0d5..fff3d7b47 100644 --- a/README.md +++ b/README.md @@ -125,11 +125,11 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 2nd August, 2018 ++ *Last Build*: 7th August, 2018 + *Version*: 2.8.5 + *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **186364** ++ *Line count*: **187020** + *Field count*: **1059** + *File count*: **1239** + *Folder count*: **197** diff --git a/admin/README.txt b/admin/README.txt index 84b60c0d5..fff3d7b47 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -125,11 +125,11 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 2nd August, 2018 ++ *Last Build*: 7th August, 2018 + *Version*: 2.8.5 + *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **186364** ++ *Line count*: **187020** + *Field count*: **1059** + *File count*: **1239** + *Folder count*: **197** diff --git a/admin/compiler/joomla_3/DASHJControllerAdmin.php b/admin/compiler/joomla_3/DASHJControllerAdmin.php index c168d2d51..1d6e6ae7c 100644 --- a/admin/compiler/joomla_3/DASHJControllerAdmin.php +++ b/admin/compiler/joomla_3/DASHJControllerAdmin.php @@ -29,9 +29,6 @@ defined('_JEXEC') or die('Restricted access'); // No direct access to this file defined('_JEXEC') or die('Restricted access'); -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - /** * ###Component### Controller */ diff --git a/admin/compiler/joomla_3/DASHJModelList.php b/admin/compiler/joomla_3/DASHJModelList.php index 65f0b06c4..19a250abc 100644 --- a/admin/compiler/joomla_3/DASHJModelList.php +++ b/admin/compiler/joomla_3/DASHJModelList.php @@ -29,10 +29,6 @@ defined('_JEXEC') or die('Restricted access'); // No direct access to this file defined('_JEXEC') or die('Restricted access'); -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); -jimport('joomla.application.component.helper'); - /** * ###Component### Model */ diff --git a/admin/compiler/joomla_3/DASHJViewLagacy.php b/admin/compiler/joomla_3/DASHJViewLagacy.php index 5a31fd861..f7125737b 100644 --- a/admin/compiler/joomla_3/DASHJViewLagacy.php +++ b/admin/compiler/joomla_3/DASHJViewLagacy.php @@ -29,9 +29,6 @@ defined('_JEXEC') or die('Restricted access'); // No direct access to this file defined('_JEXEC') or die('Restricted access'); -// import Joomla view library -jimport('joomla.application.component.view'); - /** * ###Component### View class */ diff --git a/admin/compiler/joomla_3/Helper_email.php b/admin/compiler/joomla_3/Helper_email.php index a75d36ad2..2dd21a0be 100644 --- a/admin/compiler/joomla_3/Helper_email.php +++ b/admin/compiler/joomla_3/Helper_email.php @@ -319,7 +319,7 @@ abstract class ###Component###Email $body[] = ""; $body[] = ""; $body[] = ""; - $body[] = "".$subject.""; + $body[] = "" . $subject . ""; $body[] = "