added dynamic email helper fields to the global settings of all components that use the email helper class

This commit is contained in:
Llewellyn van der Merwe 2016-12-22 23:32:13 +02:00
parent 0cd5660141
commit 829384a56b
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
382 changed files with 1919 additions and 1347 deletions

View File

@ -1,4 +1,4 @@
# Component Builder (2.2.4) # Component Builder (2.2.5)
This is a [Joomla 3.x](http://www.joomla.org/) component. This is a [Joomla 3.x](http://www.joomla.org/) component.
@ -8,7 +8,7 @@ The Component Builder for [Joomla](http://www.joomla.org/) that is highly advanc
Whether you're a seasoned [Joomla](http://www.joomla.org/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! Whether you're a seasoned [Joomla](http://www.joomla.org/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.2.4) with **ALL** its features and **ALL** concepts totally open-source and free! You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.2.5) with **ALL** its features and **ALL** concepts totally open-source and free!
Once installed upgrades are quick and easy via the default Joomla upgrade area. Once installed upgrades are quick and easy via the default Joomla upgrade area.
@ -100,23 +100,23 @@ Component Builder is mapped as a component in itself on my local development env
# Build Details # Build Details
+ *Company*: [Vast Development Method](https://www.vdm.io/joomla-component-builder) + *Company*: [Vast Development Method](http://vdm.bz/component-builder)
+ *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io)
+ *Name*: [Component Builder](https://www.vdm.io/joomla-component-builder) + *Name*: [Component Builder](http://vdm.bz/component-builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 25th November, 2016 + *Last Build*: 22nd December, 2016
+ *Version*: 2.2.4 + *Version*: 2.2.5
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **86638** + *Line count*: **86690**
+ *File count*: **541** + *File count*: **542**
+ *Folder count*: **99** + *Folder count*: **99**
> This **component** was build with a Joomla [Automated Component Builder](https://www.vdm.io/joomla-component-builder). > This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) > Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
## Donations ## Donations
If you want to support this project, please consider donating: Come on buy me a coffee :)
* PayPal: pay@vdm.io * PayPal: pay@vdm.io
* Bitcoin: 3H35PYwikEosvcjxHXGPLS1GufZ4b4iFu3 * Bitcoin: 3H35PYwikEosvcjxHXGPLS1GufZ4b4iFu3

View File

@ -1,4 +1,4 @@
# Component Builder (2.2.4) # Component Builder (2.2.5)
This is a [Joomla 3.x](http://www.joomla.org/) component. This is a [Joomla 3.x](http://www.joomla.org/) component.
@ -8,7 +8,7 @@ The Component Builder for [Joomla](http://www.joomla.org/) that is highly advanc
Whether you're a seasoned [Joomla](http://www.joomla.org/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! Whether you're a seasoned [Joomla](http://www.joomla.org/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.2.4) with **ALL** its features and **ALL** concepts totally open-source and free! You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.2.5) with **ALL** its features and **ALL** concepts totally open-source and free!
Once installed upgrades are quick and easy via the default Joomla upgrade area. Once installed upgrades are quick and easy via the default Joomla upgrade area.
@ -100,23 +100,23 @@ Component Builder is mapped as a component in itself on my local development env
# Build Details # Build Details
+ *Company*: [Vast Development Method](https://www.vdm.io/joomla-component-builder) + *Company*: [Vast Development Method](http://vdm.bz/component-builder)
+ *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io)
+ *Name*: [Component Builder](https://www.vdm.io/joomla-component-builder) + *Name*: [Component Builder](http://vdm.bz/component-builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 25th November, 2016 + *Last Build*: 22nd December, 2016
+ *Version*: 2.2.4 + *Version*: 2.2.5
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **86638** + *Line count*: **86690**
+ *File count*: **541** + *File count*: **542**
+ *Folder count*: **99** + *Folder count*: **99**
> This **component** was build with a Joomla [Automated Component Builder](https://www.vdm.io/joomla-component-builder). > This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) > Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
## Donations ## Donations
If you want to support this project, please consider donating: Come on buy me a coffee :)
* PayPal: pay@vdm.io * PayPal: pay@vdm.io
* Bitcoin: 3H35PYwikEosvcjxHXGPLS1GufZ4b4iFu3 * Bitcoin: 3H35PYwikEosvcjxHXGPLS1GufZ4b4iFu3

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin.css @subpackage admin.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_view.css @subpackage admin_view.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_views.css @subpackage admin_views.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage component.css @subpackage component.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage components.css @subpackage components.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_admin_view.css @subpackage custom_admin_view.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_admin_views.css @subpackage custom_admin_views.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage dashboard.css @subpackage dashboard.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage dynamic_get.css @subpackage dynamic_get.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage dynamic_gets.css @subpackage dynamic_gets.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage field.css @subpackage field.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage fields.css @subpackage fields.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage fieldtype.css @subpackage fieldtype.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage fieldtypes.css @subpackage fieldtypes.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage help_document.css @subpackage help_document.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage help_documents.css @subpackage help_documents.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage layout.css @subpackage layout.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage layouts.css @subpackage layouts.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage site_view.css @subpackage site_view.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage site_views.css @subpackage site_views.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage snippet.css @subpackage snippet.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage snippets.css @subpackage snippets.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage template.css @subpackage template.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -9,12 +9,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage templates.css @subpackage templates.css
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -265,7 +265,7 @@ abstract class ###Component###Helper
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise($action->name, 'com_###component###.'.$view.'.' . (int) $record->id); $permission = $user->authorise($action->name, 'com_###component###.'.$view.'.' . (int) $record->id);
if (!$permission && !is_null($permission)) if (!$permission) // TODO removed && !is_null($permission)
{ {
if ($action->name == 'core.edit' || $action->name == $view.'.edit') if ($action->name == 'core.edit' || $action->name == $view.'.edit')
{ {
@ -600,10 +600,22 @@ abstract class ###Component###Helper
return false; return false;
} }
public static function checkArray($array) public static function checkArray($array, $removeEmptyString = false)
{ {
if (isset($array) && is_array($array) && count($array) > 0) if (isset($array) && is_array($array) && count($array) > 0)
{ {
// also make sure the empty strings are removed
if ($removeEmptyString)
{
foreach ($array as $key => $string)
{
if (empty($string))
{
unset($array[$key]);
}
}
return self::checkArray($array, false);
}
return true; return true;
} }
return false; return false;

View File

@ -408,7 +408,7 @@ abstract class ###Component###Helper
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise($action->name, 'com_###component###.'.$view.'.' . (int) $record->id); $permission = $user->authorise($action->name, 'com_###component###.'.$view.'.' . (int) $record->id);
if (!$permission && !is_null($permission)) if (!$permission) // TODO removed && !is_null($permission)
{ {
if ($action->name == 'core.edit' || $action->name == $view.'.edit') if ($action->name == 'core.edit' || $action->name == $view.'.edit')
{ {
@ -592,10 +592,22 @@ abstract class ###Component###Helper
return false; return false;
} }
public static function checkArray($array) public static function checkArray($array, $removeEmptyString = false)
{ {
if (isset($array) && is_array($array) && count($array) > 0) if (isset($array) && is_array($array) && count($array) > 0)
{ {
// also make sure the empty strings are removed
if ($removeEmptyString)
{
foreach ($array as $key => $string)
{
if (empty($string))
{
unset($array[$key]);
}
}
return self::checkArray($array, false);
}
return true; return true;
} }
return false; return false;

View File

@ -128,15 +128,9 @@ class ###Component###Router extends JComponentRouterBase
*/ */
public function parse(&$segments) public function parse(&$segments)
{ {
//var_dump($segments);
//$app = JFactory::getApplication();
//$menu = $app->getMenu();
//$item = $menu->getActive();
$count = count($segments); $count = count($segments);
$vars = array(); $vars = array();
//var_dump($item->query['view']);
//Handle View and Identifier //Handle View and Identifier
switch($segments[0]) switch($segments[0])
{###ROUTER_PARSE_SWITCH### {###ROUTER_PARSE_SWITCH###
@ -145,7 +139,7 @@ class ###Component###Router extends JComponentRouterBase
return $vars; return $vars;
} }
protected function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = '###component###') protected function getVar($table, $where = null, $whereString = 'user', $what = 'id', $category = false, $operator = '=', $main = '###component###')
{ {
if(!$where) if(!$where)
{ {
@ -157,7 +151,7 @@ class ###Component###Router extends JComponentRouterBase
$query = $db->getQuery(true); $query = $db->getQuery(true);
$query->select($db->quoteName(array($what))); $query->select($db->quoteName(array($what)));
if ('categories' == $table || 'category' == $table) if ('categories' == $table || 'category' == $table || $category)
{ {
$query->from($db->quoteName('#__categories')); $query->from($db->quoteName('#__categories'));
} }

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage componentbuilder.php @subpackage componentbuilder.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage controller.php @subpackage controller.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_view.php @subpackage admin_view.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -99,7 +99,7 @@ class ComponentbuilderControllerAdmin_view extends JControllerForm
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise('core.edit', 'com_componentbuilder.admin_view.' . (int) $recordId); $permission = $user->authorise('core.edit', 'com_componentbuilder.admin_view.' . (int) $recordId);
if (!$permission && !is_null($permission)) if (!$permission)
{ {
if ($user->authorise('core.edit.own', 'com_componentbuilder.admin_view.' . $recordId)) if ($user->authorise('core.edit.own', 'com_componentbuilder.admin_view.' . $recordId))
{ {

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_views.php @subpackage admin_views.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage ajax.json.php @subpackage ajax.json.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage compiler.php @subpackage compiler.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage component.php @subpackage component.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -85,7 +85,7 @@ class ComponentbuilderControllerComponent extends JControllerForm
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise('core.edit', 'com_componentbuilder.component.' . (int) $recordId); $permission = $user->authorise('core.edit', 'com_componentbuilder.component.' . (int) $recordId);
if (!$permission && !is_null($permission)) if (!$permission)
{ {
if ($user->authorise('core.edit.own', 'com_componentbuilder.component.' . $recordId)) if ($user->authorise('core.edit.own', 'com_componentbuilder.component.' . $recordId))
{ {

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage componentbuilder.php @subpackage componentbuilder.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage components.php @subpackage components.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_admin_view.php @subpackage custom_admin_view.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -99,7 +99,7 @@ class ComponentbuilderControllerCustom_admin_view extends JControllerForm
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise('core.edit', 'com_componentbuilder.custom_admin_view.' . (int) $recordId); $permission = $user->authorise('core.edit', 'com_componentbuilder.custom_admin_view.' . (int) $recordId);
if (!$permission && !is_null($permission)) if (!$permission)
{ {
if ($user->authorise('core.edit.own', 'com_componentbuilder.custom_admin_view.' . $recordId)) if ($user->authorise('core.edit.own', 'com_componentbuilder.custom_admin_view.' . $recordId))
{ {

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_admin_views.php @subpackage custom_admin_views.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage dynamic_get.php @subpackage dynamic_get.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -99,7 +99,7 @@ class ComponentbuilderControllerDynamic_get extends JControllerForm
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise('dynamic_get.edit', 'com_componentbuilder.dynamic_get.' . (int) $recordId); $permission = $user->authorise('dynamic_get.edit', 'com_componentbuilder.dynamic_get.' . (int) $recordId);
if (!$permission && !is_null($permission)) if (!$permission)
{ {
if ($user->authorise('dynamic_get.edit.own', 'com_componentbuilder.dynamic_get.' . $recordId)) if ($user->authorise('dynamic_get.edit.own', 'com_componentbuilder.dynamic_get.' . $recordId))
{ {

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage dynamic_gets.php @subpackage dynamic_gets.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage field.php @subpackage field.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -117,7 +117,7 @@ class ComponentbuilderControllerField extends JControllerForm
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise('field.edit', 'com_componentbuilder.field.' . (int) $recordId); $permission = $user->authorise('field.edit', 'com_componentbuilder.field.' . (int) $recordId);
if (!$permission && !is_null($permission)) if (!$permission)
{ {
if ($user->authorise('field.edit.own', 'com_componentbuilder.field.' . $recordId)) if ($user->authorise('field.edit.own', 'com_componentbuilder.field.' . $recordId))
{ {

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage fields.php @subpackage fields.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage fieldtype.php @subpackage fieldtype.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -117,7 +117,7 @@ class ComponentbuilderControllerFieldtype extends JControllerForm
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise('fieldtype.edit', 'com_componentbuilder.fieldtype.' . (int) $recordId); $permission = $user->authorise('fieldtype.edit', 'com_componentbuilder.fieldtype.' . (int) $recordId);
if (!$permission && !is_null($permission)) if (!$permission)
{ {
if ($user->authorise('fieldtype.edit.own', 'com_componentbuilder.fieldtype.' . $recordId)) if ($user->authorise('fieldtype.edit.own', 'com_componentbuilder.fieldtype.' . $recordId))
{ {

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage fieldtypes.php @subpackage fieldtypes.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage help.php @subpackage help.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage help_document.php @subpackage help_document.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -99,7 +99,7 @@ class ComponentbuilderControllerHelp_document extends JControllerForm
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise('help_document.edit', 'com_componentbuilder.help_document.' . (int) $recordId); $permission = $user->authorise('help_document.edit', 'com_componentbuilder.help_document.' . (int) $recordId);
if (!$permission && !is_null($permission)) if (!$permission)
{ {
if ($user->authorise('help_document.edit.own', 'com_componentbuilder.help_document.' . $recordId)) if ($user->authorise('help_document.edit.own', 'com_componentbuilder.help_document.' . $recordId))
{ {

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage help_documents.php @subpackage help_documents.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage import.php @subpackage import.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage layout.php @subpackage layout.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -99,7 +99,7 @@ class ComponentbuilderControllerLayout extends JControllerForm
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise('core.edit', 'com_componentbuilder.layout.' . (int) $recordId); $permission = $user->authorise('core.edit', 'com_componentbuilder.layout.' . (int) $recordId);
if (!$permission && !is_null($permission)) if (!$permission)
{ {
if ($user->authorise('core.edit.own', 'com_componentbuilder.layout.' . $recordId)) if ($user->authorise('core.edit.own', 'com_componentbuilder.layout.' . $recordId))
{ {

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage layouts.php @subpackage layouts.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage site_view.php @subpackage site_view.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -99,7 +99,7 @@ class ComponentbuilderControllerSite_view extends JControllerForm
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise('core.edit', 'com_componentbuilder.site_view.' . (int) $recordId); $permission = $user->authorise('core.edit', 'com_componentbuilder.site_view.' . (int) $recordId);
if (!$permission && !is_null($permission)) if (!$permission)
{ {
if ($user->authorise('core.edit.own', 'com_componentbuilder.site_view.' . $recordId)) if ($user->authorise('core.edit.own', 'com_componentbuilder.site_view.' . $recordId))
{ {

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage site_views.php @subpackage site_views.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage snippet.php @subpackage snippet.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -99,7 +99,7 @@ class ComponentbuilderControllerSnippet extends JControllerForm
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise('core.edit', 'com_componentbuilder.snippet.' . (int) $recordId); $permission = $user->authorise('core.edit', 'com_componentbuilder.snippet.' . (int) $recordId);
if (!$permission && !is_null($permission)) if (!$permission)
{ {
if ($user->authorise('core.edit.own', 'com_componentbuilder.snippet.' . $recordId)) if ($user->authorise('core.edit.own', 'com_componentbuilder.snippet.' . $recordId))
{ {

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage snippets.php @subpackage snippets.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage template.php @subpackage template.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -99,7 +99,7 @@ class ComponentbuilderControllerTemplate extends JControllerForm
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise('core.edit', 'com_componentbuilder.template.' . (int) $recordId); $permission = $user->authorise('core.edit', 'com_componentbuilder.template.' . (int) $recordId);
if (!$permission && !is_null($permission)) if (!$permission)
{ {
if ($user->authorise('core.edit.own', 'com_componentbuilder.template.' . $recordId)) if ($user->authorise('core.edit.own', 'com_componentbuilder.template.' . $recordId))
{ {

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage templates.php @subpackage templates.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -97,6 +97,11 @@ class Dropbox
*/ */
public $error_summary = array(); public $error_summary = array();
/**
* force the update to reset
**/
public $forceReset = false;
/** /**
* Constructor * Constructor
*/ */
@ -116,6 +121,7 @@ class Dropbox
* ============= * =============
* $details * $details
* ============= * =============
* sourceID
* dropboxOption * dropboxOption
* dropboxTarget * dropboxTarget
* addTypes * addTypes
@ -217,16 +223,20 @@ class Dropbox
protected function makeGetCall() protected function makeGetCall()
{ {
$query = json_encode($this->query);
$options = array( $options = array(
'http' => array( 'http' => array(
'header' => "Content-Type: application/json\r\n". 'header' => "Content-Type: application/json\r\n".
"Authorization: Bearer ".$this->oauthToken, "Authorization: Bearer ".$this->oauthToken,
'method' => "POST", 'method' => "POST"
'content' => $query ),
), );
);
if ($this->checkArray($this->query))
{
$this->query = json_encode($this->query);
}
$options['http']['content'] = $this->query;
$context = stream_context_create($options); $context = stream_context_create($options);
$response = file_get_contents($this->url.$this->domainpath[$this->type], false, $context); $response = file_get_contents($this->url.$this->domainpath[$this->type], false, $context);
@ -246,8 +256,6 @@ class Dropbox
protected function makeCurlCall() protected function makeCurlCall()
{ {
$query = json_encode($this->query);
$headers = array('Authorization: Bearer '. $this->oauthToken, $headers = array('Authorization: Bearer '. $this->oauthToken,
'Content-Type: application/json' 'Content-Type: application/json'
); );
@ -255,7 +263,12 @@ class Dropbox
$ch = curl_init($this->url.$this->domainpath[$this->type]); $ch = curl_init($this->url.$this->domainpath[$this->type]);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_POSTFIELDS, $query); // check if query is set
if ($this->checkArray($this->query))
{
$this->query = json_encode($this->query);
}
curl_setopt($ch, CURLOPT_POSTFIELDS, $this->query);
curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// curl_setopt($ch, CURLOPT_VERBOSE, 1); // debug // curl_setopt($ch, CURLOPT_VERBOSE, 1); // debug
@ -278,6 +291,7 @@ class Dropbox
if (isset($data->error_summary)) if (isset($data->error_summary))
{ {
$this->error_summary[] = $data->error_summary; $this->error_summary[] = $data->error_summary;
$this->forceReset = true;
return false; return false;
} }
@ -330,6 +344,7 @@ class Dropbox
$this->error_summary[] = $this->type.'_error'; $this->error_summary[] = $this->type.'_error';
break; break;
} }
$this->forceReset = true;
return false; return false;
} }
@ -338,13 +353,14 @@ class Dropbox
// we need to store the url to DB // we need to store the url to DB
if (isset($this->mediaData[$path])) if (isset($this->mediaData[$path]))
{ {
$localListing = array(); $localListing = array();
$localListing['id'] = 0; $localListing['id'] = 0;
$localListing['name'] = $this->mediaData[$path]['name']; $localListing['name'] = $this->mediaData[$path]['name'];
$localListing['size'] = $this->mediaData[$path]['size']; $localListing['size'] = $this->mediaData[$path]['size'];
$localListing['key'] = $path; $localListing['key'] = $path;
$localListing['url'] = $url; $localListing['url'] = $url;
$localListing['build'] = $this->build; $localListing['build'] = $this->build;
$localListing['external_source'] = (int) $this->sourceID;
// free some memory // free some memory
unset($this->mediaData[$path]); unset($this->mediaData[$path]);
// check if item already set // check if item already set

View File

@ -69,11 +69,6 @@ class Dropboxupdater
protected $updateInfo; protected $updateInfo;
protected $infoFilePath; protected $infoFilePath;
/**
* get the localkey
**/
protected $localkey = false;
/** /**
* Main dropbox class * Main dropbox class
**/ **/
@ -302,6 +297,8 @@ class Dropboxupdater
{ {
// reset config // reset config
$this->detailsConfig = array(); $this->detailsConfig = array();
// the source ID
$this->detailsConfig['sourceID'] = $this->data->id;
// get the legal files set // get the legal files set
$this->detailsConfig['addTypes'] = $this->data->filetypes; $this->detailsConfig['addTypes'] = $this->data->filetypes;
// set other config settings // set other config settings
@ -348,7 +345,7 @@ class Dropboxupdater
protected function setUpdateInfoData() protected function setUpdateInfoData()
{ {
// set the info file name // set the info file name
$fileName = md5($this->fileKey.'info'.$this->localkey); $fileName = md5($this->fileKey.'info');
// set file path // set file path
$this->infoFilePath = JPATH_COMPONENT_SITE.'/helpers/'.$fileName.'.json'; $this->infoFilePath = JPATH_COMPONENT_SITE.'/helpers/'.$fileName.'.json';
@ -402,7 +399,7 @@ class Dropboxupdater
protected function doUpdate() protected function doUpdate()
{ {
// we need more then the normal time to run this script 5 minutes at least. // we need more then the normal time to run this script 5 minutes at least.
ini_set('max_execution_time', 500); ini_set('max_execution_time', $this->app_params->get('max_execution_time', 500));
// get data of all the shared links of all target items // get data of all the shared links of all target items
if (!$this->dropbox->getFiles($this->data->oauthtoken, $this->data->permissiontype, $this->detailsConfig)) if (!$this->dropbox->getFiles($this->data->oauthtoken, $this->data->permissiontype, $this->detailsConfig))
{ {
@ -412,23 +409,23 @@ class Dropboxupdater
// if this is a manual update, then revoke the token // if this is a manual update, then revoke the token
if ($this->forceUpdate) if ($this->forceUpdate)
{ {
$this->dropbox->revokeToken($this->data->oauthtoken); $this->dropbox->revokeToken();
} }
return true; return true;
} }
protected function resetUpdate() public function resetUpdate()
{ {
if ($this->okay) if ($this->okay || (isset($this->dropbox->forceReset) && $this->dropbox->forceReset))
{ {
// make sure the update reset // make sure the update reset
$this->updateInfo->nextupdate = $this->next; $this->updateInfo->nextupdate = $this->next;
$this->updateInfo->updateactive = false; $this->updateInfo->updateactive = false;
$this->updateInfo->updatenow = false; $this->updateInfo->updatenow = false;
// store final update
return $this->saveUpdateInfo(); $this->saveUpdateInfo();
} }
return false; return $this->okay;
} }
protected function saveJson($data,$filename) protected function saveJson($data,$filename)

View File

@ -118,12 +118,15 @@ class Interpretation extends Fields
{ {
if ($this->componentData->add_license && $this->componentData->license_type == 3) if ($this->componentData->add_license && $this->componentData->license_type == 3)
{ {
$_VDM = '_'.ComponentbuilderHelper::safeString($this->uniquekey(10),'U'); if (!isset($this->fileContentStatic['###HELPER_SITE_LICENSE_LOCK###']))
// add it to the system {
$this->fileContentStatic['###HELPER_SITE_LICENSE_LOCK###'] = $this->setHelperLincenseLock($_VDM,'site'); $_VDM = '_'.ComponentbuilderHelper::safeString($this->uniquekey(10),'U');
$this->fileContentStatic['###HELPER_LICENSE_LOCK###'] = $this->setHelperLincenseLock($_VDM,'admin'); // add it to the system
$this->fileContentStatic['###LICENSE_LOCKED_INT###'] = $this->setInitLincenseLock($_VDM); $this->fileContentStatic['###HELPER_SITE_LICENSE_LOCK###'] = $this->setHelperLincenseLock($_VDM,'site');
$this->fileContentStatic['###LICENSE_LOCKED_DEFINED###'] = "\n\n".'defined(\''.$_VDM.'\') or die(JText::_(\'NIE_REG_NIE\'));'; $this->fileContentStatic['###HELPER_LICENSE_LOCK###'] = $this->setHelperLincenseLock($_VDM,'admin');
$this->fileContentStatic['###LICENSE_LOCKED_INT###'] = $this->setInitLincenseLock($_VDM);
$this->fileContentStatic['###LICENSE_LOCKED_DEFINED###'] = "\n\n".'defined(\''.$_VDM.'\') or die(JText::_(\'NIE_REG_NIE\'));';
}
} }
else else
{ {
@ -138,17 +141,20 @@ class Interpretation extends Fields
/** /**
* @param $view * @param $view
*/ */
public function setLockLicensePer(&$view) public function setLockLicensePer(&$view, $target)
{ {
if ($this->componentData->add_license && $this->componentData->license_type == 3) if ($this->componentData->add_license && $this->componentData->license_type == 3)
{ {
$boolMethod = 'get'.ComponentbuilderHelper::safeString($this->uniquekey(3, false, 'ddd'), 'W'); if (!isset($this->fileContentDynamic[$view]['###BOOLMETHOD###']))
$globalbool = 'set'.ComponentbuilderHelper::safeString($this->uniquekey(3), 'W'); {
// add it to the system $boolMethod = 'get'.ComponentbuilderHelper::safeString($this->uniquekey(3, false, 'ddd'), 'W');
$this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = $this->setBoolLincenseLock($boolMethod,$globalbool); $globalbool = 'set'.ComponentbuilderHelper::safeString($this->uniquekey(3), 'W');
$this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked($boolMethod); // add it to the system
$this->fileContentDynamic[$view]['###LICENSE_TABLE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked($boolMethod, '$table'); $this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = $this->setBoolLincenseLock($boolMethod,$globalbool);
$this->fileContentDynamic[$view]['###BOOLMETHOD###'] = $boolMethod; $this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked($boolMethod);
$this->fileContentDynamic[$view]['###LICENSE_TABLE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked($boolMethod, '$table');
$this->fileContentDynamic[$view]['###BOOLMETHOD###'] = $boolMethod;
}
} }
else else
{ {
@ -1333,7 +1339,7 @@ class Interpretation extends Fields
{ {
if ($array['decode'] == 'json') if ($array['decode'] == 'json')
{ {
$if = "\n\t".$tab."\tif (".$this->fileContentStatic['###Component###']."Helper::checkString(".$string."->".$field."))\n\t".$tab."\t{"; $if = "\n\t".$tab."\tif (".$this->fileContentStatic['###Component###']."Helper::checkJson(".$string."->".$field."))\n\t".$tab."\t{";
// json_decode // json_decode
$decoder = $string."->".$field." = json_decode(".$string."->".$field.", true);"; $decoder = $string."->".$field." = json_decode(".$string."->".$field.", true);";
// TODO Use the type of field to prepare it even more for use in the view // TODO Use the type of field to prepare it even more for use in the view
@ -2114,7 +2120,7 @@ class Interpretation extends Fields
{ {
$methods .= "\n\n\t\t//".$this->setLine(__LINE__)." Check if \$" . $default['on_field'] . " is an array with values."; $methods .= "\n\n\t\t//".$this->setLine(__LINE__)." Check if \$" . $default['on_field'] . " is an array with values.";
$methods .= "\n\t\t\$array = \$" . $default['on_field'] . ";"; $methods .= "\n\t\t\$array = \$" . $default['on_field'] . ";";
$methods .= "\n\t\tif (isset(\$array) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$array))"; $methods .= "\n\t\tif (isset(\$array) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$array, true))";
$methods .= "\n\t\t{"; $methods .= "\n\t\t{";
$methods .= "\n\t\t\t\$query->where('".$get['join_field']." ".$get['operator']." (' . implode(',', \$array) . ')');"; $methods .= "\n\t\t\t\$query->where('".$get['join_field']." ".$get['operator']." (' . implode(',', \$array) . ')');";
$methods .= "\n\t\t}"; $methods .= "\n\t\t}";
@ -2368,13 +2374,16 @@ class Interpretation extends Fields
$getItem = ''; $getItem = '';
$this->siteDecrypt['basic'][$code] = false; $this->siteDecrypt['basic'][$code] = false;
$this->siteDecrypt['advanced'][$code] = false; $this->siteDecrypt['advanced'][$code] = false;
$Component = $this->fileContentStatic['###Component###'];
if (ComponentbuilderHelper::checkObject($get)) if (ComponentbuilderHelper::checkObject($get))
{ {
$getItem .= "\n\n\t\t//".$this->setLine(__LINE__)." Convert the parameter fields into objects."; $getItem .= "\n\n\t\t//".$this->setLine(__LINE__)." Convert the parameter fields into objects.";
$getItem .= "\n\t\tforeach (\$items as \$nr => &\$item)"; $getItem .= "\n\t\tif (".$Component."Helper::checkArray(\$items))";
$getItem .= "\n\t\t{"; $getItem .= "\n\t\t{";
$getItem .= "\n\t\t\t//".$this->setLine(__LINE__)." Always create a slug for sef URL's"; $getItem .= "\n\t\t\tforeach (\$items as \$nr => &\$item)";
$getItem .= "\n\t\t\t\$item->slug = (isset(\$item->alias)) ? \$item->id.':'.\$item->alias : \$item->id;"; $getItem .= "\n\t\t\t{";
$getItem .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Always create a slug for sef URL's";
$getItem .= "\n\t\t\t\t\$item->slug = (isset(\$item->alias) && isset(\$item->id)) ? \$item->id.':'.\$item->alias : \$item->id;";
if (isset($get->main_get) && ComponentbuilderHelper::checkArray($get->main_get)) if (isset($get->main_get) && ComponentbuilderHelper::checkArray($get->main_get))
{ {
$asBucket = array(); $asBucket = array();
@ -2386,7 +2395,7 @@ class Interpretation extends Fields
if (ComponentbuilderHelper::checkArray($decodeChecker)) if (ComponentbuilderHelper::checkArray($decodeChecker))
{ {
// set decoding of needed fields // set decoding of needed fields
$getItem .= $this->setCustomViewFieldDecode($main_get,$decodeChecker,"\$item",$code,"\t"); $getItem .= $this->setCustomViewFieldDecode($main_get,$decodeChecker,"\$item",$code,"\t\t");
} }
} }
// also filter fields if needed // also filter fields if needed
@ -2395,7 +2404,7 @@ class Interpretation extends Fields
$decodeFilter = $this->siteFieldDecodeFilter[$this->target][$code][$main_get['key']][$main_get['as']]; $decodeFilter = $this->siteFieldDecodeFilter[$this->target][$code][$main_get['key']][$main_get['as']];
if (ComponentbuilderHelper::checkArray($decodeFilter)) if (ComponentbuilderHelper::checkArray($decodeFilter))
{ {
$getItem .= $this->setCustomViewFieldDecodeFilter($main_get,$decodeFilter,"\$item",'$items[$nr]',$code,"\t"); $getItem .= $this->setCustomViewFieldDecodeFilter($main_get,$decodeFilter,"\$item",'$items[$nr]',$code,"\t\t");
} }
} }
if (isset($this->siteFieldData['uikit'][$code][$main_get['key']][$main_get['as']])) if (isset($this->siteFieldData['uikit'][$code][$main_get['key']][$main_get['as']]))
@ -2404,25 +2413,26 @@ class Interpretation extends Fields
if (ComponentbuilderHelper::checkArray($uikitChecker)) if (ComponentbuilderHelper::checkArray($uikitChecker))
{ {
// set uikit checkers on needed fields // set uikit checkers on needed fields
$getItem .= $this->setCustomViewFieldUikitChecker($main_get,$uikitChecker,"\$item",$code,"\t"); $getItem .= $this->setCustomViewFieldUikitChecker($main_get,$uikitChecker,"\$item",$code,"\t\t");
} }
} }
$asBucket[] = $main_get['as']; $asBucket[] = $main_get['as'];
} }
} }
// setup Globals // setup Globals
$getItem .= $this->setCustomViewGlobals($get->global,'$item',$asBucket,"\t"); $getItem .= $this->setCustomViewGlobals($get->global,'$item',$asBucket,"\t\t");
// setup the custom gets that returns multipal values // setup the custom gets that returns multipal values
$getItem .= $this->setCustomViewCustomJoin($get->custom_get,"\$item",$code,$asBucket,"\t"); $getItem .= $this->setCustomViewCustomJoin($get->custom_get,"\$item",$code,$asBucket,"\t\t");
// set calculations // set calculations
if ($get->addcalculation == 1) if ($get->addcalculation == 1)
{ {
$get->php_calculation = (array) explode("\n",$get->php_calculation); $get->php_calculation = (array) explode("\n",$get->php_calculation);
if (ComponentbuilderHelper::checkArray($get->php_calculation)) if (ComponentbuilderHelper::checkArray($get->php_calculation))
{ {
$getItem .= str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t\t".implode("\n\t\t\t",$get->php_calculation)); $getItem .= str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t\t\t".implode("\n\t\t\t\t",$get->php_calculation));
} }
} }
$getItem .= "\n\t\t\t}";
$getItem .= "\n\t\t}"; $getItem .= "\n\t\t}";
// remove empty foreach // remove empty foreach
if (strlen($getItem) <= 100) if (strlen($getItem) <= 100)
@ -2433,7 +2443,6 @@ class Interpretation extends Fields
if ($this->siteDecrypt['basic'][$code] || $this->siteDecrypt['advanced'][$code]) if ($this->siteDecrypt['basic'][$code] || $this->siteDecrypt['advanced'][$code])
{ {
$Component = $this->fileContentStatic['###Component###'];
$script = ''; $script = '';
if ($this->siteDecrypt['basic'][$code]) if ($this->siteDecrypt['basic'][$code])
{ {
@ -3986,8 +3995,16 @@ class Interpretation extends Fields
return ''; return '';
} }
public function routerParseSwitch(&$view) public function routerParseSwitch(&$view, $viewArray = null)
{ {
$isCategory = '';
if ($viewArray && ComponentbuilderHelper::checkArray($viewArray))
{
if (isset($viewArray['settings']->main_get->db_table_main) && $viewArray['settings']->main_get->db_table_main == 'categories')
{
$isCategory = ', true'; // TODO we will keep an eye on this....
}
}
// add if tags is added, also for all front item views // add if tags is added, also for all front item views
if (1) if (1)
{ {
@ -4002,7 +4019,7 @@ class Interpretation extends Fields
$routerSwitch[] = "\t\t\t\t}"; $routerSwitch[] = "\t\t\t\t}";
$routerSwitch[] = "\t\t\t\telse"; $routerSwitch[] = "\t\t\t\telse";
$routerSwitch[] = "\t\t\t\t{"; $routerSwitch[] = "\t\t\t\t{";
$routerSwitch[] = "\t\t\t\t\t\$id = \$this->getVar('".$view."', \$segments[\$count-1], 'alias', 'id');"; $routerSwitch[] = "\t\t\t\t\t\$id = \$this->getVar('".$view."', \$segments[\$count-1], 'alias', 'id'".$isCategory.");";
$routerSwitch[] = "\t\t\t\t\tif(\$id)"; $routerSwitch[] = "\t\t\t\t\tif(\$id)";
$routerSwitch[] = "\t\t\t\t\t{"; $routerSwitch[] = "\t\t\t\t\t{";
$routerSwitch[] = "\t\t\t\t\t\t\$vars['id'] = \$id;"; $routerSwitch[] = "\t\t\t\t\t\t\$vars['id'] = \$id;";
@ -7382,7 +7399,8 @@ class Interpretation extends Fields
$addButton[] = "\t\t\t\$script = array();"; $addButton[] = "\t\t\t\$script = array();";
$addButton[] = "\t\t\t\$buttonName = \$this->getAttribute('name');"; $addButton[] = "\t\t\t\$buttonName = \$this->getAttribute('name');";
$addButton[] = "\t\t\t//".$this->setLine(__LINE__)." get the input from url"; $addButton[] = "\t\t\t//".$this->setLine(__LINE__)." get the input from url";
$addButton[] = "\t\t\t\$jinput = JFactory::getApplication()->input;"; $addButton[] = "\t\t\t\$app = JFactory::getApplication();";
$addButton[] = "\t\t\t\$jinput = \$app->input;";
$addButton[] = "\t\t\t//".$this->setLine(__LINE__)." get the view name & id"; $addButton[] = "\t\t\t//".$this->setLine(__LINE__)." get the view name & id";
$addButton[] = "\t\t\t\$values = \$jinput->getArray(array("; $addButton[] = "\t\t\t\$values = \$jinput->getArray(array(";
$addButton[] = "\t\t\t\t'id' => 'int',"; $addButton[] = "\t\t\t\t'id' => 'int',";
@ -7409,11 +7427,11 @@ class Interpretation extends Fields
// check if the item has permissions. // check if the item has permissions.
if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($targetView,$this->permissionBuilder['global'][$core['core.create']])) if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($targetView,$this->permissionBuilder['global'][$core['core.create']]))
{ {
$addButton[] = "\t\t\tif (\$user->authorise('".$core['core.create']."', 'com_".$this->fileContentStatic['###component###']."'))"; $addButton[] = "\t\t\tif (\$user->authorise('".$core['core.create']."', 'com_".$this->fileContentStatic['###component###']."') && \$app->isAdmin()) // TODO for now only in admin area.";
} }
else else
{ {
$addButton[] = "\t\t\tif (\$user->authorise('core.create', 'com_".$this->fileContentStatic['###component###']."'))"; $addButton[] = "\t\t\tif (\$user->authorise('core.create', 'com_".$this->fileContentStatic['###component###']."') && \$app->isAdmin()) // TODO for now only in admin area.";
} }
$addButton[] = "\t\t\t{"; $addButton[] = "\t\t\t{";
$addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." build Create button"; $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." build Create button";
@ -7430,11 +7448,11 @@ class Interpretation extends Fields
// check if the item has permissions. // check if the item has permissions.
if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($targetView,$this->permissionBuilder['global'][$core['core.edit']])) if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($targetView,$this->permissionBuilder['global'][$core['core.edit']]))
{ {
$addButton[] = "\t\t\tif ((\$buttonName == '".$targetView."' || \$buttonName == '".$targetViews."') && \$user->authorise('".$core['core.edit']."', 'com_".$this->fileContentStatic['###component###']."'))"; $addButton[] = "\t\t\tif ((\$buttonName == '".$targetView."' || \$buttonName == '".$targetViews."') && \$user->authorise('".$core['core.edit']."', 'com_".$this->fileContentStatic['###component###']."') && \$app->isAdmin()) // TODO for now only in admin area.";
} }
else else
{ {
$addButton[] = "\t\t\tif ((\$buttonName == '".$targetView."' || \$buttonName == '".$targetViews."') && \$user->authorise('core.edit', 'com_".$this->fileContentStatic['###component###']."'))"; $addButton[] = "\t\t\tif ((\$buttonName == '".$targetView."' || \$buttonName == '".$targetViews."') && \$user->authorise('core.edit', 'com_".$this->fileContentStatic['###component###']."') && \$app->isAdmin()) // TODO for now only in admin area.";
} }
$addButton[] = "\t\t\t{"; $addButton[] = "\t\t\t{";
$addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." build edit button"; $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." build edit button";
@ -9156,7 +9174,7 @@ class Interpretation extends Fields
{ {
$allow[] = "\t\t\t\$permission = \$user->authorise('core.edit', 'com_".$component.".".$otherView.".' . (int) \$recordId);"; $allow[] = "\t\t\t\$permission = \$user->authorise('core.edit', 'com_".$component.".".$otherView.".' . (int) \$recordId);";
} }
$allow[] = "\t\t\tif (!\$permission && !is_null(\$permission))"; $allow[] = "\t\t\tif (!\$permission)";
$allow[] = "\t\t\t{"; $allow[] = "\t\t\t{";
// check if the item has permissions. // check if the item has permissions.
if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder[$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.own']]) && in_array($otherView,$this->permissionBuilder[$core['core.edit.own']])) if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder[$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.own']]) && in_array($otherView,$this->permissionBuilder[$core['core.edit.own']]))
@ -9252,7 +9270,7 @@ class Interpretation extends Fields
{ {
$allow[] = "\t\t\t\$permission = \$user->authorise('core.edit', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; $allow[] = "\t\t\t\$permission = \$user->authorise('core.edit', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);";
} }
$allow[] = "\t\t\tif (!\$permission && !is_null(\$permission))"; $allow[] = "\t\t\tif (!\$permission)";
$allow[] = "\t\t\t{"; $allow[] = "\t\t\t{";
// check if the item has permissions. // check if the item has permissions.
if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder[$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.own']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.own']])) if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder[$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.own']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.own']]))
@ -11608,6 +11626,7 @@ class Interpretation extends Fields
// these can be added anytime really (but looks best after groups // these can be added anytime really (but looks best after groups
$this->setUikitConfigFieldsets($lang); $this->setUikitConfigFieldsets($lang);
$this->setGooglechartConfigFieldsets($lang); $this->setGooglechartConfigFieldsets($lang);
$this->setEmailHelperConfigFieldsets($lang);
$this->setEncryptionConfigFieldsets($lang); $this->setEncryptionConfigFieldsets($lang);
// these are the coustom settings // these are the coustom settings
$this->setCustomControlConfigFieldsets($lang); $this->setCustomControlConfigFieldsets($lang);
@ -12183,6 +12202,476 @@ for developing fast and powerful web interfaces. For more info visit <a href=\"h
} }
public function setEmailHelperConfigFieldsets($lang)
{
if (isset($this->componentData->add_email_helper) && $this->componentData->add_email_helper)
{
// main lang prefix
$lang = $lang.'';
// set main lang string
$this->langContent[$this->lang][$lang.'_MAIL_CONFIGURATION'] = "Mail Configuration";
$this->langContent[$this->lang][$lang.'_DKIM'] = "DKIM";
// start building field set for email helper functions
$this->configFieldSets[] = "\n\t<fieldset";
$this->configFieldSets[] = "\t\tname=\"mail_configuration_custom_config\"";
$this->configFieldSets[] = "\t\tlabel=\"".$lang."_MAIL_CONFIGURATION\">";
// add custom Mail Configurations
if (isset($this->configFieldSetsCustomField['Mail Configuration']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Mail Configuration']))
{
$this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['Mail Configuration']);
unset($this->configFieldSetsCustomField['Mail Configuration']);
}
else
{
// set all the laguage strings
$this->langContent[$this->lang][$lang.'_MAILONLINE_LABEL'] = "Mailer Status";
$this->langContent[$this->lang][$lang.'_MAILONLINE_DESCRIPTION'] = "Warning this will stop all emails from going out.";
$this->langContent[$this->lang][$lang.'_ON'] = "On";
$this->langContent[$this->lang][$lang.'_OFF'] = "Off";
$this->langContent[$this->lang][$lang.'_MAILER_LABEL'] = "Mailer";
$this->langContent[$this->lang][$lang.'_MAILER_DESCRIPTION'] = "Select what mailer you would like to use to send emails.";
$this->langContent[$this->lang][$lang.'_GLOBAL'] = "Global";
$this->langContent[$this->lang][$lang.'_PHP_MAIL'] = "PHP Mail";
$this->langContent[$this->lang][$lang.'_SENDMAIL'] = "Sendmail";
$this->langContent[$this->lang][$lang.'_SMTP'] = "SMTP";
$this->langContent[$this->lang][$lang.'_EMAILFROM_LABEL'] = " From Email";
$this->langContent[$this->lang][$lang.'_EMAILFROM_DESCRIPTION'] = "The global email address that will be used to send system email.";
$this->langContent[$this->lang][$lang.'_EMAILFROM_HINT'] = "Email Address Here";
$this->langContent[$this->lang][$lang.'_FROMNAME_LABEL'] = "From Name";
$this->langContent[$this->lang][$lang.'_FROMNAME_DESCRIPTION'] = "Text displayed in the header &quot;From:&quot; field when sending a site email. Usually the site name.";
$this->langContent[$this->lang][$lang.'_FROMNAME_HINT'] = "From Name Here";
$this->langContent[$this->lang][$lang.'_EMAILREPLY_LABEL'] = " Reply Email";
$this->langContent[$this->lang][$lang.'_EMAILREPLY_DESCRIPTION'] = "The global email address that will be used to set as the reply email. (leave blank for none)";
$this->langContent[$this->lang][$lang.'_EMAILREPLY_HINT'] = "Email Address Here";
$this->langContent[$this->lang][$lang.'_REPLYNAME_LABEL'] = "Reply Name";
$this->langContent[$this->lang][$lang.'_REPLYNAME_DESCRIPTION'] = "Text displayed in the header &quot;Reply To:&quot; field when replying to the site email. Usually the the person that receives the response. (leave blank for none)";
$this->langContent[$this->lang][$lang.'_REPLYNAME_HINT'] = "Reply Name Here";
$this->langContent[$this->lang][$lang.'_SENDMAIL_LABEL'] = "Sendmail Path";
$this->langContent[$this->lang][$lang.'_SENDMAIL_DESCRIPTION'] = "Enter the path to the sendmail program directory on your host server.";
$this->langContent[$this->lang][$lang.'_SENDMAIL_HINT'] = "/usr/sbin/sendmail";
$this->langContent[$this->lang][$lang.'_SMTPAUTH_LABEL'] = "SMTP Authentication";
$this->langContent[$this->lang][$lang.'_SMTPAUTH_DESCRIPTION'] = "Select yes if your SMTP host requires SMTP Authentication.";
$this->langContent[$this->lang][$lang.'_YES'] = "Yes";
$this->langContent[$this->lang][$lang.'_NO'] = "No";
$this->langContent[$this->lang][$lang.'_SMTPSECURE_LABEL'] = "SMTP Security";
$this->langContent[$this->lang][$lang.'_SMTPSECURE_DESCRIPTION'] = "Select the security model that your SMTP server uses.";
$this->langContent[$this->lang][$lang.'_NONE'] = "None";
$this->langContent[$this->lang][$lang.'_SSL'] = "SSL";
$this->langContent[$this->lang][$lang.'_TLS'] = "TLS";
$this->langContent[$this->lang][$lang.'_SMTPPORT_LABEL'] = "SMTP Port";
$this->langContent[$this->lang][$lang.'_SMTPPORT_DESCRIPTION'] = "Enter the port number of your SMTP server. Use 25 for most unsecured servers and 465 for most secure servers.";
$this->langContent[$this->lang][$lang.'_SMTPPORT_HINT'] = "25";
$this->langContent[$this->lang][$lang.'_SMTPUSER_LABEL'] = "SMTP Username";
$this->langContent[$this->lang][$lang.'_SMTPUSER_DESCRIPTION'] = "Enter the username for access to the SMTP host.";
$this->langContent[$this->lang][$lang.'_SMTPUSER_HINT'] = "email@demo.com";
$this->langContent[$this->lang][$lang.'_SMTPPASS_LABEL'] = "SMTP Password";
$this->langContent[$this->lang][$lang.'_SMTPPASS_DESCRIPTION'] = "Enter the password for access to the SMTP host.";
$this->langContent[$this->lang][$lang.'_SMTPHOST_LABEL'] = "SMTP Host";
$this->langContent[$this->lang][$lang.'_SMTPHOST_DESCRIPTION'] = "Enter the name of the SMTP host.";
$this->langContent[$this->lang][$lang.'_SMTPHOST_HINT'] = "localhost";
// set the mailer fields
$this->configFieldSets[] = "\n\t\t<!--".$this->setLine(__LINE__)." Mailonline Field. Type: Radio. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"radio\"";
$this->configFieldSets[] = "\t\t\tname=\"mailonline\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_MAILONLINE_LABEL\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_MAILONLINE_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"btn-group btn-group-yesno\"";
$this->configFieldSets[] = "\t\t\tdefault=\"1\">";
$this->configFieldSets[] = "\t\t\t<!--".$this->setLine(__LINE__)." Option Set. -->";
$this->configFieldSets[] = "\t\t\t<option value=\"1\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_ON</option>";
$this->configFieldSets[] = "\t\t\t<option value=\"0\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_OFF</option>";
$this->configFieldSets[] = "\t\t</field>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Mailer Field. Type: List. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"list\"";
$this->configFieldSets[] = "\t\t\tname=\"mailer\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_MAILER_LABEL\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_MAILER_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"list_class\"";
$this->configFieldSets[] = "\t\t\tmultiple=\"false\"";
$this->configFieldSets[] = "\t\t\tfilter=\"WORD\"";
$this->configFieldSets[] = "\t\t\trequired=\"true\"";
$this->configFieldSets[] = "\t\t\tdefault=\"global\">";
$this->configFieldSets[] = "\t\t\t<!--".$this->setLine(__LINE__)." Option Set. -->";
$this->configFieldSets[] = "\t\t\t<option value=\"global\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_GLOBAL</option>";
$this->configFieldSets[] = "\t\t\t<option value=\"default\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_PHP_MAIL</option>";
$this->configFieldSets[] = "\t\t\t<option value=\"sendmail\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_SENDMAIL</option>";
$this->configFieldSets[] = "\t\t\t<option value=\"smtp\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_SMTP</option>";
$this->configFieldSets[] = "\t\t</field>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Emailfrom Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"emailfrom\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_EMAILFROM_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_EMAILFROM_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"STRING\"";
$this->configFieldSets[] = "\t\t\tvalidate=\"email\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add email address here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_EMAILFROM_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"mailer:smtp,sendmail,default\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Fromname Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"fromname\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_FROMNAME_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_FROMNAME_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"STRING\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add some name here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_FROMNAME_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"mailer:smtp,sendmail,default\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Emailreply Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"emailreply\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_EMAILREPLY_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_EMAILREPLY_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"STRING\"";
$this->configFieldSets[] = "\t\t\tvalidate=\"email\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add email address here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_EMAILREPLY_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"mailer:smtp,sendmail,default\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Replyname Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"replyname\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_REPLYNAME_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_REPLYNAME_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"STRING\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add some name here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_REPLYNAME_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"mailer:smtp,sendmail,default\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Sendmail Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"sendmail\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_SENDMAIL_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_SENDMAIL_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\trequired=\"false\"";
$this->configFieldSets[] = "\t\t\tfilter=\"PATH\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add path to you local sendmail here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_SENDMAIL_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"mailer:sendmail\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Smtpauth Field. Type: Radio. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"radio\"";
$this->configFieldSets[] = "\t\t\tname=\"smtpauth\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_SMTPAUTH_LABEL\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_SMTPAUTH_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"btn-group btn-group-yesno\"";
$this->configFieldSets[] = "\t\t\tdefault=\"0\"";
$this->configFieldSets[] = "\t\t\tshowon=\"mailer:smtp\">";
$this->configFieldSets[] = "\t\t\t<!--".$this->setLine(__LINE__)." Option Set. -->";
$this->configFieldSets[] = "\t\t\t<option value=\"1\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_YES</option>";
$this->configFieldSets[] = "\t\t\t<option value=\"0\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_NO</option>";
$this->configFieldSets[] = "\t\t</field>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Smtpsecure Field. Type: List. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"list\"";
$this->configFieldSets[] = "\t\t\tname=\"smtpsecure\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_SMTPSECURE_LABEL\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_SMTPSECURE_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"list_class\"";
$this->configFieldSets[] = "\t\t\tmultiple=\"false\"";
$this->configFieldSets[] = "\t\t\tfilter=\"WORD\"";
$this->configFieldSets[] = "\t\t\tdefault=\"none\"";
$this->configFieldSets[] = "\t\t\tshowon=\"mailer:smtp\">";
$this->configFieldSets[] = "\t\t\t<!--".$this->setLine(__LINE__)." Option Set. -->";
$this->configFieldSets[] = "\t\t\t<option value=\"none\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_NONE</option>";
$this->configFieldSets[] = "\t\t\t<option value=\"ssl\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_SSL</option>";
$this->configFieldSets[] = "\t\t\t<option value=\"tls\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_TLS</option>";
$this->configFieldSets[] = "\t\t</field>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Smtpport Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"smtpport\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_SMTPPORT_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdefault=\"25\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_SMTPPORT_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"INT\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add the port number of your SMTP server here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_SMTPPORT_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"mailer:smtp\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Smtpuser Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"smtpuser\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_SMTPUSER_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_SMTPUSER_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"STRING\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add the username for SMTP server here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_SMTPUSER_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"mailer:smtp\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Smtppass Field. Type: Password. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"password\"";
$this->configFieldSets[] = "\t\t\tname=\"smtppass\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_SMTPPASS_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_SMTPPASS_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"raw\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add the password for SMTP server here.\"";
$this->configFieldSets[] = "\t\t\tshowon=\"mailer:smtp\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Smtphost Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"smtphost\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_SMTPHOST_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdefault=\"localhost\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_SMTPHOST_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"STRING\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add the name of the SMTP host here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_SMTPHOST_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"mailer:smtp\"";
$this->configFieldSets[] = "\t\t/>";
}
// close that fieldset
$this->configFieldSets[] = "\t</fieldset>";
// start dkim field set
$this->configFieldSets[] = "\t<fieldset";
$this->configFieldSets[] = "\t\tname=\"dkim_custom_config\"";
$this->configFieldSets[] = "\t\tlabel=\"".$lang."_DKIM\">";
// add custom DKIM fields
if (isset($this->configFieldSetsCustomField['DKIM']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['DKIM']))
{
$this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['DKIM']);
unset($this->configFieldSetsCustomField['DKIM']);
}
else
{
$this->langContent[$this->lang][$lang.'_DKIM_LABEL'] = "Enable DKIM";
$this->langContent[$this->lang][$lang.'_DKIM_DESCRIPTION'] = "Set this option to Yes if you want to sign your emails using DKIM.";
$this->langContent[$this->lang][$lang.'_YES'] = "Yes";
$this->langContent[$this->lang][$lang.'_NO'] = "No";
$this->langContent[$this->lang][$lang.'_DKIM_DOMAIN_LABEL'] = "Domain";
$this->langContent[$this->lang][$lang.'_DKIM_DOMAIN_DESCRIPTION'] = "Set the domain. Eg. domain.com";
$this->langContent[$this->lang][$lang.'_DKIM_DOMAIN_HINT'] = "domain.com";
$this->langContent[$this->lang][$lang.'_DKIM_SELECTOR_LABEL'] = "Selector";
$this->langContent[$this->lang][$lang.'_DKIM_SELECTOR_DESCRIPTION'] = "Set your DKIM/DNS selector.";
$this->langContent[$this->lang][$lang.'_DKIM_SELECTOR_HINT'] = "vdm";
$this->langContent[$this->lang][$lang.'_DKIM_PASSPHRASE_LABEL'] = "Passphrase";
$this->langContent[$this->lang][$lang.'_DKIM_PASSPHRASE_DESCRIPTION'] = "Enter your passphrase here.";
$this->langContent[$this->lang][$lang.'_DKIM_IDENTITY_LABEL'] = "Identity";
$this->langContent[$this->lang][$lang.'_DKIM_IDENTITY_DESCRIPTION'] = "Set DKIM identity. This can be in the format of an email address 'you@yourdomain.com' typically used as the source of the email.";
$this->langContent[$this->lang][$lang.'_DKIM_IDENTITY_HINT'] = "you@yourdomain.com";
$this->langContent[$this->lang][$lang.'_DKIM_PRIVATE_KEY_LABEL'] = "Private key";
$this->langContent[$this->lang][$lang.'_DKIM_PRIVATE_KEY_DESCRIPTION'] = "set private key";
$this->langContent[$this->lang][$lang.'_DKIM_PUBLIC_KEY_LABEL'] = "Public key";
$this->langContent[$this->lang][$lang.'_DKIM_PUBLIC_KEY_DESCRIPTION'] = "set public key";
$this->langContent[$this->lang][$lang.'_NOTE_DKIM_USE_LABEL'] = "Server Configuration";
$this->langContent[$this->lang][$lang.'_NOTE_DKIM_USE_DESCRIPTION'] = "<p>Using the below details, you need to configure your DNS by adding a TXT record on your domain: <b><span id='a_dkim_domain'></span></b></p>
<script>
jQuery(document).ready(function()
{
// house cleaning
if( !jQuery('#jform_dkim_domain').val() ) {
jQuery('#jform_dkim_domain').val(window.location.hostname);
}
jQuery('#jform_dkim_key').click(function(){
jQuery(this).select();
});
jQuery('#jform_dkim_value').click(function(){
jQuery(this).select();
});
vdm_dkim();
});
function vdm_dkim() {
jQuery('#a_dkim_domain').text(jQuery('#jform_dkim_domain').val());
jQuery('#jform_dkim_key').val(jQuery('#jform_dkim_selector').val() + '._domainkey');
if( !jQuery('#jform_dkim_public_key').val() ) {
jQuery('#jform_dkim_value').val('v=DKIM1;k=rsa;g=*;s=email;h=sha1;t=s;p=PUBLICKEY');
} else {
jQuery('#jform_dkim_value').val('v=DKIM1;k=rsa;g=*;s=email;h=sha1;t=s;p=' + jQuery('#jform_dkim_public_key').val());
}
}
</script>";
$this->langContent[$this->lang][$lang.'_DKIM_KEY_LABEL'] = "Key";
$this->langContent[$this->lang][$lang.'_DKIM_KEY_DESCRIPTION'] = "This is the KEY to use in the DNS record.";
$this->langContent[$this->lang][$lang.'_DKIM_KEY_HINT'] = "vdm._domainkey";
$this->langContent[$this->lang][$lang.'_DKIM_VALUE_LABEL'] = "Value";
$this->langContent[$this->lang][$lang.'_DKIM_VALUE_DESCRIPTION'] = "This is the TXT value to use in the DNS. Replace the PUBLICKEY with your public key.";
$this->langContent[$this->lang][$lang.'_DKIM_VALUE_HINT'] = "v=DKIM1;k=rsa;g=*;s=email;h=sha1;t=s;p=PUBLICKEY";
$this->configFieldSets[] = "\n\t\t<!--".$this->setLine(__LINE__)." Dkim Field. Type: Radio. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"radio\"";
$this->configFieldSets[] = "\t\t\tname=\"dkim\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_DKIM_LABEL\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_DKIM_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"btn-group btn-group-yesno\"";
$this->configFieldSets[] = "\t\t\tdefault=\"0\"";
$this->configFieldSets[] = "\t\t\trequired=\"true\">";
$this->configFieldSets[] = "\t\t\t<!--".$this->setLine(__LINE__)." Option Set. -->";
$this->configFieldSets[] = "\t\t\t<option value=\"1\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_YES</option>";
$this->configFieldSets[] = "\t\t\t<option value=\"0\">";
$this->configFieldSets[] = "\t\t\t\t".$lang."_NO</option>";
$this->configFieldSets[] = "\t\t</field>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Dkim_domain Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"dkim_domain\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_DKIM_DOMAIN_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_DKIM_DOMAIN_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"STRING\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add DKIM Domain here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_DKIM_DOMAIN_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"dkim:1\"";
$this->configFieldSets[] = "\t\t\tonchange=\"vdm_dkim();\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Dkim_selector Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"dkim_selector\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_DKIM_SELECTOR_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdefault=\"vdm\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_DKIM_SELECTOR_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"STRING\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add DKIM/DNS selector here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_DKIM_SELECTOR_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"dkim:1\"";
$this->configFieldSets[] = "\t\t\tonchange=\"vdm_dkim();\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Dkim_passphrase Field. Type: Password. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"password\"";
$this->configFieldSets[] = "\t\t\tname=\"dkim_passphrase\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_DKIM_PASSPHRASE_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_DKIM_PASSPHRASE_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"raw\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add passphrase here.\"";
$this->configFieldSets[] = "\t\t\tshowon=\"dkim:1\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Dkim_identity Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"dkim_identity\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_DKIM_IDENTITY_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"60\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_DKIM_IDENTITY_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"raw\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add DKIM Identity here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_DKIM_IDENTITY_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"dkim:1\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Dkim_private_key Field. Type: Textarea. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"textarea\"";
$this->configFieldSets[] = "\t\t\tname=\"dkim_private_key\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_DKIM_PRIVATE_KEY_LABEL\"";
$this->configFieldSets[] = "\t\t\trows=\"15\"";
$this->configFieldSets[] = "\t\t\tcols=\"5\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_DKIM_PRIVATE_KEY_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"input-xxlarge span12\"";
$this->configFieldSets[] = "\t\t\tshowon=\"dkim:1\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Dkim_public_key Field. Type: Textarea. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"textarea\"";
$this->configFieldSets[] = "\t\t\tname=\"dkim_public_key\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_DKIM_PUBLIC_KEY_LABEL\"";
$this->configFieldSets[] = "\t\t\trows=\"5\"";
$this->configFieldSets[] = "\t\t\tcols=\"5\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_DKIM_PUBLIC_KEY_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"input-xxlarge span12\"";
$this->configFieldSets[] = "\t\t\tshowon=\"dkim:1\"";
$this->configFieldSets[] = "\t\t\tonchange=\"vdm_dkim();\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Note_dkim_use Field. Type: Note. A None Database Field. (joomla) -->";
$this->configFieldSets[] = "\t\t<field type=\"note\" name=\"note_dkim_use\" label=\"".$lang."_NOTE_DKIM_USE_LABEL\" description=\"".$lang."_NOTE_DKIM_USE_DESCRIPTION\" heading=\"h4\" class=\"note_dkim_use\" showon=\"dkim:1\" />\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Dkim_key Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"dkim_key\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_DKIM_KEY_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"40\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"150\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_DKIM_KEY_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"STRING\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add KEY here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_DKIM_KEY_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"dkim:1\"";
$this->configFieldSets[] = "\t\t/>\t\t";
$this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Dkim_value Field. Type: Text. (joomla) -->";
$this->configFieldSets[] = "\t\t<field";
$this->configFieldSets[] = "\t\t\ttype=\"text\"";
$this->configFieldSets[] = "\t\t\tname=\"dkim_value\"";
$this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_DKIM_VALUE_LABEL\"";
$this->configFieldSets[] = "\t\t\tsize=\"80\"";
$this->configFieldSets[] = "\t\t\tmaxlength=\"350\"";
$this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_DKIM_VALUE_DESCRIPTION\"";
$this->configFieldSets[] = "\t\t\tclass=\"text_area\"";
$this->configFieldSets[] = "\t\t\tfilter=\"STRING\"";
$this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add TXT record here.\"";
$this->configFieldSets[] = "\t\t\thint=\"".$lang."_DKIM_VALUE_HINT\"";
$this->configFieldSets[] = "\t\t\tshowon=\"dkim:1\"";
$this->configFieldSets[] = "\t\t/>";
}
// close that fieldset
$this->configFieldSets[] = "\t</fieldset>";
}
}
public function setGooglechartConfigFieldsets($lang) public function setGooglechartConfigFieldsets($lang)
{ {
if ($this->googlechart) if ($this->googlechart)

View File

@ -252,8 +252,8 @@ class Infusion extends Interpretation
$this->placeholders['###View###'] = $viewName_f; $this->placeholders['###View###'] = $viewName_f;
// set license per view if needed // set license per view if needed
$this->setLockLicensePer($viewName_single); $this->setLockLicensePer($viewName_single, $this->target);
$this->setLockLicensePer($viewName_list); $this->setLockLicensePer($viewName_list, $this->target);
// ###FIELDSETS### <<<DYNAMIC>>> // ###FIELDSETS### <<<DYNAMIC>>>
$this->fileContentDynamic[$viewName_single]['###FIELDSETS###'] = $this->setFieldSet($view, $this->fileContentStatic['###component###']); $this->fileContentDynamic[$viewName_single]['###FIELDSETS###'] = $this->setFieldSet($view, $this->fileContentStatic['###component###']);
@ -610,7 +610,7 @@ class Infusion extends Interpretation
$this->placeholders['[[[SVIEWS]]]'] = $view['settings']->CODE; $this->placeholders['[[[SVIEWS]]]'] = $view['settings']->CODE;
// set license per view if needed // set license per view if needed
$this->setLockLicensePer($view['settings']->code); $this->setLockLicensePer($view['settings']->code, $this->target);
if ($view['settings']->main_get->gettype == 1) if ($view['settings']->main_get->gettype == 1)
{ {
@ -857,7 +857,7 @@ class Infusion extends Interpretation
$this->placeholders['[[[SVIEWS]]]'] = $view['settings']->CODE; $this->placeholders['[[[SVIEWS]]]'] = $view['settings']->CODE;
// set license per view if needed // set license per view if needed
$this->setLockLicensePer($view['settings']->code); $this->setLockLicensePer($view['settings']->code, $this->target);
// set the site default view // set the site default view
if ($view['default_view'] == 1) if ($view['default_view'] == 1)
@ -874,7 +874,7 @@ class Infusion extends Interpretation
// insure the needed route helper is loaded // insure the needed route helper is loaded
$this->fileContentStatic['###ROUTEHELPER###'] .= $this->setRouterHelp($view['settings']->code,$view['settings']->code, true); $this->fileContentStatic['###ROUTEHELPER###'] .= $this->setRouterHelp($view['settings']->code,$view['settings']->code, true);
// build route details // build route details
$this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] .= $this->routerParseSwitch($view['settings']->code); $this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] .= $this->routerParseSwitch($view['settings']->code, $view);
$this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] .= $this->routerBuildViews($view['settings']->code); $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] .= $this->routerBuildViews($view['settings']->code);
if ($view['settings']->main_get->gettype == 1) if ($view['settings']->main_get->gettype == 1)

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage componentbuilder.php @subpackage componentbuilder.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -854,7 +854,7 @@ abstract class ComponentbuilderHelper
{ {
// The record has been set. Check the record permissions. // The record has been set. Check the record permissions.
$permission = $user->authorise($action->name, 'com_componentbuilder.'.$view.'.' . (int) $record->id); $permission = $user->authorise($action->name, 'com_componentbuilder.'.$view.'.' . (int) $record->id);
if (!$permission && !is_null($permission)) if (!$permission) // TODO removed && !is_null($permission)
{ {
if ($action->name == 'core.edit' || $action->name == $view.'.edit') if ($action->name == 'core.edit' || $action->name == $view.'.edit')
{ {
@ -1189,10 +1189,22 @@ abstract class ComponentbuilderHelper
return false; return false;
} }
public static function checkArray($array) public static function checkArray($array, $removeEmptyString = false)
{ {
if (isset($array) && is_array($array) && count($array) > 0) if (isset($array) && is_array($array) && count($array) > 0)
{ {
// also make sure the empty strings are removed
if ($removeEmptyString)
{
foreach ($array as $key => $string)
{
if (empty($string))
{
unset($array[$key]);
}
}
return self::checkArray($array, false);
}
return true; return true;
} }
return false; return false;

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage batch_.php @subpackage batch_.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage indenter.php @subpackage indenter.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage js.php @subpackage js.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage minify.php @subpackage minify.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -1087,7 +1087,7 @@ COM_COMPONENTBUILDER_COMPONENT_NOTE_README_DESCRIPTION="<div style='margin: 10px
## Build Time<br /> ## Build Time<br />
<br /> <br />
**###totalHours### Hours** or **###totalDays### Eight Hour Days** (actual time the author saved - <br /> **###totalHours### Hours** or **###totalDays### Eight Hour Days** (actual time the author saved - <br />
due to [Automated Component Builder](https://www.vdm.io/joomla-component-builder))<br /> due to [Automated Component Builder](http://vdm.bz/component-builder))<br />
<br /> <br />
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,<br /> > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,<br />
> never making one mistake or taking any coffee break.)<br /> > never making one mistake or taking any coffee break.)<br />
@ -1112,7 +1112,7 @@ due to [Automated Component Builder](https://www.vdm.io/joomla-component-builder
<br /> <br />
Project duration: **###projectWeekTime### weeks** or **###projectMonthTime### months**<br /> Project duration: **###projectWeekTime### weeks** or **###projectMonthTime### months**<br />
<br /> <br />
> This **component** was build with a Joomla [Automated Component Builder](https://www.vdm.io/joomla-component-builder).<br /> > This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).<br />
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)<br /> > Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)<br />
<br /> <br />
## Donations<br /> ## Donations<br />

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage css_fullwidth.php @subpackage css_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_buttons_fullwidth.php @subpackage custom_buttons_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_buttons_left.php @subpackage custom_buttons_left.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage custom_import_fullwidth.php @subpackage custom_import_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage fields_fullwidth.php @subpackage fields_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage javascript_fullwidth.php @subpackage javascript_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage mysql_fullwidth.php @subpackage mysql_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage mysql_left.php @subpackage mysql_left.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage php_fullwidth.php @subpackage php_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publishing.php @subpackage publishing.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publlshing.php @subpackage publlshing.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_above.php @subpackage settings_above.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_left.php @subpackage settings_left.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_right.php @subpackage settings_right.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_under.php @subpackage settings_under.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage batchselection.php @subpackage batchselection.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_views_fullwidth.php @subpackage admin_views_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_above.php @subpackage details_above.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_left.php @subpackage details_left.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_right.php @subpackage details_right.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage details_under.php @subpackage details_under.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage dynamic_integration_fullwidth.php @subpackage dynamic_integration_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage libs_helpers_fullwidth.php @subpackage libs_helpers_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage mysql_fullwidth.php @subpackage mysql_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage php_fullwidth.php @subpackage php_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publishing.php @subpackage publishing.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage publlshing.php @subpackage publlshing.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage readme_left.php @subpackage readme_left.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage readme_right.php @subpackage readme_right.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_left.php @subpackage settings_left.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage settings_right.php @subpackage settings_right.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

View File

@ -10,12 +10,12 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.4 @version 2.2.5
@build 25th November, 2016 @build 22nd December, 2016
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage site_views_fullwidth.php @subpackage site_views_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> @author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved @copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html

Some files were not shown because too many files have changed in this diff Show More