Release of v1.0.2
This commit is contained in:
parent
8d8b78a759
commit
247812ceb8
@ -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,
|
||||
);
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="plugin" version="3.10" group="content" method="upgrade">
|
||||
<name>PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS</name>
|
||||
<creationDate>6th April, 2024</creationDate>
|
||||
<creationDate>9th April, 2024</creationDate>
|
||||
<author>Llewellyn van der Merwe</author>
|
||||
<authorEmail>joomla@vdm.io</authorEmail>
|
||||
<authorUrl>https://dev.vdm.io</authorUrl>
|
||||
<copyright>Copyright (C) 2015 Vast Development Method. All rights reserved.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<version>1.0.1</version>
|
||||
<version>1.0.2</version>
|
||||
<description>PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_XML_DESCRIPTION</description>
|
||||
|
||||
<!-- Scripts to run on installation -->
|
||||
|
@ -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="<h1>Content - Componentbuilder Privacy Tabs (v.1.0.1)</h1> <div style='clear: both;'></div><p>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.</p><p>Created by <a href='https://dev.vdm.io' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 17th August, 2019</small></p>"
|
||||
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_XML_DESCRIPTION="<h1>Content - Componentbuilder Privacy Tabs (v.1.0.2)</h1> <div style='clear: both;'></div><p>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.</p><p>Created by <a href='https://dev.vdm.io' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 17th August, 2019</small></p>"
|
||||
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_GLOBAL_PRIVACY="Global Privacy"
|
||||
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_PLUGIN="Plugin"
|
||||
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_PRIVACY="Privacy"
|
||||
|
@ -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="<h1>Content - Componentbuilder Privacy Tabs (v.1.0.1)</h1> <div style='clear: both;'></div><p>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.</p><p>Created by <a href='https://dev.vdm.io' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 17th August, 2019</small></p>"
|
||||
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_XML_DESCRIPTION="<h1>Content - Componentbuilder Privacy Tabs (v.1.0.2)</h1> <div style='clear: both;'></div><p>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.</p><p>Created by <a href='https://dev.vdm.io' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 17th August, 2019</small></p>"
|
||||
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_GLOBAL_PRIVACY="Global Privacy"
|
||||
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_PLUGIN="Plugin"
|
||||
PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS_PRIVACY="Privacy"
|
||||
|
Loading…
Reference in New Issue
Block a user