From 45c255485f0e51ab6ee665608c29178339ab2fa2 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Tue, 11 Sep 2018 22:28:17 +0200 Subject: [PATCH] Made a little tweak to placeholders, to remove uneeded space. --- admin/compiler/joomla_3/Helper.php | 4 ++-- admin/compiler/joomla_3/Helper_site.php | 4 ++-- admin/compiler/joomla_3/JControllerAdmin.php | 2 +- admin/compiler/joomla_3/JModelAdmin.php | 8 ++++---- admin/compiler/joomla_3/JModelAdmin_site.php | 8 ++++---- admin/compiler/joomla_3/JModelItem_custom_admin.php | 2 +- admin/compiler/joomla_3/JModelItem_site.php | 2 +- admin/compiler/joomla_3/JModelList.php | 6 +++--- admin/compiler/joomla_3/JModelList_custom_admin.php | 6 +++--- admin/compiler/joomla_3/JModelList_site.php | 6 +++--- admin/compiler/joomla_3/JTable.php | 2 +- admin/compiler/joomla_3/JViewLegacy_custom_admin.php | 4 ++-- admin/compiler/joomla_3/JViewLegacy_edit.php | 2 +- admin/compiler/joomla_3/JViewLegacy_edit_site.php | 2 +- admin/compiler/joomla_3/JViewLegacy_list.php | 6 +++--- admin/compiler/joomla_3/JViewLegacy_list_custom_admin.php | 4 ++-- admin/compiler/joomla_3/JViewLegacy_list_site.php | 4 ++-- admin/compiler/joomla_3/JViewLegacy_site.php | 4 ++-- admin/compiler/joomla_3/default_custom_admin.php | 2 +- admin/compiler/joomla_3/default_custom_admin_template.php | 2 +- admin/compiler/joomla_3/default_foot.php | 2 +- admin/compiler/joomla_3/default_head.php | 2 +- admin/compiler/joomla_3/default_list_custom_admin.php | 2 +- admin/compiler/joomla_3/default_list_site.php | 4 ++-- admin/compiler/joomla_3/default_site.php | 4 ++-- admin/compiler/joomla_3/default_site_template.php | 2 +- admin/controllers/admin_views.php | 2 +- admin/controllers/admins_custom_tabs.php | 2 +- admin/controllers/admins_fields.php | 2 +- admin/controllers/admins_fields_conditions.php | 2 +- admin/controllers/admins_fields_relations.php | 2 +- admin/controllers/components_admin_views.php | 2 +- admin/controllers/components_config.php | 2 +- admin/controllers/components_custom_admin_menus.php | 2 +- admin/controllers/components_custom_admin_views.php | 2 +- admin/controllers/components_dashboard.php | 2 +- admin/controllers/components_files_folders.php | 2 +- admin/controllers/components_mysql_tweaks.php | 2 +- admin/controllers/components_site_views.php | 2 +- admin/controllers/components_updates.php | 2 +- admin/controllers/custom_admin_views.php | 2 +- admin/controllers/custom_codes.php | 2 +- admin/controllers/dynamic_gets.php | 2 +- admin/controllers/fields.php | 2 +- admin/controllers/fieldtypes.php | 2 +- admin/controllers/help_documents.php | 2 +- admin/controllers/joomla_components.php | 2 +- admin/controllers/language_translations.php | 2 +- admin/controllers/languages.php | 2 +- admin/controllers/layouts.php | 2 +- admin/controllers/libraries.php | 2 +- admin/controllers/libraries_config.php | 2 +- admin/controllers/libraries_files_folders_urls.php | 2 +- admin/controllers/servers.php | 2 +- admin/controllers/site_views.php | 2 +- admin/controllers/snippet_types.php | 2 +- admin/controllers/snippets.php | 2 +- admin/controllers/templates.php | 2 +- admin/controllers/validation_rules.php | 2 +- admin/helpers/componentbuilder.php | 6 +++--- admin/models/admin_custom_tabs.php | 8 ++++---- admin/models/admin_fields.php | 8 ++++---- admin/models/admin_fields_conditions.php | 8 ++++---- admin/models/admin_fields_relations.php | 8 ++++---- admin/models/admin_view.php | 8 ++++---- admin/models/admin_views.php | 8 ++++---- admin/models/admins_custom_tabs.php | 6 +++--- admin/models/admins_fields.php | 6 +++--- admin/models/admins_fields_conditions.php | 6 +++--- admin/models/admins_fields_relations.php | 6 +++--- admin/models/compiler.php | 6 +++--- admin/models/component_admin_views.php | 8 ++++---- admin/models/component_config.php | 8 ++++---- admin/models/component_custom_admin_menus.php | 8 ++++---- admin/models/component_custom_admin_views.php | 8 ++++---- admin/models/component_dashboard.php | 8 ++++---- admin/models/component_files_folders.php | 8 ++++---- admin/models/component_mysql_tweaks.php | 8 ++++---- admin/models/component_site_views.php | 8 ++++---- admin/models/component_updates.php | 8 ++++---- admin/models/components_admin_views.php | 6 +++--- admin/models/components_config.php | 6 +++--- admin/models/components_custom_admin_menus.php | 6 +++--- admin/models/components_custom_admin_views.php | 6 +++--- admin/models/components_dashboard.php | 6 +++--- admin/models/components_files_folders.php | 6 +++--- admin/models/components_mysql_tweaks.php | 6 +++--- admin/models/components_site_views.php | 6 +++--- admin/models/components_updates.php | 6 +++--- admin/models/custom_admin_view.php | 8 ++++---- admin/models/custom_admin_views.php | 8 ++++---- admin/models/custom_code.php | 8 ++++---- admin/models/custom_codes.php | 8 ++++---- admin/models/dynamic_get.php | 8 ++++---- admin/models/dynamic_gets.php | 8 ++++---- admin/models/field.php | 8 ++++---- admin/models/fields.php | 8 ++++---- admin/models/fieldtype.php | 8 ++++---- admin/models/fieldtypes.php | 6 +++--- admin/models/get_snippets.php | 6 +++--- admin/models/help_document.php | 8 ++++---- admin/models/help_documents.php | 8 ++++---- admin/models/joomla_component.php | 8 ++++---- admin/models/joomla_components.php | 6 +++--- admin/models/language.php | 8 ++++---- admin/models/language_translation.php | 8 ++++---- admin/models/language_translations.php | 6 +++--- admin/models/languages.php | 6 +++--- admin/models/layout.php | 8 ++++---- admin/models/layouts.php | 8 ++++---- admin/models/libraries.php | 8 ++++---- admin/models/libraries_config.php | 6 +++--- admin/models/libraries_files_folders_urls.php | 6 +++--- admin/models/library.php | 8 ++++---- admin/models/library_config.php | 8 ++++---- admin/models/library_files_folders_urls.php | 8 ++++---- admin/models/server.php | 8 ++++---- admin/models/servers.php | 8 ++++---- admin/models/site_view.php | 8 ++++---- admin/models/site_views.php | 8 ++++---- admin/models/snippet.php | 8 ++++---- admin/models/snippet_type.php | 8 ++++---- admin/models/snippet_types.php | 6 +++--- admin/models/snippets.php | 6 +++--- admin/models/template.php | 8 ++++---- admin/models/templates.php | 8 ++++---- admin/models/validation_rule.php | 8 ++++---- admin/models/validation_rules.php | 6 +++--- admin/tables/admin_custom_tabs.php | 2 +- admin/tables/admin_fields.php | 2 +- admin/tables/admin_fields_conditions.php | 2 +- admin/tables/admin_fields_relations.php | 2 +- admin/tables/admin_view.php | 2 +- admin/tables/component_admin_views.php | 2 +- admin/tables/component_config.php | 2 +- admin/tables/component_custom_admin_menus.php | 2 +- admin/tables/component_custom_admin_views.php | 2 +- admin/tables/component_dashboard.php | 2 +- admin/tables/component_files_folders.php | 2 +- admin/tables/component_mysql_tweaks.php | 2 +- admin/tables/component_site_views.php | 2 +- admin/tables/component_updates.php | 2 +- admin/tables/custom_admin_view.php | 2 +- admin/tables/custom_code.php | 2 +- admin/tables/dynamic_get.php | 2 +- admin/tables/field.php | 2 +- admin/tables/fieldtype.php | 2 +- admin/tables/help_document.php | 2 +- admin/tables/joomla_component.php | 2 +- admin/tables/language.php | 2 +- admin/tables/language_translation.php | 2 +- admin/tables/layout.php | 2 +- admin/tables/library.php | 2 +- admin/tables/library_config.php | 2 +- admin/tables/library_files_folders_urls.php | 2 +- admin/tables/server.php | 2 +- admin/tables/site_view.php | 2 +- admin/tables/snippet.php | 2 +- admin/tables/snippet_type.php | 2 +- admin/tables/template.php | 2 +- admin/tables/validation_rule.php | 2 +- admin/views/admin_custom_tabs/view.html.php | 2 +- admin/views/admin_fields/view.html.php | 2 +- admin/views/admin_fields_conditions/view.html.php | 2 +- admin/views/admin_fields_relations/view.html.php | 2 +- admin/views/admin_view/view.html.php | 2 +- admin/views/admin_views/tmpl/default_foot.php | 2 +- admin/views/admin_views/tmpl/default_head.php | 2 +- admin/views/admin_views/view.html.php | 6 +++--- admin/views/admins_custom_tabs/tmpl/default_foot.php | 2 +- admin/views/admins_custom_tabs/tmpl/default_head.php | 2 +- admin/views/admins_custom_tabs/view.html.php | 6 +++--- admin/views/admins_fields/tmpl/default_foot.php | 2 +- admin/views/admins_fields/tmpl/default_head.php | 2 +- admin/views/admins_fields/view.html.php | 6 +++--- .../views/admins_fields_conditions/tmpl/default_foot.php | 2 +- .../views/admins_fields_conditions/tmpl/default_head.php | 2 +- admin/views/admins_fields_conditions/view.html.php | 6 +++--- admin/views/admins_fields_relations/tmpl/default_foot.php | 2 +- admin/views/admins_fields_relations/tmpl/default_head.php | 2 +- admin/views/admins_fields_relations/view.html.php | 6 +++--- admin/views/compiler/tmpl/default.php | 2 +- admin/views/compiler/view.html.php | 6 +++--- admin/views/component_admin_views/view.html.php | 2 +- admin/views/component_config/view.html.php | 2 +- admin/views/component_custom_admin_menus/view.html.php | 2 +- admin/views/component_custom_admin_views/view.html.php | 2 +- admin/views/component_dashboard/view.html.php | 2 +- admin/views/component_files_folders/view.html.php | 2 +- admin/views/component_mysql_tweaks/view.html.php | 2 +- admin/views/component_site_views/view.html.php | 2 +- admin/views/component_updates/view.html.php | 2 +- .../tmpl/default_issues_the_closed_issues_on_github.php | 2 +- .../tmpl/default_issues_the_open_issues_on_github.php | 2 +- .../tmpl/default_notice_board_vast_development_method.php | 2 +- .../componentbuilder/tmpl/default_readme_information.php | 2 +- .../tmpl/default_releases_information.php | 2 +- .../componentbuilder/tmpl/default_wiki_tutorials.php | 2 +- admin/views/components_admin_views/tmpl/default_foot.php | 2 +- admin/views/components_admin_views/tmpl/default_head.php | 2 +- admin/views/components_admin_views/view.html.php | 6 +++--- admin/views/components_config/tmpl/default_foot.php | 2 +- admin/views/components_config/tmpl/default_head.php | 2 +- admin/views/components_config/view.html.php | 6 +++--- .../components_custom_admin_menus/tmpl/default_foot.php | 2 +- .../components_custom_admin_menus/tmpl/default_head.php | 2 +- admin/views/components_custom_admin_menus/view.html.php | 6 +++--- .../components_custom_admin_views/tmpl/default_foot.php | 2 +- .../components_custom_admin_views/tmpl/default_head.php | 2 +- admin/views/components_custom_admin_views/view.html.php | 6 +++--- admin/views/components_dashboard/tmpl/default_foot.php | 2 +- admin/views/components_dashboard/tmpl/default_head.php | 2 +- admin/views/components_dashboard/view.html.php | 6 +++--- .../views/components_files_folders/tmpl/default_foot.php | 2 +- .../views/components_files_folders/tmpl/default_head.php | 2 +- admin/views/components_files_folders/view.html.php | 6 +++--- admin/views/components_mysql_tweaks/tmpl/default_foot.php | 2 +- admin/views/components_mysql_tweaks/tmpl/default_head.php | 2 +- admin/views/components_mysql_tweaks/view.html.php | 6 +++--- admin/views/components_site_views/tmpl/default_foot.php | 2 +- admin/views/components_site_views/tmpl/default_head.php | 2 +- admin/views/components_site_views/view.html.php | 6 +++--- admin/views/components_updates/tmpl/default_foot.php | 2 +- admin/views/components_updates/tmpl/default_head.php | 2 +- admin/views/components_updates/view.html.php | 6 +++--- admin/views/custom_admin_view/view.html.php | 2 +- admin/views/custom_admin_views/tmpl/default_foot.php | 2 +- admin/views/custom_admin_views/tmpl/default_head.php | 2 +- admin/views/custom_admin_views/view.html.php | 6 +++--- admin/views/custom_code/view.html.php | 2 +- admin/views/custom_codes/tmpl/default_foot.php | 2 +- admin/views/custom_codes/tmpl/default_head.php | 2 +- admin/views/custom_codes/view.html.php | 6 +++--- admin/views/dynamic_get/view.html.php | 2 +- admin/views/dynamic_gets/tmpl/default_foot.php | 2 +- admin/views/dynamic_gets/tmpl/default_head.php | 2 +- admin/views/dynamic_gets/view.html.php | 6 +++--- admin/views/field/view.html.php | 2 +- admin/views/fields/tmpl/default_foot.php | 2 +- admin/views/fields/tmpl/default_head.php | 2 +- admin/views/fields/view.html.php | 6 +++--- admin/views/fieldtype/view.html.php | 2 +- admin/views/fieldtypes/tmpl/default_foot.php | 2 +- admin/views/fieldtypes/tmpl/default_head.php | 2 +- admin/views/fieldtypes/view.html.php | 6 +++--- admin/views/get_snippets/tmpl/default.php | 2 +- admin/views/get_snippets/view.html.php | 6 +++--- admin/views/help_document/view.html.php | 2 +- admin/views/help_documents/tmpl/default_foot.php | 2 +- admin/views/help_documents/tmpl/default_head.php | 2 +- admin/views/help_documents/view.html.php | 6 +++--- admin/views/joomla_component/view.html.php | 2 +- admin/views/joomla_components/tmpl/default_foot.php | 2 +- admin/views/joomla_components/tmpl/default_head.php | 2 +- admin/views/joomla_components/view.html.php | 6 +++--- admin/views/language/view.html.php | 2 +- admin/views/language_translation/view.html.php | 2 +- admin/views/language_translations/tmpl/default_foot.php | 2 +- admin/views/language_translations/tmpl/default_head.php | 2 +- admin/views/language_translations/view.html.php | 6 +++--- admin/views/languages/tmpl/default_foot.php | 2 +- admin/views/languages/tmpl/default_head.php | 2 +- admin/views/languages/view.html.php | 6 +++--- admin/views/layout/view.html.php | 2 +- admin/views/layouts/tmpl/default_foot.php | 2 +- admin/views/layouts/tmpl/default_head.php | 2 +- admin/views/layouts/view.html.php | 6 +++--- admin/views/libraries/tmpl/default_foot.php | 2 +- admin/views/libraries/tmpl/default_head.php | 2 +- admin/views/libraries/view.html.php | 6 +++--- admin/views/libraries_config/tmpl/default_foot.php | 2 +- admin/views/libraries_config/tmpl/default_head.php | 2 +- admin/views/libraries_config/view.html.php | 6 +++--- .../libraries_files_folders_urls/tmpl/default_foot.php | 2 +- .../libraries_files_folders_urls/tmpl/default_head.php | 2 +- admin/views/libraries_files_folders_urls/view.html.php | 6 +++--- admin/views/library/view.html.php | 2 +- admin/views/library_config/view.html.php | 2 +- admin/views/library_files_folders_urls/view.html.php | 2 +- admin/views/server/view.html.php | 2 +- admin/views/servers/tmpl/default_foot.php | 2 +- admin/views/servers/tmpl/default_head.php | 2 +- admin/views/servers/view.html.php | 6 +++--- admin/views/site_view/view.html.php | 2 +- admin/views/site_views/tmpl/default_foot.php | 2 +- admin/views/site_views/tmpl/default_head.php | 2 +- admin/views/site_views/view.html.php | 6 +++--- admin/views/snippet/view.html.php | 2 +- admin/views/snippet_type/view.html.php | 2 +- admin/views/snippet_types/tmpl/default_foot.php | 2 +- admin/views/snippet_types/tmpl/default_head.php | 2 +- admin/views/snippet_types/view.html.php | 6 +++--- admin/views/snippets/tmpl/default_foot.php | 2 +- admin/views/snippets/tmpl/default_head.php | 2 +- admin/views/snippets/view.html.php | 6 +++--- admin/views/template/view.html.php | 2 +- admin/views/templates/tmpl/default_foot.php | 2 +- admin/views/templates/tmpl/default_head.php | 2 +- admin/views/templates/view.html.php | 6 +++--- admin/views/validation_rule/view.html.php | 2 +- admin/views/validation_rules/tmpl/default_foot.php | 2 +- admin/views/validation_rules/tmpl/default_head.php | 2 +- admin/views/validation_rules/view.html.php | 6 +++--- site/helpers/componentbuilder.php | 4 ++-- site/models/api.php | 6 +++--- site/views/api/tmpl/default.php | 6 +++--- site/views/api/view.html.php | 6 +++--- 307 files changed, 588 insertions(+), 588 deletions(-) diff --git a/admin/compiler/joomla_3/Helper.php b/admin/compiler/joomla_3/Helper.php index 4d43cc470..e1c136fb6 100644 --- a/admin/compiler/joomla_3/Helper.php +++ b/admin/compiler/joomla_3/Helper.php @@ -21,7 +21,7 @@ defined('_JEXEC') or die('Restricted access'); * ###Component### component helper. */ abstract class ###Component###Helper -{###ADMIN_GLOBAL_EVENT_HELPER### ###CUSTOM_HELPER_SCRIPT### ###BOTH_CUSTOM_HELPER_SCRIPT### +{###ADMIN_GLOBAL_EVENT_HELPER######CUSTOM_HELPER_SCRIPT######BOTH_CUSTOM_HELPER_SCRIPT### /** * Load the Component xml manifest. **/ @@ -96,7 +96,7 @@ abstract class ###Component###Helper $user = JFactory::getUser(); // load the submenus to sidebar ###SUBMENU### - }###HELPER_CREATEUSER### ###HELPER_UIKIT### ###HELPER_EXEL### + }###HELPER_CREATEUSER######HELPER_UIKIT######HELPER_EXEL### /** * Get a Variable diff --git a/admin/compiler/joomla_3/Helper_site.php b/admin/compiler/joomla_3/Helper_site.php index f25bae6e6..41a106193 100644 --- a/admin/compiler/joomla_3/Helper_site.php +++ b/admin/compiler/joomla_3/Helper_site.php @@ -21,7 +21,7 @@ defined('_JEXEC') or die('Restricted access'); * ###Component### component helper */ abstract class ###Component###Helper -{###SITE_GLOBAL_EVENT_HELPER### ###SITE_CUSTOM_HELPER_SCRIPT### ###BOTH_CUSTOM_HELPER_SCRIPT### +{###SITE_GLOBAL_EVENT_HELPER######SITE_CUSTOM_HELPER_SCRIPT######BOTH_CUSTOM_HELPER_SCRIPT### public static function jsonToString($value, $sperator = ", ", $table = null, $id = 'id', $name = 'name') { @@ -459,7 +459,7 @@ abstract class ###Component###Helper '0' => isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO'); // return the input return self::getFieldObject($buttonAttributes, $buttonAttributes['default'], $buttonOptions)->input; - }###HELPER_UIKIT### ###HELPER_CREATEUSER### + }###HELPER_UIKIT######HELPER_CREATEUSER### /** * Get a variable diff --git a/admin/compiler/joomla_3/JControllerAdmin.php b/admin/compiler/joomla_3/JControllerAdmin.php index e56d7445d..ffe5ef9bf 100644 --- a/admin/compiler/joomla_3/JControllerAdmin.php +++ b/admin/compiler/joomla_3/JControllerAdmin.php @@ -44,5 +44,5 @@ class ###Component###Controller###Views### extends JControllerAdmin public function getModel($name = '###View###', $prefix = '###Component###Model', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - }###CONTROLLEREXIMPORTMETHOD### ###CUSTOM_ADMIN_DYNAMIC_BUTTONS_CONTROLLER### ###ADMIN_CUSTOM_BUTTONS_CONTROLLER_LIST### + }###CONTROLLEREXIMPORTMETHOD######CUSTOM_ADMIN_DYNAMIC_BUTTONS_CONTROLLER######ADMIN_CUSTOM_BUTTONS_CONTROLLER_LIST### } diff --git a/admin/compiler/joomla_3/JModelAdmin.php b/admin/compiler/joomla_3/JModelAdmin.php index d0ca8877e..46d024f0d 100644 --- a/admin/compiler/joomla_3/JModelAdmin.php +++ b/admin/compiler/joomla_3/JModelAdmin.php @@ -94,7 +94,7 @@ class ###Component###Model###View### extends JModelAdmin }###LINKEDVIEWGLOBAL### return $item; - }###LINKEDVIEWMETHODS### ###LICENSE_LOCKED_SET_BOOL### + }###LINKEDVIEWMETHODS######LICENSE_LOCKED_SET_BOOL### /** * Method to get the record form. @@ -238,7 +238,7 @@ class ###Component###Model###View### extends JModelAdmin } return $data; - }###VALIDATIONFIX### ###UNIQUEFIELDS### + }###VALIDATIONFIX######UNIQUEFIELDS### /** * Method to delete one or more records. @@ -373,7 +373,7 @@ class ###Component###Model###View### extends JModelAdmin $this->cleanCache(); return true; - }###MODEL_BATCH_COPY### ###MODEL_BATCH_MOVE### + }###MODEL_BATCH_COPY######MODEL_BATCH_MOVE### /** * Method to save the form data. @@ -397,7 +397,7 @@ class ###Component###Model###View### extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - }###CHECKBOX_SAVE### ###METHOD_ITEM_SAVE### + }###CHECKBOX_SAVE######METHOD_ITEM_SAVE### // Set the Params Items to data if (isset($data['params']) && is_array($data['params'])) diff --git a/admin/compiler/joomla_3/JModelAdmin_site.php b/admin/compiler/joomla_3/JModelAdmin_site.php index d0ca8877e..46d024f0d 100644 --- a/admin/compiler/joomla_3/JModelAdmin_site.php +++ b/admin/compiler/joomla_3/JModelAdmin_site.php @@ -94,7 +94,7 @@ class ###Component###Model###View### extends JModelAdmin }###LINKEDVIEWGLOBAL### return $item; - }###LINKEDVIEWMETHODS### ###LICENSE_LOCKED_SET_BOOL### + }###LINKEDVIEWMETHODS######LICENSE_LOCKED_SET_BOOL### /** * Method to get the record form. @@ -238,7 +238,7 @@ class ###Component###Model###View### extends JModelAdmin } return $data; - }###VALIDATIONFIX### ###UNIQUEFIELDS### + }###VALIDATIONFIX######UNIQUEFIELDS### /** * Method to delete one or more records. @@ -373,7 +373,7 @@ class ###Component###Model###View### extends JModelAdmin $this->cleanCache(); return true; - }###MODEL_BATCH_COPY### ###MODEL_BATCH_MOVE### + }###MODEL_BATCH_COPY######MODEL_BATCH_MOVE### /** * Method to save the form data. @@ -397,7 +397,7 @@ class ###Component###Model###View### extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - }###CHECKBOX_SAVE### ###METHOD_ITEM_SAVE### + }###CHECKBOX_SAVE######METHOD_ITEM_SAVE### // Set the Params Items to data if (isset($data['params']) && is_array($data['params'])) diff --git a/admin/compiler/joomla_3/JModelItem_custom_admin.php b/admin/compiler/joomla_3/JModelItem_custom_admin.php index e0b72a3d6..8630851b9 100644 --- a/admin/compiler/joomla_3/JModelItem_custom_admin.php +++ b/admin/compiler/joomla_3/JModelItem_custom_admin.php @@ -123,5 +123,5 @@ class ###Component###Model###SView### extends JModelItem }###CUSTOM_ADMIN_AFTER_GET_ITEM### return $this->_item[$pk]; - }###CUSTOM_ADMIN_CUSTOM_METHODS### ###LICENSE_LOCKED_SET_BOOL### ###CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD### + }###CUSTOM_ADMIN_CUSTOM_METHODS######LICENSE_LOCKED_SET_BOOL######CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD### } diff --git a/admin/compiler/joomla_3/JModelItem_site.php b/admin/compiler/joomla_3/JModelItem_site.php index 4784458f3..4cf35dd3a 100644 --- a/admin/compiler/joomla_3/JModelItem_site.php +++ b/admin/compiler/joomla_3/JModelItem_site.php @@ -116,5 +116,5 @@ class ###Component###Model###SView### extends JModelItem }###SITE_AFTER_GET_ITEM### return $this->_item[$pk]; - }###LICENSE_LOCKED_SET_BOOL### ###SITE_CUSTOM_METHODS### ###SITE_CUSTOM_BUTTONS_METHOD### ###SITE_CUSTOM_GET_FORM_METHOD### + }###LICENSE_LOCKED_SET_BOOL######SITE_CUSTOM_METHODS######SITE_CUSTOM_BUTTONS_METHOD### } diff --git a/admin/compiler/joomla_3/JModelList.php b/admin/compiler/joomla_3/JModelList.php index de80566c3..d92dfc532 100644 --- a/admin/compiler/joomla_3/JModelList.php +++ b/admin/compiler/joomla_3/JModelList.php @@ -78,9 +78,9 @@ class ###Component###Model###Views### extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - {###LICENSE_LOCKED_CHECK### ###CHECKINCALL### + {###LICENSE_LOCKED_CHECK######CHECKINCALL### // load parent items - $items = parent::getItems();###GET_ITEMS_METHOD_STRING_FIX### ###SELECTIONTRANSLATIONFIX### ###GET_ITEMS_METHOD_AFTER_ALL### + $items = parent::getItems();###GET_ITEMS_METHOD_STRING_FIX######SELECTIONTRANSLATIONFIX######GET_ITEMS_METHOD_AFTER_ALL### // return items return $items; @@ -94,7 +94,7 @@ class ###Component###Model###Views### extends JModelList protected function getListQuery() {###LICENSE_LOCKED_CHECK### ###LISTQUERY### - }###MODELEXPORTMETHOD### ###LICENSE_LOCKED_SET_BOOL### + }###MODELEXPORTMETHOD######LICENSE_LOCKED_SET_BOOL### /** * Method to get a store id based on model configuration state. diff --git a/admin/compiler/joomla_3/JModelList_custom_admin.php b/admin/compiler/joomla_3/JModelList_custom_admin.php index cc11ed0c9..5676136ed 100644 --- a/admin/compiler/joomla_3/JModelList_custom_admin.php +++ b/admin/compiler/joomla_3/JModelList_custom_admin.php @@ -71,14 +71,14 @@ class ###Component###Model###SViews### extends JModelList // redirect away if not a correct (TODO for now we go to default view) $app->redirect('index.php?option=com_###component###'); return false; - }###LICENSE_LOCKED_CHECK### ###CUSTOM_ADMIN_BEFORE_GET_ITEMS### + }###LICENSE_LOCKED_CHECK######CUSTOM_ADMIN_BEFORE_GET_ITEMS### // load parent items $items = parent::getItems(); // Get the global params - $globalParams = JComponentHelper::getParams('com_###component###', true);###CUSTOM_ADMIN_GET_ITEMS### ###CUSTOM_ADMIN_AFTER_GET_ITEMS### + $globalParams = JComponentHelper::getParams('com_###component###', true);###CUSTOM_ADMIN_GET_ITEMS######CUSTOM_ADMIN_AFTER_GET_ITEMS### // return items return $items; - }###CUSTOM_ADMIN_CUSTOM_METHODS### ###LICENSE_LOCKED_SET_BOOL### ###CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD### + }###CUSTOM_ADMIN_CUSTOM_METHODS######LICENSE_LOCKED_SET_BOOL######CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD### } diff --git a/admin/compiler/joomla_3/JModelList_site.php b/admin/compiler/joomla_3/JModelList_site.php index 115c1ce7d..09caef245 100644 --- a/admin/compiler/joomla_3/JModelList_site.php +++ b/admin/compiler/joomla_3/JModelList_site.php @@ -62,14 +62,14 @@ class ###Component###Model###SViews### extends JModelList */ public function getItems() { - $user = JFactory::getUser();###USER_PERMISSION_CHECK_ACCESS### ###LICENSE_LOCKED_CHECK### ###SITE_BEFORE_GET_ITEMS### + $user = JFactory::getUser();###USER_PERMISSION_CHECK_ACCESS######LICENSE_LOCKED_CHECK######SITE_BEFORE_GET_ITEMS### // load parent items $items = parent::getItems(); // Get the global params - $globalParams = JComponentHelper::getParams('com_###component###', true);###SITE_GET_ITEMS### ###SITE_AFTER_GET_ITEMS### + $globalParams = JComponentHelper::getParams('com_###component###', true);###SITE_GET_ITEMS######SITE_AFTER_GET_ITEMS### // return items return $items; - }###LICENSE_LOCKED_SET_BOOL### ###SITE_CUSTOM_METHODS### ###SITE_CUSTOM_BUTTONS_METHOD### ###SITE_CUSTOM_GET_FORM_METHOD### + }###LICENSE_LOCKED_SET_BOOL######SITE_CUSTOM_METHODS######SITE_CUSTOM_BUTTONS_METHOD### } diff --git a/admin/compiler/joomla_3/JTable.php b/admin/compiler/joomla_3/JTable.php index 1dc0aba42..061b1410d 100644 --- a/admin/compiler/joomla_3/JTable.php +++ b/admin/compiler/joomla_3/JTable.php @@ -39,7 +39,7 @@ class ###Component###Table###View### extends JTable */ function __construct(&$db) { - parent::__construct('#__###component###_###view###', 'id', $db);###JTABLECONSTRUCTOR### ###LICENSE_LOCKED_CHECK### + parent::__construct('#__###component###_###view###', 'id', $db);###JTABLECONSTRUCTOR######LICENSE_LOCKED_CHECK### } public function bind($array, $ignore = '') diff --git a/admin/compiler/joomla_3/JViewLegacy_custom_admin.php b/admin/compiler/joomla_3/JViewLegacy_custom_admin.php index a85e417eb..2fb8a3545 100644 --- a/admin/compiler/joomla_3/JViewLegacy_custom_admin.php +++ b/admin/compiler/joomla_3/JViewLegacy_custom_admin.php @@ -39,9 +39,9 @@ class ###Component###View###SView### extends JViewLegacy * Prepares the document */ protected function setDocument() - {###CUSTOM_ADMIN_LIBRARIES_LOADER### ###CUSTOM_ADMIN_DOCUMENT_METADATA### ###CUSTOM_ADMIN_UIKIT_LOADER### ###CUSTOM_ADMIN_GOOGLECHART_LOADER### ###CUSTOM_ADMIN_FOOTABLE_LOADER### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP### + {###CUSTOM_ADMIN_LIBRARIES_LOADER######CUSTOM_ADMIN_DOCUMENT_METADATA######CUSTOM_ADMIN_UIKIT_LOADER######CUSTOM_ADMIN_GOOGLECHART_LOADER######CUSTOM_ADMIN_FOOTABLE_LOADER######CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP### // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS### + $this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS######CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS### } /** diff --git a/admin/compiler/joomla_3/JViewLegacy_edit.php b/admin/compiler/joomla_3/JViewLegacy_edit.php index 4716865c5..d73bc3f1a 100644 --- a/admin/compiler/joomla_3/JViewLegacy_edit.php +++ b/admin/compiler/joomla_3/JViewLegacy_edit.php @@ -115,7 +115,7 @@ class ###Component###View###View### extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_###COMPONENT###_###VIEW###_NEW' : 'COM_###COMPONENT###_###VIEW###_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_###component###/assets/css/###view###.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###AJAXTOKE### ###LINKEDVIEWTABLESCRIPTS### + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_###component###/assets/css/###view###.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###AJAXTOKE######LINKEDVIEWTABLESCRIPTS### $this->document->addScript(JURI::root() . $this->script, (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_###component###/views/###view###/submitbutton.js", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); ###DOCUMENT_CUSTOM_PHP### JText::script('view not acceptable. Error'); diff --git a/admin/compiler/joomla_3/JViewLegacy_edit_site.php b/admin/compiler/joomla_3/JViewLegacy_edit_site.php index 0ae11a920..b86f135e9 100644 --- a/admin/compiler/joomla_3/JViewLegacy_edit_site.php +++ b/admin/compiler/joomla_3/JViewLegacy_edit_site.php @@ -123,7 +123,7 @@ class ###Component###View###View### extends JViewLegacy $this->document->addStyleSheet(JURI::root()."administrator/templates/isis/css/template.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root()."administrator/templates/isis/js/template.js", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); // the default style of this view - $this->document->addStyleSheet(JURI::root()."components/com_###component###/assets/css/###view###.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###AJAXTOKE### ###LINKEDVIEWTABLESCRIPTS### + $this->document->addStyleSheet(JURI::root()."components/com_###component###/assets/css/###view###.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###AJAXTOKE######LINKEDVIEWTABLESCRIPTS### // default javascript of this view $this->document->addScript(JURI::root().$this->script, (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root(). "components/com_###component###/views/###view###/submitbutton.js", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); ###DOCUMENT_CUSTOM_PHP### diff --git a/admin/compiler/joomla_3/JViewLegacy_list.php b/admin/compiler/joomla_3/JViewLegacy_list.php index 43033028b..60179e2b1 100644 --- a/admin/compiler/joomla_3/JViewLegacy_list.php +++ b/admin/compiler/joomla_3/JViewLegacy_list.php @@ -116,7 +116,7 @@ class ###Component###View###Views### extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - }###CUSTOM_ADMIN_DYNAMIC_BUTTONS### ###ADMIN_CUSTOM_BUTTONS_LIST### + }###CUSTOM_ADMIN_DYNAMIC_BUTTONS######ADMIN_CUSTOM_BUTTONS_LIST### if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ###Component###View###Views### extends JViewLegacy { JToolbarHelper::trash('###views###.trash'); }###EXPORTBUTTON### - }###ADMIN_CUSTOM_FUNCTION_ONLY_BUTTONS_LIST### ###IMPORTBUTTON### + }###ADMIN_CUSTOM_FUNCTION_ONLY_BUTTONS_LIST######IMPORTBUTTON### // set help url for this view if found $help_url = ###Component###Helper::getHelpUrl('###views###'); @@ -172,7 +172,7 @@ class ###Component###View###Views### extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - }###CATEGORYFILTER### ###OTHERFILTERS### + }###CATEGORYFILTER######OTHERFILTERS### } /** diff --git a/admin/compiler/joomla_3/JViewLegacy_list_custom_admin.php b/admin/compiler/joomla_3/JViewLegacy_list_custom_admin.php index c22b67df1..9d712fed8 100644 --- a/admin/compiler/joomla_3/JViewLegacy_list_custom_admin.php +++ b/admin/compiler/joomla_3/JViewLegacy_list_custom_admin.php @@ -39,9 +39,9 @@ class ###Component###View###SViews### extends JViewLegacy * Prepares the document */ protected function setDocument() - {###CUSTOM_ADMIN_LIBRARIES_LOADER### ###CUSTOM_ADMIN_UIKIT_LOADER### ###CUSTOM_ADMIN_GOOGLECHART_LOADER### ###CUSTOM_ADMIN_FOOTABLE_LOADER### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP### + {###CUSTOM_ADMIN_LIBRARIES_LOADER######CUSTOM_ADMIN_UIKIT_LOADER######CUSTOM_ADMIN_GOOGLECHART_LOADER######CUSTOM_ADMIN_FOOTABLE_LOADER######CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP### // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sviews###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS### + $this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sviews###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS######CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS### } /** diff --git a/admin/compiler/joomla_3/JViewLegacy_list_site.php b/admin/compiler/joomla_3/JViewLegacy_list_site.php index 921980337..d63dcb54b 100644 --- a/admin/compiler/joomla_3/JViewLegacy_list_site.php +++ b/admin/compiler/joomla_3/JViewLegacy_list_site.php @@ -37,9 +37,9 @@ class ###Component###View###SViews### extends JViewLegacy * Prepares the document */ protected function _prepareDocument() - {###SITE_LIBRARIES_LOADER### ###SITE_UIKIT_LOADER### ###SITE_GOOGLECHART_LOADER### ###SITE_FOOTABLE_LOADER### ###SITE_DOCUMENT_METADATA### ###SITE_DOCUMENT_CUSTOM_PHP### + {###SITE_LIBRARIES_LOADER######SITE_UIKIT_LOADER######SITE_GOOGLECHART_LOADER######SITE_FOOTABLE_LOADER######SITE_DOCUMENT_METADATA######SITE_DOCUMENT_CUSTOM_PHP### // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###SITE_DOCUMENT_CUSTOM_CSS### ###SITE_DOCUMENT_CUSTOM_JS### ###SITE_JAVASCRIPT_FOR_BUTTONS### + $this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###SITE_DOCUMENT_CUSTOM_CSS######SITE_DOCUMENT_CUSTOM_JS######SITE_JAVASCRIPT_FOR_BUTTONS### } /** diff --git a/admin/compiler/joomla_3/JViewLegacy_site.php b/admin/compiler/joomla_3/JViewLegacy_site.php index 7b6dedd65..868d7c8ae 100644 --- a/admin/compiler/joomla_3/JViewLegacy_site.php +++ b/admin/compiler/joomla_3/JViewLegacy_site.php @@ -37,9 +37,9 @@ class ###Component###View###SView### extends JViewLegacy * Prepares the document */ protected function _prepareDocument() - {###SITE_LIBRARIES_LOADER### ###SITE_UIKIT_LOADER### ###SITE_GOOGLECHART_LOADER### ###SITE_FOOTABLE_LOADER### ###SITE_DOCUMENT_METADATA### ###SITE_DOCUMENT_CUSTOM_PHP### + {###SITE_LIBRARIES_LOADER######SITE_UIKIT_LOADER######SITE_GOOGLECHART_LOADER######SITE_FOOTABLE_LOADER######SITE_DOCUMENT_METADATA######SITE_DOCUMENT_CUSTOM_PHP### // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###SITE_DOCUMENT_CUSTOM_CSS### ###SITE_DOCUMENT_CUSTOM_JS### ###SITE_JAVASCRIPT_FOR_BUTTONS### + $this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###SITE_DOCUMENT_CUSTOM_CSS######SITE_DOCUMENT_CUSTOM_JS######SITE_JAVASCRIPT_FOR_BUTTONS### } /** diff --git a/admin/compiler/joomla_3/default_custom_admin.php b/admin/compiler/joomla_3/default_custom_admin.php index 87f11fa13..3da08846a 100644 --- a/admin/compiler/joomla_3/default_custom_admin.php +++ b/admin/compiler/joomla_3/default_custom_admin.php @@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access'); ###BOM### // No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_CODE_BODY### +defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######CUSTOM_ADMIN_CODE_BODY### JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); diff --git a/admin/compiler/joomla_3/default_custom_admin_template.php b/admin/compiler/joomla_3/default_custom_admin_template.php index 268ec913b..0e67a3905 100644 --- a/admin/compiler/joomla_3/default_custom_admin_template.php +++ b/admin/compiler/joomla_3/default_custom_admin_template.php @@ -15,6 +15,6 @@ defined('_JEXEC') or die('Restricted access'); ###BOM### // No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_TEMPLATE_CODE_BODY### +defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######CUSTOM_ADMIN_TEMPLATE_CODE_BODY### ?>###CUSTOM_ADMIN_TEMPLATE_BODY### diff --git a/admin/compiler/joomla_3/default_foot.php b/admin/compiler/joomla_3/default_foot.php index 614f4f880..2956bdb52 100644 --- a/admin/compiler/joomla_3/default_foot.php +++ b/admin/compiler/joomla_3/default_foot.php @@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access'); ###BOM### // No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### +defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ?> diff --git a/admin/compiler/joomla_3/default_head.php b/admin/compiler/joomla_3/default_head.php index ba034957e..50679bb73 100644 --- a/admin/compiler/joomla_3/default_head.php +++ b/admin/compiler/joomla_3/default_head.php @@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access'); ###BOM### // No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### +defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ?> ###LISTHEAD### \ No newline at end of file diff --git a/admin/compiler/joomla_3/default_list_custom_admin.php b/admin/compiler/joomla_3/default_list_custom_admin.php index 28239fcce..00804976f 100644 --- a/admin/compiler/joomla_3/default_list_custom_admin.php +++ b/admin/compiler/joomla_3/default_list_custom_admin.php @@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access'); ###BOM### // No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_CODE_BODY### +defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######CUSTOM_ADMIN_CODE_BODY### JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); diff --git a/admin/compiler/joomla_3/default_list_site.php b/admin/compiler/joomla_3/default_list_site.php index 72cd3f045..758f184c3 100644 --- a/admin/compiler/joomla_3/default_list_site.php +++ b/admin/compiler/joomla_3/default_list_site.php @@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access'); ###BOM### // No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_CODE_BODY### +defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######SITE_CODE_BODY### ?> -###SITE_TOP_FORM### ###SITE_TOP_BUTTON### ###SITE_BODY### ###SITE_BOTTOM_BUTTON### ###SITE_BOTTOM_FORM### +###SITE_TOP_FORM######SITE_TOP_BUTTON######SITE_BODY######SITE_BOTTOM_BUTTON######SITE_BOTTOM_FORM### diff --git a/admin/compiler/joomla_3/default_site.php b/admin/compiler/joomla_3/default_site.php index 72cd3f045..758f184c3 100644 --- a/admin/compiler/joomla_3/default_site.php +++ b/admin/compiler/joomla_3/default_site.php @@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access'); ###BOM### // No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_CODE_BODY### +defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######SITE_CODE_BODY### ?> -###SITE_TOP_FORM### ###SITE_TOP_BUTTON### ###SITE_BODY### ###SITE_BOTTOM_BUTTON### ###SITE_BOTTOM_FORM### +###SITE_TOP_FORM######SITE_TOP_BUTTON######SITE_BODY######SITE_BOTTOM_BUTTON######SITE_BOTTOM_FORM### diff --git a/admin/compiler/joomla_3/default_site_template.php b/admin/compiler/joomla_3/default_site_template.php index 3d5d1685c..267830130 100644 --- a/admin/compiler/joomla_3/default_site_template.php +++ b/admin/compiler/joomla_3/default_site_template.php @@ -15,6 +15,6 @@ defined('_JEXEC') or die('Restricted access'); ###BOM### // No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_TEMPLATE_CODE_BODY### +defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######SITE_TEMPLATE_CODE_BODY### ?>###SITE_TEMPLATE_BODY### diff --git a/admin/controllers/admin_views.php b/admin/controllers/admin_views.php index 4b0f487b9..9c86405ac 100644 --- a/admin/controllers/admin_views.php +++ b/admin/controllers/admin_views.php @@ -102,5 +102,5 @@ class ComponentbuilderControllerAdmin_views extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=admin_views', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/admins_custom_tabs.php b/admin/controllers/admins_custom_tabs.php index fbc7a9fa2..5aecf7b80 100644 --- a/admin/controllers/admins_custom_tabs.php +++ b/admin/controllers/admins_custom_tabs.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerAdmins_custom_tabs extends JControllerAdmin public function getModel($name = 'Admin_custom_tabs', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/admins_fields.php b/admin/controllers/admins_fields.php index cd7d03c68..5710ea939 100644 --- a/admin/controllers/admins_fields.php +++ b/admin/controllers/admins_fields.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerAdmins_fields extends JControllerAdmin public function getModel($name = 'Admin_fields', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/admins_fields_conditions.php b/admin/controllers/admins_fields_conditions.php index c7fd6601c..55bd3eba1 100644 --- a/admin/controllers/admins_fields_conditions.php +++ b/admin/controllers/admins_fields_conditions.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerAdmins_fields_conditions extends JControllerAdmi public function getModel($name = 'Admin_fields_conditions', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/admins_fields_relations.php b/admin/controllers/admins_fields_relations.php index c00993469..b2905b249 100644 --- a/admin/controllers/admins_fields_relations.php +++ b/admin/controllers/admins_fields_relations.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerAdmins_fields_relations extends JControllerAdmin public function getModel($name = 'Admin_fields_relations', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/components_admin_views.php b/admin/controllers/components_admin_views.php index 886bf6ecd..8e9b7c780 100644 --- a/admin/controllers/components_admin_views.php +++ b/admin/controllers/components_admin_views.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_admin_views extends JControllerAdmin public function getModel($name = 'Component_admin_views', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/components_config.php b/admin/controllers/components_config.php index 7454d1b79..6bf652bc5 100644 --- a/admin/controllers/components_config.php +++ b/admin/controllers/components_config.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_config extends JControllerAdmin public function getModel($name = 'Component_config', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/components_custom_admin_menus.php b/admin/controllers/components_custom_admin_menus.php index 11c9a8e63..eba63af6d 100644 --- a/admin/controllers/components_custom_admin_menus.php +++ b/admin/controllers/components_custom_admin_menus.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_custom_admin_menus extends JControlle public function getModel($name = 'Component_custom_admin_menus', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/components_custom_admin_views.php b/admin/controllers/components_custom_admin_views.php index 00d4b52ea..0455afd41 100644 --- a/admin/controllers/components_custom_admin_views.php +++ b/admin/controllers/components_custom_admin_views.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_custom_admin_views extends JControlle public function getModel($name = 'Component_custom_admin_views', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/components_dashboard.php b/admin/controllers/components_dashboard.php index b81f9d4a3..c2946099e 100644 --- a/admin/controllers/components_dashboard.php +++ b/admin/controllers/components_dashboard.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_dashboard extends JControllerAdmin public function getModel($name = 'Component_dashboard', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/components_files_folders.php b/admin/controllers/components_files_folders.php index 0dc49ed6c..cd1b4aa3b 100644 --- a/admin/controllers/components_files_folders.php +++ b/admin/controllers/components_files_folders.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_files_folders extends JControllerAdmi public function getModel($name = 'Component_files_folders', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/components_mysql_tweaks.php b/admin/controllers/components_mysql_tweaks.php index bf85f1f31..c2efb53ad 100644 --- a/admin/controllers/components_mysql_tweaks.php +++ b/admin/controllers/components_mysql_tweaks.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_mysql_tweaks extends JControllerAdmin public function getModel($name = 'Component_mysql_tweaks', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/components_site_views.php b/admin/controllers/components_site_views.php index 1d76d9c09..e14679876 100644 --- a/admin/controllers/components_site_views.php +++ b/admin/controllers/components_site_views.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_site_views extends JControllerAdmin public function getModel($name = 'Component_site_views', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/components_updates.php b/admin/controllers/components_updates.php index e957193dc..08b093881 100644 --- a/admin/controllers/components_updates.php +++ b/admin/controllers/components_updates.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_updates extends JControllerAdmin public function getModel($name = 'Component_updates', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/custom_admin_views.php b/admin/controllers/custom_admin_views.php index 3ef968f4d..e1ebca389 100644 --- a/admin/controllers/custom_admin_views.php +++ b/admin/controllers/custom_admin_views.php @@ -102,7 +102,7 @@ class ComponentbuilderControllerCustom_admin_views extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=custom_admin_views', false), $message, 'error'); return; - } + } public function getSnippets() { diff --git a/admin/controllers/custom_codes.php b/admin/controllers/custom_codes.php index d52e412c3..ce4d96191 100644 --- a/admin/controllers/custom_codes.php +++ b/admin/controllers/custom_codes.php @@ -102,5 +102,5 @@ class ComponentbuilderControllerCustom_codes extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=custom_codes', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/dynamic_gets.php b/admin/controllers/dynamic_gets.php index d43cb8dde..1d27f7554 100644 --- a/admin/controllers/dynamic_gets.php +++ b/admin/controllers/dynamic_gets.php @@ -102,5 +102,5 @@ class ComponentbuilderControllerDynamic_gets extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=dynamic_gets', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/fields.php b/admin/controllers/fields.php index 7136b324f..b896d12c3 100644 --- a/admin/controllers/fields.php +++ b/admin/controllers/fields.php @@ -102,5 +102,5 @@ class ComponentbuilderControllerFields extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=fields', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/fieldtypes.php b/admin/controllers/fieldtypes.php index f1a93b00c..0b1a568dc 100644 --- a/admin/controllers/fieldtypes.php +++ b/admin/controllers/fieldtypes.php @@ -102,5 +102,5 @@ class ComponentbuilderControllerFieldtypes extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=fieldtypes', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/help_documents.php b/admin/controllers/help_documents.php index ecbeec680..6458d29dd 100644 --- a/admin/controllers/help_documents.php +++ b/admin/controllers/help_documents.php @@ -102,5 +102,5 @@ class ComponentbuilderControllerHelp_documents extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=help_documents', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/joomla_components.php b/admin/controllers/joomla_components.php index 1e945b34b..84cc751ed 100644 --- a/admin/controllers/joomla_components.php +++ b/admin/controllers/joomla_components.php @@ -102,7 +102,7 @@ class ComponentbuilderControllerJoomla_components extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=joomla_components', false), $message, 'error'); return; - } + } public function smartImport() { diff --git a/admin/controllers/language_translations.php b/admin/controllers/language_translations.php index a9b344e89..48178bfa2 100644 --- a/admin/controllers/language_translations.php +++ b/admin/controllers/language_translations.php @@ -102,5 +102,5 @@ class ComponentbuilderControllerLanguage_translations extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=language_translations', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/languages.php b/admin/controllers/languages.php index 7c5bfe060..357801751 100644 --- a/admin/controllers/languages.php +++ b/admin/controllers/languages.php @@ -102,7 +102,7 @@ class ComponentbuilderControllerLanguages extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=languages', false), $message, 'error'); return; - } + } public function buildLanguages() { diff --git a/admin/controllers/layouts.php b/admin/controllers/layouts.php index 26e443dfb..a10803965 100644 --- a/admin/controllers/layouts.php +++ b/admin/controllers/layouts.php @@ -102,7 +102,7 @@ class ComponentbuilderControllerLayouts extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=layouts', false), $message, 'error'); return; - } + } public function getSnippets() { diff --git a/admin/controllers/libraries.php b/admin/controllers/libraries.php index cd9500161..0be577a49 100644 --- a/admin/controllers/libraries.php +++ b/admin/controllers/libraries.php @@ -39,7 +39,7 @@ class ComponentbuilderControllerLibraries extends JControllerAdmin public function getModel($name = 'Library', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } public function getSnippets() { diff --git a/admin/controllers/libraries_config.php b/admin/controllers/libraries_config.php index 95e2c81e8..8f2661461 100644 --- a/admin/controllers/libraries_config.php +++ b/admin/controllers/libraries_config.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerLibraries_config extends JControllerAdmin public function getModel($name = 'Library_config', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/libraries_files_folders_urls.php b/admin/controllers/libraries_files_folders_urls.php index a82a630bd..4aba88fe7 100644 --- a/admin/controllers/libraries_files_folders_urls.php +++ b/admin/controllers/libraries_files_folders_urls.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerLibraries_files_folders_urls extends JController public function getModel($name = 'Library_files_folders_urls', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/servers.php b/admin/controllers/servers.php index 97a237140..904841071 100644 --- a/admin/controllers/servers.php +++ b/admin/controllers/servers.php @@ -102,5 +102,5 @@ class ComponentbuilderControllerServers extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=servers', false), $message, 'error'); return; - } + } } diff --git a/admin/controllers/site_views.php b/admin/controllers/site_views.php index 0555dd61d..97094c098 100644 --- a/admin/controllers/site_views.php +++ b/admin/controllers/site_views.php @@ -102,7 +102,7 @@ class ComponentbuilderControllerSite_views extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=site_views', false), $message, 'error'); return; - } + } public function getSnippets() { diff --git a/admin/controllers/snippet_types.php b/admin/controllers/snippet_types.php index fa92961eb..7a65c3155 100644 --- a/admin/controllers/snippet_types.php +++ b/admin/controllers/snippet_types.php @@ -39,5 +39,5 @@ class ComponentbuilderControllerSnippet_types extends JControllerAdmin public function getModel($name = 'Snippet_type', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, $config); - } + } } diff --git a/admin/controllers/snippets.php b/admin/controllers/snippets.php index 685169eb0..b2ea77dc8 100644 --- a/admin/controllers/snippets.php +++ b/admin/controllers/snippets.php @@ -102,7 +102,7 @@ class ComponentbuilderControllerSnippets extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=snippets', false), $message, 'error'); return; - } + } public function getSnippets() { diff --git a/admin/controllers/templates.php b/admin/controllers/templates.php index 76562b7f7..57a0dac4d 100644 --- a/admin/controllers/templates.php +++ b/admin/controllers/templates.php @@ -102,7 +102,7 @@ class ComponentbuilderControllerTemplates extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=templates', false), $message, 'error'); return; - } + } public function getSnippets() { diff --git a/admin/controllers/validation_rules.php b/admin/controllers/validation_rules.php index 70044224e..3d3be0ad4 100644 --- a/admin/controllers/validation_rules.php +++ b/admin/controllers/validation_rules.php @@ -102,5 +102,5 @@ class ComponentbuilderControllerValidation_rules extends JControllerAdmin $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=validation_rules', false), $message, 'error'); return; - } + } } diff --git a/admin/helpers/componentbuilder.php b/admin/helpers/componentbuilder.php index 28ec64457..2791c78b8 100644 --- a/admin/helpers/componentbuilder.php +++ b/admin/helpers/componentbuilder.php @@ -25,7 +25,7 @@ abstract class ComponentbuilderHelper { // the Session keeps track of all data related to the current session of this user self::loadSession(); - } + } /** * Locked Libraries (we can not have these change) @@ -4054,7 +4054,7 @@ abstract class ComponentbuilderHelper { JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_HELP_DOCUMENTS'), 'index.php?option=com_componentbuilder&view=help_documents', $submenu === 'help_documents'); } - } + } /** * UIKIT Component Classes @@ -4156,7 +4156,7 @@ abstract class ComponentbuilderHelper return $classes; } return false; - } + } /** * Prepares the xml document diff --git a/admin/models/admin_custom_tabs.php b/admin/models/admin_custom_tabs.php index 463feb082..3827a1e15 100644 --- a/admin/models/admin_custom_tabs.php +++ b/admin/models/admin_custom_tabs.php @@ -97,7 +97,7 @@ class ComponentbuilderModelAdmin_custom_tabs extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -350,7 +350,7 @@ class ComponentbuilderModelAdmin_custom_tabs extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -640,7 +640,7 @@ class ComponentbuilderModelAdmin_custom_tabs extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -772,7 +772,7 @@ class ComponentbuilderModelAdmin_custom_tabs extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the tabs items to data. if (isset($data['tabs']) && is_array($data['tabs'])) diff --git a/admin/models/admin_fields.php b/admin/models/admin_fields.php index 4394b4810..3c4e36d9b 100644 --- a/admin/models/admin_fields.php +++ b/admin/models/admin_fields.php @@ -117,7 +117,7 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -370,7 +370,7 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -660,7 +660,7 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -792,7 +792,7 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } if (isset($data['addfields']) && ComponentbuilderHelper::checkArray($data['addfields'])) { diff --git a/admin/models/admin_fields_conditions.php b/admin/models/admin_fields_conditions.php index 6f1b85da7..8ffe370d9 100644 --- a/admin/models/admin_fields_conditions.php +++ b/admin/models/admin_fields_conditions.php @@ -117,7 +117,7 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -370,7 +370,7 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -660,7 +660,7 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -792,7 +792,7 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the addconditions items to data. if (isset($data['addconditions']) && is_array($data['addconditions'])) diff --git a/admin/models/admin_fields_relations.php b/admin/models/admin_fields_relations.php index 947dfdaf9..6fc966ac0 100644 --- a/admin/models/admin_fields_relations.php +++ b/admin/models/admin_fields_relations.php @@ -97,7 +97,7 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -350,7 +350,7 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -640,7 +640,7 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -772,7 +772,7 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the addrelations items to data. if (isset($data['addrelations']) && is_array($data['addrelations'])) diff --git a/admin/models/admin_view.php b/admin/models/admin_view.php index 10094cbc3..864d060e3 100644 --- a/admin/models/admin_view.php +++ b/admin/models/admin_view.php @@ -428,7 +428,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -734,7 +734,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -1080,7 +1080,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -1212,7 +1212,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // if system name is empty create from name_single if (empty($data['system_name']) || !ComponentbuilderHelper::checkString($data['system_name'])) diff --git a/admin/models/admin_views.php b/admin/models/admin_views.php index 50df7be90..c33863740 100644 --- a/admin/models/admin_views.php +++ b/admin/models/admin_views.php @@ -107,7 +107,7 @@ class ComponentbuilderModelAdmin_views extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -127,7 +127,7 @@ class ComponentbuilderModelAdmin_views extends JModelList } } - } + } // set selection value to a translatable value if (ComponentbuilderHelper::checkArray($items)) @@ -146,7 +146,7 @@ class ComponentbuilderModelAdmin_views extends JModelList $item->add_php_ajax = $this->selectionTranslation($item->add_php_ajax, 'add_php_ajax'); } } - + // return items return $items; @@ -491,7 +491,7 @@ class ComponentbuilderModelAdmin_views extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/admins_custom_tabs.php b/admin/models/admins_custom_tabs.php index d0fadf824..04e04ca7d 100644 --- a/admin/models/admins_custom_tabs.php +++ b/admin/models/admins_custom_tabs.php @@ -77,7 +77,7 @@ class ComponentbuilderModelAdmins_custom_tabs extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelAdmins_custom_tabs extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelAdmins_custom_tabs extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/admins_fields.php b/admin/models/admins_fields.php index d43e3f330..4e30546ca 100644 --- a/admin/models/admins_fields.php +++ b/admin/models/admins_fields.php @@ -77,7 +77,7 @@ class ComponentbuilderModelAdmins_fields extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelAdmins_fields extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelAdmins_fields extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/admins_fields_conditions.php b/admin/models/admins_fields_conditions.php index 2a63f28e6..183679af2 100644 --- a/admin/models/admins_fields_conditions.php +++ b/admin/models/admins_fields_conditions.php @@ -77,7 +77,7 @@ class ComponentbuilderModelAdmins_fields_conditions extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelAdmins_fields_conditions extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelAdmins_fields_conditions extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/admins_fields_relations.php b/admin/models/admins_fields_relations.php index b90c33494..21ee57d10 100644 --- a/admin/models/admins_fields_relations.php +++ b/admin/models/admins_fields_relations.php @@ -77,7 +77,7 @@ class ComponentbuilderModelAdmins_fields_relations extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelAdmins_fields_relations extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelAdmins_fields_relations extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/compiler.php b/admin/models/compiler.php index efb410579..ae261a724 100644 --- a/admin/models/compiler.php +++ b/admin/models/compiler.php @@ -86,7 +86,7 @@ class ComponentbuilderModelCompiler extends JModelList // redirect away if not a correct (TODO for now we go to default view) $app->redirect('index.php?option=com_componentbuilder'); return false; - } + } // load parent items $items = parent::getItems(); @@ -113,7 +113,7 @@ class ComponentbuilderModelCompiler extends JModelList // Checking if copyright has uikit components that must be loaded. $this->uikitComp = ComponentbuilderHelper::getUikitComp($item->copyright,$this->uikitComp); } - } + } // return items return $items; @@ -132,7 +132,7 @@ class ComponentbuilderModelCompiler extends JModelList return $this->uikitComp; } return false; - } + } public $compiler; diff --git a/admin/models/component_admin_views.php b/admin/models/component_admin_views.php index a0a873f67..29a43002c 100644 --- a/admin/models/component_admin_views.php +++ b/admin/models/component_admin_views.php @@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the addadmin_views items to data. if (isset($data['addadmin_views']) && is_array($data['addadmin_views'])) diff --git a/admin/models/component_config.php b/admin/models/component_config.php index 3aff690e4..987b1b2f9 100644 --- a/admin/models/component_config.php +++ b/admin/models/component_config.php @@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_config extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_config extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_config extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_config extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the addconfig items to data. if (isset($data['addconfig']) && is_array($data['addconfig'])) diff --git a/admin/models/component_custom_admin_menus.php b/admin/models/component_custom_admin_menus.php index 5955b68f9..e68863d9e 100644 --- a/admin/models/component_custom_admin_menus.php +++ b/admin/models/component_custom_admin_menus.php @@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the addcustommenus items to data. if (isset($data['addcustommenus']) && is_array($data['addcustommenus'])) diff --git a/admin/models/component_custom_admin_views.php b/admin/models/component_custom_admin_views.php index e34735392..d6dd6d7f4 100644 --- a/admin/models/component_custom_admin_views.php +++ b/admin/models/component_custom_admin_views.php @@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the addcustom_admin_views items to data. if (isset($data['addcustom_admin_views']) && is_array($data['addcustom_admin_views'])) diff --git a/admin/models/component_dashboard.php b/admin/models/component_dashboard.php index 75a3814ad..8566339b4 100644 --- a/admin/models/component_dashboard.php +++ b/admin/models/component_dashboard.php @@ -134,7 +134,7 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -387,7 +387,7 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -677,7 +677,7 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -809,7 +809,7 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the dashboard_tab items to data. if (isset($data['dashboard_tab']) && is_array($data['dashboard_tab'])) diff --git a/admin/models/component_files_folders.php b/admin/models/component_files_folders.php index d7a000ceb..b0a3009ca 100644 --- a/admin/models/component_files_folders.php +++ b/admin/models/component_files_folders.php @@ -153,7 +153,7 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -406,7 +406,7 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -696,7 +696,7 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -828,7 +828,7 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the addfoldersfullpath items to data. if (isset($data['addfoldersfullpath']) && is_array($data['addfoldersfullpath'])) diff --git a/admin/models/component_mysql_tweaks.php b/admin/models/component_mysql_tweaks.php index ba6ac7a0d..a8c949e39 100644 --- a/admin/models/component_mysql_tweaks.php +++ b/admin/models/component_mysql_tweaks.php @@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the sql_tweak items to data. if (isset($data['sql_tweak']) && is_array($data['sql_tweak'])) diff --git a/admin/models/component_site_views.php b/admin/models/component_site_views.php index 8cc9fae2d..c0b8768cf 100644 --- a/admin/models/component_site_views.php +++ b/admin/models/component_site_views.php @@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the addsite_views items to data. if (isset($data['addsite_views']) && is_array($data['addsite_views'])) diff --git a/admin/models/component_updates.php b/admin/models/component_updates.php index e45225411..9a2c71b33 100644 --- a/admin/models/component_updates.php +++ b/admin/models/component_updates.php @@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the version_update items to data. if (isset($data['version_update']) && is_array($data['version_update'])) diff --git a/admin/models/components_admin_views.php b/admin/models/components_admin_views.php index 85b0781a5..c22003891 100644 --- a/admin/models/components_admin_views.php +++ b/admin/models/components_admin_views.php @@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_admin_views extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_admin_views extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_admin_views extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/components_config.php b/admin/models/components_config.php index 8e1e735cf..638c7eb13 100644 --- a/admin/models/components_config.php +++ b/admin/models/components_config.php @@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_config extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_config extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_config extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/components_custom_admin_menus.php b/admin/models/components_custom_admin_menus.php index 6b6064bac..680a2260e 100644 --- a/admin/models/components_custom_admin_menus.php +++ b/admin/models/components_custom_admin_menus.php @@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_custom_admin_menus extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_custom_admin_menus extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_custom_admin_menus extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/components_custom_admin_views.php b/admin/models/components_custom_admin_views.php index 4c9688e98..e95e781f8 100644 --- a/admin/models/components_custom_admin_views.php +++ b/admin/models/components_custom_admin_views.php @@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_custom_admin_views extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_custom_admin_views extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_custom_admin_views extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/components_dashboard.php b/admin/models/components_dashboard.php index 7a86c217e..e3d0b44c6 100644 --- a/admin/models/components_dashboard.php +++ b/admin/models/components_dashboard.php @@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_dashboard extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_dashboard extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_dashboard extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/components_files_folders.php b/admin/models/components_files_folders.php index f589423bf..c51473e94 100644 --- a/admin/models/components_files_folders.php +++ b/admin/models/components_files_folders.php @@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_files_folders extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_files_folders extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_files_folders extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/components_mysql_tweaks.php b/admin/models/components_mysql_tweaks.php index cbaaca472..26cb40618 100644 --- a/admin/models/components_mysql_tweaks.php +++ b/admin/models/components_mysql_tweaks.php @@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_mysql_tweaks extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_mysql_tweaks extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_mysql_tweaks extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/components_site_views.php b/admin/models/components_site_views.php index 686be172a..7a8e0e0da 100644 --- a/admin/models/components_site_views.php +++ b/admin/models/components_site_views.php @@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_site_views extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_site_views extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_site_views extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/components_updates.php b/admin/models/components_updates.php index 0de9c5cb4..d30b01cad 100644 --- a/admin/models/components_updates.php +++ b/admin/models/components_updates.php @@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_updates extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_updates extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_updates extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/custom_admin_view.php b/admin/models/custom_admin_view.php index cbc5db644..4f10ef5b9 100644 --- a/admin/models/custom_admin_view.php +++ b/admin/models/custom_admin_view.php @@ -245,7 +245,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -549,7 +549,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -839,7 +839,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -971,7 +971,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // always reset the snippets $data['snippet'] = 0; diff --git a/admin/models/custom_admin_views.php b/admin/models/custom_admin_views.php index 90fc465a4..549e99b1a 100644 --- a/admin/models/custom_admin_views.php +++ b/admin/models/custom_admin_views.php @@ -99,7 +99,7 @@ class ComponentbuilderModelCustom_admin_views extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -119,7 +119,7 @@ class ComponentbuilderModelCustom_admin_views extends JModelList } } - } + } // set selection value to a translatable value if (ComponentbuilderHelper::checkArray($items)) @@ -132,7 +132,7 @@ class ComponentbuilderModelCustom_admin_views extends JModelList $item->add_custom_button = $this->selectionTranslation($item->add_custom_button, 'add_custom_button'); } } - + // return items return $items; @@ -384,7 +384,7 @@ class ComponentbuilderModelCustom_admin_views extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/custom_code.php b/admin/models/custom_code.php index 4d2f8b0d0..6d933e0ca 100644 --- a/admin/models/custom_code.php +++ b/admin/models/custom_code.php @@ -95,7 +95,7 @@ class ComponentbuilderModelCustom_code extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -401,7 +401,7 @@ class ComponentbuilderModelCustom_code extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -691,7 +691,7 @@ class ComponentbuilderModelCustom_code extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -823,7 +823,7 @@ class ComponentbuilderModelCustom_code extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the code string to base64 string. if (isset($data['code'])) diff --git a/admin/models/custom_codes.php b/admin/models/custom_codes.php index e4f049c63..efca2126d 100644 --- a/admin/models/custom_codes.php +++ b/admin/models/custom_codes.php @@ -95,7 +95,7 @@ class ComponentbuilderModelCustom_codes extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -132,7 +132,7 @@ class ComponentbuilderModelCustom_codes extends JModelList $item->type = 2; } } - } + } // set selection value to a translatable value if (ComponentbuilderHelper::checkArray($items)) @@ -147,7 +147,7 @@ class ComponentbuilderModelCustom_codes extends JModelList $item->comment_type = $this->selectionTranslation($item->comment_type, 'comment_type'); } } - + // return items return $items; @@ -412,7 +412,7 @@ class ComponentbuilderModelCustom_codes extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/dynamic_get.php b/admin/models/dynamic_get.php index dd2262b49..ab4e8b5c5 100644 --- a/admin/models/dynamic_get.php +++ b/admin/models/dynamic_get.php @@ -258,7 +258,7 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -562,7 +562,7 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -852,7 +852,7 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -984,7 +984,7 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the join_db_table items to data. if (isset($data['join_db_table']) && is_array($data['join_db_table'])) diff --git a/admin/models/dynamic_gets.php b/admin/models/dynamic_gets.php index d234bf0cc..91f996556 100644 --- a/admin/models/dynamic_gets.php +++ b/admin/models/dynamic_gets.php @@ -87,7 +87,7 @@ class ComponentbuilderModelDynamic_gets extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -107,7 +107,7 @@ class ComponentbuilderModelDynamic_gets extends JModelList } } - } + } // set selection value to a translatable value if (ComponentbuilderHelper::checkArray($items)) @@ -120,7 +120,7 @@ class ComponentbuilderModelDynamic_gets extends JModelList $item->gettype = $this->selectionTranslation($item->gettype, 'gettype'); } } - + // return items return $items; @@ -359,7 +359,7 @@ class ComponentbuilderModelDynamic_gets extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/field.php b/admin/models/field.php index 2d95353b2..d08531ddb 100644 --- a/admin/models/field.php +++ b/admin/models/field.php @@ -150,7 +150,7 @@ class ComponentbuilderModelField extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -454,7 +454,7 @@ class ComponentbuilderModelField extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -753,7 +753,7 @@ class ComponentbuilderModelField extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -901,7 +901,7 @@ class ComponentbuilderModelField extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // get the properties $properties = $input->get('properties', null, 'ARRAY'); diff --git a/admin/models/fields.php b/admin/models/fields.php index b91ea5cbe..8f1b91b7b 100644 --- a/admin/models/fields.php +++ b/admin/models/fields.php @@ -111,7 +111,7 @@ class ComponentbuilderModelFields extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -131,7 +131,7 @@ class ComponentbuilderModelFields extends JModelList } } - } + } // set selection value to a translatable value if (ComponentbuilderHelper::checkArray($items)) @@ -148,7 +148,7 @@ class ComponentbuilderModelFields extends JModelList $item->store = $this->selectionTranslation($item->store, 'store'); } } - + // return items return $items; @@ -462,7 +462,7 @@ class ComponentbuilderModelFields extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/fieldtype.php b/admin/models/fieldtype.php index 5a95ade94..5e5e80293 100644 --- a/admin/models/fieldtype.php +++ b/admin/models/fieldtype.php @@ -300,7 +300,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin } } return $value; - } + } /** * Method to get the record form. @@ -551,7 +551,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -850,7 +850,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -998,7 +998,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the properties items to data. if (isset($data['properties']) && is_array($data['properties'])) diff --git a/admin/models/fieldtypes.php b/admin/models/fieldtypes.php index 8c7c06246..15b20942f 100644 --- a/admin/models/fieldtypes.php +++ b/admin/models/fieldtypes.php @@ -95,7 +95,7 @@ class ComponentbuilderModelFieldtypes extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -115,7 +115,7 @@ class ComponentbuilderModelFieldtypes extends JModelList } } - } + } // return items return $items; @@ -312,7 +312,7 @@ class ComponentbuilderModelFieldtypes extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/get_snippets.php b/admin/models/get_snippets.php index c16e5a55a..f06123d96 100644 --- a/admin/models/get_snippets.php +++ b/admin/models/get_snippets.php @@ -94,7 +94,7 @@ class ComponentbuilderModelGet_snippets extends JModelList // redirect away if not a correct (TODO for now we go to default view) $app->redirect('index.php?option=com_componentbuilder'); return false; - } + } // load parent items $items = parent::getItems(); @@ -109,7 +109,7 @@ class ComponentbuilderModelGet_snippets extends JModelList // Always create a slug for sef URL's $item->slug = (isset($item->alias) && isset($item->id)) ? $item->id.':'.$item->alias : $item->id; } - } + } // return items return $items; @@ -128,5 +128,5 @@ class ComponentbuilderModelGet_snippets extends JModelList return $this->uikitComp; } return false; - } + } } diff --git a/admin/models/help_document.php b/admin/models/help_document.php index 8546b7ed1..d2240f6f6 100644 --- a/admin/models/help_document.php +++ b/admin/models/help_document.php @@ -95,7 +95,7 @@ class ComponentbuilderModelHelp_document extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -382,7 +382,7 @@ class ComponentbuilderModelHelp_document extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -667,7 +667,7 @@ class ComponentbuilderModelHelp_document extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -799,7 +799,7 @@ class ComponentbuilderModelHelp_document extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the groups string to JSON string. if (isset($data['groups'])) diff --git a/admin/models/help_documents.php b/admin/models/help_documents.php index e94ab62fd..61a57398f 100644 --- a/admin/models/help_documents.php +++ b/admin/models/help_documents.php @@ -95,7 +95,7 @@ class ComponentbuilderModelHelp_documents extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -135,7 +135,7 @@ class ComponentbuilderModelHelp_documents extends JModelList $item->groups = $groupsNames; } } - } + } // set selection value to a translatable value if (ComponentbuilderHelper::checkArray($items)) @@ -148,7 +148,7 @@ class ComponentbuilderModelHelp_documents extends JModelList $item->location = $this->selectionTranslation($item->location, 'location'); } } - + // return items return $items; @@ -358,7 +358,7 @@ class ComponentbuilderModelHelp_documents extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/joomla_component.php b/admin/models/joomla_component.php index 653459013..31ed33550 100644 --- a/admin/models/joomla_component.php +++ b/admin/models/joomla_component.php @@ -278,7 +278,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -584,7 +584,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -930,7 +930,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -1062,7 +1062,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // if system name is empty create from name if (empty($data['system_name']) || !ComponentbuilderHelper::checkString($data['system_name'])) diff --git a/admin/models/joomla_components.php b/admin/models/joomla_components.php index 6ab84ee83..542c9c93a 100644 --- a/admin/models/joomla_components.php +++ b/admin/models/joomla_components.php @@ -1747,7 +1747,7 @@ class ComponentbuilderModelJoomla_components extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -1767,7 +1767,7 @@ class ComponentbuilderModelJoomla_components extends JModelList } } - } + } // return items return $items; @@ -1999,7 +1999,7 @@ class ComponentbuilderModelJoomla_components extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/language.php b/admin/models/language.php index 2d7f79f63..db9958cc6 100644 --- a/admin/models/language.php +++ b/admin/models/language.php @@ -89,7 +89,7 @@ class ComponentbuilderModelLanguage extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -340,7 +340,7 @@ class ComponentbuilderModelLanguage extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -630,7 +630,7 @@ class ComponentbuilderModelLanguage extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -762,7 +762,7 @@ class ComponentbuilderModelLanguage extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the Params Items to data if (isset($data['params']) && is_array($data['params'])) diff --git a/admin/models/language_translation.php b/admin/models/language_translation.php index 55f76914a..18e7bb8b1 100644 --- a/admin/models/language_translation.php +++ b/admin/models/language_translation.php @@ -134,7 +134,7 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -385,7 +385,7 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -675,7 +675,7 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -807,7 +807,7 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the translation items to data. if (isset($data['translation']) && is_array($data['translation'])) diff --git a/admin/models/language_translations.php b/admin/models/language_translations.php index 9ac2db24e..d967009ce 100644 --- a/admin/models/language_translations.php +++ b/admin/models/language_translations.php @@ -79,7 +79,7 @@ class ComponentbuilderModelLanguage_translations extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -99,7 +99,7 @@ class ComponentbuilderModelLanguage_translations extends JModelList } } - } + } // show all languages that are already set for this string if (!isset($_export) && ComponentbuilderHelper::checkArray($items)) { @@ -447,7 +447,7 @@ class ComponentbuilderModelLanguage_translations extends JModelList } } return $headers; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/languages.php b/admin/models/languages.php index be03a67fe..7ac496979 100644 --- a/admin/models/languages.php +++ b/admin/models/languages.php @@ -206,7 +206,7 @@ class ComponentbuilderModelLanguages extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -226,7 +226,7 @@ class ComponentbuilderModelLanguages extends JModelList } } - } + } // return items return $items; @@ -399,7 +399,7 @@ class ComponentbuilderModelLanguages extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/layout.php b/admin/models/layout.php index 2d0ff7fc5..f13cf6b42 100644 --- a/admin/models/layout.php +++ b/admin/models/layout.php @@ -140,7 +140,7 @@ class ComponentbuilderModelLayout extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -444,7 +444,7 @@ class ComponentbuilderModelLayout extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -729,7 +729,7 @@ class ComponentbuilderModelLayout extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -861,7 +861,7 @@ class ComponentbuilderModelLayout extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // always reset the snippets $data['snippet'] = 0; diff --git a/admin/models/layouts.php b/admin/models/layouts.php index 00b2c4b8c..b20a8eaae 100644 --- a/admin/models/layouts.php +++ b/admin/models/layouts.php @@ -91,7 +91,7 @@ class ComponentbuilderModelLayouts extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -111,7 +111,7 @@ class ComponentbuilderModelLayouts extends JModelList } } - } + } // set selection value to a translatable value if (ComponentbuilderHelper::checkArray($items)) @@ -122,7 +122,7 @@ class ComponentbuilderModelLayouts extends JModelList $item->add_php_view = $this->selectionTranslation($item->add_php_view, 'add_php_view'); } } - + // return items return $items; @@ -336,7 +336,7 @@ class ComponentbuilderModelLayouts extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/libraries.php b/admin/models/libraries.php index 5c0e89cd0..28984c7fb 100644 --- a/admin/models/libraries.php +++ b/admin/models/libraries.php @@ -91,7 +91,7 @@ class ComponentbuilderModelLibraries extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -115,7 +115,7 @@ class ComponentbuilderModelLibraries extends JModelList } - } + } // set selection value to a translatable value if (ComponentbuilderHelper::checkArray($items)) @@ -126,7 +126,7 @@ class ComponentbuilderModelLibraries extends JModelList $item->type = $this->selectionTranslation($item->type, 'type'); } } - + // return items return $items; @@ -252,7 +252,7 @@ class ComponentbuilderModelLibraries extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/libraries_config.php b/admin/models/libraries_config.php index 37e7c02fc..c109d546c 100644 --- a/admin/models/libraries_config.php +++ b/admin/models/libraries_config.php @@ -77,7 +77,7 @@ class ComponentbuilderModelLibraries_config extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelLibraries_config extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelLibraries_config extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/libraries_files_folders_urls.php b/admin/models/libraries_files_folders_urls.php index d2adafb7e..11905ed66 100644 --- a/admin/models/libraries_files_folders_urls.php +++ b/admin/models/libraries_files_folders_urls.php @@ -77,7 +77,7 @@ class ComponentbuilderModelLibraries_files_folders_urls extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -97,7 +97,7 @@ class ComponentbuilderModelLibraries_files_folders_urls extends JModelList } } - } + } // return items return $items; @@ -161,7 +161,7 @@ class ComponentbuilderModelLibraries_files_folders_urls extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/library.php b/admin/models/library.php index afe350a4f..7c9a26d84 100644 --- a/admin/models/library.php +++ b/admin/models/library.php @@ -142,7 +142,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -429,7 +429,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -781,7 +781,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -913,7 +913,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the libraries items to data. if (isset($data['libraries']) && is_array($data['libraries'])) diff --git a/admin/models/library_config.php b/admin/models/library_config.php index 6462d2720..7598e1b98 100644 --- a/admin/models/library_config.php +++ b/admin/models/library_config.php @@ -97,7 +97,7 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -350,7 +350,7 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -640,7 +640,7 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -772,7 +772,7 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the addconfig items to data. if (isset($data['addconfig']) && is_array($data['addconfig'])) diff --git a/admin/models/library_files_folders_urls.php b/admin/models/library_files_folders_urls.php index fade98358..b96be6beb 100644 --- a/admin/models/library_files_folders_urls.php +++ b/admin/models/library_files_folders_urls.php @@ -129,7 +129,7 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -382,7 +382,7 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -672,7 +672,7 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -804,7 +804,7 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the addfoldersfullpath items to data. if (isset($data['addfoldersfullpath']) && is_array($data['addfoldersfullpath'])) diff --git a/admin/models/server.php b/admin/models/server.php index 3f4059089..6bde802b0 100644 --- a/admin/models/server.php +++ b/admin/models/server.php @@ -228,7 +228,7 @@ class ComponentbuilderModelServer extends JModelAdmin return $items; } return false; - } + } /** * Method to get the record form. @@ -517,7 +517,7 @@ class ComponentbuilderModelServer extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -807,7 +807,7 @@ class ComponentbuilderModelServer extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -939,7 +939,7 @@ class ComponentbuilderModelServer extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Get the basic encryption key. $basickey = ComponentbuilderHelper::getCryptKey('basic'); diff --git a/admin/models/servers.php b/admin/models/servers.php index 3a0d1a649..a86b5821a 100644 --- a/admin/models/servers.php +++ b/admin/models/servers.php @@ -83,7 +83,7 @@ class ComponentbuilderModelServers extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -103,7 +103,7 @@ class ComponentbuilderModelServers extends JModelList } } - } + } // set selection value to a translatable value if (ComponentbuilderHelper::checkArray($items)) @@ -114,7 +114,7 @@ class ComponentbuilderModelServers extends JModelList $item->protocol = $this->selectionTranslation($item->protocol, 'protocol'); } } - + // return items return $items; @@ -371,7 +371,7 @@ class ComponentbuilderModelServers extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/site_view.php b/admin/models/site_view.php index 22cb71904..687c619f4 100644 --- a/admin/models/site_view.php +++ b/admin/models/site_view.php @@ -263,7 +263,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -567,7 +567,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -857,7 +857,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -989,7 +989,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // always reset the snippets $data['snippet'] = 0; diff --git a/admin/models/site_views.php b/admin/models/site_views.php index fe187fe0e..cc9995bc7 100644 --- a/admin/models/site_views.php +++ b/admin/models/site_views.php @@ -103,7 +103,7 @@ class ComponentbuilderModelSite_views extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -123,7 +123,7 @@ class ComponentbuilderModelSite_views extends JModelList } } - } + } // set selection value to a translatable value if (ComponentbuilderHelper::checkArray($items)) @@ -136,7 +136,7 @@ class ComponentbuilderModelSite_views extends JModelList $item->add_custom_button = $this->selectionTranslation($item->add_custom_button, 'add_custom_button'); } } - + // return items return $items; @@ -388,7 +388,7 @@ class ComponentbuilderModelSite_views extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/snippet.php b/admin/models/snippet.php index c04095108..51331aa23 100644 --- a/admin/models/snippet.php +++ b/admin/models/snippet.php @@ -95,7 +95,7 @@ class ComponentbuilderModelSnippet extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -346,7 +346,7 @@ class ComponentbuilderModelSnippet extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -636,7 +636,7 @@ class ComponentbuilderModelSnippet extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -768,7 +768,7 @@ class ComponentbuilderModelSnippet extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // set the contributor details if not set if (strlen($data['contributor_company']) < 1 || strlen($data['contributor_name']) < 1 || strlen($data['contributor_email']) < 3 || strlen($data['contributor_website']) < 3) diff --git a/admin/models/snippet_type.php b/admin/models/snippet_type.php index 8fc97d57e..99a59cc22 100644 --- a/admin/models/snippet_type.php +++ b/admin/models/snippet_type.php @@ -89,7 +89,7 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -340,7 +340,7 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -630,7 +630,7 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -762,7 +762,7 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the Params Items to data if (isset($data['params']) && is_array($data['params'])) diff --git a/admin/models/snippet_types.php b/admin/models/snippet_types.php index 91d4d3283..299ab25fe 100644 --- a/admin/models/snippet_types.php +++ b/admin/models/snippet_types.php @@ -83,7 +83,7 @@ class ComponentbuilderModelSnippet_types extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -103,7 +103,7 @@ class ComponentbuilderModelSnippet_types extends JModelList } } - } + } // return items return $items; @@ -178,7 +178,7 @@ class ComponentbuilderModelSnippet_types extends JModelList } return $query; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/snippets.php b/admin/models/snippets.php index c9c6ad6c9..5d32b0cc5 100644 --- a/admin/models/snippets.php +++ b/admin/models/snippets.php @@ -209,7 +209,7 @@ class ComponentbuilderModelSnippets extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -229,7 +229,7 @@ class ComponentbuilderModelSnippets extends JModelList } } - } + } // return items return $items; @@ -422,7 +422,7 @@ class ComponentbuilderModelSnippets extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/template.php b/admin/models/template.php index f1d256c9c..59e8773fc 100644 --- a/admin/models/template.php +++ b/admin/models/template.php @@ -140,7 +140,7 @@ class ComponentbuilderModelTemplate extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -444,7 +444,7 @@ class ComponentbuilderModelTemplate extends JModelAdmin } } return parent::validate($form, $data, $group); - } + } /** * Method to get the unique fields of this table. @@ -729,7 +729,7 @@ class ComponentbuilderModelTemplate extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -861,7 +861,7 @@ class ComponentbuilderModelTemplate extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // always reset the snippets $data['snippet'] = 0; diff --git a/admin/models/templates.php b/admin/models/templates.php index e949c6d1a..ec0ffaea2 100644 --- a/admin/models/templates.php +++ b/admin/models/templates.php @@ -91,7 +91,7 @@ class ComponentbuilderModelTemplates extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -111,7 +111,7 @@ class ComponentbuilderModelTemplates extends JModelList } } - } + } // set selection value to a translatable value if (ComponentbuilderHelper::checkArray($items)) @@ -122,7 +122,7 @@ class ComponentbuilderModelTemplates extends JModelList $item->add_php_view = $this->selectionTranslation($item->add_php_view, 'add_php_view'); } } - + // return items return $items; @@ -336,7 +336,7 @@ class ComponentbuilderModelTemplates extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/models/validation_rule.php b/admin/models/validation_rule.php index 02de2b902..a3b961937 100644 --- a/admin/models/validation_rule.php +++ b/admin/models/validation_rule.php @@ -126,7 +126,7 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin } return $item; - } + } /** * Method to get the record form. @@ -377,7 +377,7 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin } return $data; - } + } /** * Method to get the unique fields of this table. @@ -667,7 +667,7 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin $this->cleanCache(); return $newIds; - } + } /** * Batch move items to a new category @@ -799,7 +799,7 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin $metadata = new JRegistry; $metadata->loadArray($data['metadata']); $data['metadata'] = (string) $metadata; - } + } // Set the php string to base64 string. if (isset($data['php'])) diff --git a/admin/models/validation_rules.php b/admin/models/validation_rules.php index ce3034210..f2a3c07ef 100644 --- a/admin/models/validation_rules.php +++ b/admin/models/validation_rules.php @@ -83,7 +83,7 @@ class ComponentbuilderModelValidation_rules extends JModelList * @return mixed An array of data items on success, false on failure. */ public function getItems() - { + { // check in items $this->checkInNow(); @@ -103,7 +103,7 @@ class ComponentbuilderModelValidation_rules extends JModelList } } - } + } // return items return $items; @@ -278,7 +278,7 @@ class ComponentbuilderModelValidation_rules extends JModelList return $headers; } return false; - } + } /** * Method to get a store id based on model configuration state. diff --git a/admin/tables/admin_custom_tabs.php b/admin/tables/admin_custom_tabs.php index 871f0998a..d88ba931a 100644 --- a/admin/tables/admin_custom_tabs.php +++ b/admin/tables/admin_custom_tabs.php @@ -37,7 +37,7 @@ class ComponentbuilderTableAdmin_custom_tabs extends JTable parent::__construct('#__componentbuilder_admin_custom_tabs', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.admin_custom_tabs')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.admin_custom_tabs')); } public function bind($array, $ignore = '') diff --git a/admin/tables/admin_fields.php b/admin/tables/admin_fields.php index 59bf69131..28ef203f2 100644 --- a/admin/tables/admin_fields.php +++ b/admin/tables/admin_fields.php @@ -37,7 +37,7 @@ class ComponentbuilderTableAdmin_fields extends JTable parent::__construct('#__componentbuilder_admin_fields', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.admin_fields')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.admin_fields')); } public function bind($array, $ignore = '') diff --git a/admin/tables/admin_fields_conditions.php b/admin/tables/admin_fields_conditions.php index 445ac85f0..49b65a33d 100644 --- a/admin/tables/admin_fields_conditions.php +++ b/admin/tables/admin_fields_conditions.php @@ -37,7 +37,7 @@ class ComponentbuilderTableAdmin_fields_conditions extends JTable parent::__construct('#__componentbuilder_admin_fields_conditions', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.admin_fields_conditions')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.admin_fields_conditions')); } public function bind($array, $ignore = '') diff --git a/admin/tables/admin_fields_relations.php b/admin/tables/admin_fields_relations.php index 62a29ef6e..01826b5b6 100644 --- a/admin/tables/admin_fields_relations.php +++ b/admin/tables/admin_fields_relations.php @@ -37,7 +37,7 @@ class ComponentbuilderTableAdmin_fields_relations extends JTable parent::__construct('#__componentbuilder_admin_fields_relations', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.admin_fields_relations')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.admin_fields_relations')); } public function bind($array, $ignore = '') diff --git a/admin/tables/admin_view.php b/admin/tables/admin_view.php index 54c0057d9..150443336 100644 --- a/admin/tables/admin_view.php +++ b/admin/tables/admin_view.php @@ -37,7 +37,7 @@ class ComponentbuilderTableAdmin_view extends JTable parent::__construct('#__componentbuilder_admin_view', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.admin_view')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.admin_view')); } public function bind($array, $ignore = '') diff --git a/admin/tables/component_admin_views.php b/admin/tables/component_admin_views.php index e2dde9b78..aa3a92485 100644 --- a/admin/tables/component_admin_views.php +++ b/admin/tables/component_admin_views.php @@ -37,7 +37,7 @@ class ComponentbuilderTableComponent_admin_views extends JTable parent::__construct('#__componentbuilder_component_admin_views', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_admin_views')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_admin_views')); } public function bind($array, $ignore = '') diff --git a/admin/tables/component_config.php b/admin/tables/component_config.php index c6b9e373b..9e562d255 100644 --- a/admin/tables/component_config.php +++ b/admin/tables/component_config.php @@ -37,7 +37,7 @@ class ComponentbuilderTableComponent_config extends JTable parent::__construct('#__componentbuilder_component_config', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_config')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_config')); } public function bind($array, $ignore = '') diff --git a/admin/tables/component_custom_admin_menus.php b/admin/tables/component_custom_admin_menus.php index fe67dc1de..0ebad6005 100644 --- a/admin/tables/component_custom_admin_menus.php +++ b/admin/tables/component_custom_admin_menus.php @@ -37,7 +37,7 @@ class ComponentbuilderTableComponent_custom_admin_menus extends JTable parent::__construct('#__componentbuilder_component_custom_admin_menus', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_custom_admin_menus')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_custom_admin_menus')); } public function bind($array, $ignore = '') diff --git a/admin/tables/component_custom_admin_views.php b/admin/tables/component_custom_admin_views.php index ffb4d3ce5..c7206af27 100644 --- a/admin/tables/component_custom_admin_views.php +++ b/admin/tables/component_custom_admin_views.php @@ -37,7 +37,7 @@ class ComponentbuilderTableComponent_custom_admin_views extends JTable parent::__construct('#__componentbuilder_component_custom_admin_views', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_custom_admin_views')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_custom_admin_views')); } public function bind($array, $ignore = '') diff --git a/admin/tables/component_dashboard.php b/admin/tables/component_dashboard.php index 0fe7d88fe..be23bf65b 100644 --- a/admin/tables/component_dashboard.php +++ b/admin/tables/component_dashboard.php @@ -37,7 +37,7 @@ class ComponentbuilderTableComponent_dashboard extends JTable parent::__construct('#__componentbuilder_component_dashboard', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_dashboard')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_dashboard')); } public function bind($array, $ignore = '') diff --git a/admin/tables/component_files_folders.php b/admin/tables/component_files_folders.php index 30ae8df2c..090751724 100644 --- a/admin/tables/component_files_folders.php +++ b/admin/tables/component_files_folders.php @@ -37,7 +37,7 @@ class ComponentbuilderTableComponent_files_folders extends JTable parent::__construct('#__componentbuilder_component_files_folders', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_files_folders')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_files_folders')); } public function bind($array, $ignore = '') diff --git a/admin/tables/component_mysql_tweaks.php b/admin/tables/component_mysql_tweaks.php index e374631ac..ff071ac5e 100644 --- a/admin/tables/component_mysql_tweaks.php +++ b/admin/tables/component_mysql_tweaks.php @@ -37,7 +37,7 @@ class ComponentbuilderTableComponent_mysql_tweaks extends JTable parent::__construct('#__componentbuilder_component_mysql_tweaks', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_mysql_tweaks')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_mysql_tweaks')); } public function bind($array, $ignore = '') diff --git a/admin/tables/component_site_views.php b/admin/tables/component_site_views.php index b5452c0df..8e2ce30f8 100644 --- a/admin/tables/component_site_views.php +++ b/admin/tables/component_site_views.php @@ -37,7 +37,7 @@ class ComponentbuilderTableComponent_site_views extends JTable parent::__construct('#__componentbuilder_component_site_views', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_site_views')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_site_views')); } public function bind($array, $ignore = '') diff --git a/admin/tables/component_updates.php b/admin/tables/component_updates.php index 6290e2ab2..c8e33bf90 100644 --- a/admin/tables/component_updates.php +++ b/admin/tables/component_updates.php @@ -37,7 +37,7 @@ class ComponentbuilderTableComponent_updates extends JTable parent::__construct('#__componentbuilder_component_updates', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_updates')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component_updates')); } public function bind($array, $ignore = '') diff --git a/admin/tables/custom_admin_view.php b/admin/tables/custom_admin_view.php index 43dd40669..2569980e4 100644 --- a/admin/tables/custom_admin_view.php +++ b/admin/tables/custom_admin_view.php @@ -37,7 +37,7 @@ class ComponentbuilderTableCustom_admin_view extends JTable parent::__construct('#__componentbuilder_custom_admin_view', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.custom_admin_view')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.custom_admin_view')); } public function bind($array, $ignore = '') diff --git a/admin/tables/custom_code.php b/admin/tables/custom_code.php index 4f891fe31..de3923e33 100644 --- a/admin/tables/custom_code.php +++ b/admin/tables/custom_code.php @@ -37,7 +37,7 @@ class ComponentbuilderTableCustom_code extends JTable parent::__construct('#__componentbuilder_custom_code', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.custom_code')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.custom_code')); } public function bind($array, $ignore = '') diff --git a/admin/tables/dynamic_get.php b/admin/tables/dynamic_get.php index 546b41364..0dcdc0075 100644 --- a/admin/tables/dynamic_get.php +++ b/admin/tables/dynamic_get.php @@ -37,7 +37,7 @@ class ComponentbuilderTableDynamic_get extends JTable parent::__construct('#__componentbuilder_dynamic_get', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.dynamic_get')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.dynamic_get')); } public function bind($array, $ignore = '') diff --git a/admin/tables/field.php b/admin/tables/field.php index 427d88589..6d2401c1b 100644 --- a/admin/tables/field.php +++ b/admin/tables/field.php @@ -37,7 +37,7 @@ class ComponentbuilderTableField extends JTable parent::__construct('#__componentbuilder_field', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.field')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.field')); } public function bind($array, $ignore = '') diff --git a/admin/tables/fieldtype.php b/admin/tables/fieldtype.php index 3e4ac978d..0bc70bea9 100644 --- a/admin/tables/fieldtype.php +++ b/admin/tables/fieldtype.php @@ -37,7 +37,7 @@ class ComponentbuilderTableFieldtype extends JTable parent::__construct('#__componentbuilder_fieldtype', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.fieldtype')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.fieldtype')); } public function bind($array, $ignore = '') diff --git a/admin/tables/help_document.php b/admin/tables/help_document.php index 8d4815b2a..cc01cd702 100644 --- a/admin/tables/help_document.php +++ b/admin/tables/help_document.php @@ -37,7 +37,7 @@ class ComponentbuilderTableHelp_document extends JTable parent::__construct('#__componentbuilder_help_document', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.help_document')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.help_document')); } public function bind($array, $ignore = '') diff --git a/admin/tables/joomla_component.php b/admin/tables/joomla_component.php index e51f82f6f..6aa9e33ee 100644 --- a/admin/tables/joomla_component.php +++ b/admin/tables/joomla_component.php @@ -37,7 +37,7 @@ class ComponentbuilderTableJoomla_component extends JTable parent::__construct('#__componentbuilder_joomla_component', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.joomla_component')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.joomla_component')); } public function bind($array, $ignore = '') diff --git a/admin/tables/language.php b/admin/tables/language.php index d09e5e490..b84563987 100644 --- a/admin/tables/language.php +++ b/admin/tables/language.php @@ -37,7 +37,7 @@ class ComponentbuilderTableLanguage extends JTable parent::__construct('#__componentbuilder_language', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.language')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.language')); } public function bind($array, $ignore = '') diff --git a/admin/tables/language_translation.php b/admin/tables/language_translation.php index 1d71961e1..623eecd69 100644 --- a/admin/tables/language_translation.php +++ b/admin/tables/language_translation.php @@ -37,7 +37,7 @@ class ComponentbuilderTableLanguage_translation extends JTable parent::__construct('#__componentbuilder_language_translation', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.language_translation')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.language_translation')); } public function bind($array, $ignore = '') diff --git a/admin/tables/layout.php b/admin/tables/layout.php index 864facaa2..727ef0b3f 100644 --- a/admin/tables/layout.php +++ b/admin/tables/layout.php @@ -37,7 +37,7 @@ class ComponentbuilderTableLayout extends JTable parent::__construct('#__componentbuilder_layout', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.layout')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.layout')); } public function bind($array, $ignore = '') diff --git a/admin/tables/library.php b/admin/tables/library.php index 8bb2983c4..14f024086 100644 --- a/admin/tables/library.php +++ b/admin/tables/library.php @@ -37,7 +37,7 @@ class ComponentbuilderTableLibrary extends JTable parent::__construct('#__componentbuilder_library', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.library')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.library')); } public function bind($array, $ignore = '') diff --git a/admin/tables/library_config.php b/admin/tables/library_config.php index 6621b7214..b016fc649 100644 --- a/admin/tables/library_config.php +++ b/admin/tables/library_config.php @@ -37,7 +37,7 @@ class ComponentbuilderTableLibrary_config extends JTable parent::__construct('#__componentbuilder_library_config', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.library_config')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.library_config')); } public function bind($array, $ignore = '') diff --git a/admin/tables/library_files_folders_urls.php b/admin/tables/library_files_folders_urls.php index 42c200bad..a5e6a383b 100644 --- a/admin/tables/library_files_folders_urls.php +++ b/admin/tables/library_files_folders_urls.php @@ -37,7 +37,7 @@ class ComponentbuilderTableLibrary_files_folders_urls extends JTable parent::__construct('#__componentbuilder_library_files_folders_urls', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.library_files_folders_urls')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.library_files_folders_urls')); } public function bind($array, $ignore = '') diff --git a/admin/tables/server.php b/admin/tables/server.php index b1bf88673..7db464156 100644 --- a/admin/tables/server.php +++ b/admin/tables/server.php @@ -37,7 +37,7 @@ class ComponentbuilderTableServer extends JTable parent::__construct('#__componentbuilder_server', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.server')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.server')); } public function bind($array, $ignore = '') diff --git a/admin/tables/site_view.php b/admin/tables/site_view.php index f5471fd70..177c72261 100644 --- a/admin/tables/site_view.php +++ b/admin/tables/site_view.php @@ -37,7 +37,7 @@ class ComponentbuilderTableSite_view extends JTable parent::__construct('#__componentbuilder_site_view', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.site_view')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.site_view')); } public function bind($array, $ignore = '') diff --git a/admin/tables/snippet.php b/admin/tables/snippet.php index 4297245d9..835eef950 100644 --- a/admin/tables/snippet.php +++ b/admin/tables/snippet.php @@ -37,7 +37,7 @@ class ComponentbuilderTableSnippet extends JTable parent::__construct('#__componentbuilder_snippet', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.snippet')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.snippet')); } public function bind($array, $ignore = '') diff --git a/admin/tables/snippet_type.php b/admin/tables/snippet_type.php index ce1290531..bdaa22a63 100644 --- a/admin/tables/snippet_type.php +++ b/admin/tables/snippet_type.php @@ -37,7 +37,7 @@ class ComponentbuilderTableSnippet_type extends JTable parent::__construct('#__componentbuilder_snippet_type', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.snippet_type')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.snippet_type')); } public function bind($array, $ignore = '') diff --git a/admin/tables/template.php b/admin/tables/template.php index c64b3359d..965f5ed2c 100644 --- a/admin/tables/template.php +++ b/admin/tables/template.php @@ -37,7 +37,7 @@ class ComponentbuilderTableTemplate extends JTable parent::__construct('#__componentbuilder_template', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.template')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.template')); } public function bind($array, $ignore = '') diff --git a/admin/tables/validation_rule.php b/admin/tables/validation_rule.php index f3eec7833..4076e4261 100644 --- a/admin/tables/validation_rule.php +++ b/admin/tables/validation_rule.php @@ -37,7 +37,7 @@ class ComponentbuilderTableValidation_rule extends JTable parent::__construct('#__componentbuilder_validation_rule', 'id', $db); // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.validation_rule')); + JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.validation_rule')); } public function bind($array, $ignore = '') diff --git a/admin/views/admin_custom_tabs/view.html.php b/admin/views/admin_custom_tabs/view.html.php index 774a1d324..e3caef21d 100644 --- a/admin/views/admin_custom_tabs/view.html.php +++ b/admin/views/admin_custom_tabs/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewAdmin_custom_tabs extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_ADMIN_CUSTOM_TABS_NEW' : 'COM_COMPONENTBUILDER_ADMIN_CUSTOM_TABS_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_custom_tabs.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_custom_tabs.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/admin_custom_tabs/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/admin_fields/view.html.php b/admin/views/admin_fields/view.html.php index 1d64c89ea..84458ade1 100644 --- a/admin/views/admin_fields/view.html.php +++ b/admin/views/admin_fields/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewAdmin_fields extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_ADMIN_FIELDS_NEW' : 'COM_COMPONENTBUILDER_ADMIN_FIELDS_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_fields.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_fields.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/admin_fields/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/admin_fields_conditions/view.html.php b/admin/views/admin_fields_conditions/view.html.php index 9419e9c9e..f5c2732fe 100644 --- a/admin/views/admin_fields_conditions/view.html.php +++ b/admin/views/admin_fields_conditions/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewAdmin_fields_conditions extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_NEW' : 'COM_COMPONENTBUILDER_ADMIN_FIELDS_CONDITIONS_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_fields_conditions.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/admin_fields_conditions/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/admin_fields_relations/view.html.php b/admin/views/admin_fields_relations/view.html.php index 83e431e4c..bac0e2a72 100644 --- a/admin/views/admin_fields_relations/view.html.php +++ b/admin/views/admin_fields_relations/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewAdmin_fields_relations extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_NEW' : 'COM_COMPONENTBUILDER_ADMIN_FIELDS_RELATIONS_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_fields_relations.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/admin_fields_relations/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/admin_view/view.html.php b/admin/views/admin_view/view.html.php index a9f8235f0..b36892483 100644 --- a/admin/views/admin_view/view.html.php +++ b/admin/views/admin_view/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewAdmin_view extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_ADMIN_VIEW_NEW' : 'COM_COMPONENTBUILDER_ADMIN_VIEW_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_view.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/admin_view/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/admin_views/tmpl/default_foot.php b/admin/views/admin_views/tmpl/default_foot.php index ab9d66423..d17d9bd3f 100644 --- a/admin/views/admin_views/tmpl/default_foot.php +++ b/admin/views/admin_views/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/admin_views/tmpl/default_head.php b/admin/views/admin_views/tmpl/default_head.php index 8d1afa6f2..687cee5df 100644 --- a/admin/views/admin_views/tmpl/default_head.php +++ b/admin/views/admin_views/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/admin_views/view.html.php b/admin/views/admin_views/view.html.php index e5e28137b..6af305d65 100644 --- a/admin/views/admin_views/view.html.php +++ b/admin/views/admin_views/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewAdmin_views extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -131,7 +131,7 @@ class ComponentbuilderViewAdmin_views extends JViewLegacy { JToolBarHelper::custom('admin_views.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); } - } + } if ($this->canDo->get('core.import') && $this->canDo->get('admin_view.import')) { @@ -182,7 +182,7 @@ class ComponentbuilderViewAdmin_views extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set Add Fadein Selection $this->add_fadeinOptions = $this->getTheAdd_fadeinSelections(); diff --git a/admin/views/admins_custom_tabs/tmpl/default_foot.php b/admin/views/admins_custom_tabs/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/admins_custom_tabs/tmpl/default_foot.php +++ b/admin/views/admins_custom_tabs/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/admins_custom_tabs/tmpl/default_head.php b/admin/views/admins_custom_tabs/tmpl/default_head.php index ffd6766e5..1607e393b 100644 --- a/admin/views/admins_custom_tabs/tmpl/default_head.php +++ b/admin/views/admins_custom_tabs/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/admins_custom_tabs/view.html.php b/admin/views/admins_custom_tabs/view.html.php index 4cde57136..6a22de723 100644 --- a/admin/views/admins_custom_tabs/view.html.php +++ b/admin/views/admins_custom_tabs/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewAdmins_custom_tabs extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewAdmins_custom_tabs extends JViewLegacy { JToolbarHelper::trash('admins_custom_tabs.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('admins_custom_tabs'); @@ -172,7 +172,7 @@ class ComponentbuilderViewAdmins_custom_tabs extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/admins_fields/tmpl/default_foot.php b/admin/views/admins_fields/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/admins_fields/tmpl/default_foot.php +++ b/admin/views/admins_fields/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/admins_fields/tmpl/default_head.php b/admin/views/admins_fields/tmpl/default_head.php index 1f6462cc7..112069794 100644 --- a/admin/views/admins_fields/tmpl/default_head.php +++ b/admin/views/admins_fields/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/admins_fields/view.html.php b/admin/views/admins_fields/view.html.php index 45bd57e04..46a24546a 100644 --- a/admin/views/admins_fields/view.html.php +++ b/admin/views/admins_fields/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewAdmins_fields extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewAdmins_fields extends JViewLegacy { JToolbarHelper::trash('admins_fields.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('admins_fields'); @@ -172,7 +172,7 @@ class ComponentbuilderViewAdmins_fields extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/admins_fields_conditions/tmpl/default_foot.php b/admin/views/admins_fields_conditions/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/admins_fields_conditions/tmpl/default_foot.php +++ b/admin/views/admins_fields_conditions/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/admins_fields_conditions/tmpl/default_head.php b/admin/views/admins_fields_conditions/tmpl/default_head.php index 6a91687b4..5058211df 100644 --- a/admin/views/admins_fields_conditions/tmpl/default_head.php +++ b/admin/views/admins_fields_conditions/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/admins_fields_conditions/view.html.php b/admin/views/admins_fields_conditions/view.html.php index 8bb9d47bb..3ba6c77cd 100644 --- a/admin/views/admins_fields_conditions/view.html.php +++ b/admin/views/admins_fields_conditions/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewAdmins_fields_conditions extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewAdmins_fields_conditions extends JViewLegacy { JToolbarHelper::trash('admins_fields_conditions.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('admins_fields_conditions'); @@ -172,7 +172,7 @@ class ComponentbuilderViewAdmins_fields_conditions extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/admins_fields_relations/tmpl/default_foot.php b/admin/views/admins_fields_relations/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/admins_fields_relations/tmpl/default_foot.php +++ b/admin/views/admins_fields_relations/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/admins_fields_relations/tmpl/default_head.php b/admin/views/admins_fields_relations/tmpl/default_head.php index e33d9b665..3a6dedc79 100644 --- a/admin/views/admins_fields_relations/tmpl/default_head.php +++ b/admin/views/admins_fields_relations/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/admins_fields_relations/view.html.php b/admin/views/admins_fields_relations/view.html.php index cacd36d86..3a4e5da48 100644 --- a/admin/views/admins_fields_relations/view.html.php +++ b/admin/views/admins_fields_relations/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewAdmins_fields_relations extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewAdmins_fields_relations extends JViewLegacy { JToolbarHelper::trash('admins_fields_relations.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('admins_fields_relations'); @@ -172,7 +172,7 @@ class ComponentbuilderViewAdmins_fields_relations extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/compiler/tmpl/default.php b/admin/views/compiler/tmpl/default.php index 05f9674fa..2b7131a85 100644 --- a/admin/views/compiler/tmpl/default.php +++ b/admin/views/compiler/tmpl/default.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); $this->app->input->set('hidemainmenu', false); $selectNotice = '

' . JText::_('COM_COMPONENTBUILDER_HI') . ' ' . $this->user->name . '

'; diff --git a/admin/views/compiler/view.html.php b/admin/views/compiler/view.html.php index fd789d46d..936c58a19 100644 --- a/admin/views/compiler/view.html.php +++ b/admin/views/compiler/view.html.php @@ -172,7 +172,7 @@ class ComponentbuilderViewCompiler extends JViewLegacy // Load the header checker class. require_once( JPATH_COMPONENT_ADMINISTRATOR.'/helpers/headercheck.php' ); // Initialize the header checker. - $HeaderCheck = new componentbuilderHeaderCheck; + $HeaderCheck = new componentbuilderHeaderCheck; // Load uikit options. $uikit = $this->params->get('uikit_load'); @@ -217,7 +217,7 @@ class ComponentbuilderViewCompiler extends JViewLegacy } } } - } + } // add marked library $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/custom/marked.js"); // add the document default css file @@ -227,7 +227,7 @@ class ComponentbuilderViewCompiler extends JViewLegacy .j-sidebar-container { margin: -37px 0 0 -1px !important; } - "); + "); // Set the Custom JS script to view $this->document->addScriptDeclaration(" function getComponentDetails_server(id){ diff --git a/admin/views/component_admin_views/view.html.php b/admin/views/component_admin_views/view.html.php index 1a0820ef9..84e4c0417 100644 --- a/admin/views/component_admin_views/view.html.php +++ b/admin/views/component_admin_views/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewComponent_admin_views extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_admin_views.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_admin_views.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/component_admin_views/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/component_config/view.html.php b/admin/views/component_config/view.html.php index eaf094e58..7f6823cad 100644 --- a/admin/views/component_config/view.html.php +++ b/admin/views/component_config/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewComponent_config extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_CONFIG_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_CONFIG_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_config.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_config.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/component_config/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/component_custom_admin_menus/view.html.php b/admin/views/component_custom_admin_menus/view.html.php index 0e9c6fbeb..927a52b31 100644 --- a/admin/views/component_custom_admin_menus/view.html.php +++ b/admin/views/component_custom_admin_menus/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewComponent_custom_admin_menus extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_MENUS_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_custom_admin_menus.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_custom_admin_menus.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/component_custom_admin_menus/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/component_custom_admin_views/view.html.php b/admin/views/component_custom_admin_views/view.html.php index 62c370241..f4122fa0a 100644 --- a/admin/views/component_custom_admin_views/view.html.php +++ b/admin/views/component_custom_admin_views/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewComponent_custom_admin_views extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_custom_admin_views.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_custom_admin_views.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/component_custom_admin_views/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/component_dashboard/view.html.php b/admin/views/component_dashboard/view.html.php index 7831405e6..237c1ea24 100644 --- a/admin/views/component_dashboard/view.html.php +++ b/admin/views/component_dashboard/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewComponent_dashboard extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_dashboard.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_dashboard.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/component_dashboard/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/component_files_folders/view.html.php b/admin/views/component_files_folders/view.html.php index 724a57f20..f585e72d9 100644 --- a/admin/views/component_files_folders/view.html.php +++ b/admin/views/component_files_folders/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewComponent_files_folders extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_FILES_FOLDERS_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_files_folders.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_files_folders.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/component_files_folders/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/component_mysql_tweaks/view.html.php b/admin/views/component_mysql_tweaks/view.html.php index 214f987a5..212dfb927 100644 --- a/admin/views/component_mysql_tweaks/view.html.php +++ b/admin/views/component_mysql_tweaks/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewComponent_mysql_tweaks extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_MYSQL_TWEAKS_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_mysql_tweaks.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_mysql_tweaks.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/component_mysql_tweaks/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/component_site_views/view.html.php b/admin/views/component_site_views/view.html.php index 5384ad281..2163746af 100644 --- a/admin/views/component_site_views/view.html.php +++ b/admin/views/component_site_views/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewComponent_site_views extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_site_views.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_site_views.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/component_site_views/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/component_updates/view.html.php b/admin/views/component_updates/view.html.php index fa6f40c6e..2d0027d0d 100644 --- a/admin/views/component_updates/view.html.php +++ b/admin/views/component_updates/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewComponent_updates extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_UPDATES_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_UPDATES_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_updates.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component_updates.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/component_updates/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/componentbuilder/tmpl/default_issues_the_closed_issues_on_github.php b/admin/views/componentbuilder/tmpl/default_issues_the_closed_issues_on_github.php index 7912e142b..88a777632 100644 --- a/admin/views/componentbuilder/tmpl/default_issues_the_closed_issues_on_github.php +++ b/admin/views/componentbuilder/tmpl/default_issues_the_closed_issues_on_github.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> github->closedissues; ?> diff --git a/admin/views/componentbuilder/tmpl/default_issues_the_open_issues_on_github.php b/admin/views/componentbuilder/tmpl/default_issues_the_open_issues_on_github.php index fd67f8051..4af8b6c7c 100644 --- a/admin/views/componentbuilder/tmpl/default_issues_the_open_issues_on_github.php +++ b/admin/views/componentbuilder/tmpl/default_issues_the_open_issues_on_github.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> github->openissues; ?> diff --git a/admin/views/componentbuilder/tmpl/default_notice_board_vast_development_method.php b/admin/views/componentbuilder/tmpl/default_notice_board_vast_development_method.php index 925362dee..75a674c95 100644 --- a/admin/views/componentbuilder/tmpl/default_notice_board_vast_development_method.php +++ b/admin/views/componentbuilder/tmpl/default_notice_board_vast_development_method.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> noticeboard; ?> diff --git a/admin/views/componentbuilder/tmpl/default_readme_information.php b/admin/views/componentbuilder/tmpl/default_readme_information.php index 7bb760876..bef0feeb2 100644 --- a/admin/views/componentbuilder/tmpl/default_readme_information.php +++ b/admin/views/componentbuilder/tmpl/default_readme_information.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> readme; ?> diff --git a/admin/views/componentbuilder/tmpl/default_releases_information.php b/admin/views/componentbuilder/tmpl/default_releases_information.php index c5c5593ed..d12056174 100644 --- a/admin/views/componentbuilder/tmpl/default_releases_information.php +++ b/admin/views/componentbuilder/tmpl/default_releases_information.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> github->tagreleases; ?> diff --git a/admin/views/componentbuilder/tmpl/default_wiki_tutorials.php b/admin/views/componentbuilder/tmpl/default_wiki_tutorials.php index 09a2cf073..db9c14543 100644 --- a/admin/views/componentbuilder/tmpl/default_wiki_tutorials.php +++ b/admin/views/componentbuilder/tmpl/default_wiki_tutorials.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> wiki; ?> diff --git a/admin/views/components_admin_views/tmpl/default_foot.php b/admin/views/components_admin_views/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/components_admin_views/tmpl/default_foot.php +++ b/admin/views/components_admin_views/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_admin_views/tmpl/default_head.php b/admin/views/components_admin_views/tmpl/default_head.php index ae6d15616..4e09abb9a 100644 --- a/admin/views/components_admin_views/tmpl/default_head.php +++ b/admin/views/components_admin_views/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_admin_views/view.html.php b/admin/views/components_admin_views/view.html.php index 3cfd206e9..a91cc2086 100644 --- a/admin/views/components_admin_views/view.html.php +++ b/admin/views/components_admin_views/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewComponents_admin_views extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewComponents_admin_views extends JViewLegacy { JToolbarHelper::trash('components_admin_views.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('components_admin_views'); @@ -172,7 +172,7 @@ class ComponentbuilderViewComponents_admin_views extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/components_config/tmpl/default_foot.php b/admin/views/components_config/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/components_config/tmpl/default_foot.php +++ b/admin/views/components_config/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_config/tmpl/default_head.php b/admin/views/components_config/tmpl/default_head.php index ab35dacc4..e02016513 100644 --- a/admin/views/components_config/tmpl/default_head.php +++ b/admin/views/components_config/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_config/view.html.php b/admin/views/components_config/view.html.php index 5eceb65ce..3846d7e06 100644 --- a/admin/views/components_config/view.html.php +++ b/admin/views/components_config/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewComponents_config extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewComponents_config extends JViewLegacy { JToolbarHelper::trash('components_config.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('components_config'); @@ -172,7 +172,7 @@ class ComponentbuilderViewComponents_config extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/components_custom_admin_menus/tmpl/default_foot.php b/admin/views/components_custom_admin_menus/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/components_custom_admin_menus/tmpl/default_foot.php +++ b/admin/views/components_custom_admin_menus/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_custom_admin_menus/tmpl/default_head.php b/admin/views/components_custom_admin_menus/tmpl/default_head.php index ff82747a8..b2a6d9db1 100644 --- a/admin/views/components_custom_admin_menus/tmpl/default_head.php +++ b/admin/views/components_custom_admin_menus/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_custom_admin_menus/view.html.php b/admin/views/components_custom_admin_menus/view.html.php index 95f47a0fb..e7cb80d38 100644 --- a/admin/views/components_custom_admin_menus/view.html.php +++ b/admin/views/components_custom_admin_menus/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewComponents_custom_admin_menus extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewComponents_custom_admin_menus extends JViewLegacy { JToolbarHelper::trash('components_custom_admin_menus.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('components_custom_admin_menus'); @@ -172,7 +172,7 @@ class ComponentbuilderViewComponents_custom_admin_menus extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/components_custom_admin_views/tmpl/default_foot.php b/admin/views/components_custom_admin_views/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/components_custom_admin_views/tmpl/default_foot.php +++ b/admin/views/components_custom_admin_views/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_custom_admin_views/tmpl/default_head.php b/admin/views/components_custom_admin_views/tmpl/default_head.php index 32478823d..1a31bd65a 100644 --- a/admin/views/components_custom_admin_views/tmpl/default_head.php +++ b/admin/views/components_custom_admin_views/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_custom_admin_views/view.html.php b/admin/views/components_custom_admin_views/view.html.php index fc65c5e08..5f79b2937 100644 --- a/admin/views/components_custom_admin_views/view.html.php +++ b/admin/views/components_custom_admin_views/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewComponents_custom_admin_views extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewComponents_custom_admin_views extends JViewLegacy { JToolbarHelper::trash('components_custom_admin_views.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('components_custom_admin_views'); @@ -172,7 +172,7 @@ class ComponentbuilderViewComponents_custom_admin_views extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/components_dashboard/tmpl/default_foot.php b/admin/views/components_dashboard/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/components_dashboard/tmpl/default_foot.php +++ b/admin/views/components_dashboard/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_dashboard/tmpl/default_head.php b/admin/views/components_dashboard/tmpl/default_head.php index f2a211afa..9f491183f 100644 --- a/admin/views/components_dashboard/tmpl/default_head.php +++ b/admin/views/components_dashboard/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_dashboard/view.html.php b/admin/views/components_dashboard/view.html.php index 3d729a260..63a51144f 100644 --- a/admin/views/components_dashboard/view.html.php +++ b/admin/views/components_dashboard/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewComponents_dashboard extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewComponents_dashboard extends JViewLegacy { JToolbarHelper::trash('components_dashboard.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('components_dashboard'); @@ -172,7 +172,7 @@ class ComponentbuilderViewComponents_dashboard extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/components_files_folders/tmpl/default_foot.php b/admin/views/components_files_folders/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/components_files_folders/tmpl/default_foot.php +++ b/admin/views/components_files_folders/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_files_folders/tmpl/default_head.php b/admin/views/components_files_folders/tmpl/default_head.php index 83655b6e0..996f977d1 100644 --- a/admin/views/components_files_folders/tmpl/default_head.php +++ b/admin/views/components_files_folders/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_files_folders/view.html.php b/admin/views/components_files_folders/view.html.php index 64e7af691..e7dde81a0 100644 --- a/admin/views/components_files_folders/view.html.php +++ b/admin/views/components_files_folders/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewComponents_files_folders extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewComponents_files_folders extends JViewLegacy { JToolbarHelper::trash('components_files_folders.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('components_files_folders'); @@ -172,7 +172,7 @@ class ComponentbuilderViewComponents_files_folders extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/components_mysql_tweaks/tmpl/default_foot.php b/admin/views/components_mysql_tweaks/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/components_mysql_tweaks/tmpl/default_foot.php +++ b/admin/views/components_mysql_tweaks/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_mysql_tweaks/tmpl/default_head.php b/admin/views/components_mysql_tweaks/tmpl/default_head.php index d86e69c47..5a9b8ecdc 100644 --- a/admin/views/components_mysql_tweaks/tmpl/default_head.php +++ b/admin/views/components_mysql_tweaks/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_mysql_tweaks/view.html.php b/admin/views/components_mysql_tweaks/view.html.php index f8e769a7a..431679930 100644 --- a/admin/views/components_mysql_tweaks/view.html.php +++ b/admin/views/components_mysql_tweaks/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewComponents_mysql_tweaks extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewComponents_mysql_tweaks extends JViewLegacy { JToolbarHelper::trash('components_mysql_tweaks.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('components_mysql_tweaks'); @@ -172,7 +172,7 @@ class ComponentbuilderViewComponents_mysql_tweaks extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/components_site_views/tmpl/default_foot.php b/admin/views/components_site_views/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/components_site_views/tmpl/default_foot.php +++ b/admin/views/components_site_views/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_site_views/tmpl/default_head.php b/admin/views/components_site_views/tmpl/default_head.php index 8cd032e46..4937e1e31 100644 --- a/admin/views/components_site_views/tmpl/default_head.php +++ b/admin/views/components_site_views/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_site_views/view.html.php b/admin/views/components_site_views/view.html.php index d3ce0c22d..60aedb446 100644 --- a/admin/views/components_site_views/view.html.php +++ b/admin/views/components_site_views/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewComponents_site_views extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewComponents_site_views extends JViewLegacy { JToolbarHelper::trash('components_site_views.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('components_site_views'); @@ -172,7 +172,7 @@ class ComponentbuilderViewComponents_site_views extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/components_updates/tmpl/default_foot.php b/admin/views/components_updates/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/components_updates/tmpl/default_foot.php +++ b/admin/views/components_updates/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_updates/tmpl/default_head.php b/admin/views/components_updates/tmpl/default_head.php index 396e49658..1dc368e10 100644 --- a/admin/views/components_updates/tmpl/default_head.php +++ b/admin/views/components_updates/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/components_updates/view.html.php b/admin/views/components_updates/view.html.php index a44f045ab..8b27644d0 100644 --- a/admin/views/components_updates/view.html.php +++ b/admin/views/components_updates/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewComponents_updates extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewComponents_updates extends JViewLegacy { JToolbarHelper::trash('components_updates.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('components_updates'); @@ -172,7 +172,7 @@ class ComponentbuilderViewComponents_updates extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/custom_admin_view/view.html.php b/admin/views/custom_admin_view/view.html.php index cf3f81c38..f2bea7801 100644 --- a/admin/views/custom_admin_view/view.html.php +++ b/admin/views/custom_admin_view/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewCustom_admin_view extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NEW' : 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/custom_admin_view.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/custom_admin_view/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/custom_admin_views/tmpl/default_foot.php b/admin/views/custom_admin_views/tmpl/default_foot.php index 28d09172a..441e399f7 100644 --- a/admin/views/custom_admin_views/tmpl/default_foot.php +++ b/admin/views/custom_admin_views/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/custom_admin_views/tmpl/default_head.php b/admin/views/custom_admin_views/tmpl/default_head.php index d63302f27..02aa18cdf 100644 --- a/admin/views/custom_admin_views/tmpl/default_head.php +++ b/admin/views/custom_admin_views/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/custom_admin_views/view.html.php b/admin/views/custom_admin_views/view.html.php index cae9b26f8..a22fa0abb 100644 --- a/admin/views/custom_admin_views/view.html.php +++ b/admin/views/custom_admin_views/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewCustom_admin_views extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -136,7 +136,7 @@ class ComponentbuilderViewCustom_admin_views extends JViewLegacy { // add Get Snippets button. JToolBarHelper::custom('custom_admin_views.getSnippets', 'search', '', 'COM_COMPONENTBUILDER_GET_SNIPPETS', false); - } + } if ($this->canDo->get('core.import') && $this->canDo->get('custom_admin_view.import')) { @@ -187,7 +187,7 @@ class ComponentbuilderViewCustom_admin_views extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set Main Get Name Selection $this->main_getNameOptions = JFormHelper::loadFieldType('Maingets')->getOptions(); diff --git a/admin/views/custom_code/view.html.php b/admin/views/custom_code/view.html.php index 07d1d7892..3bc89632b 100644 --- a/admin/views/custom_code/view.html.php +++ b/admin/views/custom_code/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewCustom_code extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_CUSTOM_CODE_NEW' : 'COM_COMPONENTBUILDER_CUSTOM_CODE_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/custom_code.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/custom_code/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/custom_codes/tmpl/default_foot.php b/admin/views/custom_codes/tmpl/default_foot.php index 7b3f09f5e..3f898ecb2 100644 --- a/admin/views/custom_codes/tmpl/default_foot.php +++ b/admin/views/custom_codes/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/custom_codes/tmpl/default_head.php b/admin/views/custom_codes/tmpl/default_head.php index 187625970..80c5d95d0 100644 --- a/admin/views/custom_codes/tmpl/default_head.php +++ b/admin/views/custom_codes/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/custom_codes/view.html.php b/admin/views/custom_codes/view.html.php index 7c03cd6e5..0370cfe3b 100644 --- a/admin/views/custom_codes/view.html.php +++ b/admin/views/custom_codes/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -131,7 +131,7 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy { JToolBarHelper::custom('custom_codes.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); } - } + } if ($this->canDo->get('core.import') && $this->canDo->get('custom_code.import')) { @@ -182,7 +182,7 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set Component System Name Selection $this->componentSystem_nameOptions = JFormHelper::loadFieldType('Component')->getOptions(); diff --git a/admin/views/dynamic_get/view.html.php b/admin/views/dynamic_get/view.html.php index a6f403292..f162f73dc 100644 --- a/admin/views/dynamic_get/view.html.php +++ b/admin/views/dynamic_get/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewDynamic_get extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_DYNAMIC_GET_NEW' : 'COM_COMPONENTBUILDER_DYNAMIC_GET_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/dynamic_get.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/dynamic_get/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/dynamic_gets/tmpl/default_foot.php b/admin/views/dynamic_gets/tmpl/default_foot.php index ab9d66423..d17d9bd3f 100644 --- a/admin/views/dynamic_gets/tmpl/default_foot.php +++ b/admin/views/dynamic_gets/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/dynamic_gets/tmpl/default_head.php b/admin/views/dynamic_gets/tmpl/default_head.php index 5fda53feb..33a968c4c 100644 --- a/admin/views/dynamic_gets/tmpl/default_head.php +++ b/admin/views/dynamic_gets/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/dynamic_gets/view.html.php b/admin/views/dynamic_gets/view.html.php index 7b2e53169..ee5fb6135 100644 --- a/admin/views/dynamic_gets/view.html.php +++ b/admin/views/dynamic_gets/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewDynamic_gets extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -131,7 +131,7 @@ class ComponentbuilderViewDynamic_gets extends JViewLegacy { JToolBarHelper::custom('dynamic_gets.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); } - } + } if ($this->canDo->get('core.import') && $this->canDo->get('dynamic_get.import')) { @@ -182,7 +182,7 @@ class ComponentbuilderViewDynamic_gets extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set Main Source Selection $this->main_sourceOptions = $this->getTheMain_sourceSelections(); diff --git a/admin/views/field/view.html.php b/admin/views/field/view.html.php index 8b3920f5a..e0288c97f 100644 --- a/admin/views/field/view.html.php +++ b/admin/views/field/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewField extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_FIELD_NEW' : 'COM_COMPONENTBUILDER_FIELD_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/field.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/field/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/fields/tmpl/default_foot.php b/admin/views/fields/tmpl/default_foot.php index cb0599b7c..bc3f2ef80 100644 --- a/admin/views/fields/tmpl/default_foot.php +++ b/admin/views/fields/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/fields/tmpl/default_head.php b/admin/views/fields/tmpl/default_head.php index a11a80003..0542386a0 100644 --- a/admin/views/fields/tmpl/default_head.php +++ b/admin/views/fields/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/fields/view.html.php b/admin/views/fields/view.html.php index 66ff0f501..6e532c68a 100644 --- a/admin/views/fields/view.html.php +++ b/admin/views/fields/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewFields extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -131,7 +131,7 @@ class ComponentbuilderViewFields extends JViewLegacy { JToolBarHelper::custom('fields.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); } - } + } if ($this->canDo->get('core.import') && $this->canDo->get('field.import')) { @@ -199,7 +199,7 @@ class ComponentbuilderViewFields extends JViewLegacy 'batch[category]', JHtml::_('select.options', JHtml::_('category.options', 'com_componentbuilder.fields'), 'value', 'text') ); - } + } // Set Fieldtype Name Selection $this->fieldtypeNameOptions = JFormHelper::loadFieldType('Fieldtypes')->getOptions(); diff --git a/admin/views/fieldtype/view.html.php b/admin/views/fieldtype/view.html.php index d32096c3e..1eb003857 100644 --- a/admin/views/fieldtype/view.html.php +++ b/admin/views/fieldtype/view.html.php @@ -188,7 +188,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_FIELDTYPE_NEW' : 'COM_COMPONENTBUILDER_FIELDTYPE_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/fieldtype.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/fieldtype.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add the CSS for Footable $this->document->addStyleSheet('https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'); diff --git a/admin/views/fieldtypes/tmpl/default_foot.php b/admin/views/fieldtypes/tmpl/default_foot.php index ab9d66423..d17d9bd3f 100644 --- a/admin/views/fieldtypes/tmpl/default_foot.php +++ b/admin/views/fieldtypes/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/fieldtypes/tmpl/default_head.php b/admin/views/fieldtypes/tmpl/default_head.php index 219a66d8b..240ec9128 100644 --- a/admin/views/fieldtypes/tmpl/default_head.php +++ b/admin/views/fieldtypes/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/fieldtypes/view.html.php b/admin/views/fieldtypes/view.html.php index bd2b3a458..1d1d476e3 100644 --- a/admin/views/fieldtypes/view.html.php +++ b/admin/views/fieldtypes/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewFieldtypes extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -131,7 +131,7 @@ class ComponentbuilderViewFieldtypes extends JViewLegacy { JToolBarHelper::custom('fieldtypes.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); } - } + } if ($this->canDo->get('core.import') && $this->canDo->get('fieldtype.import')) { @@ -199,7 +199,7 @@ class ComponentbuilderViewFieldtypes extends JViewLegacy 'batch[category]', JHtml::_('select.options', JHtml::_('category.options', 'com_componentbuilder.fieldtypes'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/get_snippets/tmpl/default.php b/admin/views/get_snippets/tmpl/default.php index 1e055f1e3..f3ae4d179 100644 --- a/admin/views/get_snippets/tmpl/default.php +++ b/admin/views/get_snippets/tmpl/default.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); diff --git a/admin/views/get_snippets/view.html.php b/admin/views/get_snippets/view.html.php index 58f08f620..0a23cea33 100644 --- a/admin/views/get_snippets/view.html.php +++ b/admin/views/get_snippets/view.html.php @@ -64,7 +64,7 @@ class ComponentbuilderViewGet_snippets extends JViewLegacy $HeaderCheck = new componentbuilderHeaderCheck; // Add View JavaScript File - $this->document->addScript(JURI::root(true) . "/administrator/components/com_componentbuilder/assets/js/get_snippets.js", (ComponentbuilderHelper::jVersion()->isCompatible("3.8.0")) ? array("version" => "auto") : "text/javascript"); + $this->document->addScript(JURI::root(true) . "/administrator/components/com_componentbuilder/assets/js/get_snippets.js", (ComponentbuilderHelper::jVersion()->isCompatible("3.8.0")) ? array("version" => "auto") : "text/javascript"); // Load uikit options. $uikit = $this->params->get('uikit_load'); @@ -117,7 +117,7 @@ class ComponentbuilderViewGet_snippets extends JViewLegacy } } } - } + } // load the local snippets if (ComponentbuilderHelper::checkArray($this->items)) { @@ -239,7 +239,7 @@ class ComponentbuilderViewGet_snippets extends JViewLegacy $this->document->addScriptDeclaration("var local_snippets = ". json_encode($local_snippets).";"); } // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_componentbuilder/assets/css/get_snippets.css', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_componentbuilder/assets/css/get_snippets.css', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); } /** diff --git a/admin/views/help_document/view.html.php b/admin/views/help_document/view.html.php index 056427512..7d956a70b 100644 --- a/admin/views/help_document/view.html.php +++ b/admin/views/help_document/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewHelp_document extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_HELP_DOCUMENT_NEW' : 'COM_COMPONENTBUILDER_HELP_DOCUMENT_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/help_document.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/help_document.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/help_document/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/help_documents/tmpl/default_foot.php b/admin/views/help_documents/tmpl/default_foot.php index d62662067..9d5a8d9c0 100644 --- a/admin/views/help_documents/tmpl/default_foot.php +++ b/admin/views/help_documents/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/help_documents/tmpl/default_head.php b/admin/views/help_documents/tmpl/default_head.php index 67fb0abd2..22733127d 100644 --- a/admin/views/help_documents/tmpl/default_head.php +++ b/admin/views/help_documents/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/help_documents/view.html.php b/admin/views/help_documents/view.html.php index f7fbe9787..6a7b23439 100644 --- a/admin/views/help_documents/view.html.php +++ b/admin/views/help_documents/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewHelp_documents extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -131,7 +131,7 @@ class ComponentbuilderViewHelp_documents extends JViewLegacy { JToolBarHelper::custom('help_documents.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); } - } + } if ($this->canDo->get('core.import') && $this->canDo->get('help_document.import')) { @@ -182,7 +182,7 @@ class ComponentbuilderViewHelp_documents extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set Type Selection $this->typeOptions = $this->getTheTypeSelections(); diff --git a/admin/views/joomla_component/view.html.php b/admin/views/joomla_component/view.html.php index 2bc35dcf8..61889b4d8 100644 --- a/admin/views/joomla_component/view.html.php +++ b/admin/views/joomla_component/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewJoomla_component extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NEW' : 'COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/joomla_component.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/joomla_component/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/joomla_components/tmpl/default_foot.php b/admin/views/joomla_components/tmpl/default_foot.php index 28d09172a..441e399f7 100644 --- a/admin/views/joomla_components/tmpl/default_foot.php +++ b/admin/views/joomla_components/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/joomla_components/tmpl/default_head.php b/admin/views/joomla_components/tmpl/default_head.php index 174b41c21..32ec9408d 100644 --- a/admin/views/joomla_components/tmpl/default_head.php +++ b/admin/views/joomla_components/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/joomla_components/view.html.php b/admin/views/joomla_components/view.html.php index 44ab14cf3..46f4d9e00 100644 --- a/admin/views/joomla_components/view.html.php +++ b/admin/views/joomla_components/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewJoomla_components extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->user->authorise('joomla_component.export_jcb_packages', 'com_componentbuilder')) { // add Export JCB Packages button. @@ -151,7 +151,7 @@ class ComponentbuilderViewJoomla_components extends JViewLegacy { // add Import JCB Packages button. JToolBarHelper::custom('joomla_components.smartImport', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_JCB_PACKAGES', false); - } + } if ($this->canDo->get('core.import') && $this->canDo->get('joomla_component.import')) { @@ -202,7 +202,7 @@ class ComponentbuilderViewJoomla_components extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set Companyname Selection $this->companynameOptions = $this->getTheCompanynameSelections(); diff --git a/admin/views/language/view.html.php b/admin/views/language/view.html.php index d77bb5f04..afb4dc922 100644 --- a/admin/views/language/view.html.php +++ b/admin/views/language/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewLanguage extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_LANGUAGE_NEW' : 'COM_COMPONENTBUILDER_LANGUAGE_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/language.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/language.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/language/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/language_translation/view.html.php b/admin/views/language_translation/view.html.php index 374de8bbc..0214d6d2a 100644 --- a/admin/views/language_translation/view.html.php +++ b/admin/views/language_translation/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewLanguage_translation extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_NEW' : 'COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/language_translation.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/language_translation/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); // add JavaScripts diff --git a/admin/views/language_translations/tmpl/default_foot.php b/admin/views/language_translations/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/language_translations/tmpl/default_foot.php +++ b/admin/views/language_translations/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/language_translations/tmpl/default_head.php b/admin/views/language_translations/tmpl/default_head.php index 1abb3de80..f634986d4 100644 --- a/admin/views/language_translations/tmpl/default_head.php +++ b/admin/views/language_translations/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/language_translations/view.html.php b/admin/views/language_translations/view.html.php index 08ad40cdf..5ff808802 100644 --- a/admin/views/language_translations/view.html.php +++ b/admin/views/language_translations/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewLanguage_translations extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -131,7 +131,7 @@ class ComponentbuilderViewLanguage_translations extends JViewLegacy { JToolBarHelper::custom('language_translations.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); } - } + } if ($this->canDo->get('core.import') && $this->canDo->get('language_translation.import')) { @@ -182,7 +182,7 @@ class ComponentbuilderViewLanguage_translations extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/languages/tmpl/default_foot.php b/admin/views/languages/tmpl/default_foot.php index caa8749e7..db893039b 100644 --- a/admin/views/languages/tmpl/default_foot.php +++ b/admin/views/languages/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/languages/tmpl/default_head.php b/admin/views/languages/tmpl/default_head.php index a6b24085d..a425b0955 100644 --- a/admin/views/languages/tmpl/default_head.php +++ b/admin/views/languages/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/languages/view.html.php b/admin/views/languages/view.html.php index 5d5de000c..2308184e6 100644 --- a/admin/views/languages/view.html.php +++ b/admin/views/languages/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewLanguages extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -136,7 +136,7 @@ class ComponentbuilderViewLanguages extends JViewLegacy { // add Build button. JToolBarHelper::custom('languages.buildLanguages', 'joomla', '', 'COM_COMPONENTBUILDER_BUILD', false); - } + } if ($this->canDo->get('core.import') && $this->canDo->get('language.import')) { @@ -187,7 +187,7 @@ class ComponentbuilderViewLanguages extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/layout/view.html.php b/admin/views/layout/view.html.php index e9c7d2e04..a2fd6facf 100644 --- a/admin/views/layout/view.html.php +++ b/admin/views/layout/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewLayout extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_LAYOUT_NEW' : 'COM_COMPONENTBUILDER_LAYOUT_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/layout.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/layout/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/layouts/tmpl/default_foot.php b/admin/views/layouts/tmpl/default_foot.php index ab9d66423..d17d9bd3f 100644 --- a/admin/views/layouts/tmpl/default_foot.php +++ b/admin/views/layouts/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/layouts/tmpl/default_head.php b/admin/views/layouts/tmpl/default_head.php index b0876020b..94c1fbd24 100644 --- a/admin/views/layouts/tmpl/default_head.php +++ b/admin/views/layouts/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/layouts/view.html.php b/admin/views/layouts/view.html.php index 3972bc2be..dd995a1ea 100644 --- a/admin/views/layouts/view.html.php +++ b/admin/views/layouts/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewLayouts extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -136,7 +136,7 @@ class ComponentbuilderViewLayouts extends JViewLegacy { // add Get Snippets button. JToolBarHelper::custom('layouts.getSnippets', 'search', '', 'COM_COMPONENTBUILDER_GET_SNIPPETS', false); - } + } if ($this->canDo->get('core.import') && $this->canDo->get('layout.import')) { @@ -187,7 +187,7 @@ class ComponentbuilderViewLayouts extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set Dynamic Get Name Selection $this->dynamic_getNameOptions = JFormHelper::loadFieldType('Dynamicget')->getOptions(); diff --git a/admin/views/libraries/tmpl/default_foot.php b/admin/views/libraries/tmpl/default_foot.php index 28d09172a..441e399f7 100644 --- a/admin/views/libraries/tmpl/default_foot.php +++ b/admin/views/libraries/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/libraries/tmpl/default_head.php b/admin/views/libraries/tmpl/default_head.php index 9bd908775..4074318e0 100644 --- a/admin/views/libraries/tmpl/default_head.php +++ b/admin/views/libraries/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/libraries/view.html.php b/admin/views/libraries/view.html.php index 3c3cdb3cc..5a2b140b4 100644 --- a/admin/views/libraries/view.html.php +++ b/admin/views/libraries/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewLibraries extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -131,7 +131,7 @@ class ComponentbuilderViewLibraries extends JViewLegacy { // add Get Snippets button. JToolBarHelper::custom('libraries.getSnippets', 'search', '', 'COM_COMPONENTBUILDER_GET_SNIPPETS', false); - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('libraries'); @@ -177,7 +177,7 @@ class ComponentbuilderViewLibraries extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set How Selection $this->howOptions = JFormHelper::loadFieldType('Filebehaviour')->getOptions(); diff --git a/admin/views/libraries_config/tmpl/default_foot.php b/admin/views/libraries_config/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/libraries_config/tmpl/default_foot.php +++ b/admin/views/libraries_config/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/libraries_config/tmpl/default_head.php b/admin/views/libraries_config/tmpl/default_head.php index 2def47e44..a0a5a0c88 100644 --- a/admin/views/libraries_config/tmpl/default_head.php +++ b/admin/views/libraries_config/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/libraries_config/view.html.php b/admin/views/libraries_config/view.html.php index 229f4a2b5..697a21d5b 100644 --- a/admin/views/libraries_config/view.html.php +++ b/admin/views/libraries_config/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewLibraries_config extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewLibraries_config extends JViewLegacy { JToolbarHelper::trash('libraries_config.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('libraries_config'); @@ -172,7 +172,7 @@ class ComponentbuilderViewLibraries_config extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/libraries_files_folders_urls/tmpl/default_foot.php b/admin/views/libraries_files_folders_urls/tmpl/default_foot.php index eabe4e658..297242b41 100644 --- a/admin/views/libraries_files_folders_urls/tmpl/default_foot.php +++ b/admin/views/libraries_files_folders_urls/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/libraries_files_folders_urls/tmpl/default_head.php b/admin/views/libraries_files_folders_urls/tmpl/default_head.php index 5a3d35a2c..af78f160a 100644 --- a/admin/views/libraries_files_folders_urls/tmpl/default_head.php +++ b/admin/views/libraries_files_folders_urls/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/libraries_files_folders_urls/view.html.php b/admin/views/libraries_files_folders_urls/view.html.php index 3da6ed0fb..7404eb2a1 100644 --- a/admin/views/libraries_files_folders_urls/view.html.php +++ b/admin/views/libraries_files_folders_urls/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewLibraries_files_folders_urls extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewLibraries_files_folders_urls extends JViewLegacy { JToolbarHelper::trash('libraries_files_folders_urls.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('libraries_files_folders_urls'); @@ -172,7 +172,7 @@ class ComponentbuilderViewLibraries_files_folders_urls extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/library/view.html.php b/admin/views/library/view.html.php index f4831818d..a9d0cbcb3 100644 --- a/admin/views/library/view.html.php +++ b/admin/views/library/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewLibrary extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_LIBRARY_NEW' : 'COM_COMPONENTBUILDER_LIBRARY_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/library.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/library/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/library_config/view.html.php b/admin/views/library_config/view.html.php index 1855cdd54..3cb35bb89 100644 --- a/admin/views/library_config/view.html.php +++ b/admin/views/library_config/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewLibrary_config extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_LIBRARY_CONFIG_NEW' : 'COM_COMPONENTBUILDER_LIBRARY_CONFIG_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/library_config.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/library_config.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/library_config/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/library_files_folders_urls/view.html.php b/admin/views/library_files_folders_urls/view.html.php index 859e61dce..2b536c487 100644 --- a/admin/views/library_files_folders_urls/view.html.php +++ b/admin/views/library_files_folders_urls/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewLibrary_files_folders_urls extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_NEW' : 'COM_COMPONENTBUILDER_LIBRARY_FILES_FOLDERS_URLS_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/library_files_folders_urls.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/library_files_folders_urls.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/library_files_folders_urls/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/server/view.html.php b/admin/views/server/view.html.php index 785053103..12928f242 100644 --- a/admin/views/server/view.html.php +++ b/admin/views/server/view.html.php @@ -188,7 +188,7 @@ class ComponentbuilderViewServer extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_SERVER_NEW' : 'COM_COMPONENTBUILDER_SERVER_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/server.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/server.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add the CSS for Footable $this->document->addStyleSheet('https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'); diff --git a/admin/views/servers/tmpl/default_foot.php b/admin/views/servers/tmpl/default_foot.php index caa8749e7..db893039b 100644 --- a/admin/views/servers/tmpl/default_foot.php +++ b/admin/views/servers/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/servers/tmpl/default_head.php b/admin/views/servers/tmpl/default_head.php index ef997cac3..16e48635a 100644 --- a/admin/views/servers/tmpl/default_head.php +++ b/admin/views/servers/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/servers/view.html.php b/admin/views/servers/view.html.php index fc9bfd2e1..bf3f9ac9e 100644 --- a/admin/views/servers/view.html.php +++ b/admin/views/servers/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewServers extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -131,7 +131,7 @@ class ComponentbuilderViewServers extends JViewLegacy { JToolBarHelper::custom('servers.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); } - } + } if ($this->canDo->get('core.import') && $this->canDo->get('server.import')) { @@ -182,7 +182,7 @@ class ComponentbuilderViewServers extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set Name Selection $this->nameOptions = $this->getTheNameSelections(); diff --git a/admin/views/site_view/view.html.php b/admin/views/site_view/view.html.php index 4caf3df21..be3f8e647 100644 --- a/admin/views/site_view/view.html.php +++ b/admin/views/site_view/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewSite_view extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_SITE_VIEW_NEW' : 'COM_COMPONENTBUILDER_SITE_VIEW_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/site_view.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/site_view/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/site_views/tmpl/default_foot.php b/admin/views/site_views/tmpl/default_foot.php index 28d09172a..441e399f7 100644 --- a/admin/views/site_views/tmpl/default_foot.php +++ b/admin/views/site_views/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/site_views/tmpl/default_head.php b/admin/views/site_views/tmpl/default_head.php index 93e6966ce..31ddffa89 100644 --- a/admin/views/site_views/tmpl/default_head.php +++ b/admin/views/site_views/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/site_views/view.html.php b/admin/views/site_views/view.html.php index 53c9794f5..d6b43f2fe 100644 --- a/admin/views/site_views/view.html.php +++ b/admin/views/site_views/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewSite_views extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -136,7 +136,7 @@ class ComponentbuilderViewSite_views extends JViewLegacy { // add Get Snippets button. JToolBarHelper::custom('site_views.getSnippets', 'search', '', 'COM_COMPONENTBUILDER_GET_SNIPPETS', false); - } + } if ($this->canDo->get('core.import') && $this->canDo->get('site_view.import')) { @@ -187,7 +187,7 @@ class ComponentbuilderViewSite_views extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set Main Get Name Selection $this->main_getNameOptions = JFormHelper::loadFieldType('Maingets')->getOptions(); diff --git a/admin/views/snippet/view.html.php b/admin/views/snippet/view.html.php index 1141b73a5..0f15ebeb4 100644 --- a/admin/views/snippet/view.html.php +++ b/admin/views/snippet/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewSnippet extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_SNIPPET_NEW' : 'COM_COMPONENTBUILDER_SNIPPET_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/snippet.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/snippet.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/snippet/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/snippet_type/view.html.php b/admin/views/snippet_type/view.html.php index dfe0db139..4bb1581a3 100644 --- a/admin/views/snippet_type/view.html.php +++ b/admin/views/snippet_type/view.html.php @@ -185,7 +185,7 @@ class ComponentbuilderViewSnippet_type extends JViewLegacy $this->document = JFactory::getDocument(); } $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_SNIPPET_TYPE_NEW' : 'COM_COMPONENTBUILDER_SNIPPET_TYPE_EDIT')); - $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/snippet_type.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/snippet_type.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/snippet_type/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); JText::script('view not acceptable. Error'); diff --git a/admin/views/snippet_types/tmpl/default_foot.php b/admin/views/snippet_types/tmpl/default_foot.php index caa8749e7..db893039b 100644 --- a/admin/views/snippet_types/tmpl/default_foot.php +++ b/admin/views/snippet_types/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/snippet_types/tmpl/default_head.php b/admin/views/snippet_types/tmpl/default_head.php index 3d480d63d..f6fb674d2 100644 --- a/admin/views/snippet_types/tmpl/default_head.php +++ b/admin/views/snippet_types/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/snippet_types/view.html.php b/admin/views/snippet_types/view.html.php index 20fcf7d05..7dc9daf83 100644 --- a/admin/views/snippet_types/view.html.php +++ b/admin/views/snippet_types/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewSnippet_types extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -126,7 +126,7 @@ class ComponentbuilderViewSnippet_types extends JViewLegacy { JToolbarHelper::trash('snippet_types.trash'); } - } + } // set help url for this view if found $help_url = ComponentbuilderHelper::getHelpUrl('snippet_types'); @@ -172,7 +172,7 @@ class ComponentbuilderViewSnippet_types extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/admin/views/snippets/tmpl/default_foot.php b/admin/views/snippets/tmpl/default_foot.php index 7b3f09f5e..3f898ecb2 100644 --- a/admin/views/snippets/tmpl/default_foot.php +++ b/admin/views/snippets/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/snippets/tmpl/default_head.php b/admin/views/snippets/tmpl/default_head.php index a9df8f66d..6dc08b4f9 100644 --- a/admin/views/snippets/tmpl/default_head.php +++ b/admin/views/snippets/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/snippets/view.html.php b/admin/views/snippets/view.html.php index 5b6418138..f9eb4711f 100644 --- a/admin/views/snippets/view.html.php +++ b/admin/views/snippets/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewSnippets extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->user->authorise('snippet.share_snippets', 'com_componentbuilder')) { // add Share Snippets button. @@ -141,7 +141,7 @@ class ComponentbuilderViewSnippets extends JViewLegacy { // add Get Snippets button. JToolBarHelper::custom('snippets.getSnippets', 'search', '', 'COM_COMPONENTBUILDER_GET_SNIPPETS', false); - } + } if ($this->canDo->get('core.import') && $this->canDo->get('snippet.import')) { @@ -192,7 +192,7 @@ class ComponentbuilderViewSnippets extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set Type Name Selection $this->typeNameOptions = JFormHelper::loadFieldType('Snippettype')->getOptions(); diff --git a/admin/views/template/view.html.php b/admin/views/template/view.html.php index 5952319a8..8803dadbd 100644 --- a/admin/views/template/view.html.php +++ b/admin/views/template/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewTemplate extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_TEMPLATE_NEW' : 'COM_COMPONENTBUILDER_TEMPLATE_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/template.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/template/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/templates/tmpl/default_foot.php b/admin/views/templates/tmpl/default_foot.php index ab9d66423..d17d9bd3f 100644 --- a/admin/views/templates/tmpl/default_foot.php +++ b/admin/views/templates/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/templates/tmpl/default_head.php b/admin/views/templates/tmpl/default_head.php index 652947e94..875287f8f 100644 --- a/admin/views/templates/tmpl/default_head.php +++ b/admin/views/templates/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/templates/view.html.php b/admin/views/templates/view.html.php index f2694cb3c..3fe48befd 100644 --- a/admin/views/templates/view.html.php +++ b/admin/views/templates/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewTemplates extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -136,7 +136,7 @@ class ComponentbuilderViewTemplates extends JViewLegacy { // add Get Snippets button. JToolBarHelper::custom('templates.getSnippets', 'search', '', 'COM_COMPONENTBUILDER_GET_SNIPPETS', false); - } + } if ($this->canDo->get('core.import') && $this->canDo->get('template.import')) { @@ -187,7 +187,7 @@ class ComponentbuilderViewTemplates extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } // Set Dynamic Get Name Selection $this->dynamic_getNameOptions = JFormHelper::loadFieldType('Dynamicget')->getOptions(); diff --git a/admin/views/validation_rule/view.html.php b/admin/views/validation_rule/view.html.php index 22d639b72..cbb334a0f 100644 --- a/admin/views/validation_rule/view.html.php +++ b/admin/views/validation_rule/view.html.php @@ -187,7 +187,7 @@ class ComponentbuilderViewValidation_rule extends JViewLegacy $this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_VALIDATION_RULE_NEW' : 'COM_COMPONENTBUILDER_VALIDATION_RULE_EDIT')); $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/validation_rule.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); // Add Ajax Token - $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); + $this->document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/validation_rule/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); diff --git a/admin/views/validation_rules/tmpl/default_foot.php b/admin/views/validation_rules/tmpl/default_foot.php index caa8749e7..db893039b 100644 --- a/admin/views/validation_rules/tmpl/default_foot.php +++ b/admin/views/validation_rules/tmpl/default_foot.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/validation_rules/tmpl/default_head.php b/admin/views/validation_rules/tmpl/default_head.php index c9135a336..9a9f0ed68 100644 --- a/admin/views/validation_rules/tmpl/default_head.php +++ b/admin/views/validation_rules/tmpl/default_head.php @@ -10,7 +10,7 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> diff --git a/admin/views/validation_rules/view.html.php b/admin/views/validation_rules/view.html.php index b6763d14d..450f9e482 100644 --- a/admin/views/validation_rules/view.html.php +++ b/admin/views/validation_rules/view.html.php @@ -116,7 +116,7 @@ class ComponentbuilderViewValidation_rules extends JViewLegacy // add the button to the page $dhtml = $layout->render(array('title' => $title)); $bar->appendButton('Custom', $dhtml, 'batch'); - } + } if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) { @@ -131,7 +131,7 @@ class ComponentbuilderViewValidation_rules extends JViewLegacy { JToolBarHelper::custom('validation_rules.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); } - } + } if ($this->canDo->get('core.import') && $this->canDo->get('validation_rule.import')) { @@ -182,7 +182,7 @@ class ComponentbuilderViewValidation_rules extends JViewLegacy 'batch[access]', JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') ); - } + } } /** diff --git a/site/helpers/componentbuilder.php b/site/helpers/componentbuilder.php index 6d4fe670a..97b7514ec 100644 --- a/site/helpers/componentbuilder.php +++ b/site/helpers/componentbuilder.php @@ -25,7 +25,7 @@ abstract class ComponentbuilderHelper { // the Session keeps track of all data related to the current session of this user self::loadSession(); - } + } /** * Locked Libraries (we can not have these change) @@ -4439,7 +4439,7 @@ abstract class ComponentbuilderHelper return $classes; } return false; - } + } /** * Get a variable diff --git a/site/models/api.php b/site/models/api.php index 67033eb34..18698c10e 100644 --- a/site/models/api.php +++ b/site/models/api.php @@ -139,7 +139,7 @@ class ComponentbuilderModelApi extends JModelItem } return $this->_item[$pk]; - } + } /** * Get the uikit needed components @@ -154,7 +154,7 @@ class ComponentbuilderModelApi extends JModelItem return $this->uikitComp; } return false; - } + } public $messages = array(); public $model; @@ -222,5 +222,5 @@ class ComponentbuilderModelApi extends JModelItem // set that the component was not found $this->messages[] = JText::_('COM_COMPONENTBUILDER_COMPONENT_WAS_NOT_FOUND'); return false; - } ###SITE_CUSTOM_GET_FORM_METHOD### + } } diff --git a/site/views/api/tmpl/default.php b/site/views/api/tmpl/default.php index 529b4d713..b70ee6b85 100644 --- a/site/views/api/tmpl/default.php +++ b/site/views/api/tmpl/default.php @@ -10,10 +10,10 @@ */ // No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die('Restricted access'); ?> - +

-
+ diff --git a/site/views/api/view.html.php b/site/views/api/view.html.php index 69d2cd807..0b13c3f40 100644 --- a/site/views/api/view.html.php +++ b/site/views/api/view.html.php @@ -57,7 +57,7 @@ class ComponentbuilderViewApi extends JViewLegacy // Load the header checker class. require_once( JPATH_COMPONENT_SITE.'/helpers/headercheck.php' ); // Initialize the header checker. - $HeaderCheck = new componentbuilderHeaderCheck; + $HeaderCheck = new componentbuilderHeaderCheck; // Load uikit options. $uikit = $this->params->get('uikit_load'); @@ -75,9 +75,9 @@ class ComponentbuilderViewApi extends JViewLegacy if ((!$HeaderCheck->js_loaded('uikit.min') || $uikit == 1) && $uikit != 2 && $uikit != 3) { $this->document->addScript(JURI::root(true) .'/media/com_componentbuilder/uikit-v2/js/uikit'.$size.'.js', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); - } + } // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/components/com_componentbuilder/assets/css/api.css', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); + $this->document->addStyleSheet(JURI::root(true) .'/components/com_componentbuilder/assets/css/api.css', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css'); } /**