From 247812ceb8d1dadf256ba008979a0a650f43cd9f Mon Sep 17 00:00:00 2001 From: aB0t Date: Tue, 9 Apr 2024 13:07:08 +0200 Subject: [PATCH] Release of v1.0.2 --- componentbuilderprivacytabs.php | 11 ++++++----- componentbuilderprivacytabs.xml | 4 ++-- .../en-GB.plg_content_componentbuilderprivacytabs.ini | 2 +- ...GB.plg_content_componentbuilderprivacytabs.sys.ini | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/componentbuilderprivacytabs.php b/componentbuilderprivacytabs.php index 9751314..d732359 100644 --- a/componentbuilderprivacytabs.php +++ b/componentbuilderprivacytabs.php @@ -12,6 +12,7 @@ // No direct access to this file defined('_JEXEC') or die('Restricted access'); +use Joomla\CMS\Factory; use Joomla\CMS\Application\CMSApplication; use Joomla\CMS\Plugin\CMSPlugin; use Joomla\Registry\Registry; @@ -25,7 +26,7 @@ JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/c * Content - Componentbuilder Privacy Tabs plugin. * * @package ComponentbuilderPrivacyTabs - * @since 1.0.1 + * @since 1.0.2 */ class PlgContentComponentbuilderPrivacyTabs extends CMSPlugin { @@ -106,7 +107,7 @@ class PlgContentComponentbuilderPrivacyTabs extends CMSPlugin // first set new params $this->params->set('plugin', (int) $item->params['plugin']); // update the global plugin settings - $extensionTable = new JtableExtension(Factory::getDbo()); + $extensionTable = new \JtableExtension(Factory::getDbo()); $extensionTable->load(array('element' => 'componentbuilderprivacytabs')); // Save the change $extensionTable->set('params', $this->params->toString()); @@ -121,7 +122,7 @@ class PlgContentComponentbuilderPrivacyTabs extends CMSPlugin if (ArrayHelper::check($item->params)) { // Convert the params field to a string. - $params = new JRegistry; + $params = new Registry; $params->loadArray($item->params); $item->params = (string) $params; } @@ -140,10 +141,10 @@ class PlgContentComponentbuilderPrivacyTabs extends CMSPlugin */ protected function cleanCache($group = null, $client_id = 0) { - $conf = \Factory::getConfig(); + $conf = Factory::getConfig(); $options = array( - 'defaultgroup' => $group ?: (isset($this->option) ? $this->option : \Factory::getApplication()->input->get('option')), + 'defaultgroup' => $group ?: (isset($this->option) ? $this->option : Factory::getApplication()->input->get('option')), 'cachebase' => $client_id ? JPATH_ADMINISTRATOR . '/cache' : $conf->get('cache_path', JPATH_SITE . '/cache'), 'result' => true, ); diff --git a/componentbuilderprivacytabs.xml b/componentbuilderprivacytabs.xml index 7468d72..874fc24 100644 --- a/componentbuilderprivacytabs.xml +++ b/componentbuilderprivacytabs.xml @@ -1,13 +1,13 @@ PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS - 6th April, 2024 + 9th April, 2024 Llewellyn van der Merwe joomla@vdm.io https://dev.vdm.io Copyright (C) 2015 Vast Development Method. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt - 1.0.1 + 1.0.2 PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_XML_DESCRIPTION diff --git a/language/en-GB/en-GB.plg_content_componentbuilderprivacytabs.ini b/language/en-GB/en-GB.plg_content_componentbuilderprivacytabs.ini index dfe57e4..ec8ed16 100644 --- a/language/en-GB/en-GB.plg_content_componentbuilderprivacytabs.ini +++ b/language/en-GB/en-GB.plg_content_componentbuilderprivacytabs.ini @@ -1,6 +1,6 @@ PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS="Content - Componentbuilder Privacy Tabs" PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_DESCRIPTION="This plugin is used to link your components to the privacy suite of Joomla by adding a new privacy tab to the JCB admin views, where you can set all the required details for the integration." -PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_XML_DESCRIPTION="

Content - Componentbuilder Privacy Tabs (v.1.0.1)

This plugin is used to link your components to the privacy suite of Joomla by adding a new privacy tab to the JCB admin views, where you can set all the required details for the integration.

Created by Llewellyn van der Merwe
Development started 17th August, 2019

" +PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_XML_DESCRIPTION="

Content - Componentbuilder Privacy Tabs (v.1.0.2)

This plugin is used to link your components to the privacy suite of Joomla by adding a new privacy tab to the JCB admin views, where you can set all the required details for the integration.

Created by Llewellyn van der Merwe
Development started 17th August, 2019

" PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_GLOBAL_PRIVACY="Global Privacy" PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_PLUGIN="Plugin" PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_PRIVACY="Privacy" diff --git a/language/en-GB/en-GB.plg_content_componentbuilderprivacytabs.sys.ini b/language/en-GB/en-GB.plg_content_componentbuilderprivacytabs.sys.ini index dfe57e4..ec8ed16 100644 --- a/language/en-GB/en-GB.plg_content_componentbuilderprivacytabs.sys.ini +++ b/language/en-GB/en-GB.plg_content_componentbuilderprivacytabs.sys.ini @@ -1,6 +1,6 @@ PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS="Content - Componentbuilder Privacy Tabs" PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_DESCRIPTION="This plugin is used to link your components to the privacy suite of Joomla by adding a new privacy tab to the JCB admin views, where you can set all the required details for the integration." -PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_XML_DESCRIPTION="

Content - Componentbuilder Privacy Tabs (v.1.0.1)

This plugin is used to link your components to the privacy suite of Joomla by adding a new privacy tab to the JCB admin views, where you can set all the required details for the integration.

Created by Llewellyn van der Merwe
Development started 17th August, 2019

" +PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_XML_DESCRIPTION="

Content - Componentbuilder Privacy Tabs (v.1.0.2)

This plugin is used to link your components to the privacy suite of Joomla by adding a new privacy tab to the JCB admin views, where you can set all the required details for the integration.

Created by Llewellyn van der Merwe
Development started 17th August, 2019

" PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_GLOBAL_PRIVACY="Global Privacy" PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_PLUGIN="Plugin" PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_PRIVACY="Privacy"