diff --git a/componentbuildercustomadminheaderstabs.php b/componentbuildercustomadminheaderstabs.php index 855193c..792a9e0 100644 --- a/componentbuildercustomadminheaderstabs.php +++ b/componentbuildercustomadminheaderstabs.php @@ -21,7 +21,7 @@ JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/c * Content - Componentbuilder Custom Admin Headers Tabs plugin. * * @package ComponentbuilderCustomAdminHeadersTabs - * @since 1.0.4 + * @since 1.0.5 */ class PlgContentComponentbuilderCustomAdminHeadersTabs extends CMSPlugin { diff --git a/componentbuildercustomadminheaderstabs.xml b/componentbuildercustomadminheaderstabs.xml index d9ab4e3..2e37b9e 100644 --- a/componentbuildercustomadminheaderstabs.xml +++ b/componentbuildercustomadminheaderstabs.xml @@ -7,7 +7,7 @@ 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.4 + 1.0.5 PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_XML_DESCRIPTION diff --git a/language/en-GB/en-GB.plg_content_componentbuildercustomadminheaderstabs.ini b/language/en-GB/en-GB.plg_content_componentbuildercustomadminheaderstabs.ini index afd8ad2..07f0608 100644 --- a/language/en-GB/en-GB.plg_content_componentbuildercustomadminheaderstabs.ini +++ b/language/en-GB/en-GB.plg_content_componentbuildercustomadminheaderstabs.ini @@ -1,6 +1,6 @@ PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS="Content - Componentbuilder Custom Admin Headers Tabs" PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_DESCRIPTION="This plugin is used to set custom admin class custom headers." -PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_XML_DESCRIPTION="

Content - Componentbuilder Custom Admin Headers Tabs (v.1.0.4)

This plugin is used to set custom admin class custom headers.

Created by Llewellyn van der Merwe
Development started 8th December, 2020

" +PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_XML_DESCRIPTION="

Content - Componentbuilder Custom Admin Headers Tabs (v.1.0.5)

This plugin is used to set custom admin class custom headers.

Created by Llewellyn van der Merwe
Development started 8th December, 2020

" PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CLASS_HEADERS="Class Headers" PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_MODEL_LABEL="Target Custom Admin View
Model Header" PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_MODEL_DESCRIPTION="Only use this option if you have a getItem as your Main Get." diff --git a/language/en-GB/en-GB.plg_content_componentbuildercustomadminheaderstabs.sys.ini b/language/en-GB/en-GB.plg_content_componentbuildercustomadminheaderstabs.sys.ini index afd8ad2..07f0608 100644 --- a/language/en-GB/en-GB.plg_content_componentbuildercustomadminheaderstabs.sys.ini +++ b/language/en-GB/en-GB.plg_content_componentbuildercustomadminheaderstabs.sys.ini @@ -1,6 +1,6 @@ PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS="Content - Componentbuilder Custom Admin Headers Tabs" PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_DESCRIPTION="This plugin is used to set custom admin class custom headers." -PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_XML_DESCRIPTION="

Content - Componentbuilder Custom Admin Headers Tabs (v.1.0.4)

This plugin is used to set custom admin class custom headers.

Created by Llewellyn van der Merwe
Development started 8th December, 2020

" +PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_XML_DESCRIPTION="

Content - Componentbuilder Custom Admin Headers Tabs (v.1.0.5)

This plugin is used to set custom admin class custom headers.

Created by Llewellyn van der Merwe
Development started 8th December, 2020

" PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CLASS_HEADERS="Class Headers" PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_MODEL_LABEL="Target Custom Admin View
Model Header" PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_MODEL_DESCRIPTION="Only use this option if you have a getItem as your Main Get." diff --git a/script.php b/script.php index 03f0264..7b1dff9 100644 --- a/script.php +++ b/script.php @@ -61,10 +61,10 @@ class plgContentComponentbuilderCustomAdminHeadersTabsInstallerScript { // get the version $jcbVersion = explode('.', $manifest->version); - // check that we have JCB 3.0.5 or higher installed + // check that we have JCB 3.0.11 or higher installed if (count($jcbVersion) == 3 && $jcbVersion[0] >= 3 && ( - ($jcbVersion[0] == 3 && $jcbVersion[1] == 0 && $jcbVersion[2] >= 5) || + ($jcbVersion[0] == 3 && $jcbVersion[1] == 0 && $jcbVersion[2] >= 11) || ($jcbVersion[0] == 3 && $jcbVersion[1] > 0) || $jcbVersion[0] > 3) ) @@ -75,7 +75,7 @@ class plgContentComponentbuilderCustomAdminHeadersTabsInstallerScript // allow install if all conditions are met if ($blockInstall) { - $app->enqueueMessage('Please upgrade to JCB-Pro v3.0.5 or higher before installing this plugin.', 'error'); + $app->enqueueMessage('Please upgrade to JCB-Pro v3.0.11 or higher before installing this plugin.', 'error'); return false; } }