diff --git a/README.md b/README.md
index 1a338ac91..94bd62fd9 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Component Builder (2.1.0)
+# Component Builder (2.1.1)
This is a [Joomla 3.x] (http://www.joomla.org/) component.
@@ -16,8 +16,6 @@ The Component Builder for Joomla that is highly advanced, truly able to build ex
+ **Dev + Howtos Version** ([get this demo set](https://www.vdm.io/joomla-component-builder))
- *Demo Component* see the build on [github] (https://github.com/namibia/demo-joomla-3-component)
-
*All the above*
*Sermon Distributor* see the build on [github] (https://github.com/SermonDistributor/Joomla-3-Component)
@@ -34,8 +32,8 @@ Would you require more help VDM.io has a number of support plans available [visi
+ *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io)
+ *Name*: [Component Builder] (https://www.vdm.io/joomla-component-builder)
+ *First Build*: 30th April, 2015
-+ *Last Build*: 29th February, 2016
-+ *Version*: 2.1.0
++ *Last Build*: 1st March, 2016
++ *Version*: 2.1.1
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@@ -47,9 +45,9 @@ due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builde
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
> never making one mistake or taking any coffee break.)
-+ *Line count*: **80120**
-+ *File count*: **495**
-+ *Folder count*: **96**
++ *Line count*: **80154**
++ *File count*: **492**
++ *Folder count*: **97**
**148 Hours** or **18 Eight Hour Days** (the actual time the author spent)
diff --git a/admin/assets/css/admin.css b/admin/assets/css/admin.css
index 1b68ab598..2db7a479d 100644
--- a/admin/assets/css/admin.css
+++ b/admin/assets/css/admin.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin.css
diff --git a/admin/assets/css/admin_view.css b/admin/assets/css/admin_view.css
index daba5775d..ba46eaf45 100644
--- a/admin/assets/css/admin_view.css
+++ b/admin/assets/css/admin_view.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.css
diff --git a/admin/assets/css/admin_views.css b/admin/assets/css/admin_views.css
index e03ba3ef2..fa0f2fc4d 100644
--- a/admin/assets/css/admin_views.css
+++ b/admin/assets/css/admin_views.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_views.css
diff --git a/admin/assets/css/component.css b/admin/assets/css/component.css
index d13233b3d..f0b8fc287 100644
--- a/admin/assets/css/component.css
+++ b/admin/assets/css/component.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage component.css
diff --git a/admin/assets/css/components.css b/admin/assets/css/components.css
index 172c80eef..66342d2ed 100644
--- a/admin/assets/css/components.css
+++ b/admin/assets/css/components.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage components.css
diff --git a/admin/assets/css/custom_admin_view.css b/admin/assets/css/custom_admin_view.css
index 7c425e9a5..ebd242d29 100644
--- a/admin/assets/css/custom_admin_view.css
+++ b/admin/assets/css/custom_admin_view.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.css
diff --git a/admin/assets/css/custom_admin_views.css b/admin/assets/css/custom_admin_views.css
index 94462fba0..c291cdd57 100644
--- a/admin/assets/css/custom_admin_views.css
+++ b/admin/assets/css/custom_admin_views.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_views.css
diff --git a/admin/assets/css/dashboard.css b/admin/assets/css/dashboard.css
index 58a27b323..9997aa013 100644
--- a/admin/assets/css/dashboard.css
+++ b/admin/assets/css/dashboard.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dashboard.css
diff --git a/admin/assets/css/dynamic_get.css b/admin/assets/css/dynamic_get.css
index a720718d1..aab0cf9b0 100644
--- a/admin/assets/css/dynamic_get.css
+++ b/admin/assets/css/dynamic_get.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_get.css
diff --git a/admin/assets/css/dynamic_gets.css b/admin/assets/css/dynamic_gets.css
index a588a6e67..d58d1d9cb 100644
--- a/admin/assets/css/dynamic_gets.css
+++ b/admin/assets/css/dynamic_gets.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_gets.css
diff --git a/admin/assets/css/field.css b/admin/assets/css/field.css
index 9bb7a6346..ea5b40e01 100644
--- a/admin/assets/css/field.css
+++ b/admin/assets/css/field.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage field.css
diff --git a/admin/assets/css/fields.css b/admin/assets/css/fields.css
index 34dab1997..8bf7c0c51 100644
--- a/admin/assets/css/fields.css
+++ b/admin/assets/css/fields.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields.css
diff --git a/admin/assets/css/fieldtype.css b/admin/assets/css/fieldtype.css
index ed732a3db..a0b90b6c0 100644
--- a/admin/assets/css/fieldtype.css
+++ b/admin/assets/css/fieldtype.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.css
diff --git a/admin/assets/css/fieldtypes.css b/admin/assets/css/fieldtypes.css
index c601e8821..273c9be15 100644
--- a/admin/assets/css/fieldtypes.css
+++ b/admin/assets/css/fieldtypes.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.css
diff --git a/admin/assets/css/help_document.css b/admin/assets/css/help_document.css
index 1e1dd2714..24959d784 100644
--- a/admin/assets/css/help_document.css
+++ b/admin/assets/css/help_document.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_document.css
diff --git a/admin/assets/css/help_documents.css b/admin/assets/css/help_documents.css
index 2da18fd32..94de9c402 100644
--- a/admin/assets/css/help_documents.css
+++ b/admin/assets/css/help_documents.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_documents.css
diff --git a/admin/assets/css/layout.css b/admin/assets/css/layout.css
index 4135d0523..0e2826953 100644
--- a/admin/assets/css/layout.css
+++ b/admin/assets/css/layout.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layout.css
diff --git a/admin/assets/css/layouts.css b/admin/assets/css/layouts.css
index 5e952c65b..e2bfe0daa 100644
--- a/admin/assets/css/layouts.css
+++ b/admin/assets/css/layouts.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layouts.css
diff --git a/admin/assets/css/site_view.css b/admin/assets/css/site_view.css
index bc3e4f0ec..0f5630758 100644
--- a/admin/assets/css/site_view.css
+++ b/admin/assets/css/site_view.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_view.css
diff --git a/admin/assets/css/site_views.css b/admin/assets/css/site_views.css
index e75773e96..03661dfb5 100644
--- a/admin/assets/css/site_views.css
+++ b/admin/assets/css/site_views.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_views.css
diff --git a/admin/assets/css/snippet.css b/admin/assets/css/snippet.css
index b09a5f937..a3a40e9e6 100644
--- a/admin/assets/css/snippet.css
+++ b/admin/assets/css/snippet.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippet.css
diff --git a/admin/assets/css/snippets.css b/admin/assets/css/snippets.css
index 925fcf6fc..9cdd4619a 100644
--- a/admin/assets/css/snippets.css
+++ b/admin/assets/css/snippets.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippets.css
diff --git a/admin/assets/css/template.css b/admin/assets/css/template.css
index b5d5ca32f..33d9338c1 100644
--- a/admin/assets/css/template.css
+++ b/admin/assets/css/template.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage template.css
diff --git a/admin/assets/css/templates.css b/admin/assets/css/templates.css
index 7e1dd1414..aa000b5cd 100644
--- a/admin/assets/css/templates.css
+++ b/admin/assets/css/templates.css
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage templates.css
diff --git a/admin/componentbuilder.php b/admin/componentbuilder.php
index e28a04b5a..ac209ea35 100644
--- a/admin/componentbuilder.php
+++ b/admin/componentbuilder.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php
diff --git a/admin/controller.php b/admin/controller.php
index b53e35ca0..ea0a16eb8 100644
--- a/admin/controller.php
+++ b/admin/controller.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage controller.php
diff --git a/admin/controllers/admin_view.php b/admin/controllers/admin_view.php
index 5efd9cbbf..dca0b2be9 100644
--- a/admin/controllers/admin_view.php
+++ b/admin/controllers/admin_view.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.php
diff --git a/admin/controllers/admin_views.php b/admin/controllers/admin_views.php
index 20c724c3e..9af8c87fd 100644
--- a/admin/controllers/admin_views.php
+++ b/admin/controllers/admin_views.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_views.php
diff --git a/admin/controllers/ajax.json.php b/admin/controllers/ajax.json.php
index a7fc906c7..e6f230833 100644
--- a/admin/controllers/ajax.json.php
+++ b/admin/controllers/ajax.json.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage ajax.json.php
diff --git a/admin/controllers/compiler.php b/admin/controllers/compiler.php
index 8a053c61c..5c660e41a 100644
--- a/admin/controllers/compiler.php
+++ b/admin/controllers/compiler.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage compiler.php
diff --git a/admin/controllers/component.php b/admin/controllers/component.php
index 29c6b16eb..5a0f4178e 100644
--- a/admin/controllers/component.php
+++ b/admin/controllers/component.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage component.php
diff --git a/admin/controllers/componentbuilder.php b/admin/controllers/componentbuilder.php
index 7836d74f4..25e477a6e 100644
--- a/admin/controllers/componentbuilder.php
+++ b/admin/controllers/componentbuilder.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php
diff --git a/admin/controllers/components.php b/admin/controllers/components.php
index 90c703b1f..6f090fe07 100644
--- a/admin/controllers/components.php
+++ b/admin/controllers/components.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage components.php
diff --git a/admin/controllers/custom_admin_view.php b/admin/controllers/custom_admin_view.php
index 06a826e61..c7a0c7758 100644
--- a/admin/controllers/custom_admin_view.php
+++ b/admin/controllers/custom_admin_view.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.php
diff --git a/admin/controllers/custom_admin_views.php b/admin/controllers/custom_admin_views.php
index 614a9d8a4..1a39b61e1 100644
--- a/admin/controllers/custom_admin_views.php
+++ b/admin/controllers/custom_admin_views.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_views.php
diff --git a/admin/controllers/dynamic_get.php b/admin/controllers/dynamic_get.php
index 4c5f1d5b8..b787935c6 100644
--- a/admin/controllers/dynamic_get.php
+++ b/admin/controllers/dynamic_get.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_get.php
diff --git a/admin/controllers/dynamic_gets.php b/admin/controllers/dynamic_gets.php
index 34cd02fc6..d230b0ae3 100644
--- a/admin/controllers/dynamic_gets.php
+++ b/admin/controllers/dynamic_gets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_gets.php
diff --git a/admin/controllers/field.php b/admin/controllers/field.php
index 4247bb8ef..8a312ad21 100644
--- a/admin/controllers/field.php
+++ b/admin/controllers/field.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage field.php
diff --git a/admin/controllers/fields.php b/admin/controllers/fields.php
index 610478ab1..832da3ab5 100644
--- a/admin/controllers/fields.php
+++ b/admin/controllers/fields.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields.php
diff --git a/admin/controllers/fieldtype.php b/admin/controllers/fieldtype.php
index b552025cd..d10163e45 100644
--- a/admin/controllers/fieldtype.php
+++ b/admin/controllers/fieldtype.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.php
diff --git a/admin/controllers/fieldtypes.php b/admin/controllers/fieldtypes.php
index c2d6ce32c..8915e075e 100644
--- a/admin/controllers/fieldtypes.php
+++ b/admin/controllers/fieldtypes.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.php
diff --git a/admin/controllers/help.php b/admin/controllers/help.php
index 91625ef21..49e979e1f 100644
--- a/admin/controllers/help.php
+++ b/admin/controllers/help.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help.php
diff --git a/admin/controllers/help_document.php b/admin/controllers/help_document.php
index 70fe6eb9b..f6dda237e 100644
--- a/admin/controllers/help_document.php
+++ b/admin/controllers/help_document.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_document.php
diff --git a/admin/controllers/help_documents.php b/admin/controllers/help_documents.php
index 671c3453f..a23bea9ac 100644
--- a/admin/controllers/help_documents.php
+++ b/admin/controllers/help_documents.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_documents.php
diff --git a/admin/controllers/import.php b/admin/controllers/import.php
index 45fc0175f..fea22ae6d 100644
--- a/admin/controllers/import.php
+++ b/admin/controllers/import.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage import.php
diff --git a/admin/controllers/layout.php b/admin/controllers/layout.php
index 2d371c2c6..5e2a9e4af 100644
--- a/admin/controllers/layout.php
+++ b/admin/controllers/layout.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layout.php
diff --git a/admin/controllers/layouts.php b/admin/controllers/layouts.php
index 798307f66..a7670b270 100644
--- a/admin/controllers/layouts.php
+++ b/admin/controllers/layouts.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layouts.php
diff --git a/admin/controllers/site_view.php b/admin/controllers/site_view.php
index d95c12188..e9dfd1ffd 100644
--- a/admin/controllers/site_view.php
+++ b/admin/controllers/site_view.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_view.php
diff --git a/admin/controllers/site_views.php b/admin/controllers/site_views.php
index 4e163c807..354a107a5 100644
--- a/admin/controllers/site_views.php
+++ b/admin/controllers/site_views.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_views.php
diff --git a/admin/controllers/snippet.php b/admin/controllers/snippet.php
index d270e60da..4f5add62b 100644
--- a/admin/controllers/snippet.php
+++ b/admin/controllers/snippet.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippet.php
diff --git a/admin/controllers/snippets.php b/admin/controllers/snippets.php
index bb5efa43a..e18e16521 100644
--- a/admin/controllers/snippets.php
+++ b/admin/controllers/snippets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippets.php
diff --git a/admin/controllers/template.php b/admin/controllers/template.php
index 4b7006fda..147d5bdc3 100644
--- a/admin/controllers/template.php
+++ b/admin/controllers/template.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage template.php
diff --git a/admin/controllers/templates.php b/admin/controllers/templates.php
index 5076c5980..7a9bb12a4 100644
--- a/admin/controllers/templates.php
+++ b/admin/controllers/templates.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.0
- @build 29th February, 2016
+ @version 2.1.1
+ @build 1st March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage templates.php
diff --git a/admin/helpers/compiler/fields.php b/admin/helpers/compiler/fields.php
new file mode 100644
index 000000000..eff2a2f1c
--- /dev/null
+++ b/admin/helpers/compiler/fields.php
@@ -0,0 +1,1767 @@
+
+ @my wife Roline van der Merwe
+ @copyright Copyright (C) 2015. All Rights Reserved
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Builds Complex Joomla Components
+
+ /----------------------------------------------------------------------------------------------------------------------------- */
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+/**
+ * Compiler class
+ */
+class Fields extends Structure
+{
+ /*
+ * Metadate Switch
+ *
+ * @var array
+ */
+
+ public $metadataBuilder = array();
+
+ /*
+ * View access Switch
+ *
+ * @var array
+ */
+ public $accessBuilder = array();
+
+ /*
+ * edit view tabs counter
+ *
+ * @var array
+ */
+ public $tabCounter = array();
+
+ /*
+ * layout builder
+ *
+ * @var array
+ */
+ public $layoutBuilder = array();
+
+ /*
+ * Site field data
+ *
+ * @var array
+ */
+ public $siteFieldData = array();
+
+ /*
+ * Category other name bucket
+ *
+ * @var array
+ */
+ public $catOtherName = array();
+
+ /*
+ * list of fields that are not being escaped
+ *
+ * @var array
+ */
+ public $doNotEscape = array();
+
+ /*
+ * tags builder
+ *
+ * @var array
+ */
+ public $tagsBuilder = array();
+
+ /*
+ * query builder
+ *
+ * @var array
+ */
+ public $queryBuilder = array();
+
+ /*
+ * unique keys for database field
+ *
+ * @var array
+ */
+ public $dbUniqueKeys = array();
+
+ /*
+ * keys for database field
+ *
+ * @var array
+ */
+ public $dbKeys = array();
+
+ /*
+ * history builder
+ *
+ * @var array
+ */
+ public $historyBuilder = array();
+
+ /*
+ * alias builder
+ *
+ * @var array
+ */
+ public $aliasBuilder = array();
+
+ /*
+ * title builder
+ *
+ * @var array
+ */
+ public $titleBuilder = array();
+
+ /*
+ * list builder
+ *
+ * @var array
+ */
+ public $listBuilder = array();
+
+ /*
+ * custom Builder List
+ *
+ * @var array
+ */
+ public $customBuilderList = array();
+
+ /*
+ * Hidden Fields Builder
+ *
+ * @var array
+ */
+ public $hiddenFieldsBuilder = array();
+
+ /*
+ * INT Field Builder
+ *
+ * @var array
+ */
+ public $intFieldsBuilder = array();
+
+ /*
+ * Dynamic Fields Builder
+ *
+ * @var array
+ */
+ public $dynamicfieldsBuilder = array();
+
+ /*
+ * Main text Builder
+ *
+ * @var array
+ */
+ public $maintextBuilder = array();
+
+ /*
+ * Custom Builder
+ *
+ * @var array
+ */
+ public $customBuilder = array();
+
+ /*
+ * Custom Field Links Builder
+ *
+ * @var array
+ */
+ public $customFieldLinksBuilder = array();
+
+ /*
+ * Set Script for User Switch
+ *
+ * @var array
+ */
+ public $setScriptUserSwitch = array();
+
+ /*
+ * Set Script for Media Switch
+ *
+ * @var array
+ */
+ public $setScriptMediaSwitch = array();
+
+ /*
+ * Category builder
+ *
+ * @var array
+ */
+ public $categoryBuilder = array();
+
+ /*
+ * Category Code builder
+ *
+ * @var array
+ */
+ public $catCodeBuilder = array();
+
+ /*
+ * Check Box builder
+ *
+ * @var array
+ */
+ public $checkboxBuilder = array();
+
+ /*
+ * Json String Builder
+ *
+ * @var array
+ */
+ public $jsonStringBuilder = array();
+
+ /*
+ * Json Item Builder
+ *
+ * @var array
+ */
+ public $jsonItemBuilder = array();
+
+ /*
+ * Base 64 Builder
+ *
+ * @var array
+ */
+ public $base64Builder = array();
+
+ /*
+ * Basic Encryption Builder
+ *
+ * @var array
+ */
+ public $basicEncryptionBuilder = array();
+
+ /*
+ * Advnaced Encryption Builder
+ *
+ * @var array
+ */
+ public $advancedEncryptionBuilder = array();
+
+ /*
+ * Get Items Method List String Fix Builder
+ *
+ * @var array
+ */
+ public $getItemsMethodListStringFixBuilder = array();
+
+ /*
+ * Get Items Method Eximport String Fix Builder
+ *
+ * @var array
+ */
+ public $getItemsMethodEximportStringFixBuilder = array();
+
+ /*
+ * Selection Translation Fix Builder
+ *
+ * @var array
+ */
+ public $selectionTranslationFixBuilder = array();
+
+ /*
+ * Sort Builder
+ *
+ * @var array
+ */
+ public $sortBuilder = array();
+
+ /*
+ * Search Builder
+ *
+ * @var array
+ */
+ public $searchBuilder = array();
+
+ /*
+ * Filter Builder
+ *
+ * @var array
+ */
+ public $filterBuilder = array();
+
+ /*
+ * Set Group Control
+ *
+ * @var array
+ */public $setGroupControl = array();
+
+ /*
+ * set the Field set of a view
+ *
+ * @param array $view The view data
+ * @param string $component The component name
+ *
+ * @return string The fields set in xml
+ *
+ */
+ public function setFieldSet($view, $component)
+ {
+ // setup the fieldset of this view
+ if (isset($view['settings']->fields) && ComponentbuilderHelper::checkArray($view['settings']->fields))
+ {
+ // setup the list view and single view name
+ $listViewName = ComponentbuilderHelper::safeString($view['settings']->name_list);
+ $viewName = ComponentbuilderHelper::safeString($view['settings']->name_single);
+ // add metadata to the view
+ if ($view['metadata'])
+ {
+ $this->metadataBuilder[$viewName] = $viewName;
+ }
+ // add access to the view
+ if ($view['access'])
+ {
+ $this->accessBuilder[$viewName] = $viewName;
+ }
+ // set the read only
+ $readOnly = "";
+ if ($view['settings']->type == 2)
+ {
+ $readOnly = "\n\t\t\t" . 'readonly="true"' . "\n\t\t\t" . 'disabled="true"';
+ }
+ // main lang prefix
+ $langView = $this->langPrefix . '_' . ComponentbuilderHelper::safeString($view['settings']->name_single, 'U');
+ $langViews = $this->langPrefix . '_' . ComponentbuilderHelper::safeString($view['settings']->name_list, 'U');
+ // set default lang
+ $this->langContent[$this->lang][$langView] = $view['settings']->name_single;
+ $this->langContent[$this->lang][$langViews] = $view['settings']->name_list;
+ // set the singel name
+ $viewSingleName = ComponentbuilderHelper::safeString($view['settings']->name_single, 'W');
+ // set global item strings
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_ARCHIVED'] = "%s " . $view['settings']->name_list . " archived.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_ARCHIVED_1'] = "%s " . $view['settings']->name_single . " archived.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_CHECKED_IN_0'] = "No " . $view['settings']->name_single . " successfully checked in.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_CHECKED_IN_1'] = "%d " . $view['settings']->name_single . " successfully checked in.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_CHECKED_IN_MORE'] = "%d " . $view['settings']->name_list . " successfully checked in.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_DELETED'] = "%s " . $view['settings']->name_list . " deleted.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_DELETED_1'] = "%s " . $view['settings']->name_single . " deleted.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_FEATURED'] = "%s " . $view['settings']->name_list . " featured.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_FEATURED_1'] = "%s " . $view['settings']->name_single . " featured.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_PUBLISHED'] = "%s " . $view['settings']->name_list . " published.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_PUBLISHED_1'] = "%s " . $view['settings']->name_single . " published.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_TRASHED'] = "%s " . $view['settings']->name_list . " trashed.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_TRASHED_1'] = "%s " . $view['settings']->name_single . " trashed.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_UNFEATURED'] = "%s " . $view['settings']->name_list . " unfeatured.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_UNFEATURED_1'] = "%s " . $view['settings']->name_single . " unfeatured.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_UNPUBLISHED'] = "%s " . $view['settings']->name_list . " unpublished.";
+ $this->langContent[$this->lang][$langViews . '_N_ITEMS_UNPUBLISHED_1'] = "%s " . $view['settings']->name_single . " unpublished.";
+ $this->langContent[$this->lang][$langViews . '_BATCH_OPTIONS'] = "Batch process the selected " . $view['settings']->name_list;
+ $this->langContent[$this->lang][$langViews . '_BATCH_TIP'] = "All changes will be applied to all selected " . $view['settings']->name_list;
+ // set some basic defaults
+ $this->langContent[$this->lang][$langView . '_ERROR_UNIQUE_ALIAS'] = "Another " . $view['settings']->name_single . " has the same alias.";
+ $this->langContent[$this->lang][$langView . '_CREATED_DATE_LABEL'] = "Created date";
+ $this->langContent[$this->lang][$langView . '_CREATED_DATE_DESC'] = "The date " . $view['settings']->name_single . " was created.";
+ $this->langContent[$this->lang][$langView . '_CREATED_BY_LABEL'] = "Created by";
+ $this->langContent[$this->lang][$langView . '_CREATED_BY_DESC'] = "The user that created the " . $view['settings']->name_single . ".";
+ $this->langContent[$this->lang][$langView . '_ORDERING_LABEL'] = "Ordering";
+ $this->langContent[$this->lang][$langView . '_VERSION_LABEL'] = "Revision";
+ $this->langContent[$this->lang][$langView . '_VERSION_DESC'] = "A count of the number of times this " . $view['settings']->name_single . " has been revised.";
+ $this->langContent[$this->lang][$langView . '_SAVE_WARNING'] = "Alias already existed so a number was added at the end. You can re-edit the " . $view['settings']->name_single . " to customise the alias.";
+ // set the defautl fields
+ $fieldSet = '
";
+ // check if metadata is added to this view
+ if (isset($this->metadataBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$viewName]))
+ {
+ $fieldSet .= "\n\n\t";
+ $fieldSet .= "\n\t';
+ $fieldSet .= "\n\t\t" . '