update - v1.0.1
This commit is contained in:
parent
d6cf620a84
commit
94df8c7350
@ -5,7 +5,7 @@
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
||||
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
@ -21,7 +21,7 @@ JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/c
|
||||
* Content - Componentbuilder Custom Admin Headers Tabs plugin.
|
||||
*
|
||||
* @package ComponentbuilderCustomAdminHeadersTabs
|
||||
* @since 1.0.0
|
||||
* @since 1.0.1
|
||||
*/
|
||||
class PlgContentComponentbuilderCustomAdminHeadersTabs extends CMSPlugin
|
||||
{
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="plugin" version="3.8" group="content" method="upgrade">
|
||||
<name>PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS</name>
|
||||
<creationDate>8th December, 2020</creationDate>
|
||||
<creationDate>20th February, 2021</creationDate>
|
||||
<author>Llewellyn van der Merwe</author>
|
||||
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
|
||||
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>
|
||||
<copyright>Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.</copyright>
|
||||
<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.0</version>
|
||||
<version>1.0.1</version>
|
||||
<description>PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_XML_DESCRIPTION</description>
|
||||
|
||||
<!-- Scripts to run on installation -->
|
||||
|
@ -8,39 +8,6 @@
|
||||
addfieldpath="/plugins/content/componentbuildercustomadminheaderstabs/fields"
|
||||
>
|
||||
<fields name="custom_admin_view_headers">
|
||||
<!-- Add_custom_admin_view_controller Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_custom_admin_view_controller"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES</option>
|
||||
<option value="0">
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO</option>
|
||||
</field>
|
||||
<!-- Custom_admin_view_controller Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="custom_admin_view_controller"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION"
|
||||
width="100%"
|
||||
height="100px"
|
||||
cols="15"
|
||||
rows="10"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
required="false"
|
||||
validate="code"
|
||||
showon="add_custom_admin_view_controller:1"
|
||||
/>
|
||||
<!-- Add_custom_admin_view_model Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
@ -74,12 +41,12 @@
|
||||
validate="code"
|
||||
showon="add_custom_admin_view_model:1"
|
||||
/>
|
||||
<!-- Add_custom_admin_views_controller Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_custom_admin_view Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_custom_admin_views_controller"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION"
|
||||
name="add_custom_admin_view"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -89,12 +56,12 @@
|
||||
<option value="0">
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO</option>
|
||||
</field>
|
||||
<!-- Custom_admin_views_controller Field. Type: Editor. (joomla) -->
|
||||
<!-- Custom_admin_view Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="custom_admin_views_controller"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION"
|
||||
name="custom_admin_view"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_DESCRIPTION"
|
||||
width="100%"
|
||||
height="100px"
|
||||
cols="15"
|
||||
@ -105,7 +72,40 @@
|
||||
filter="raw"
|
||||
required="false"
|
||||
validate="code"
|
||||
showon="add_custom_admin_views_controller:1"
|
||||
showon="add_custom_admin_view:1"
|
||||
/>
|
||||
<!-- Add_custom_admin_view_controller Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_custom_admin_view_controller"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES</option>
|
||||
<option value="0">
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO</option>
|
||||
</field>
|
||||
<!-- Custom_admin_view_controller Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="custom_admin_view_controller"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION"
|
||||
width="100%"
|
||||
height="100px"
|
||||
cols="15"
|
||||
rows="10"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
required="false"
|
||||
validate="code"
|
||||
showon="add_custom_admin_view_controller:1"
|
||||
/>
|
||||
<!-- Add_custom_admin_views_model Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
@ -140,6 +140,72 @@
|
||||
validate="code"
|
||||
showon="add_custom_admin_views_model:1"
|
||||
/>
|
||||
<!-- Add_custom_admin_views Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_custom_admin_views"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES</option>
|
||||
<option value="0">
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO</option>
|
||||
</field>
|
||||
<!-- Custom_admin_views Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="custom_admin_views"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_DESCRIPTION"
|
||||
width="100%"
|
||||
height="100px"
|
||||
cols="15"
|
||||
rows="10"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
required="false"
|
||||
validate="code"
|
||||
showon="add_custom_admin_views:1"
|
||||
/>
|
||||
<!-- Add_custom_admin_views_controller Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_custom_admin_views_controller"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES</option>
|
||||
<option value="0">
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO</option>
|
||||
</field>
|
||||
<!-- Custom_admin_views_controller Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="custom_admin_views_controller"
|
||||
label="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL"
|
||||
description="PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION"
|
||||
width="100%"
|
||||
height="100px"
|
||||
cols="15"
|
||||
rows="10"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
required="false"
|
||||
validate="code"
|
||||
showon="add_custom_admin_views_controller:1"
|
||||
/>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</fields>
|
||||
|
@ -1,30 +1,42 @@
|
||||
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="<h1>Content - Componentbuilder Custom Admin Headers Tabs (v.1.0.0)</h1> <div style='clear: both;'></div><p>This plugin is used to set custom admin class custom headers.</p><p>Created by <a href='http://www.joomlacomponentbuilder.com' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 8th December, 2020</small></p>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_XML_DESCRIPTION="<h1>Content - Componentbuilder Custom Admin Headers Tabs (v.1.0.1)</h1> <div style='clear: both;'></div><p>This plugin is used to set custom admin class custom headers.</p><p>Created by <a href='http://www.joomlacomponentbuilder.com' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 8th December, 2020</small></p>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CLASS_HEADERS="Class Headers"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL="Target Custom Admin View<br />Controller Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION="Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES="Yes"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO="No"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL="Class Header<br />
|
||||
<small>(custom.admin.view.controller)</small><br />
|
||||
<b>getItem</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION="The class header for custom admin view controller. Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_MODEL_LABEL="Target Custom Admin View<br />Model Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_MODEL_DESCRIPTION="Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES="Yes"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO="No"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_MODEL_LABEL="Class Header<br />
|
||||
<small>(custom.admin.view.model)</small><br />
|
||||
<b>getItem</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_MODEL_DESCRIPTION="The class header for custom admin view model. Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL="Target Custom Admin Views<br />Controller Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION="Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL="Class Header<br />
|
||||
<small>(custom.admin.views.controller)</small><br />
|
||||
<b>getListQuery</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION="The class header for custom admin views controller. Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_LABEL="Target Custom Admin View<br />Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_DESCRIPTION="Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_LABEL="Class Header<br />
|
||||
<small>(custom.admin.view)</small><br />
|
||||
<b>getItem</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_DESCRIPTION="The class header for custom admin view. Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL="Target Custom Admin View<br />Controller Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION="Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL="Class Header<br />
|
||||
<small>(custom.admin.view.controller)</small><br />
|
||||
<b>getItem</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION="The class header for custom admin view controller. Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_MODEL_LABEL="Target Custom Admin Views<br />Model Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_MODEL_DESCRIPTION="Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_MODEL_LABEL="Class Header<br />
|
||||
<small>(custom.admin.views.model)</small><br />
|
||||
<b>getListQuery</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_MODEL_DESCRIPTION="The class header for custom admin views model. Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_MODEL_DESCRIPTION="The class header for custom admin views model. Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_LABEL="Target Custom Admin Views<br />Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_DESCRIPTION="Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_LABEL="Class Header<br />
|
||||
<small>(custom.admin.views)</small><br />
|
||||
<b>getListQuery</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_DESCRIPTION="The class header for custom admin views. Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL="Target Custom Admin Views<br />Controller Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION="Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL="Class Header<br />
|
||||
<small>(custom.admin.views.controller)</small><br />
|
||||
<b>getListQuery</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION="The class header for custom admin views controller. Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
@ -1,30 +1,42 @@
|
||||
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="<h1>Content - Componentbuilder Custom Admin Headers Tabs (v.1.0.0)</h1> <div style='clear: both;'></div><p>This plugin is used to set custom admin class custom headers.</p><p>Created by <a href='http://www.joomlacomponentbuilder.com' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 8th December, 2020</small></p>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_XML_DESCRIPTION="<h1>Content - Componentbuilder Custom Admin Headers Tabs (v.1.0.1)</h1> <div style='clear: both;'></div><p>This plugin is used to set custom admin class custom headers.</p><p>Created by <a href='http://www.joomlacomponentbuilder.com' target='_blank'>Llewellyn van der Merwe</a><br /><small>Development started 8th December, 2020</small></p>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CLASS_HEADERS="Class Headers"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL="Target Custom Admin View<br />Controller Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION="Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES="Yes"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO="No"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL="Class Header<br />
|
||||
<small>(custom.admin.view.controller)</small><br />
|
||||
<b>getItem</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION="The class header for custom admin view controller. Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_MODEL_LABEL="Target Custom Admin View<br />Model Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_MODEL_DESCRIPTION="Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_YES="Yes"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_NO="No"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_MODEL_LABEL="Class Header<br />
|
||||
<small>(custom.admin.view.model)</small><br />
|
||||
<b>getItem</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_MODEL_DESCRIPTION="The class header for custom admin view model. Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL="Target Custom Admin Views<br />Controller Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION="Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL="Class Header<br />
|
||||
<small>(custom.admin.views.controller)</small><br />
|
||||
<b>getListQuery</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION="The class header for custom admin views controller. Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_LABEL="Target Custom Admin View<br />Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_DESCRIPTION="Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_LABEL="Class Header<br />
|
||||
<small>(custom.admin.view)</small><br />
|
||||
<b>getItem</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_DESCRIPTION="The class header for custom admin view. Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL="Target Custom Admin View<br />Controller Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION="Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_LABEL="Class Header<br />
|
||||
<small>(custom.admin.view.controller)</small><br />
|
||||
<b>getItem</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEW_CONTROLLER_DESCRIPTION="The class header for custom admin view controller. Only use this option if you have a <b>getItem</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_MODEL_LABEL="Target Custom Admin Views<br />Model Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_MODEL_DESCRIPTION="Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_MODEL_LABEL="Class Header<br />
|
||||
<small>(custom.admin.views.model)</small><br />
|
||||
<b>getListQuery</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_MODEL_DESCRIPTION="The class header for custom admin views model. Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_MODEL_DESCRIPTION="The class header for custom admin views model. Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_LABEL="Target Custom Admin Views<br />Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_DESCRIPTION="Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_LABEL="Class Header<br />
|
||||
<small>(custom.admin.views)</small><br />
|
||||
<b>getListQuery</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_DESCRIPTION="The class header for custom admin views. Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL="Target Custom Admin Views<br />Controller Header"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_ADD_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION="Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_LABEL="Class Header<br />
|
||||
<small>(custom.admin.views.controller)</small><br />
|
||||
<b>getListQuery</b>"
|
||||
PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS_CUSTOM_ADMIN_VIEWS_CONTROLLER_DESCRIPTION="The class header for custom admin views controller. Only use this option if you have a <b>getListQuery</b> as your <b>Main Get</b>, and have custom code in the <b>PHP (controller methods)</b> under the Custom Buttons tab."
|
@ -5,7 +5,7 @@
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
||||
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
||||
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
@ -60,8 +60,8 @@ class plgContentComponentbuilderCustomAdminHeadersTabsInstallerScript
|
||||
{
|
||||
// get the version
|
||||
$jcbVersion = explode('.', $manifest->version);
|
||||
// check that we have JCB 2.12.1 or higher installed
|
||||
if (count($jcbVersion) == 3 && $jcbVersion[0] >= 2 && $jcbVersion[1] > 11)
|
||||
// check that we have JCB 2.12.6 or higher installed
|
||||
if (count($jcbVersion) == 3 && $jcbVersion[0] >= 2 && (($jcbVersion[1] == 12 && $jcbVersion[2] >= 6) || $jcbVersion[1] > 12))
|
||||
{
|
||||
$blockInstall = false;
|
||||
}
|
||||
@ -69,7 +69,7 @@ class plgContentComponentbuilderCustomAdminHeadersTabsInstallerScript
|
||||
// allow install if all conditions are met
|
||||
if ($blockInstall)
|
||||
{
|
||||
$app->enqueueMessage('Please upgrade to JCB 2.12.1 or higher before installing this plugin.', 'error');
|
||||
$app->enqueueMessage('Please upgrade to JCB 2.12.6 or higher before installing this plugin.', 'error');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user