From b8311078ac3d75cd94a5bcf6e03845db01bbaec9 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Wed, 7 Sep 2016 23:20:58 +0200 Subject: [PATCH] Added PHP (script - before publish) & PHP (script - after publish) with some fixes to the compiler --- README.md | 10 +- admin/assets/css/admin.css | 4 +- admin/assets/css/admin_view.css | 4 +- admin/assets/css/admin_views.css | 4 +- admin/assets/css/component.css | 4 +- admin/assets/css/components.css | 4 +- admin/assets/css/custom_admin_view.css | 4 +- admin/assets/css/custom_admin_views.css | 4 +- admin/assets/css/dashboard.css | 4 +- admin/assets/css/dynamic_get.css | 4 +- admin/assets/css/dynamic_gets.css | 4 +- admin/assets/css/field.css | 4 +- admin/assets/css/fields.css | 4 +- admin/assets/css/fieldtype.css | 4 +- admin/assets/css/fieldtypes.css | 4 +- admin/assets/css/help_document.css | 4 +- admin/assets/css/help_documents.css | 4 +- admin/assets/css/layout.css | 4 +- admin/assets/css/layouts.css | 4 +- admin/assets/css/site_view.css | 4 +- admin/assets/css/site_views.css | 4 +- admin/assets/css/snippet.css | 4 +- admin/assets/css/snippets.css | 4 +- admin/assets/css/template.css | 4 +- admin/assets/css/templates.css | 4 +- admin/compiler/joomla_3/JModelAdmin.php | 20 + admin/componentbuilder.php | 4 +- admin/controller.php | 4 +- admin/controllers/admin_view.php | 4 +- admin/controllers/admin_views.php | 4 +- admin/controllers/ajax.json.php | 4 +- admin/controllers/compiler.php | 4 +- admin/controllers/component.php | 4 +- admin/controllers/componentbuilder.php | 4 +- admin/controllers/components.php | 4 +- admin/controllers/custom_admin_view.php | 4 +- admin/controllers/custom_admin_views.php | 4 +- admin/controllers/dynamic_get.php | 4 +- admin/controllers/dynamic_gets.php | 4 +- admin/controllers/field.php | 4 +- admin/controllers/fields.php | 4 +- admin/controllers/fieldtype.php | 4 +- admin/controllers/fieldtypes.php | 4 +- admin/controllers/help.php | 4 +- admin/controllers/help_document.php | 4 +- admin/controllers/help_documents.php | 4 +- admin/controllers/import.php | 4 +- admin/controllers/layout.php | 4 +- admin/controllers/layouts.php | 4 +- admin/controllers/site_view.php | 4 +- admin/controllers/site_views.php | 4 +- admin/controllers/snippet.php | 4 +- admin/controllers/snippets.php | 4 +- admin/controllers/template.php | 4 +- admin/controllers/templates.php | 4 +- admin/helpers/compiler/a_Get.php | 2 +- admin/helpers/compiler/e_Interpretation.php | 2 +- admin/helpers/compiler/f_Infusion.php | 6 + admin/helpers/componentbuilder.php | 4 +- admin/helpers/html/batch_.php | 4 +- admin/helpers/indenter.php | 4 +- admin/helpers/js.php | 4 +- admin/helpers/minify.php | 4 +- .../en-GB/en-GB.com_componentbuilder.ini | 12 + admin/layouts/admin_view/css_fullwidth.php | 4 +- .../admin_view/custom_import_fullwidth.php | 4 +- admin/layouts/admin_view/fields_fullwidth.php | 6 +- .../admin_view/javascript_fullwidth.php | 4 +- admin/layouts/admin_view/mysql_fullwidth.php | 4 +- admin/layouts/admin_view/mysql_left.php | 4 +- admin/layouts/admin_view/php_fullwidth.php | 8 +- admin/layouts/admin_view/publishing.php | 4 +- admin/layouts/admin_view/publlshing.php | 4 +- admin/layouts/admin_view/settings_above.php | 4 +- admin/layouts/admin_view/settings_left.php | 4 +- admin/layouts/admin_view/settings_right.php | 4 +- admin/layouts/admin_view/settings_under.php | 4 +- admin/layouts/batchselection.php | 4 +- .../component/admin_views_fullwidth.php | 4 +- admin/layouts/component/details_above.php | 4 +- admin/layouts/component/details_left.php | 4 +- admin/layouts/component/details_right.php | 4 +- admin/layouts/component/details_under.php | 4 +- .../component/ftp_servers_fullwidth.php | 4 +- admin/layouts/component/publishing.php | 4 +- admin/layouts/component/publlshing.php | 4 +- admin/layouts/component/readme_left.php | 4 +- admin/layouts/component/readme_right.php | 4 +- admin/layouts/component/scripts_fullwidth.php | 4 +- admin/layouts/component/settings_left.php | 4 +- admin/layouts/component/settings_right.php | 4 +- .../component/site_views_fullwidth.php | 4 +- .../custom_buttons_fullwidth.php | 4 +- .../custom_admin_view/custom_buttons_left.php | 4 +- .../custom_script_fullwidth.php | 4 +- .../custom_admin_view/details_above.php | 4 +- .../custom_admin_view/details_fullwidth.php | 4 +- .../custom_admin_view/details_left.php | 4 +- .../custom_admin_view/details_right.php | 4 +- .../custom_admin_view/details_rightside.php | 4 +- .../custom_admin_view/details_under.php | 4 +- .../layouts/custom_admin_view/publishing.php | 4 +- .../layouts/custom_admin_view/publlshing.php | 4 +- .../layouts/dynamic_get/abacus_fullwidth.php | 4 +- admin/layouts/dynamic_get/abacus_left.php | 4 +- .../dynamic_get/custom_script_fullwidth.php | 4 +- admin/layouts/dynamic_get/gettable_above.php | 4 +- .../dynamic_get/gettable_fullwidth.php | 4 +- admin/layouts/dynamic_get/gettable_left.php | 4 +- admin/layouts/dynamic_get/gettable_right.php | 4 +- admin/layouts/dynamic_get/gettable_under.php | 4 +- admin/layouts/dynamic_get/publishing.php | 4 +- admin/layouts/dynamic_get/publlshing.php | 4 +- admin/layouts/field/details_fullwidth.php | 4 +- admin/layouts/field/details_left.php | 4 +- admin/layouts/field/details_right.php | 4 +- admin/layouts/field/details_under.php | 4 +- admin/layouts/field/publishing.php | 4 +- admin/layouts/field/publlshing.php | 4 +- admin/layouts/field/scripts_left.php | 4 +- admin/layouts/field/scripts_right.php | 4 +- admin/layouts/fieldtype/details_left.php | 4 +- admin/layouts/fieldtype/details_right.php | 4 +- admin/layouts/fieldtype/fields_fullwidth.php | 6 +- admin/layouts/fieldtype/publishing.php | 4 +- admin/layouts/fieldtype/publlshing.php | 4 +- admin/layouts/help_document/details_above.php | 4 +- .../help_document/details_fullwidth.php | 4 +- admin/layouts/help_document/details_left.php | 4 +- admin/layouts/help_document/details_right.php | 4 +- admin/layouts/help_document/details_under.php | 4 +- admin/layouts/help_document/publishing.php | 4 +- admin/layouts/help_document/publlshing.php | 4 +- .../layout/custom_script_fullwidth.php | 4 +- admin/layouts/layout/details_fullwidth.php | 4 +- admin/layouts/layout/details_left.php | 4 +- admin/layouts/layout/details_right.php | 4 +- admin/layouts/layout/details_rightside.php | 4 +- admin/layouts/layout/details_under.php | 4 +- admin/layouts/layout/publishing.php | 4 +- admin/layouts/layout/publlshing.php | 4 +- .../site_view/custom_buttons_fullwidth.php | 4 +- admin/layouts/site_view/details_above.php | 4 +- admin/layouts/site_view/details_fullwidth.php | 4 +- admin/layouts/site_view/details_left.php | 4 +- admin/layouts/site_view/details_right.php | 4 +- admin/layouts/site_view/details_rightside.php | 4 +- admin/layouts/site_view/details_under.php | 4 +- .../site_view/javascript_css_fullwidth.php | 4 +- admin/layouts/site_view/php_fullwidth.php | 4 +- admin/layouts/site_view/publishing.php | 4 +- admin/layouts/site_view/publlshing.php | 4 +- admin/layouts/snippet/details_above.php | 4 +- admin/layouts/snippet/details_left.php | 4 +- admin/layouts/snippet/details_right.php | 4 +- admin/layouts/snippet/publishing.php | 4 +- admin/layouts/snippet/publlshing.php | 4 +- .../template/custom_script_fullwidth.php | 4 +- admin/layouts/template/details_fullwidth.php | 4 +- admin/layouts/template/details_left.php | 4 +- admin/layouts/template/details_right.php | 4 +- admin/layouts/template/details_rightside.php | 4 +- admin/layouts/template/details_under.php | 4 +- admin/layouts/template/publishing.php | 4 +- admin/layouts/template/publlshing.php | 4 +- admin/models/admin_view.php | 168 ++- admin/models/admin_views.php | 28 +- admin/models/ajax.php | 4 +- admin/models/compiler.php | 4 +- admin/models/component.php | 24 +- admin/models/componentbuilder.php | 4 +- admin/models/components.php | 4 +- admin/models/custom_admin_view.php | 24 +- admin/models/custom_admin_views.php | 4 +- admin/models/dynamic_get.php | 24 +- admin/models/dynamic_gets.php | 4 +- admin/models/field.php | 24 +- admin/models/fields.php | 4 +- admin/models/fields/adminviews.php | 4 +- admin/models/fields/articles.php | 4 +- admin/models/fields/customadminviews.php | 4 +- admin/models/fields/customfilelist.php | 4 +- admin/models/fields/customfolderlist.php | 4 +- admin/models/fields/customgets.php | 4 +- admin/models/fields/dbtables.php | 4 +- admin/models/fields/dynamicgets.php | 4 +- admin/models/fields/fields.php | 4 +- admin/models/fields/fieldsmulti.php | 4 +- admin/models/fields/fieldtypes.php | 4 +- admin/models/fields/maingets.php | 4 +- admin/models/fields/siteviews.php | 4 +- admin/models/fields/snippets.php | 4 +- admin/models/fieldtype.php | 36 +- admin/models/fieldtypes.php | 4 +- admin/models/forms/admin_view.js | 288 ++-- admin/models/forms/admin_view.xml | 390 +++--- admin/models/forms/component.js | 4 +- admin/models/forms/custom_admin_view.js | 292 ++-- admin/models/forms/dynamic_get.js | 1244 ++++++++--------- admin/models/forms/field.js | 554 ++++---- admin/models/forms/fieldtype.js | 4 +- admin/models/forms/help_document.js | 306 ++-- admin/models/forms/layout.js | 24 +- admin/models/forms/site_view.js | 318 ++--- admin/models/forms/snippet.js | 4 +- admin/models/forms/template.js | 24 +- admin/models/help_document.php | 24 +- admin/models/help_documents.php | 4 +- admin/models/import.php | 4 +- admin/models/layout.php | 24 +- admin/models/layouts.php | 4 +- admin/models/site_view.php | 24 +- admin/models/site_views.php | 4 +- admin/models/snippet.php | 24 +- admin/models/snippets.php | 4 +- admin/models/template.php | 24 +- admin/models/templates.php | 4 +- admin/sql/install.mysql.utf8.sql | 16 +- admin/tables/admin_view.php | 4 +- admin/tables/component.php | 4 +- admin/tables/custom_admin_view.php | 4 +- admin/tables/dynamic_get.php | 4 +- admin/tables/field.php | 4 +- admin/tables/fieldtype.php | 4 +- admin/tables/help_document.php | 4 +- admin/tables/layout.php | 4 +- admin/tables/site_view.php | 4 +- admin/tables/snippet.php | 4 +- admin/tables/template.php | 4 +- admin/views/admin_view/submitbutton.js | 4 +- admin/views/admin_view/tmpl/edit.php | 162 ++- admin/views/admin_view/view.html.php | 6 +- admin/views/admin_views/tmpl/default.php | 4 +- .../admin_views/tmpl/default_batch_body.php | 4 +- .../admin_views/tmpl/default_batch_footer.php | 4 +- admin/views/admin_views/tmpl/default_body.php | 4 +- admin/views/admin_views/tmpl/default_foot.php | 4 +- admin/views/admin_views/tmpl/default_head.php | 4 +- .../admin_views/tmpl/default_toolbar.php | 4 +- admin/views/admin_views/view.html.php | 4 +- admin/views/compiler/tmpl/default.php | 4 +- admin/views/compiler/view.html.php | 4 +- admin/views/component/submitbutton.js | 4 +- admin/views/component/tmpl/edit.php | 4 +- admin/views/component/view.html.php | 4 +- admin/views/componentbuilder/tmpl/default.php | 4 +- .../componentbuilder/tmpl/default_main.php | 4 +- .../componentbuilder/tmpl/default_vdm.php | 4 +- admin/views/componentbuilder/view.html.php | 4 +- admin/views/components/tmpl/default.php | 4 +- .../components/tmpl/default_batch_body.php | 4 +- .../components/tmpl/default_batch_footer.php | 4 +- admin/views/components/tmpl/default_body.php | 4 +- admin/views/components/tmpl/default_foot.php | 4 +- admin/views/components/tmpl/default_head.php | 4 +- .../views/components/tmpl/default_toolbar.php | 4 +- admin/views/components/view.html.php | 4 +- admin/views/custom_admin_view/submitbutton.js | 4 +- admin/views/custom_admin_view/tmpl/edit.php | 84 +- admin/views/custom_admin_view/view.html.php | 4 +- .../views/custom_admin_views/tmpl/default.php | 4 +- .../tmpl/default_batch_body.php | 4 +- .../tmpl/default_batch_footer.php | 4 +- .../custom_admin_views/tmpl/default_body.php | 4 +- .../custom_admin_views/tmpl/default_foot.php | 4 +- .../custom_admin_views/tmpl/default_head.php | 4 +- .../tmpl/default_toolbar.php | 4 +- admin/views/custom_admin_views/view.html.php | 4 +- admin/views/dynamic_get/submitbutton.js | 4 +- admin/views/dynamic_get/tmpl/edit.php | 408 +++--- admin/views/dynamic_get/view.html.php | 4 +- admin/views/dynamic_gets/tmpl/default.php | 4 +- .../dynamic_gets/tmpl/default_batch_body.php | 4 +- .../tmpl/default_batch_footer.php | 4 +- .../views/dynamic_gets/tmpl/default_body.php | 4 +- .../views/dynamic_gets/tmpl/default_foot.php | 4 +- .../views/dynamic_gets/tmpl/default_head.php | 4 +- .../dynamic_gets/tmpl/default_toolbar.php | 4 +- admin/views/dynamic_gets/view.html.php | 4 +- admin/views/field/submitbutton.js | 4 +- admin/views/field/tmpl/edit.php | 166 +-- admin/views/field/view.html.php | 4 +- admin/views/fields/tmpl/default.php | 4 +- .../views/fields/tmpl/default_batch_body.php | 4 +- .../fields/tmpl/default_batch_footer.php | 4 +- admin/views/fields/tmpl/default_body.php | 4 +- admin/views/fields/tmpl/default_foot.php | 4 +- admin/views/fields/tmpl/default_head.php | 4 +- admin/views/fields/tmpl/default_toolbar.php | 4 +- admin/views/fields/view.html.php | 4 +- admin/views/fieldtype/submitbutton.js | 4 +- admin/views/fieldtype/tmpl/edit.php | 4 +- admin/views/fieldtype/view.html.php | 6 +- admin/views/fieldtypes/tmpl/default.php | 4 +- .../fieldtypes/tmpl/default_batch_body.php | 4 +- .../fieldtypes/tmpl/default_batch_footer.php | 4 +- admin/views/fieldtypes/tmpl/default_body.php | 4 +- admin/views/fieldtypes/tmpl/default_foot.php | 4 +- admin/views/fieldtypes/tmpl/default_head.php | 4 +- .../views/fieldtypes/tmpl/default_toolbar.php | 4 +- admin/views/fieldtypes/view.html.php | 4 +- admin/views/help_document/submitbutton.js | 4 +- admin/views/help_document/tmpl/edit.php | 94 +- admin/views/help_document/view.html.php | 4 +- admin/views/help_documents/tmpl/default.php | 4 +- .../tmpl/default_batch_body.php | 4 +- .../tmpl/default_batch_footer.php | 4 +- .../help_documents/tmpl/default_body.php | 4 +- .../help_documents/tmpl/default_foot.php | 4 +- .../help_documents/tmpl/default_head.php | 4 +- .../help_documents/tmpl/default_toolbar.php | 4 +- admin/views/help_documents/view.html.php | 4 +- admin/views/import/tmpl/default.php | 4 +- admin/views/import/view.html.php | 4 +- admin/views/layout/submitbutton.js | 4 +- admin/views/layout/tmpl/edit.php | 14 +- admin/views/layout/view.html.php | 4 +- admin/views/layouts/tmpl/default.php | 4 +- .../views/layouts/tmpl/default_batch_body.php | 4 +- .../layouts/tmpl/default_batch_footer.php | 4 +- admin/views/layouts/tmpl/default_body.php | 4 +- admin/views/layouts/tmpl/default_foot.php | 4 +- admin/views/layouts/tmpl/default_head.php | 4 +- admin/views/layouts/tmpl/default_toolbar.php | 4 +- admin/views/layouts/view.html.php | 4 +- admin/views/site_view/submitbutton.js | 4 +- admin/views/site_view/tmpl/edit.php | 94 +- admin/views/site_view/view.html.php | 4 +- admin/views/site_views/tmpl/default.php | 4 +- .../site_views/tmpl/default_batch_body.php | 4 +- .../site_views/tmpl/default_batch_footer.php | 4 +- admin/views/site_views/tmpl/default_body.php | 4 +- admin/views/site_views/tmpl/default_foot.php | 4 +- admin/views/site_views/tmpl/default_head.php | 4 +- .../views/site_views/tmpl/default_toolbar.php | 4 +- admin/views/site_views/view.html.php | 4 +- admin/views/snippet/submitbutton.js | 4 +- admin/views/snippet/tmpl/edit.php | 4 +- admin/views/snippet/view.html.php | 4 +- admin/views/snippets/tmpl/default.php | 4 +- .../snippets/tmpl/default_batch_body.php | 4 +- .../snippets/tmpl/default_batch_footer.php | 4 +- admin/views/snippets/tmpl/default_body.php | 4 +- admin/views/snippets/tmpl/default_foot.php | 4 +- admin/views/snippets/tmpl/default_head.php | 4 +- admin/views/snippets/tmpl/default_toolbar.php | 4 +- admin/views/snippets/view.html.php | 4 +- admin/views/template/submitbutton.js | 4 +- admin/views/template/tmpl/edit.php | 14 +- admin/views/template/view.html.php | 4 +- admin/views/templates/tmpl/default.php | 4 +- .../templates/tmpl/default_batch_body.php | 4 +- .../templates/tmpl/default_batch_footer.php | 4 +- admin/views/templates/tmpl/default_body.php | 4 +- admin/views/templates/tmpl/default_foot.php | 4 +- admin/views/templates/tmpl/default_head.php | 4 +- .../views/templates/tmpl/default_toolbar.php | 4 +- admin/views/templates/view.html.php | 4 +- componentbuilder.xml | 6 +- script.php | 14 +- site/assets/css/site.css | 4 +- site/componentbuilder.php | 4 +- site/controller.php | 4 +- site/controllers/help.php | 4 +- site/helpers/componentbuilder.php | 4 +- site/helpers/headercheck.php | 4 +- site/helpers/route.php | 4 +- site/router.php | 4 +- 368 files changed, 3397 insertions(+), 2947 deletions(-) diff --git a/README.md b/README.md index 1b7d680b2..b4bd07bda 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Component Builder (2.1.18) +# Component Builder (2.1.19) This is a [Joomla 3.x] (http://www.joomla.org/) component. @@ -32,12 +32,12 @@ Would you require more help please open and issue here on [gitHub today](https:/ + *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*: 3rd September, 2016 -+ *Version*: 2.1.18 ++ *Last Build*: 7th September, 2016 ++ *Version*: 2.1.19 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -+ *Line count*: **83568** -+ *File count*: **511** ++ *Line count*: **84013** ++ *File count*: **512** + *Folder count*: **98** > This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder). diff --git a/admin/assets/css/admin.css b/admin/assets/css/admin.css index 9a7a2a37a..5129c8b42 100644 --- a/admin/assets/css/admin.css +++ b/admin/assets/css/admin.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 90dc4e496..a0c886fe2 100644 --- a/admin/assets/css/admin_view.css +++ b/admin/assets/css/admin_view.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 e1ff9392a..e12add603 100644 --- a/admin/assets/css/admin_views.css +++ b/admin/assets/css/admin_views.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 b098fd9ec..9e12196f2 100644 --- a/admin/assets/css/component.css +++ b/admin/assets/css/component.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 3b9a358a1..5f96e53c1 100644 --- a/admin/assets/css/components.css +++ b/admin/assets/css/components.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 0f0fe19c9..3bf43f680 100644 --- a/admin/assets/css/custom_admin_view.css +++ b/admin/assets/css/custom_admin_view.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 2c47c3ed6..a84eae4b2 100644 --- a/admin/assets/css/custom_admin_views.css +++ b/admin/assets/css/custom_admin_views.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 31c445bbe..6921fc970 100644 --- a/admin/assets/css/dashboard.css +++ b/admin/assets/css/dashboard.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 34e5809b1..91288abc0 100644 --- a/admin/assets/css/dynamic_get.css +++ b/admin/assets/css/dynamic_get.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 0ed8379bf..870ff3a6b 100644 --- a/admin/assets/css/dynamic_gets.css +++ b/admin/assets/css/dynamic_gets.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 03b0e6056..bffbc3e6c 100644 --- a/admin/assets/css/field.css +++ b/admin/assets/css/field.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 f85a72f03..7f344f8c4 100644 --- a/admin/assets/css/fields.css +++ b/admin/assets/css/fields.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 7dd94af81..3ae904412 100644 --- a/admin/assets/css/fieldtype.css +++ b/admin/assets/css/fieldtype.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 0895f7e6c..2dfab42ab 100644 --- a/admin/assets/css/fieldtypes.css +++ b/admin/assets/css/fieldtypes.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 166048919..2a7e6a88c 100644 --- a/admin/assets/css/help_document.css +++ b/admin/assets/css/help_document.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 dd581194e..99b52b4ba 100644 --- a/admin/assets/css/help_documents.css +++ b/admin/assets/css/help_documents.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 5d60530a7..d3cc9bc51 100644 --- a/admin/assets/css/layout.css +++ b/admin/assets/css/layout.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 5b78cdffb..ffe23644d 100644 --- a/admin/assets/css/layouts.css +++ b/admin/assets/css/layouts.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 966b3e103..e050871c0 100644 --- a/admin/assets/css/site_view.css +++ b/admin/assets/css/site_view.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 9311a8e54..ee0b6d0c2 100644 --- a/admin/assets/css/site_views.css +++ b/admin/assets/css/site_views.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 dd32233e4..faa25e190 100644 --- a/admin/assets/css/snippet.css +++ b/admin/assets/css/snippet.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 cfb314ea6..de75c04b6 100644 --- a/admin/assets/css/snippets.css +++ b/admin/assets/css/snippets.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 481fee28c..75d22f849 100644 --- a/admin/assets/css/template.css +++ b/admin/assets/css/template.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 524b25182..696266227 100644 --- a/admin/assets/css/templates.css +++ b/admin/assets/css/templates.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage templates.css diff --git a/admin/compiler/joomla_3/JModelAdmin.php b/admin/compiler/joomla_3/JModelAdmin.php index 09abfaab3..b2726ff05 100644 --- a/admin/compiler/joomla_3/JModelAdmin.php +++ b/admin/compiler/joomla_3/JModelAdmin.php @@ -267,6 +267,26 @@ class ###Component###Model###View### extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + {###JMODELADMIN_BEFORE_PUBLISH### + if (!parent::publish($pks, $value)) + { + return false; + }###JMODELADMIN_AFTER_PUBLISH### + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/componentbuilder.php b/admin/componentbuilder.php index 0cf35da04..577296b06 100644 --- a/admin/componentbuilder.php +++ b/admin/componentbuilder.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage componentbuilder.php diff --git a/admin/controller.php b/admin/controller.php index b44d8b2c7..06f10f5ab 100644 --- a/admin/controller.php +++ b/admin/controller.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 bd7d49944..68822f800 100644 --- a/admin/controllers/admin_view.php +++ b/admin/controllers/admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 7015d6555..cc41b6f51 100644 --- a/admin/controllers/admin_views.php +++ b/admin/controllers/admin_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 8ad536275..fac5ac14e 100644 --- a/admin/controllers/ajax.json.php +++ b/admin/controllers/ajax.json.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 86274bed1..7dd5b54c4 100644 --- a/admin/controllers/compiler.php +++ b/admin/controllers/compiler.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage compiler.php diff --git a/admin/controllers/component.php b/admin/controllers/component.php index 964f1f424..fb41ab2f3 100644 --- a/admin/controllers/component.php +++ b/admin/controllers/component.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage component.php diff --git a/admin/controllers/componentbuilder.php b/admin/controllers/componentbuilder.php index f0b12586a..bc8d2088f 100644 --- a/admin/controllers/componentbuilder.php +++ b/admin/controllers/componentbuilder.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage componentbuilder.php diff --git a/admin/controllers/components.php b/admin/controllers/components.php index da149e008..935215793 100644 --- a/admin/controllers/components.php +++ b/admin/controllers/components.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 b63e401a2..9fed33432 100644 --- a/admin/controllers/custom_admin_view.php +++ b/admin/controllers/custom_admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 77a0cd556..b08c7f3f0 100644 --- a/admin/controllers/custom_admin_views.php +++ b/admin/controllers/custom_admin_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 973c85bbd..2d957a7b8 100644 --- a/admin/controllers/dynamic_get.php +++ b/admin/controllers/dynamic_get.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 3bd906f0f..cf75e6770 100644 --- a/admin/controllers/dynamic_gets.php +++ b/admin/controllers/dynamic_gets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 c24c604af..2b75b474d 100644 --- a/admin/controllers/field.php +++ b/admin/controllers/field.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage field.php diff --git a/admin/controllers/fields.php b/admin/controllers/fields.php index 3b60168c9..c2e8f5596 100644 --- a/admin/controllers/fields.php +++ b/admin/controllers/fields.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fields.php diff --git a/admin/controllers/fieldtype.php b/admin/controllers/fieldtype.php index 6c1389e8e..6c86a4545 100644 --- a/admin/controllers/fieldtype.php +++ b/admin/controllers/fieldtype.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtype.php diff --git a/admin/controllers/fieldtypes.php b/admin/controllers/fieldtypes.php index ae1fce09c..cfa6b06ee 100644 --- a/admin/controllers/fieldtypes.php +++ b/admin/controllers/fieldtypes.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtypes.php diff --git a/admin/controllers/help.php b/admin/controllers/help.php index 923e30490..0bd877b62 100644 --- a/admin/controllers/help.php +++ b/admin/controllers/help.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 102edaf15..9f7b9ab21 100644 --- a/admin/controllers/help_document.php +++ b/admin/controllers/help_document.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 d3e254cde..e7bdafabe 100644 --- a/admin/controllers/help_documents.php +++ b/admin/controllers/help_documents.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 fc9d4178c..b12918121 100644 --- a/admin/controllers/import.php +++ b/admin/controllers/import.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage import.php diff --git a/admin/controllers/layout.php b/admin/controllers/layout.php index 528d393ec..9429e43f6 100644 --- a/admin/controllers/layout.php +++ b/admin/controllers/layout.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage layout.php diff --git a/admin/controllers/layouts.php b/admin/controllers/layouts.php index f72cdfa5d..ca6f14e88 100644 --- a/admin/controllers/layouts.php +++ b/admin/controllers/layouts.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 e38ad4b36..d3f55d249 100644 --- a/admin/controllers/site_view.php +++ b/admin/controllers/site_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 520423331..39808d33b 100644 --- a/admin/controllers/site_views.php +++ b/admin/controllers/site_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 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 3daab7a60..099a4f9f8 100644 --- a/admin/controllers/snippet.php +++ b/admin/controllers/snippet.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippet.php diff --git a/admin/controllers/snippets.php b/admin/controllers/snippets.php index bab342c49..ad805734c 100644 --- a/admin/controllers/snippets.php +++ b/admin/controllers/snippets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippets.php diff --git a/admin/controllers/template.php b/admin/controllers/template.php index 85eca4b1e..92106f9fe 100644 --- a/admin/controllers/template.php +++ b/admin/controllers/template.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage template.php diff --git a/admin/controllers/templates.php b/admin/controllers/templates.php index 77e51ac98..556d2135a 100644 --- a/admin/controllers/templates.php +++ b/admin/controllers/templates.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage templates.php diff --git a/admin/helpers/compiler/a_Get.php b/admin/helpers/compiler/a_Get.php index cb22201d4..f17a6cc52 100644 --- a/admin/helpers/compiler/a_Get.php +++ b/admin/helpers/compiler/a_Get.php @@ -1072,7 +1072,7 @@ class Get } } // add_php - $addArrayP = array('php_getitem','php_save','php_postsavehook','php_getitems','php_getitems_after_all','php_getlistquery','php_allowedit','php_before_delete','php_after_delete','php_batchcopy','php_batchmove','php_document'); + $addArrayP = array('php_getitem','php_save','php_postsavehook','php_getitems','php_getitems_after_all','php_getlistquery','php_allowedit','php_before_delete','php_after_delete','php_before_publish','php_after_publish','php_batchcopy','php_batchmove','php_document'); foreach ($addArrayP as $scripter) { if (isset($view->{'add_'.$scripter}) && $view->{'add_'.$scripter} == 1) diff --git a/admin/helpers/compiler/e_Interpretation.php b/admin/helpers/compiler/e_Interpretation.php index efa82acab..f3d5006bf 100644 --- a/admin/helpers/compiler/e_Interpretation.php +++ b/admin/helpers/compiler/e_Interpretation.php @@ -2304,7 +2304,7 @@ class Interpretation extends Fields } } // if not found return default - if ($default) + if (!ComponentbuilderHelper::checkString($script) && $default) { return $default; } diff --git a/admin/helpers/compiler/f_Infusion.php b/admin/helpers/compiler/f_Infusion.php index 791b45bbc..853b33a18 100644 --- a/admin/helpers/compiler/f_Infusion.php +++ b/admin/helpers/compiler/f_Infusion.php @@ -315,6 +315,12 @@ class Infusion extends Interpretation // ###JMODELADMIN_AFTER_DELETE### <<>> $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_AFTER_DELETE###'] = $this->getCustomScriptBuilder('php_after_delete', $viewName_single, "\n\n"); + // ###JMODELADMIN_BEFORE_DELETE### <<>> + $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_BEFORE_PUBLISH###'] = $this->getCustomScriptBuilder('php_before_publish', $viewName_single, "\n"); + + // ###JMODELADMIN_AFTER_DELETE### <<>> + $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_AFTER_PUBLISH###'] = $this->getCustomScriptBuilder('php_after_publish', $viewName_single, "\n\n"); + // ###CHECKBOX_SAVE### <<>> $this->fileContentDynamic[$viewName_single]['###CHECKBOX_SAVE###'] = $this->setCheckboxSave($viewName_single); diff --git a/admin/helpers/componentbuilder.php b/admin/helpers/componentbuilder.php index 204b4e4d4..433435380 100644 --- a/admin/helpers/componentbuilder.php +++ b/admin/helpers/componentbuilder.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage componentbuilder.php diff --git a/admin/helpers/html/batch_.php b/admin/helpers/html/batch_.php index 1affa5bb4..30085a2bd 100644 --- a/admin/helpers/html/batch_.php +++ b/admin/helpers/html/batch_.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage batch_.php diff --git a/admin/helpers/indenter.php b/admin/helpers/indenter.php index 65557f72f..1dd7bca1c 100644 --- a/admin/helpers/indenter.php +++ b/admin/helpers/indenter.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage indenter.php diff --git a/admin/helpers/js.php b/admin/helpers/js.php index 155372583..d21a2cae8 100644 --- a/admin/helpers/js.php +++ b/admin/helpers/js.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage js.php diff --git a/admin/helpers/minify.php b/admin/helpers/minify.php index cde5209a9..5c6e3d9f5 100644 --- a/admin/helpers/minify.php +++ b/admin/helpers/minify.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage minify.php diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini index 222e8b9ab..afa08def5 100644 --- a/admin/language/en-GB/en-GB.com_componentbuilder.ini +++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini @@ -89,6 +89,8 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEW_FOOTER="Add Javascript View COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL="Add JavaScript (view-footer)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE="Add Php After Delete" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL="Add PHP (script - after delete)" +COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH="Add Php After Publish" +COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH_LABEL="Add PHP (script - after publish)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AJAX="Add Php Ajax" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AJAX_LABEL="Add PHP (AJAX)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT="Add Php Allowedit" @@ -99,6 +101,8 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE="Add Php Batchmove" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL="Add PHP (batchMove Method)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE="Add Php Before Delete" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL="Add PHP (script - before delete)" +COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_PUBLISH="Add Php Before Publish" +COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_PUBLISH_LABEL="Add PHP (script - before publish)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT="Add Php Document" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL="Add PHP (custom document script)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEM="Add Php Getitem" @@ -288,6 +292,10 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE="Php After Delete" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION="Add your PHP here! [Do not add the php tags]" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_HINT="// PHP Here that should run in the delete Method after items were deleted. Array $pks is an array of record primary keys." COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL="PHP" +COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH="Php After Publish" +COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_DESCRIPTION="Add your PHP here! [Do not add the php tags]" +COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_HINT="// PHP Here that should run in the publish Method after items were deleted. Array $pks is an array of record primary keys and $value is the published state." +COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_LABEL="PHP" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD="Php Ajaxmethod" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_DESCRIPTION="Add your PHP here! [Do not add the php tags]" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_HINT="// PHP Method that should run in the AJAX Model" @@ -308,6 +316,10 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE="Php Before Delete" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION="Add your PHP here! [Do not add the php tags]" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_HINT="// PHP Here that should run in the delete Method before items are deleted. Array $pks is an array of record primary keys." COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL="PHP" +COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH="Php Before Publish" +COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_DESCRIPTION="Add your PHP here! [Do not add the php tags]" +COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_HINT="// PHP Here that should run in the publish Method before items are publish. Array $pks is an array of record primary keys and $value is the published state." +COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_LABEL="PHP" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT="Php Document" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION="PHP script to the document method." COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_HINT="// add custom PHP script to the document method." diff --git a/admin/layouts/admin_view/css_fullwidth.php b/admin/layouts/admin_view/css_fullwidth.php index add4d7fb9..9a024a9a4 100644 --- a/admin/layouts/admin_view/css_fullwidth.php +++ b/admin/layouts/admin_view/css_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage css_fullwidth.php diff --git a/admin/layouts/admin_view/custom_import_fullwidth.php b/admin/layouts/admin_view/custom_import_fullwidth.php index 9e9a58121..752b51b25 100644 --- a/admin/layouts/admin_view/custom_import_fullwidth.php +++ b/admin/layouts/admin_view/custom_import_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_import_fullwidth.php diff --git a/admin/layouts/admin_view/fields_fullwidth.php b/admin/layouts/admin_view/fields_fullwidth.php index f3545662a..c44238c51 100644 --- a/admin/layouts/admin_view/fields_fullwidth.php +++ b/admin/layouts/admin_view/fields_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fields_fullwidth.php @@ -29,7 +29,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->vxgfields; +$items = $displayData->vxifields; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit"; diff --git a/admin/layouts/admin_view/javascript_fullwidth.php b/admin/layouts/admin_view/javascript_fullwidth.php index 5e39a5643..563ed8ba4 100644 --- a/admin/layouts/admin_view/javascript_fullwidth.php +++ b/admin/layouts/admin_view/javascript_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage javascript_fullwidth.php diff --git a/admin/layouts/admin_view/mysql_fullwidth.php b/admin/layouts/admin_view/mysql_fullwidth.php index 5faa75de5..b58802864 100644 --- a/admin/layouts/admin_view/mysql_fullwidth.php +++ b/admin/layouts/admin_view/mysql_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage mysql_fullwidth.php diff --git a/admin/layouts/admin_view/mysql_left.php b/admin/layouts/admin_view/mysql_left.php index aa716d193..e620bdfc0 100644 --- a/admin/layouts/admin_view/mysql_left.php +++ b/admin/layouts/admin_view/mysql_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage mysql_left.php diff --git a/admin/layouts/admin_view/php_fullwidth.php b/admin/layouts/admin_view/php_fullwidth.php index 74edda521..8c4f58540 100644 --- a/admin/layouts/admin_view/php_fullwidth.php +++ b/admin/layouts/admin_view/php_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage php_fullwidth.php @@ -52,6 +52,10 @@ $fields = $displayData->get('fields') ?: array( 'php_batchcopy', 'add_php_batchmove', 'php_batchmove', + 'add_php_before_publish', + 'php_before_publish', + 'add_php_after_publish', + 'php_after_publish', 'add_php_before_delete', 'php_before_delete', 'add_php_after_delete', diff --git a/admin/layouts/admin_view/publishing.php b/admin/layouts/admin_view/publishing.php index 7138b038f..ed8fb0c2e 100644 --- a/admin/layouts/admin_view/publishing.php +++ b/admin/layouts/admin_view/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/admin_view/publlshing.php b/admin/layouts/admin_view/publlshing.php index 73375506f..a96c41962 100644 --- a/admin/layouts/admin_view/publlshing.php +++ b/admin/layouts/admin_view/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/admin_view/settings_above.php b/admin/layouts/admin_view/settings_above.php index 0e06aafc9..66804a514 100644 --- a/admin/layouts/admin_view/settings_above.php +++ b/admin/layouts/admin_view/settings_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_above.php diff --git a/admin/layouts/admin_view/settings_left.php b/admin/layouts/admin_view/settings_left.php index 654af900f..7fbe59298 100644 --- a/admin/layouts/admin_view/settings_left.php +++ b/admin/layouts/admin_view/settings_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_left.php diff --git a/admin/layouts/admin_view/settings_right.php b/admin/layouts/admin_view/settings_right.php index adbe6473d..159ad06d7 100644 --- a/admin/layouts/admin_view/settings_right.php +++ b/admin/layouts/admin_view/settings_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_right.php diff --git a/admin/layouts/admin_view/settings_under.php b/admin/layouts/admin_view/settings_under.php index 73e21fbc2..359aec77e 100644 --- a/admin/layouts/admin_view/settings_under.php +++ b/admin/layouts/admin_view/settings_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_under.php diff --git a/admin/layouts/batchselection.php b/admin/layouts/batchselection.php index b3851b137..ddd544ee7 100644 --- a/admin/layouts/batchselection.php +++ b/admin/layouts/batchselection.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage batchselection.php diff --git a/admin/layouts/component/admin_views_fullwidth.php b/admin/layouts/component/admin_views_fullwidth.php index dbd86032d..54292fea6 100644 --- a/admin/layouts/component/admin_views_fullwidth.php +++ b/admin/layouts/component/admin_views_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_views_fullwidth.php diff --git a/admin/layouts/component/details_above.php b/admin/layouts/component/details_above.php index 59251b1e0..aefe5b474 100644 --- a/admin/layouts/component/details_above.php +++ b/admin/layouts/component/details_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_above.php diff --git a/admin/layouts/component/details_left.php b/admin/layouts/component/details_left.php index 97304986b..2400aa794 100644 --- a/admin/layouts/component/details_left.php +++ b/admin/layouts/component/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/component/details_right.php b/admin/layouts/component/details_right.php index 1bd3ab28d..05fc68c72 100644 --- a/admin/layouts/component/details_right.php +++ b/admin/layouts/component/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/component/details_under.php b/admin/layouts/component/details_under.php index 85f74079b..b6954be11 100644 --- a/admin/layouts/component/details_under.php +++ b/admin/layouts/component/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/component/ftp_servers_fullwidth.php b/admin/layouts/component/ftp_servers_fullwidth.php index 5a4fe22e5..562aefe70 100644 --- a/admin/layouts/component/ftp_servers_fullwidth.php +++ b/admin/layouts/component/ftp_servers_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage ftp_servers_fullwidth.php diff --git a/admin/layouts/component/publishing.php b/admin/layouts/component/publishing.php index 7138b038f..ed8fb0c2e 100644 --- a/admin/layouts/component/publishing.php +++ b/admin/layouts/component/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/component/publlshing.php b/admin/layouts/component/publlshing.php index 73375506f..a96c41962 100644 --- a/admin/layouts/component/publlshing.php +++ b/admin/layouts/component/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/component/readme_left.php b/admin/layouts/component/readme_left.php index 1275e53c0..310b1461d 100644 --- a/admin/layouts/component/readme_left.php +++ b/admin/layouts/component/readme_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage readme_left.php diff --git a/admin/layouts/component/readme_right.php b/admin/layouts/component/readme_right.php index 9d5d866d2..8403651f7 100644 --- a/admin/layouts/component/readme_right.php +++ b/admin/layouts/component/readme_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage readme_right.php diff --git a/admin/layouts/component/scripts_fullwidth.php b/admin/layouts/component/scripts_fullwidth.php index d7e5e19bf..7d5f367da 100644 --- a/admin/layouts/component/scripts_fullwidth.php +++ b/admin/layouts/component/scripts_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage scripts_fullwidth.php diff --git a/admin/layouts/component/settings_left.php b/admin/layouts/component/settings_left.php index 96a94e7c6..fe87bfbcf 100644 --- a/admin/layouts/component/settings_left.php +++ b/admin/layouts/component/settings_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_left.php diff --git a/admin/layouts/component/settings_right.php b/admin/layouts/component/settings_right.php index d27d60e5b..7f22c52ae 100644 --- a/admin/layouts/component/settings_right.php +++ b/admin/layouts/component/settings_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_right.php diff --git a/admin/layouts/component/site_views_fullwidth.php b/admin/layouts/component/site_views_fullwidth.php index 4ac7fb5db..9b9a2351f 100644 --- a/admin/layouts/component/site_views_fullwidth.php +++ b/admin/layouts/component/site_views_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_views_fullwidth.php diff --git a/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php b/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php index 6e827af6d..89b088033 100644 --- a/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php +++ b/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_buttons_fullwidth.php diff --git a/admin/layouts/custom_admin_view/custom_buttons_left.php b/admin/layouts/custom_admin_view/custom_buttons_left.php index 09b89e1f8..975aaf787 100644 --- a/admin/layouts/custom_admin_view/custom_buttons_left.php +++ b/admin/layouts/custom_admin_view/custom_buttons_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_buttons_left.php diff --git a/admin/layouts/custom_admin_view/custom_script_fullwidth.php b/admin/layouts/custom_admin_view/custom_script_fullwidth.php index 02324314e..72e3638e5 100644 --- a/admin/layouts/custom_admin_view/custom_script_fullwidth.php +++ b/admin/layouts/custom_admin_view/custom_script_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_script_fullwidth.php diff --git a/admin/layouts/custom_admin_view/details_above.php b/admin/layouts/custom_admin_view/details_above.php index 59251b1e0..aefe5b474 100644 --- a/admin/layouts/custom_admin_view/details_above.php +++ b/admin/layouts/custom_admin_view/details_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_above.php diff --git a/admin/layouts/custom_admin_view/details_fullwidth.php b/admin/layouts/custom_admin_view/details_fullwidth.php index 952a35443..a0ce35173 100644 --- a/admin/layouts/custom_admin_view/details_fullwidth.php +++ b/admin/layouts/custom_admin_view/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/custom_admin_view/details_left.php b/admin/layouts/custom_admin_view/details_left.php index 2be256629..807bc725f 100644 --- a/admin/layouts/custom_admin_view/details_left.php +++ b/admin/layouts/custom_admin_view/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/custom_admin_view/details_right.php b/admin/layouts/custom_admin_view/details_right.php index 2ff49f714..56e086ba2 100644 --- a/admin/layouts/custom_admin_view/details_right.php +++ b/admin/layouts/custom_admin_view/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/custom_admin_view/details_rightside.php b/admin/layouts/custom_admin_view/details_rightside.php index 0b17d79a8..bf8a5368c 100644 --- a/admin/layouts/custom_admin_view/details_rightside.php +++ b/admin/layouts/custom_admin_view/details_rightside.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_rightside.php diff --git a/admin/layouts/custom_admin_view/details_under.php b/admin/layouts/custom_admin_view/details_under.php index 85f74079b..b6954be11 100644 --- a/admin/layouts/custom_admin_view/details_under.php +++ b/admin/layouts/custom_admin_view/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/custom_admin_view/publishing.php b/admin/layouts/custom_admin_view/publishing.php index 7138b038f..ed8fb0c2e 100644 --- a/admin/layouts/custom_admin_view/publishing.php +++ b/admin/layouts/custom_admin_view/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/custom_admin_view/publlshing.php b/admin/layouts/custom_admin_view/publlshing.php index 73375506f..a96c41962 100644 --- a/admin/layouts/custom_admin_view/publlshing.php +++ b/admin/layouts/custom_admin_view/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/dynamic_get/abacus_fullwidth.php b/admin/layouts/dynamic_get/abacus_fullwidth.php index afb3e8a72..02974cbf7 100644 --- a/admin/layouts/dynamic_get/abacus_fullwidth.php +++ b/admin/layouts/dynamic_get/abacus_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage abacus_fullwidth.php diff --git a/admin/layouts/dynamic_get/abacus_left.php b/admin/layouts/dynamic_get/abacus_left.php index c15960ff9..a12662fb5 100644 --- a/admin/layouts/dynamic_get/abacus_left.php +++ b/admin/layouts/dynamic_get/abacus_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage abacus_left.php diff --git a/admin/layouts/dynamic_get/custom_script_fullwidth.php b/admin/layouts/dynamic_get/custom_script_fullwidth.php index 806bdf612..636a440c4 100644 --- a/admin/layouts/dynamic_get/custom_script_fullwidth.php +++ b/admin/layouts/dynamic_get/custom_script_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_script_fullwidth.php diff --git a/admin/layouts/dynamic_get/gettable_above.php b/admin/layouts/dynamic_get/gettable_above.php index e99822655..a4d48608e 100644 --- a/admin/layouts/dynamic_get/gettable_above.php +++ b/admin/layouts/dynamic_get/gettable_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage gettable_above.php diff --git a/admin/layouts/dynamic_get/gettable_fullwidth.php b/admin/layouts/dynamic_get/gettable_fullwidth.php index f1364e27d..99ea168d9 100644 --- a/admin/layouts/dynamic_get/gettable_fullwidth.php +++ b/admin/layouts/dynamic_get/gettable_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage gettable_fullwidth.php diff --git a/admin/layouts/dynamic_get/gettable_left.php b/admin/layouts/dynamic_get/gettable_left.php index 3c57169f5..93e8947d7 100644 --- a/admin/layouts/dynamic_get/gettable_left.php +++ b/admin/layouts/dynamic_get/gettable_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage gettable_left.php diff --git a/admin/layouts/dynamic_get/gettable_right.php b/admin/layouts/dynamic_get/gettable_right.php index 4c157c8b2..c9c0a8bd6 100644 --- a/admin/layouts/dynamic_get/gettable_right.php +++ b/admin/layouts/dynamic_get/gettable_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage gettable_right.php diff --git a/admin/layouts/dynamic_get/gettable_under.php b/admin/layouts/dynamic_get/gettable_under.php index ca86c9bd8..5c6c322f2 100644 --- a/admin/layouts/dynamic_get/gettable_under.php +++ b/admin/layouts/dynamic_get/gettable_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage gettable_under.php diff --git a/admin/layouts/dynamic_get/publishing.php b/admin/layouts/dynamic_get/publishing.php index 7138b038f..ed8fb0c2e 100644 --- a/admin/layouts/dynamic_get/publishing.php +++ b/admin/layouts/dynamic_get/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/dynamic_get/publlshing.php b/admin/layouts/dynamic_get/publlshing.php index 73375506f..a96c41962 100644 --- a/admin/layouts/dynamic_get/publlshing.php +++ b/admin/layouts/dynamic_get/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/field/details_fullwidth.php b/admin/layouts/field/details_fullwidth.php index 5b7b0307d..ee89cb92f 100644 --- a/admin/layouts/field/details_fullwidth.php +++ b/admin/layouts/field/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/field/details_left.php b/admin/layouts/field/details_left.php index 33eeda534..bc2baea8e 100644 --- a/admin/layouts/field/details_left.php +++ b/admin/layouts/field/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/field/details_right.php b/admin/layouts/field/details_right.php index 888de1743..4853e9b9f 100644 --- a/admin/layouts/field/details_right.php +++ b/admin/layouts/field/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/field/details_under.php b/admin/layouts/field/details_under.php index 85f74079b..b6954be11 100644 --- a/admin/layouts/field/details_under.php +++ b/admin/layouts/field/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/field/publishing.php b/admin/layouts/field/publishing.php index 7138b038f..ed8fb0c2e 100644 --- a/admin/layouts/field/publishing.php +++ b/admin/layouts/field/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/field/publlshing.php b/admin/layouts/field/publlshing.php index 73375506f..a96c41962 100644 --- a/admin/layouts/field/publlshing.php +++ b/admin/layouts/field/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/field/scripts_left.php b/admin/layouts/field/scripts_left.php index 993b8c281..4ba0e6eb2 100644 --- a/admin/layouts/field/scripts_left.php +++ b/admin/layouts/field/scripts_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage scripts_left.php diff --git a/admin/layouts/field/scripts_right.php b/admin/layouts/field/scripts_right.php index a50a7986d..95b8ccf00 100644 --- a/admin/layouts/field/scripts_right.php +++ b/admin/layouts/field/scripts_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage scripts_right.php diff --git a/admin/layouts/fieldtype/details_left.php b/admin/layouts/fieldtype/details_left.php index 5d8ef8ebe..d7fbd761a 100644 --- a/admin/layouts/fieldtype/details_left.php +++ b/admin/layouts/fieldtype/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/fieldtype/details_right.php b/admin/layouts/fieldtype/details_right.php index cc8286fcc..7550362cb 100644 --- a/admin/layouts/fieldtype/details_right.php +++ b/admin/layouts/fieldtype/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/fieldtype/fields_fullwidth.php b/admin/layouts/fieldtype/fields_fullwidth.php index 3826dea30..4bf6adf4b 100644 --- a/admin/layouts/fieldtype/fields_fullwidth.php +++ b/admin/layouts/fieldtype/fields_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fields_fullwidth.php @@ -29,7 +29,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->vzcfields; +$items = $displayData->vzefields; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit"; diff --git a/admin/layouts/fieldtype/publishing.php b/admin/layouts/fieldtype/publishing.php index 7138b038f..ed8fb0c2e 100644 --- a/admin/layouts/fieldtype/publishing.php +++ b/admin/layouts/fieldtype/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/fieldtype/publlshing.php b/admin/layouts/fieldtype/publlshing.php index 73375506f..a96c41962 100644 --- a/admin/layouts/fieldtype/publlshing.php +++ b/admin/layouts/fieldtype/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/help_document/details_above.php b/admin/layouts/help_document/details_above.php index 8c6084d19..68b90b951 100644 --- a/admin/layouts/help_document/details_above.php +++ b/admin/layouts/help_document/details_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_above.php diff --git a/admin/layouts/help_document/details_fullwidth.php b/admin/layouts/help_document/details_fullwidth.php index d909dcd7d..dbb852865 100644 --- a/admin/layouts/help_document/details_fullwidth.php +++ b/admin/layouts/help_document/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/help_document/details_left.php b/admin/layouts/help_document/details_left.php index 9ce974729..9b943a2e3 100644 --- a/admin/layouts/help_document/details_left.php +++ b/admin/layouts/help_document/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/help_document/details_right.php b/admin/layouts/help_document/details_right.php index c5f41cf4a..68c404ae7 100644 --- a/admin/layouts/help_document/details_right.php +++ b/admin/layouts/help_document/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/help_document/details_under.php b/admin/layouts/help_document/details_under.php index 85f74079b..b6954be11 100644 --- a/admin/layouts/help_document/details_under.php +++ b/admin/layouts/help_document/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/help_document/publishing.php b/admin/layouts/help_document/publishing.php index 7138b038f..ed8fb0c2e 100644 --- a/admin/layouts/help_document/publishing.php +++ b/admin/layouts/help_document/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/help_document/publlshing.php b/admin/layouts/help_document/publlshing.php index ea399eb51..45092c073 100644 --- a/admin/layouts/help_document/publlshing.php +++ b/admin/layouts/help_document/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/layout/custom_script_fullwidth.php b/admin/layouts/layout/custom_script_fullwidth.php index 195edf2ce..2eb12000f 100644 --- a/admin/layouts/layout/custom_script_fullwidth.php +++ b/admin/layouts/layout/custom_script_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_script_fullwidth.php diff --git a/admin/layouts/layout/details_fullwidth.php b/admin/layouts/layout/details_fullwidth.php index e7ad8cdeb..735113fc7 100644 --- a/admin/layouts/layout/details_fullwidth.php +++ b/admin/layouts/layout/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/layout/details_left.php b/admin/layouts/layout/details_left.php index 2be256629..807bc725f 100644 --- a/admin/layouts/layout/details_left.php +++ b/admin/layouts/layout/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/layout/details_right.php b/admin/layouts/layout/details_right.php index 5c52ee5fa..ed77883ce 100644 --- a/admin/layouts/layout/details_right.php +++ b/admin/layouts/layout/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/layout/details_rightside.php b/admin/layouts/layout/details_rightside.php index 89f056512..0c41021a4 100644 --- a/admin/layouts/layout/details_rightside.php +++ b/admin/layouts/layout/details_rightside.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_rightside.php diff --git a/admin/layouts/layout/details_under.php b/admin/layouts/layout/details_under.php index 85f74079b..b6954be11 100644 --- a/admin/layouts/layout/details_under.php +++ b/admin/layouts/layout/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/layout/publishing.php b/admin/layouts/layout/publishing.php index 7138b038f..ed8fb0c2e 100644 --- a/admin/layouts/layout/publishing.php +++ b/admin/layouts/layout/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/layout/publlshing.php b/admin/layouts/layout/publlshing.php index 73375506f..a96c41962 100644 --- a/admin/layouts/layout/publlshing.php +++ b/admin/layouts/layout/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/site_view/custom_buttons_fullwidth.php b/admin/layouts/site_view/custom_buttons_fullwidth.php index 311696cdf..5f44777cc 100644 --- a/admin/layouts/site_view/custom_buttons_fullwidth.php +++ b/admin/layouts/site_view/custom_buttons_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_buttons_fullwidth.php diff --git a/admin/layouts/site_view/details_above.php b/admin/layouts/site_view/details_above.php index 59251b1e0..aefe5b474 100644 --- a/admin/layouts/site_view/details_above.php +++ b/admin/layouts/site_view/details_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_above.php diff --git a/admin/layouts/site_view/details_fullwidth.php b/admin/layouts/site_view/details_fullwidth.php index 952a35443..a0ce35173 100644 --- a/admin/layouts/site_view/details_fullwidth.php +++ b/admin/layouts/site_view/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/site_view/details_left.php b/admin/layouts/site_view/details_left.php index 2be256629..807bc725f 100644 --- a/admin/layouts/site_view/details_left.php +++ b/admin/layouts/site_view/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/site_view/details_right.php b/admin/layouts/site_view/details_right.php index 5c52ee5fa..ed77883ce 100644 --- a/admin/layouts/site_view/details_right.php +++ b/admin/layouts/site_view/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/site_view/details_rightside.php b/admin/layouts/site_view/details_rightside.php index 0b17d79a8..bf8a5368c 100644 --- a/admin/layouts/site_view/details_rightside.php +++ b/admin/layouts/site_view/details_rightside.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_rightside.php diff --git a/admin/layouts/site_view/details_under.php b/admin/layouts/site_view/details_under.php index 85f74079b..b6954be11 100644 --- a/admin/layouts/site_view/details_under.php +++ b/admin/layouts/site_view/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/site_view/javascript_css_fullwidth.php b/admin/layouts/site_view/javascript_css_fullwidth.php index 58b35afe1..0d537ed6b 100644 --- a/admin/layouts/site_view/javascript_css_fullwidth.php +++ b/admin/layouts/site_view/javascript_css_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage javascript_css_fullwidth.php diff --git a/admin/layouts/site_view/php_fullwidth.php b/admin/layouts/site_view/php_fullwidth.php index 0f02d642f..4d59a381d 100644 --- a/admin/layouts/site_view/php_fullwidth.php +++ b/admin/layouts/site_view/php_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage php_fullwidth.php diff --git a/admin/layouts/site_view/publishing.php b/admin/layouts/site_view/publishing.php index 7138b038f..ed8fb0c2e 100644 --- a/admin/layouts/site_view/publishing.php +++ b/admin/layouts/site_view/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/site_view/publlshing.php b/admin/layouts/site_view/publlshing.php index 73375506f..a96c41962 100644 --- a/admin/layouts/site_view/publlshing.php +++ b/admin/layouts/site_view/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/snippet/details_above.php b/admin/layouts/snippet/details_above.php index 6fe4e663c..d2c407625 100644 --- a/admin/layouts/snippet/details_above.php +++ b/admin/layouts/snippet/details_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_above.php diff --git a/admin/layouts/snippet/details_left.php b/admin/layouts/snippet/details_left.php index d36224535..1adcec2b7 100644 --- a/admin/layouts/snippet/details_left.php +++ b/admin/layouts/snippet/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/snippet/details_right.php b/admin/layouts/snippet/details_right.php index aef8f5bf7..65b5af13a 100644 --- a/admin/layouts/snippet/details_right.php +++ b/admin/layouts/snippet/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/snippet/publishing.php b/admin/layouts/snippet/publishing.php index 7138b038f..ed8fb0c2e 100644 --- a/admin/layouts/snippet/publishing.php +++ b/admin/layouts/snippet/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/snippet/publlshing.php b/admin/layouts/snippet/publlshing.php index 73375506f..a96c41962 100644 --- a/admin/layouts/snippet/publlshing.php +++ b/admin/layouts/snippet/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/template/custom_script_fullwidth.php b/admin/layouts/template/custom_script_fullwidth.php index 195edf2ce..2eb12000f 100644 --- a/admin/layouts/template/custom_script_fullwidth.php +++ b/admin/layouts/template/custom_script_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_script_fullwidth.php diff --git a/admin/layouts/template/details_fullwidth.php b/admin/layouts/template/details_fullwidth.php index 0ac96ea91..72bf725fc 100644 --- a/admin/layouts/template/details_fullwidth.php +++ b/admin/layouts/template/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/template/details_left.php b/admin/layouts/template/details_left.php index 2be256629..807bc725f 100644 --- a/admin/layouts/template/details_left.php +++ b/admin/layouts/template/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/template/details_right.php b/admin/layouts/template/details_right.php index 5c52ee5fa..ed77883ce 100644 --- a/admin/layouts/template/details_right.php +++ b/admin/layouts/template/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/template/details_rightside.php b/admin/layouts/template/details_rightside.php index 89f056512..0c41021a4 100644 --- a/admin/layouts/template/details_rightside.php +++ b/admin/layouts/template/details_rightside.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_rightside.php diff --git a/admin/layouts/template/details_under.php b/admin/layouts/template/details_under.php index 85f74079b..b6954be11 100644 --- a/admin/layouts/template/details_under.php +++ b/admin/layouts/template/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/template/publishing.php b/admin/layouts/template/publishing.php index 7138b038f..ed8fb0c2e 100644 --- a/admin/layouts/template/publishing.php +++ b/admin/layouts/template/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/template/publlshing.php b/admin/layouts/template/publlshing.php index 73375506f..a96c41962 100644 --- a/admin/layouts/template/publlshing.php +++ b/admin/layouts/template/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/models/admin_view.php b/admin/models/admin_view.php index 87950492e..d646ba9ca 100644 --- a/admin/models/admin_view.php +++ b/admin/models/admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_view.php @@ -96,24 +96,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->metadata = $registry->toArray(); } - if (!empty($item->php_allowedit)) - { - // base64 Decode php_allowedit. - $item->php_allowedit = base64_decode($item->php_allowedit); - } - - if (!empty($item->php_getitems_after_all)) - { - // base64 Decode php_getitems_after_all. - $item->php_getitems_after_all = base64_decode($item->php_getitems_after_all); - } - - if (!empty($item->php_after_delete)) - { - // base64 Decode php_after_delete. - $item->php_after_delete = base64_decode($item->php_after_delete); - } - if (!empty($item->php_save)) { // base64 Decode php_save. @@ -126,18 +108,36 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->php_batchmove = base64_decode($item->php_batchmove); } + if (!empty($item->php_after_delete)) + { + // base64 Decode php_after_delete. + $item->php_after_delete = base64_decode($item->php_after_delete); + } + + if (!empty($item->php_getitems_after_all)) + { + // base64 Decode php_getitems_after_all. + $item->php_getitems_after_all = base64_decode($item->php_getitems_after_all); + } + + if (!empty($item->php_allowedit)) + { + // base64 Decode php_allowedit. + $item->php_allowedit = base64_decode($item->php_allowedit); + } + + if (!empty($item->php_after_publish)) + { + // base64 Decode php_after_publish. + $item->php_after_publish = base64_decode($item->php_after_publish); + } + if (!empty($item->php_import_setdata)) { // base64 Decode php_import_setdata. $item->php_import_setdata = base64_decode($item->php_import_setdata); } - if (!empty($item->php_getitems)) - { - // base64 Decode php_getitems. - $item->php_getitems = base64_decode($item->php_getitems); - } - if (!empty($item->php_getlistquery)) { // base64 Decode php_getlistquery. @@ -156,6 +156,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->php_batchcopy = base64_decode($item->php_batchcopy); } + if (!empty($item->php_before_publish)) + { + // base64 Decode php_before_publish. + $item->php_before_publish = base64_decode($item->php_before_publish); + } + if (!empty($item->php_before_delete)) { // base64 Decode php_before_delete. @@ -228,6 +234,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->php_ajaxmethod = base64_decode($item->php_ajaxmethod); } + if (!empty($item->php_getitem)) + { + // base64 Decode php_getitem. + $item->php_getitem = base64_decode($item->php_getitem); + } + if (!empty($item->html_import_view)) { // base64 Decode html_import_view. @@ -240,10 +252,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->php_import_save = base64_decode($item->php_import_save); } - if (!empty($item->php_getitem)) + if (!empty($item->php_getitems)) { - // base64 Decode php_getitem. - $item->php_getitem = base64_decode($item->php_getitem); + // base64 Decode php_getitems. + $item->php_getitems = base64_decode($item->php_getitems); } if (!empty($item->id)) @@ -262,7 +274,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getVxgfields() + public function getVxifields() { // Get the user object. $user = JFactory::getUser(); @@ -331,13 +343,13 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin foreach ($items as $nr => &$item) { // convert datatype - $item->datatype = $this->selectionTranslationVxgfields($item->datatype, 'datatype'); + $item->datatype = $this->selectionTranslationVxifields($item->datatype, 'datatype'); // convert indexes - $item->indexes = $this->selectionTranslationVxgfields($item->indexes, 'indexes'); + $item->indexes = $this->selectionTranslationVxifields($item->indexes, 'indexes'); // convert null_switch - $item->null_switch = $this->selectionTranslationVxgfields($item->null_switch, 'null_switch'); + $item->null_switch = $this->selectionTranslationVxifields($item->null_switch, 'null_switch'); // convert store - $item->store = $this->selectionTranslationVxgfields($item->store, 'store'); + $item->store = $this->selectionTranslationVxifields($item->store, 'store'); } } @@ -372,7 +384,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin * * @return translatable string */ - public function selectionTranslationVxgfields($value,$name) + public function selectionTranslationVxifields($value,$name) { // Array of datatype language strings if ($name == 'datatype') @@ -755,6 +767,26 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + { + if (!parent::publish($pks, $value)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. @@ -1135,24 +1167,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['metadata'] = (string) $metadata; } - // Set the php_allowedit string to base64 string. - if (isset($data['php_allowedit'])) - { - $data['php_allowedit'] = base64_encode($data['php_allowedit']); - } - - // Set the php_getitems_after_all string to base64 string. - if (isset($data['php_getitems_after_all'])) - { - $data['php_getitems_after_all'] = base64_encode($data['php_getitems_after_all']); - } - - // Set the php_after_delete string to base64 string. - if (isset($data['php_after_delete'])) - { - $data['php_after_delete'] = base64_encode($data['php_after_delete']); - } - // Set the php_save string to base64 string. if (isset($data['php_save'])) { @@ -1165,18 +1179,36 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['php_batchmove'] = base64_encode($data['php_batchmove']); } + // Set the php_after_delete string to base64 string. + if (isset($data['php_after_delete'])) + { + $data['php_after_delete'] = base64_encode($data['php_after_delete']); + } + + // Set the php_getitems_after_all string to base64 string. + if (isset($data['php_getitems_after_all'])) + { + $data['php_getitems_after_all'] = base64_encode($data['php_getitems_after_all']); + } + + // Set the php_allowedit string to base64 string. + if (isset($data['php_allowedit'])) + { + $data['php_allowedit'] = base64_encode($data['php_allowedit']); + } + + // Set the php_after_publish string to base64 string. + if (isset($data['php_after_publish'])) + { + $data['php_after_publish'] = base64_encode($data['php_after_publish']); + } + // Set the php_import_setdata string to base64 string. if (isset($data['php_import_setdata'])) { $data['php_import_setdata'] = base64_encode($data['php_import_setdata']); } - // Set the php_getitems string to base64 string. - if (isset($data['php_getitems'])) - { - $data['php_getitems'] = base64_encode($data['php_getitems']); - } - // Set the php_getlistquery string to base64 string. if (isset($data['php_getlistquery'])) { @@ -1195,6 +1227,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['php_batchcopy'] = base64_encode($data['php_batchcopy']); } + // Set the php_before_publish string to base64 string. + if (isset($data['php_before_publish'])) + { + $data['php_before_publish'] = base64_encode($data['php_before_publish']); + } + // Set the php_before_delete string to base64 string. if (isset($data['php_before_delete'])) { @@ -1267,6 +1305,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['php_ajaxmethod'] = base64_encode($data['php_ajaxmethod']); } + // Set the php_getitem string to base64 string. + if (isset($data['php_getitem'])) + { + $data['php_getitem'] = base64_encode($data['php_getitem']); + } + // Set the html_import_view string to base64 string. if (isset($data['html_import_view'])) { @@ -1279,10 +1323,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['php_import_save'] = base64_encode($data['php_import_save']); } - // Set the php_getitem string to base64 string. - if (isset($data['php_getitem'])) + // Set the php_getitems string to base64 string. + if (isset($data['php_getitems'])) { - $data['php_getitem'] = base64_encode($data['php_getitem']); + $data['php_getitems'] = base64_encode($data['php_getitems']); } // Set the Params Items to data diff --git a/admin/models/admin_views.php b/admin/models/admin_views.php index c3aae6333..fb8f1421a 100644 --- a/admin/models/admin_views.php +++ b/admin/models/admin_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_views.php @@ -263,26 +263,28 @@ class ComponentbuilderModelAdmin_views extends JModelList continue; } - // decode php_allowedit - $item->php_allowedit = base64_decode($item->php_allowedit); - // decode php_getitems_after_all - $item->php_getitems_after_all = base64_decode($item->php_getitems_after_all); - // decode php_after_delete - $item->php_after_delete = base64_decode($item->php_after_delete); // decode php_save $item->php_save = base64_decode($item->php_save); // decode php_batchmove $item->php_batchmove = base64_decode($item->php_batchmove); + // decode php_after_delete + $item->php_after_delete = base64_decode($item->php_after_delete); + // decode php_getitems_after_all + $item->php_getitems_after_all = base64_decode($item->php_getitems_after_all); + // decode php_allowedit + $item->php_allowedit = base64_decode($item->php_allowedit); + // decode php_after_publish + $item->php_after_publish = base64_decode($item->php_after_publish); // decode php_import_setdata $item->php_import_setdata = base64_decode($item->php_import_setdata); - // decode php_getitems - $item->php_getitems = base64_decode($item->php_getitems); // decode php_getlistquery $item->php_getlistquery = base64_decode($item->php_getlistquery); // decode php_postsavehook $item->php_postsavehook = base64_decode($item->php_postsavehook); // decode php_batchcopy $item->php_batchcopy = base64_decode($item->php_batchcopy); + // decode php_before_publish + $item->php_before_publish = base64_decode($item->php_before_publish); // decode php_before_delete $item->php_before_delete = base64_decode($item->php_before_delete); // decode php_document @@ -307,12 +309,14 @@ class ComponentbuilderModelAdmin_views extends JModelList $item->javascript_views_footer = base64_decode($item->javascript_views_footer); // decode php_ajaxmethod $item->php_ajaxmethod = base64_decode($item->php_ajaxmethod); + // decode php_getitem + $item->php_getitem = base64_decode($item->php_getitem); // decode html_import_view $item->html_import_view = base64_decode($item->html_import_view); // decode php_import_save $item->php_import_save = base64_decode($item->php_import_save); - // decode php_getitem - $item->php_getitem = base64_decode($item->php_getitem); + // decode php_getitems + $item->php_getitems = base64_decode($item->php_getitems); // unset the values we don't want exported. unset($item->asset_id); unset($item->checked_out); diff --git a/admin/models/ajax.php b/admin/models/ajax.php index d155c7975..70b6a0f90 100644 --- a/admin/models/ajax.php +++ b/admin/models/ajax.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage ajax.php diff --git a/admin/models/compiler.php b/admin/models/compiler.php index 8bcc92f0a..221967609 100644 --- a/admin/models/compiler.php +++ b/admin/models/compiler.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage compiler.php diff --git a/admin/models/component.php b/admin/models/component.php index 0cd062a6c..dd8353a72 100644 --- a/admin/models/component.php +++ b/admin/models/component.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage component.php @@ -666,6 +666,26 @@ class ComponentbuilderModelComponent extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + { + if (!parent::publish($pks, $value)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/componentbuilder.php b/admin/models/componentbuilder.php index d2822aa69..e05362e50 100644 --- a/admin/models/componentbuilder.php +++ b/admin/models/componentbuilder.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage componentbuilder.php diff --git a/admin/models/components.php b/admin/models/components.php index 1a9d76bee..2f1b5989e 100644 --- a/admin/models/components.php +++ b/admin/models/components.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage components.php diff --git a/admin/models/custom_admin_view.php b/admin/models/custom_admin_view.php index 25eadcd37..bd76f0110 100644 --- a/admin/models/custom_admin_view.php +++ b/admin/models/custom_admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_view.php @@ -484,6 +484,26 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + { + if (!parent::publish($pks, $value)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/custom_admin_views.php b/admin/models/custom_admin_views.php index bfc93e0fe..f2c09f6a1 100644 --- a/admin/models/custom_admin_views.php +++ b/admin/models/custom_admin_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_views.php diff --git a/admin/models/dynamic_get.php b/admin/models/dynamic_get.php index dc9177076..db0163b8f 100644 --- a/admin/models/dynamic_get.php +++ b/admin/models/dynamic_get.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamic_get.php @@ -458,6 +458,26 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + { + if (!parent::publish($pks, $value)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/dynamic_gets.php b/admin/models/dynamic_gets.php index 153d8aa06..51e63033c 100644 --- a/admin/models/dynamic_gets.php +++ b/admin/models/dynamic_gets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamic_gets.php diff --git a/admin/models/field.php b/admin/models/field.php index 2736a5e6a..85eafdf7e 100644 --- a/admin/models/field.php +++ b/admin/models/field.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage field.php @@ -486,6 +486,26 @@ class ComponentbuilderModelField extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + { + if (!parent::publish($pks, $value)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/fields.php b/admin/models/fields.php index 4d31477d3..a5c545d6f 100644 --- a/admin/models/fields.php +++ b/admin/models/fields.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fields.php diff --git a/admin/models/fields/adminviews.php b/admin/models/fields/adminviews.php index 0742f6121..588c421fd 100644 --- a/admin/models/fields/adminviews.php +++ b/admin/models/fields/adminviews.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage adminviews.php diff --git a/admin/models/fields/articles.php b/admin/models/fields/articles.php index 440008a41..38089f2f4 100644 --- a/admin/models/fields/articles.php +++ b/admin/models/fields/articles.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage articles.php diff --git a/admin/models/fields/customadminviews.php b/admin/models/fields/customadminviews.php index f6883afa2..18ce09977 100644 --- a/admin/models/fields/customadminviews.php +++ b/admin/models/fields/customadminviews.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage customadminviews.php diff --git a/admin/models/fields/customfilelist.php b/admin/models/fields/customfilelist.php index 545c655db..8f1cbd73f 100644 --- a/admin/models/fields/customfilelist.php +++ b/admin/models/fields/customfilelist.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage customfilelist.php diff --git a/admin/models/fields/customfolderlist.php b/admin/models/fields/customfolderlist.php index 30707e262..1797f8e63 100644 --- a/admin/models/fields/customfolderlist.php +++ b/admin/models/fields/customfolderlist.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage customfolderlist.php diff --git a/admin/models/fields/customgets.php b/admin/models/fields/customgets.php index 00b13b960..1440a7ea4 100644 --- a/admin/models/fields/customgets.php +++ b/admin/models/fields/customgets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage customgets.php diff --git a/admin/models/fields/dbtables.php b/admin/models/fields/dbtables.php index b02cb3a46..ddd8f7a49 100644 --- a/admin/models/fields/dbtables.php +++ b/admin/models/fields/dbtables.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage dbtables.php diff --git a/admin/models/fields/dynamicgets.php b/admin/models/fields/dynamicgets.php index 1bc3ecb19..4b96eaaaa 100644 --- a/admin/models/fields/dynamicgets.php +++ b/admin/models/fields/dynamicgets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamicgets.php diff --git a/admin/models/fields/fields.php b/admin/models/fields/fields.php index 138a5618f..c4d2b11cf 100644 --- a/admin/models/fields/fields.php +++ b/admin/models/fields/fields.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fields.php diff --git a/admin/models/fields/fieldsmulti.php b/admin/models/fields/fieldsmulti.php index 341adddff..dce3077b6 100644 --- a/admin/models/fields/fieldsmulti.php +++ b/admin/models/fields/fieldsmulti.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldsmulti.php diff --git a/admin/models/fields/fieldtypes.php b/admin/models/fields/fieldtypes.php index 18a6111fd..5d83568e7 100644 --- a/admin/models/fields/fieldtypes.php +++ b/admin/models/fields/fieldtypes.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtypes.php diff --git a/admin/models/fields/maingets.php b/admin/models/fields/maingets.php index 093b5152c..01b12b48f 100644 --- a/admin/models/fields/maingets.php +++ b/admin/models/fields/maingets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage maingets.php diff --git a/admin/models/fields/siteviews.php b/admin/models/fields/siteviews.php index faa42e032..33eeb7994 100644 --- a/admin/models/fields/siteviews.php +++ b/admin/models/fields/siteviews.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage siteviews.php diff --git a/admin/models/fields/snippets.php b/admin/models/fields/snippets.php index 7614784d5..b1866273f 100644 --- a/admin/models/fields/snippets.php +++ b/admin/models/fields/snippets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippets.php diff --git a/admin/models/fieldtype.php b/admin/models/fieldtype.php index 48b8378a3..82c2a0cda 100644 --- a/admin/models/fieldtype.php +++ b/admin/models/fieldtype.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtype.php @@ -112,7 +112,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getVzcfields() + public function getVzefields() { // Get the user object. $user = JFactory::getUser(); @@ -196,13 +196,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin foreach ($items as $nr => &$item) { // convert datatype - $item->datatype = $this->selectionTranslationVzcfields($item->datatype, 'datatype'); + $item->datatype = $this->selectionTranslationVzefields($item->datatype, 'datatype'); // convert indexes - $item->indexes = $this->selectionTranslationVzcfields($item->indexes, 'indexes'); + $item->indexes = $this->selectionTranslationVzefields($item->indexes, 'indexes'); // convert null_switch - $item->null_switch = $this->selectionTranslationVzcfields($item->null_switch, 'null_switch'); + $item->null_switch = $this->selectionTranslationVzefields($item->null_switch, 'null_switch'); // convert store - $item->store = $this->selectionTranslationVzcfields($item->store, 'store'); + $item->store = $this->selectionTranslationVzefields($item->store, 'store'); } } @@ -216,7 +216,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin * * @return translatable string */ - public function selectionTranslationVzcfields($value,$name) + public function selectionTranslationVzefields($value,$name) { // Array of datatype language strings if ($name == 'datatype') @@ -603,6 +603,26 @@ class ComponentbuilderModelFieldtype extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + { + if (!parent::publish($pks, $value)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/fieldtypes.php b/admin/models/fieldtypes.php index b19aa93e1..e6fccef12 100644 --- a/admin/models/fieldtypes.php +++ b/admin/models/fieldtypes.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtypes.php diff --git a/admin/models/forms/admin_view.js b/admin/models/forms/admin_view.js index 905463492..dbb30a1a3 100644 --- a/admin/models/forms/admin_view.js +++ b/admin/models/forms/admin_view.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_view.js @@ -45,11 +45,13 @@ jform_vvvvvwzvwx_required = false; jform_vvvvvxavwy_required = false; jform_vvvvvxbvwz_required = false; jform_vvvvvxcvxa_required = false; -jform_vvvvvxgvxb_required = false; -jform_vvvvvxgvxc_required = false; -jform_vvvvvxgvxd_required = false; -jform_vvvvvxgvxe_required = false; -jform_vvvvvxgvxf_required = false; +jform_vvvvvxdvxb_required = false; +jform_vvvvvxevxc_required = false; +jform_vvvvvxivxd_required = false; +jform_vvvvvxivxe_required = false; +jform_vvvvvxivxf_required = false; +jform_vvvvvxivxg_required = false; +jform_vvvvvxivxh_required = false; // Initial Script jQuery(document).ready(function() @@ -102,31 +104,37 @@ jQuery(document).ready(function() var add_php_batchmove_vvvvvwx = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); vvvvvwx(add_php_batchmove_vvvvvwx); - var add_php_before_delete_vvvvvwy = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - vvvvvwy(add_php_before_delete_vvvvvwy); + var add_php_before_publish_vvvvvwy = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); + vvvvvwy(add_php_before_publish_vvvvvwy); - var add_php_after_delete_vvvvvwz = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - vvvvvwz(add_php_after_delete_vvvvvwz); + var add_php_after_publish_vvvvvwz = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); + vvvvvwz(add_php_after_publish_vvvvvwz); - var add_php_document_vvvvvxa = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvxa(add_php_document_vvvvvxa); + var add_php_before_delete_vvvvvxa = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + vvvvvxa(add_php_before_delete_vvvvvxa); - var add_sql_vvvvvxb = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvxb(add_sql_vvvvvxb); + var add_php_after_delete_vvvvvxb = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + vvvvvxb(add_php_after_delete_vvvvvxb); - var source_vvvvvxc = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_vvvvvxc = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvxc(source_vvvvvxc,add_sql_vvvvvxc); + var add_php_document_vvvvvxc = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvxc(add_php_document_vvvvvxc); + + var add_sql_vvvvvxd = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvxd(add_sql_vvvvvxd); var source_vvvvvxe = jQuery("#jform_source input[type='radio']:checked").val(); var add_sql_vvvvvxe = jQuery("#jform_add_sql input[type='radio']:checked").val(); vvvvvxe(source_vvvvvxe,add_sql_vvvvvxe); - var add_custom_import_vvvvvxg = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); - vvvvvxg(add_custom_import_vvvvvxg); + var source_vvvvvxg = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvxg = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvxg(source_vvvvvxg,add_sql_vvvvvxg); - var add_custom_import_vvvvvxh = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); - vvvvvxh(add_custom_import_vvvvvxh); + var add_custom_import_vvvvvxi = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); + vvvvvxi(add_custom_import_vvvvvxi); + + var add_custom_import_vvvvvxj = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); + vvvvvxj(add_custom_import_vvvvvxj); }); // the vvvvvwi function @@ -628,165 +636,227 @@ function vvvvvwx(add_php_batchmove_vvvvvwx) } // the vvvvvwy function -function vvvvvwy(add_php_before_delete_vvvvvwy) +function vvvvvwy(add_php_before_publish_vvvvvwy) { // set the function logic - if (add_php_before_delete_vvvvvwy == 1) + if (add_php_before_publish_vvvvvwy == 1) { - jQuery('#jform_php_before_delete').closest('.control-group').show(); + jQuery('#jform_php_before_publish').closest('.control-group').show(); if (jform_vvvvvwyvww_required) { - updateFieldRequired('php_before_delete',0); - jQuery('#jform_php_before_delete').prop('required','required'); - jQuery('#jform_php_before_delete').attr('aria-required',true); - jQuery('#jform_php_before_delete').addClass('required'); + updateFieldRequired('php_before_publish',0); + jQuery('#jform_php_before_publish').prop('required','required'); + jQuery('#jform_php_before_publish').attr('aria-required',true); + jQuery('#jform_php_before_publish').addClass('required'); jform_vvvvvwyvww_required = false; } } else { - jQuery('#jform_php_before_delete').closest('.control-group').hide(); + jQuery('#jform_php_before_publish').closest('.control-group').hide(); if (!jform_vvvvvwyvww_required) { - updateFieldRequired('php_before_delete',1); - jQuery('#jform_php_before_delete').removeAttr('required'); - jQuery('#jform_php_before_delete').removeAttr('aria-required'); - jQuery('#jform_php_before_delete').removeClass('required'); + updateFieldRequired('php_before_publish',1); + jQuery('#jform_php_before_publish').removeAttr('required'); + jQuery('#jform_php_before_publish').removeAttr('aria-required'); + jQuery('#jform_php_before_publish').removeClass('required'); jform_vvvvvwyvww_required = true; } } } // the vvvvvwz function -function vvvvvwz(add_php_after_delete_vvvvvwz) +function vvvvvwz(add_php_after_publish_vvvvvwz) { // set the function logic - if (add_php_after_delete_vvvvvwz == 1) + if (add_php_after_publish_vvvvvwz == 1) { - jQuery('#jform_php_after_delete').closest('.control-group').show(); + jQuery('#jform_php_after_publish').closest('.control-group').show(); if (jform_vvvvvwzvwx_required) { - updateFieldRequired('php_after_delete',0); - jQuery('#jform_php_after_delete').prop('required','required'); - jQuery('#jform_php_after_delete').attr('aria-required',true); - jQuery('#jform_php_after_delete').addClass('required'); + updateFieldRequired('php_after_publish',0); + jQuery('#jform_php_after_publish').prop('required','required'); + jQuery('#jform_php_after_publish').attr('aria-required',true); + jQuery('#jform_php_after_publish').addClass('required'); jform_vvvvvwzvwx_required = false; } } else { - jQuery('#jform_php_after_delete').closest('.control-group').hide(); + jQuery('#jform_php_after_publish').closest('.control-group').hide(); if (!jform_vvvvvwzvwx_required) { - updateFieldRequired('php_after_delete',1); - jQuery('#jform_php_after_delete').removeAttr('required'); - jQuery('#jform_php_after_delete').removeAttr('aria-required'); - jQuery('#jform_php_after_delete').removeClass('required'); + updateFieldRequired('php_after_publish',1); + jQuery('#jform_php_after_publish').removeAttr('required'); + jQuery('#jform_php_after_publish').removeAttr('aria-required'); + jQuery('#jform_php_after_publish').removeClass('required'); jform_vvvvvwzvwx_required = true; } } } // the vvvvvxa function -function vvvvvxa(add_php_document_vvvvvxa) +function vvvvvxa(add_php_before_delete_vvvvvxa) { // set the function logic - if (add_php_document_vvvvvxa == 1) + if (add_php_before_delete_vvvvvxa == 1) { - jQuery('#jform_php_document').closest('.control-group').show(); + jQuery('#jform_php_before_delete').closest('.control-group').show(); if (jform_vvvvvxavwy_required) { - updateFieldRequired('php_document',0); - jQuery('#jform_php_document').prop('required','required'); - jQuery('#jform_php_document').attr('aria-required',true); - jQuery('#jform_php_document').addClass('required'); + updateFieldRequired('php_before_delete',0); + jQuery('#jform_php_before_delete').prop('required','required'); + jQuery('#jform_php_before_delete').attr('aria-required',true); + jQuery('#jform_php_before_delete').addClass('required'); jform_vvvvvxavwy_required = false; } } else { - jQuery('#jform_php_document').closest('.control-group').hide(); + jQuery('#jform_php_before_delete').closest('.control-group').hide(); if (!jform_vvvvvxavwy_required) { - updateFieldRequired('php_document',1); - jQuery('#jform_php_document').removeAttr('required'); - jQuery('#jform_php_document').removeAttr('aria-required'); - jQuery('#jform_php_document').removeClass('required'); + updateFieldRequired('php_before_delete',1); + jQuery('#jform_php_before_delete').removeAttr('required'); + jQuery('#jform_php_before_delete').removeAttr('aria-required'); + jQuery('#jform_php_before_delete').removeClass('required'); jform_vvvvvxavwy_required = true; } } } // the vvvvvxb function -function vvvvvxb(add_sql_vvvvvxb) +function vvvvvxb(add_php_after_delete_vvvvvxb) { // set the function logic - if (add_sql_vvvvvxb == 1) + if (add_php_after_delete_vvvvvxb == 1) { - jQuery('#jform_source').closest('.control-group').show(); + jQuery('#jform_php_after_delete').closest('.control-group').show(); if (jform_vvvvvxbvwz_required) { - updateFieldRequired('source',0); - jQuery('#jform_source').prop('required','required'); - jQuery('#jform_source').attr('aria-required',true); - jQuery('#jform_source').addClass('required'); + updateFieldRequired('php_after_delete',0); + jQuery('#jform_php_after_delete').prop('required','required'); + jQuery('#jform_php_after_delete').attr('aria-required',true); + jQuery('#jform_php_after_delete').addClass('required'); jform_vvvvvxbvwz_required = false; } } else { - jQuery('#jform_source').closest('.control-group').hide(); + jQuery('#jform_php_after_delete').closest('.control-group').hide(); if (!jform_vvvvvxbvwz_required) { - updateFieldRequired('source',1); - jQuery('#jform_source').removeAttr('required'); - jQuery('#jform_source').removeAttr('aria-required'); - jQuery('#jform_source').removeClass('required'); + updateFieldRequired('php_after_delete',1); + jQuery('#jform_php_after_delete').removeAttr('required'); + jQuery('#jform_php_after_delete').removeAttr('aria-required'); + jQuery('#jform_php_after_delete').removeClass('required'); jform_vvvvvxbvwz_required = true; } } } // the vvvvvxc function -function vvvvvxc(source_vvvvvxc,add_sql_vvvvvxc) +function vvvvvxc(add_php_document_vvvvvxc) { // set the function logic - if (source_vvvvvxc == 2 && add_sql_vvvvvxc == 1) + if (add_php_document_vvvvvxc == 1) { - jQuery('#jform_sql').closest('.control-group').show(); + jQuery('#jform_php_document').closest('.control-group').show(); if (jform_vvvvvxcvxa_required) { - updateFieldRequired('sql',0); - jQuery('#jform_sql').prop('required','required'); - jQuery('#jform_sql').attr('aria-required',true); - jQuery('#jform_sql').addClass('required'); + updateFieldRequired('php_document',0); + jQuery('#jform_php_document').prop('required','required'); + jQuery('#jform_php_document').attr('aria-required',true); + jQuery('#jform_php_document').addClass('required'); jform_vvvvvxcvxa_required = false; } } else { - jQuery('#jform_sql').closest('.control-group').hide(); + jQuery('#jform_php_document').closest('.control-group').hide(); if (!jform_vvvvvxcvxa_required) { - updateFieldRequired('sql',1); - jQuery('#jform_sql').removeAttr('required'); - jQuery('#jform_sql').removeAttr('aria-required'); - jQuery('#jform_sql').removeClass('required'); + updateFieldRequired('php_document',1); + jQuery('#jform_php_document').removeAttr('required'); + jQuery('#jform_php_document').removeAttr('aria-required'); + jQuery('#jform_php_document').removeClass('required'); jform_vvvvvxcvxa_required = true; } } } +// the vvvvvxd function +function vvvvvxd(add_sql_vvvvvxd) +{ + // set the function logic + if (add_sql_vvvvvxd == 1) + { + jQuery('#jform_source').closest('.control-group').show(); + if (jform_vvvvvxdvxb_required) + { + updateFieldRequired('source',0); + jQuery('#jform_source').prop('required','required'); + jQuery('#jform_source').attr('aria-required',true); + jQuery('#jform_source').addClass('required'); + jform_vvvvvxdvxb_required = false; + } + + } + else + { + jQuery('#jform_source').closest('.control-group').hide(); + if (!jform_vvvvvxdvxb_required) + { + updateFieldRequired('source',1); + jQuery('#jform_source').removeAttr('required'); + jQuery('#jform_source').removeAttr('aria-required'); + jQuery('#jform_source').removeClass('required'); + jform_vvvvvxdvxb_required = true; + } + } +} + // the vvvvvxe function function vvvvvxe(source_vvvvvxe,add_sql_vvvvvxe) { // set the function logic - if (source_vvvvvxe == 1 && add_sql_vvvvvxe == 1) + if (source_vvvvvxe == 2 && add_sql_vvvvvxe == 1) + { + jQuery('#jform_sql').closest('.control-group').show(); + if (jform_vvvvvxevxc_required) + { + updateFieldRequired('sql',0); + jQuery('#jform_sql').prop('required','required'); + jQuery('#jform_sql').attr('aria-required',true); + jQuery('#jform_sql').addClass('required'); + jform_vvvvvxevxc_required = false; + } + + } + else + { + jQuery('#jform_sql').closest('.control-group').hide(); + if (!jform_vvvvvxevxc_required) + { + updateFieldRequired('sql',1); + jQuery('#jform_sql').removeAttr('required'); + jQuery('#jform_sql').removeAttr('aria-required'); + jQuery('#jform_sql').removeClass('required'); + jform_vvvvvxevxc_required = true; + } + } +} + +// the vvvvvxg function +function vvvvvxg(source_vvvvvxg,add_sql_vvvvvxg) +{ + // set the function logic + if (source_vvvvvxg == 1 && add_sql_vvvvvxg == 1) { jQuery('#jform_addtables').closest('.control-group').show(); } @@ -796,120 +866,120 @@ function vvvvvxe(source_vvvvvxe,add_sql_vvvvvxe) } } -// the vvvvvxg function -function vvvvvxg(add_custom_import_vvvvvxg) +// the vvvvvxi function +function vvvvvxi(add_custom_import_vvvvvxi) { // set the function logic - if (add_custom_import_vvvvvxg == 1) + if (add_custom_import_vvvvvxi == 1) { jQuery('#jform_html_import_view').closest('.control-group').show(); - if (jform_vvvvvxgvxb_required) + if (jform_vvvvvxivxd_required) { updateFieldRequired('html_import_view',0); jQuery('#jform_html_import_view').prop('required','required'); jQuery('#jform_html_import_view').attr('aria-required',true); jQuery('#jform_html_import_view').addClass('required'); - jform_vvvvvxgvxb_required = false; + jform_vvvvvxivxd_required = false; } jQuery('.note_advanced_import').closest('.control-group').show(); jQuery('#jform_php_import_display').closest('.control-group').show(); - if (jform_vvvvvxgvxc_required) + if (jform_vvvvvxivxe_required) { updateFieldRequired('php_import_display',0); jQuery('#jform_php_import_display').prop('required','required'); jQuery('#jform_php_import_display').attr('aria-required',true); jQuery('#jform_php_import_display').addClass('required'); - jform_vvvvvxgvxc_required = false; + jform_vvvvvxivxe_required = false; } jQuery('#jform_php_import').closest('.control-group').show(); - if (jform_vvvvvxgvxd_required) + if (jform_vvvvvxivxf_required) { updateFieldRequired('php_import',0); jQuery('#jform_php_import').prop('required','required'); jQuery('#jform_php_import').attr('aria-required',true); jQuery('#jform_php_import').addClass('required'); - jform_vvvvvxgvxd_required = false; + jform_vvvvvxivxf_required = false; } jQuery('#jform_php_import_save').closest('.control-group').show(); - if (jform_vvvvvxgvxe_required) + if (jform_vvvvvxivxg_required) { updateFieldRequired('php_import_save',0); jQuery('#jform_php_import_save').prop('required','required'); jQuery('#jform_php_import_save').attr('aria-required',true); jQuery('#jform_php_import_save').addClass('required'); - jform_vvvvvxgvxe_required = false; + jform_vvvvvxivxg_required = false; } jQuery('#jform_php_import_setdata').closest('.control-group').show(); - if (jform_vvvvvxgvxf_required) + if (jform_vvvvvxivxh_required) { updateFieldRequired('php_import_setdata',0); jQuery('#jform_php_import_setdata').prop('required','required'); jQuery('#jform_php_import_setdata').attr('aria-required',true); jQuery('#jform_php_import_setdata').addClass('required'); - jform_vvvvvxgvxf_required = false; + jform_vvvvvxivxh_required = false; } } else { jQuery('#jform_html_import_view').closest('.control-group').hide(); - if (!jform_vvvvvxgvxb_required) + if (!jform_vvvvvxivxd_required) { updateFieldRequired('html_import_view',1); jQuery('#jform_html_import_view').removeAttr('required'); jQuery('#jform_html_import_view').removeAttr('aria-required'); jQuery('#jform_html_import_view').removeClass('required'); - jform_vvvvvxgvxb_required = true; + jform_vvvvvxivxd_required = true; } jQuery('.note_advanced_import').closest('.control-group').hide(); jQuery('#jform_php_import_display').closest('.control-group').hide(); - if (!jform_vvvvvxgvxc_required) + if (!jform_vvvvvxivxe_required) { updateFieldRequired('php_import_display',1); jQuery('#jform_php_import_display').removeAttr('required'); jQuery('#jform_php_import_display').removeAttr('aria-required'); jQuery('#jform_php_import_display').removeClass('required'); - jform_vvvvvxgvxc_required = true; + jform_vvvvvxivxe_required = true; } jQuery('#jform_php_import').closest('.control-group').hide(); - if (!jform_vvvvvxgvxd_required) + if (!jform_vvvvvxivxf_required) { updateFieldRequired('php_import',1); jQuery('#jform_php_import').removeAttr('required'); jQuery('#jform_php_import').removeAttr('aria-required'); jQuery('#jform_php_import').removeClass('required'); - jform_vvvvvxgvxd_required = true; + jform_vvvvvxivxf_required = true; } jQuery('#jform_php_import_save').closest('.control-group').hide(); - if (!jform_vvvvvxgvxe_required) + if (!jform_vvvvvxivxg_required) { updateFieldRequired('php_import_save',1); jQuery('#jform_php_import_save').removeAttr('required'); jQuery('#jform_php_import_save').removeAttr('aria-required'); jQuery('#jform_php_import_save').removeClass('required'); - jform_vvvvvxgvxe_required = true; + jform_vvvvvxivxg_required = true; } jQuery('#jform_php_import_setdata').closest('.control-group').hide(); - if (!jform_vvvvvxgvxf_required) + if (!jform_vvvvvxivxh_required) { updateFieldRequired('php_import_setdata',1); jQuery('#jform_php_import_setdata').removeAttr('required'); jQuery('#jform_php_import_setdata').removeAttr('aria-required'); jQuery('#jform_php_import_setdata').removeClass('required'); - jform_vvvvvxgvxf_required = true; + jform_vvvvvxivxh_required = true; } } } -// the vvvvvxh function -function vvvvvxh(add_custom_import_vvvvvxh) +// the vvvvvxj function +function vvvvvxj(add_custom_import_vvvvvxj) { // set the function logic - if (add_custom_import_vvvvvxh == 0) + if (add_custom_import_vvvvvxj == 0) { jQuery('.note_beginner_import').closest('.control-group').show(); } diff --git a/admin/models/forms/admin_view.xml b/admin/models/forms/admin_view.xml index db9221f37..e8b6a3a58 100644 --- a/admin/models/forms/admin_view.xml +++ b/admin/models/forms/admin_view.xml @@ -149,45 +149,17 @@ message="Error! Please add some short description here." hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT" /> - - - + - - - - @@ -205,6 +177,47 @@ + + + + + + + + - + @@ -244,17 +257,17 @@ - + @@ -307,19 +320,6 @@ description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_DESCRIPTION" directory="" /> - - @@ -469,6 +469,21 @@ + + + + - - - - + + + + - - - - - + @@ -979,20 +979,19 @@ - + - - - - + type="textarea" + name="php_import" + label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_LABEL" + rows="30" + cols="15" + description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION" + class="text_area span12" + filter="raw" + hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HINT" + required="true" + /> - + @@ -1227,11 +1226,11 @@ - + @@ -1254,11 +1253,11 @@ hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_HINT" required="true" /> - + @@ -1282,11 +1281,11 @@ - + @@ -1309,6 +1308,61 @@ hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_HINT" required="true" /> + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + @@ -1570,17 +1624,17 @@ hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_HINT" required="true" /> - + diff --git a/admin/models/forms/component.js b/admin/models/forms/component.js index c134642b2..9f62fbd79 100644 --- a/admin/models/forms/component.js +++ b/admin/models/forms/component.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage component.js diff --git a/admin/models/forms/custom_admin_view.js b/admin/models/forms/custom_admin_view.js index 045a61c8c..ac844655a 100644 --- a/admin/models/forms/custom_admin_view.js +++ b/admin/models/forms/custom_admin_view.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_view.js @@ -24,255 +24,255 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvxivxh_required = false; -jform_vvvvvxjvxi_required = false; jform_vvvvvxkvxj_required = false; jform_vvvvvxlvxk_required = false; jform_vvvvvxmvxl_required = false; jform_vvvvvxnvxm_required = false; jform_vvvvvxovxn_required = false; -jform_vvvvvxovxo_required = false; -jform_vvvvvxpvxp_required = false; +jform_vvvvvxpvxo_required = false; +jform_vvvvvxqvxp_required = false; +jform_vvvvvxqvxq_required = false; +jform_vvvvvxrvxr_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvxi = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvxi(add_php_view_vvvvvxi); + var add_php_view_vvvvvxk = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvxk(add_php_view_vvvvvxk); - var add_php_jview_display_vvvvvxj = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - vvvvvxj(add_php_jview_display_vvvvvxj); + var add_php_jview_display_vvvvvxl = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + vvvvvxl(add_php_jview_display_vvvvvxl); - var add_php_jview_vvvvvxk = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - vvvvvxk(add_php_jview_vvvvvxk); + var add_php_jview_vvvvvxm = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + vvvvvxm(add_php_jview_vvvvvxm); - var add_php_document_vvvvvxl = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvxl(add_php_document_vvvvvxl); + var add_php_document_vvvvvxn = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvxn(add_php_document_vvvvvxn); - var add_css_document_vvvvvxm = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - vvvvvxm(add_css_document_vvvvvxm); + var add_css_document_vvvvvxo = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + vvvvvxo(add_css_document_vvvvvxo); - var add_js_document_vvvvvxn = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - vvvvvxn(add_js_document_vvvvvxn); + var add_js_document_vvvvvxp = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + vvvvvxp(add_js_document_vvvvvxp); - var add_custom_button_vvvvvxo = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - vvvvvxo(add_custom_button_vvvvvxo); + var add_custom_button_vvvvvxq = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + vvvvvxq(add_custom_button_vvvvvxq); - var add_css_vvvvvxp = jQuery("#jform_add_css input[type='radio']:checked").val(); - vvvvvxp(add_css_vvvvvxp); + var add_css_vvvvvxr = jQuery("#jform_add_css input[type='radio']:checked").val(); + vvvvvxr(add_css_vvvvvxr); }); -// the vvvvvxi function -function vvvvvxi(add_php_view_vvvvvxi) +// the vvvvvxk function +function vvvvvxk(add_php_view_vvvvvxk) { // set the function logic - if (add_php_view_vvvvvxi == 1) + if (add_php_view_vvvvvxk == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvxivxh_required) + if (jform_vvvvvxkvxj_required) { updateFieldRequired('php_view',0); jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').addClass('required'); - jform_vvvvvxivxh_required = false; - } - - } - else - { - jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvxivxh_required) - { - updateFieldRequired('php_view',1); - jQuery('#jform_php_view').removeAttr('required'); - jQuery('#jform_php_view').removeAttr('aria-required'); - jQuery('#jform_php_view').removeClass('required'); - jform_vvvvvxivxh_required = true; - } - } -} - -// the vvvvvxj function -function vvvvvxj(add_php_jview_display_vvvvvxj) -{ - // set the function logic - if (add_php_jview_display_vvvvvxj == 1) - { - jQuery('#jform_php_jview_display').closest('.control-group').show(); - if (jform_vvvvvxjvxi_required) - { - updateFieldRequired('php_jview_display',0); - jQuery('#jform_php_jview_display').prop('required','required'); - jQuery('#jform_php_jview_display').attr('aria-required',true); - jQuery('#jform_php_jview_display').addClass('required'); - jform_vvvvvxjvxi_required = false; - } - - } - else - { - jQuery('#jform_php_jview_display').closest('.control-group').hide(); - if (!jform_vvvvvxjvxi_required) - { - updateFieldRequired('php_jview_display',1); - jQuery('#jform_php_jview_display').removeAttr('required'); - jQuery('#jform_php_jview_display').removeAttr('aria-required'); - jQuery('#jform_php_jview_display').removeClass('required'); - jform_vvvvvxjvxi_required = true; - } - } -} - -// the vvvvvxk function -function vvvvvxk(add_php_jview_vvvvvxk) -{ - // set the function logic - if (add_php_jview_vvvvvxk == 1) - { - jQuery('#jform_php_jview').closest('.control-group').show(); - if (jform_vvvvvxkvxj_required) - { - updateFieldRequired('php_jview',0); - jQuery('#jform_php_jview').prop('required','required'); - jQuery('#jform_php_jview').attr('aria-required',true); - jQuery('#jform_php_jview').addClass('required'); jform_vvvvvxkvxj_required = false; } } else { - jQuery('#jform_php_jview').closest('.control-group').hide(); + jQuery('#jform_php_view').closest('.control-group').hide(); if (!jform_vvvvvxkvxj_required) { - updateFieldRequired('php_jview',1); - jQuery('#jform_php_jview').removeAttr('required'); - jQuery('#jform_php_jview').removeAttr('aria-required'); - jQuery('#jform_php_jview').removeClass('required'); + updateFieldRequired('php_view',1); + jQuery('#jform_php_view').removeAttr('required'); + jQuery('#jform_php_view').removeAttr('aria-required'); + jQuery('#jform_php_view').removeClass('required'); jform_vvvvvxkvxj_required = true; } } } // the vvvvvxl function -function vvvvvxl(add_php_document_vvvvvxl) +function vvvvvxl(add_php_jview_display_vvvvvxl) { // set the function logic - if (add_php_document_vvvvvxl == 1) + if (add_php_jview_display_vvvvvxl == 1) { - jQuery('#jform_php_document').closest('.control-group').show(); + jQuery('#jform_php_jview_display').closest('.control-group').show(); if (jform_vvvvvxlvxk_required) { - updateFieldRequired('php_document',0); - jQuery('#jform_php_document').prop('required','required'); - jQuery('#jform_php_document').attr('aria-required',true); - jQuery('#jform_php_document').addClass('required'); + updateFieldRequired('php_jview_display',0); + jQuery('#jform_php_jview_display').prop('required','required'); + jQuery('#jform_php_jview_display').attr('aria-required',true); + jQuery('#jform_php_jview_display').addClass('required'); jform_vvvvvxlvxk_required = false; } } else { - jQuery('#jform_php_document').closest('.control-group').hide(); + jQuery('#jform_php_jview_display').closest('.control-group').hide(); if (!jform_vvvvvxlvxk_required) { - updateFieldRequired('php_document',1); - jQuery('#jform_php_document').removeAttr('required'); - jQuery('#jform_php_document').removeAttr('aria-required'); - jQuery('#jform_php_document').removeClass('required'); + updateFieldRequired('php_jview_display',1); + jQuery('#jform_php_jview_display').removeAttr('required'); + jQuery('#jform_php_jview_display').removeAttr('aria-required'); + jQuery('#jform_php_jview_display').removeClass('required'); jform_vvvvvxlvxk_required = true; } } } // the vvvvvxm function -function vvvvvxm(add_css_document_vvvvvxm) +function vvvvvxm(add_php_jview_vvvvvxm) { // set the function logic - if (add_css_document_vvvvvxm == 1) + if (add_php_jview_vvvvvxm == 1) { - jQuery('#jform_css_document').closest('.control-group').show(); + jQuery('#jform_php_jview').closest('.control-group').show(); if (jform_vvvvvxmvxl_required) { - updateFieldRequired('css_document',0); - jQuery('#jform_css_document').prop('required','required'); - jQuery('#jform_css_document').attr('aria-required',true); - jQuery('#jform_css_document').addClass('required'); + updateFieldRequired('php_jview',0); + jQuery('#jform_php_jview').prop('required','required'); + jQuery('#jform_php_jview').attr('aria-required',true); + jQuery('#jform_php_jview').addClass('required'); jform_vvvvvxmvxl_required = false; } } else { - jQuery('#jform_css_document').closest('.control-group').hide(); + jQuery('#jform_php_jview').closest('.control-group').hide(); if (!jform_vvvvvxmvxl_required) { - updateFieldRequired('css_document',1); - jQuery('#jform_css_document').removeAttr('required'); - jQuery('#jform_css_document').removeAttr('aria-required'); - jQuery('#jform_css_document').removeClass('required'); + updateFieldRequired('php_jview',1); + jQuery('#jform_php_jview').removeAttr('required'); + jQuery('#jform_php_jview').removeAttr('aria-required'); + jQuery('#jform_php_jview').removeClass('required'); jform_vvvvvxmvxl_required = true; } } } // the vvvvvxn function -function vvvvvxn(add_js_document_vvvvvxn) +function vvvvvxn(add_php_document_vvvvvxn) { // set the function logic - if (add_js_document_vvvvvxn == 1) + if (add_php_document_vvvvvxn == 1) { - jQuery('#jform_js_document').closest('.control-group').show(); + jQuery('#jform_php_document').closest('.control-group').show(); if (jform_vvvvvxnvxm_required) { - updateFieldRequired('js_document',0); - jQuery('#jform_js_document').prop('required','required'); - jQuery('#jform_js_document').attr('aria-required',true); - jQuery('#jform_js_document').addClass('required'); + updateFieldRequired('php_document',0); + jQuery('#jform_php_document').prop('required','required'); + jQuery('#jform_php_document').attr('aria-required',true); + jQuery('#jform_php_document').addClass('required'); jform_vvvvvxnvxm_required = false; } } else { - jQuery('#jform_js_document').closest('.control-group').hide(); + jQuery('#jform_php_document').closest('.control-group').hide(); if (!jform_vvvvvxnvxm_required) { - updateFieldRequired('js_document',1); - jQuery('#jform_js_document').removeAttr('required'); - jQuery('#jform_js_document').removeAttr('aria-required'); - jQuery('#jform_js_document').removeClass('required'); + updateFieldRequired('php_document',1); + jQuery('#jform_php_document').removeAttr('required'); + jQuery('#jform_php_document').removeAttr('aria-required'); + jQuery('#jform_php_document').removeClass('required'); jform_vvvvvxnvxm_required = true; } } } // the vvvvvxo function -function vvvvvxo(add_custom_button_vvvvvxo) +function vvvvvxo(add_css_document_vvvvvxo) { // set the function logic - if (add_custom_button_vvvvvxo == 1) + if (add_css_document_vvvvvxo == 1) + { + jQuery('#jform_css_document').closest('.control-group').show(); + if (jform_vvvvvxovxn_required) + { + updateFieldRequired('css_document',0); + jQuery('#jform_css_document').prop('required','required'); + jQuery('#jform_css_document').attr('aria-required',true); + jQuery('#jform_css_document').addClass('required'); + jform_vvvvvxovxn_required = false; + } + + } + else + { + jQuery('#jform_css_document').closest('.control-group').hide(); + if (!jform_vvvvvxovxn_required) + { + updateFieldRequired('css_document',1); + jQuery('#jform_css_document').removeAttr('required'); + jQuery('#jform_css_document').removeAttr('aria-required'); + jQuery('#jform_css_document').removeClass('required'); + jform_vvvvvxovxn_required = true; + } + } +} + +// the vvvvvxp function +function vvvvvxp(add_js_document_vvvvvxp) +{ + // set the function logic + if (add_js_document_vvvvvxp == 1) + { + jQuery('#jform_js_document').closest('.control-group').show(); + if (jform_vvvvvxpvxo_required) + { + updateFieldRequired('js_document',0); + jQuery('#jform_js_document').prop('required','required'); + jQuery('#jform_js_document').attr('aria-required',true); + jQuery('#jform_js_document').addClass('required'); + jform_vvvvvxpvxo_required = false; + } + + } + else + { + jQuery('#jform_js_document').closest('.control-group').hide(); + if (!jform_vvvvvxpvxo_required) + { + updateFieldRequired('js_document',1); + jQuery('#jform_js_document').removeAttr('required'); + jQuery('#jform_js_document').removeAttr('aria-required'); + jQuery('#jform_js_document').removeClass('required'); + jform_vvvvvxpvxo_required = true; + } + } +} + +// the vvvvvxq function +function vvvvvxq(add_custom_button_vvvvvxq) +{ + // set the function logic + if (add_custom_button_vvvvvxq == 1) { jQuery('#jform_custom_button').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show(); - if (jform_vvvvvxovxn_required) + if (jform_vvvvvxqvxp_required) { updateFieldRequired('php_controller',0); jQuery('#jform_php_controller').prop('required','required'); jQuery('#jform_php_controller').attr('aria-required',true); jQuery('#jform_php_controller').addClass('required'); - jform_vvvvvxovxn_required = false; + jform_vvvvvxqvxp_required = false; } jQuery('#jform_php_model').closest('.control-group').show(); - if (jform_vvvvvxovxo_required) + if (jform_vvvvvxqvxq_required) { updateFieldRequired('php_model',0); jQuery('#jform_php_model').prop('required','required'); jQuery('#jform_php_model').attr('aria-required',true); jQuery('#jform_php_model').addClass('required'); - jform_vvvvvxovxo_required = false; + jform_vvvvvxqvxq_required = false; } } @@ -280,53 +280,53 @@ function vvvvvxo(add_custom_button_vvvvvxo) { jQuery('#jform_custom_button').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide(); - if (!jform_vvvvvxovxn_required) + if (!jform_vvvvvxqvxp_required) { updateFieldRequired('php_controller',1); jQuery('#jform_php_controller').removeAttr('required'); jQuery('#jform_php_controller').removeAttr('aria-required'); jQuery('#jform_php_controller').removeClass('required'); - jform_vvvvvxovxn_required = true; + jform_vvvvvxqvxp_required = true; } jQuery('#jform_php_model').closest('.control-group').hide(); - if (!jform_vvvvvxovxo_required) + if (!jform_vvvvvxqvxq_required) { updateFieldRequired('php_model',1); jQuery('#jform_php_model').removeAttr('required'); jQuery('#jform_php_model').removeAttr('aria-required'); jQuery('#jform_php_model').removeClass('required'); - jform_vvvvvxovxo_required = true; + jform_vvvvvxqvxq_required = true; } } } -// the vvvvvxp function -function vvvvvxp(add_css_vvvvvxp) +// the vvvvvxr function +function vvvvvxr(add_css_vvvvvxr) { // set the function logic - if (add_css_vvvvvxp == 1) + if (add_css_vvvvvxr == 1) { jQuery('#jform_css').closest('.control-group').show(); - if (jform_vvvvvxpvxp_required) + if (jform_vvvvvxrvxr_required) { updateFieldRequired('css',0); jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').addClass('required'); - jform_vvvvvxpvxp_required = false; + jform_vvvvvxrvxr_required = false; } } else { jQuery('#jform_css').closest('.control-group').hide(); - if (!jform_vvvvvxpvxp_required) + if (!jform_vvvvvxrvxr_required) { updateFieldRequired('css',1); jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeClass('required'); - jform_vvvvvxpvxp_required = true; + jform_vvvvvxrvxr_required = true; } } } diff --git a/admin/models/forms/dynamic_get.js b/admin/models/forms/dynamic_get.js index c4baac181..5fce14960 100644 --- a/admin/models/forms/dynamic_get.js +++ b/admin/models/forms/dynamic_get.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamic_get.js @@ -24,36 +24,30 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvybvyc_required = false; -jform_vvvvvycvyd_required = false; jform_vvvvvydvye_required = false; jform_vvvvvyevyf_required = false; jform_vvvvvyfvyg_required = false; jform_vvvvvygvyh_required = false; -jform_vvvvvylvyi_required = false; -jform_vvvvvynvyj_required = false; -jform_vvvvvyovyk_required = false; -jform_vvvvvyqvyl_required = false; +jform_vvvvvyhvyi_required = false; +jform_vvvvvyivyj_required = false; +jform_vvvvvynvyk_required = false; +jform_vvvvvypvyl_required = false; jform_vvvvvyqvym_required = false; -jform_vvvvvyrvyn_required = false; +jform_vvvvvysvyn_required = false; jform_vvvvvysvyo_required = false; jform_vvvvvytvyp_required = false; -jform_vvvvvyvvyq_required = false; +jform_vvvvvyuvyq_required = false; jform_vvvvvyvvyr_required = false; -jform_vvvvvyvvys_required = false; -jform_vvvvvywvyt_required = false; +jform_vvvvvyxvys_required = false; +jform_vvvvvyxvyt_required = false; +jform_vvvvvyxvyu_required = false; +jform_vvvvvyyvyv_required = false; // Initial Script jQuery(document).ready(function() { - var gettype_vvvvvyb = jQuery("#jform_gettype").val(); - vvvvvyb(gettype_vvvvvyb); - - var main_source_vvvvvyc = jQuery("#jform_main_source").val(); - vvvvvyc(main_source_vvvvvyc); - - var main_source_vvvvvyd = jQuery("#jform_main_source").val(); - vvvvvyd(main_source_vvvvvyd); + var gettype_vvvvvyd = jQuery("#jform_gettype").val(); + vvvvvyd(gettype_vvvvvyd); var main_source_vvvvvye = jQuery("#jform_main_source").val(); vvvvvye(main_source_vvvvvye); @@ -61,212 +55,108 @@ jQuery(document).ready(function() var main_source_vvvvvyf = jQuery("#jform_main_source").val(); vvvvvyf(main_source_vvvvvyf); - var addcalculation_vvvvvyg = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - vvvvvyg(addcalculation_vvvvvyg); + var main_source_vvvvvyg = jQuery("#jform_main_source").val(); + vvvvvyg(main_source_vvvvvyg); - var addcalculation_vvvvvyh = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_vvvvvyh = jQuery("#jform_gettype").val(); - vvvvvyh(addcalculation_vvvvvyh,gettype_vvvvvyh); + var main_source_vvvvvyh = jQuery("#jform_main_source").val(); + vvvvvyh(main_source_vvvvvyh); var addcalculation_vvvvvyi = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_vvvvvyi = jQuery("#jform_gettype").val(); - vvvvvyi(addcalculation_vvvvvyi,gettype_vvvvvyi); + vvvvvyi(addcalculation_vvvvvyi); - var main_source_vvvvvyl = jQuery("#jform_main_source").val(); - vvvvvyl(main_source_vvvvvyl); + var addcalculation_vvvvvyj = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vvvvvyj = jQuery("#jform_gettype").val(); + vvvvvyj(addcalculation_vvvvvyj,gettype_vvvvvyj); - var main_source_vvvvvym = jQuery("#jform_main_source").val(); - vvvvvym(main_source_vvvvvym); + var addcalculation_vvvvvyk = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vvvvvyk = jQuery("#jform_gettype").val(); + vvvvvyk(addcalculation_vvvvvyk,gettype_vvvvvyk); - var add_php_before_getitem_vvvvvyn = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_vvvvvyn = jQuery("#jform_gettype").val(); - vvvvvyn(add_php_before_getitem_vvvvvyn,gettype_vvvvvyn); + var main_source_vvvvvyn = jQuery("#jform_main_source").val(); + vvvvvyn(main_source_vvvvvyn); - var add_php_after_getitem_vvvvvyo = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_vvvvvyo = jQuery("#jform_gettype").val(); - vvvvvyo(add_php_after_getitem_vvvvvyo,gettype_vvvvvyo); + var main_source_vvvvvyo = jQuery("#jform_main_source").val(); + vvvvvyo(main_source_vvvvvyo); + var add_php_before_getitem_vvvvvyp = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_vvvvvyp = jQuery("#jform_gettype").val(); + vvvvvyp(add_php_before_getitem_vvvvvyp,gettype_vvvvvyp); + + var add_php_after_getitem_vvvvvyq = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); var gettype_vvvvvyq = jQuery("#jform_gettype").val(); - vvvvvyq(gettype_vvvvvyq); + vvvvvyq(add_php_after_getitem_vvvvvyq,gettype_vvvvvyq); - var add_php_getlistquery_vvvvvyr = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_vvvvvyr = jQuery("#jform_gettype").val(); - vvvvvyr(add_php_getlistquery_vvvvvyr,gettype_vvvvvyr); - - var add_php_before_getitems_vvvvvys = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var gettype_vvvvvys = jQuery("#jform_gettype").val(); - vvvvvys(add_php_before_getitems_vvvvvys,gettype_vvvvvys); + vvvvvys(gettype_vvvvvys); - var add_php_after_getitems_vvvvvyt = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var add_php_getlistquery_vvvvvyt = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var gettype_vvvvvyt = jQuery("#jform_gettype").val(); - vvvvvyt(add_php_after_getitems_vvvvvyt,gettype_vvvvvyt); + vvvvvyt(add_php_getlistquery_vvvvvyt,gettype_vvvvvyt); + var add_php_before_getitems_vvvvvyu = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_vvvvvyu = jQuery("#jform_gettype").val(); + vvvvvyu(add_php_before_getitems_vvvvvyu,gettype_vvvvvyu); + + var add_php_after_getitems_vvvvvyv = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var gettype_vvvvvyv = jQuery("#jform_gettype").val(); - vvvvvyv(gettype_vvvvvyv); + vvvvvyv(add_php_after_getitems_vvvvvyv,gettype_vvvvvyv); - var gettype_vvvvvyw = jQuery("#jform_gettype").val(); - vvvvvyw(gettype_vvvvvyw); + var gettype_vvvvvyx = jQuery("#jform_gettype").val(); + vvvvvyx(gettype_vvvvvyx); + + var gettype_vvvvvyy = jQuery("#jform_gettype").val(); + vvvvvyy(gettype_vvvvvyy); }); -// the vvvvvyb function -function vvvvvyb(gettype_vvvvvyb) +// the vvvvvyd function +function vvvvvyd(gettype_vvvvvyd) { - if (isSet(gettype_vvvvvyb) && gettype_vvvvvyb.constructor !== Array) + if (isSet(gettype_vvvvvyd) && gettype_vvvvvyd.constructor !== Array) { - var temp_vvvvvyb = gettype_vvvvvyb; - var gettype_vvvvvyb = []; - gettype_vvvvvyb.push(temp_vvvvvyb); + var temp_vvvvvyd = gettype_vvvvvyd; + var gettype_vvvvvyd = []; + gettype_vvvvvyd.push(temp_vvvvvyd); } - else if (!isSet(gettype_vvvvvyb)) + else if (!isSet(gettype_vvvvvyd)) { - var gettype_vvvvvyb = []; + var gettype_vvvvvyd = []; } - var gettype = gettype_vvvvvyb.some(gettype_vvvvvyb_SomeFunc); + var gettype = gettype_vvvvvyd.some(gettype_vvvvvyd_SomeFunc); // set this function logic if (gettype) { jQuery('#jform_getcustom').closest('.control-group').show(); - if (jform_vvvvvybvyc_required) + if (jform_vvvvvydvye_required) { updateFieldRequired('getcustom',0); jQuery('#jform_getcustom').prop('required','required'); jQuery('#jform_getcustom').attr('aria-required',true); jQuery('#jform_getcustom').addClass('required'); - jform_vvvvvybvyc_required = false; - } - - } - else - { - jQuery('#jform_getcustom').closest('.control-group').hide(); - if (!jform_vvvvvybvyc_required) - { - updateFieldRequired('getcustom',1); - jQuery('#jform_getcustom').removeAttr('required'); - jQuery('#jform_getcustom').removeAttr('aria-required'); - jQuery('#jform_getcustom').removeClass('required'); - jform_vvvvvybvyc_required = true; - } - } -} - -// the vvvvvyb Some function -function gettype_vvvvvyb_SomeFunc(gettype_vvvvvyb) -{ - // set the function logic - if (gettype_vvvvvyb == 3 || gettype_vvvvvyb == 4) - { - return true; - } - return false; -} - -// the vvvvvyc function -function vvvvvyc(main_source_vvvvvyc) -{ - if (isSet(main_source_vvvvvyc) && main_source_vvvvvyc.constructor !== Array) - { - var temp_vvvvvyc = main_source_vvvvvyc; - var main_source_vvvvvyc = []; - main_source_vvvvvyc.push(temp_vvvvvyc); - } - else if (!isSet(main_source_vvvvvyc)) - { - var main_source_vvvvvyc = []; - } - var main_source = main_source_vvvvvyc.some(main_source_vvvvvyc_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_view_table_main').closest('.control-group').show(); - if (jform_vvvvvycvyd_required) - { - updateFieldRequired('view_table_main',0); - jQuery('#jform_view_table_main').prop('required','required'); - jQuery('#jform_view_table_main').attr('aria-required',true); - jQuery('#jform_view_table_main').addClass('required'); - jform_vvvvvycvyd_required = false; - } - - } - else - { - jQuery('#jform_view_table_main').closest('.control-group').hide(); - if (!jform_vvvvvycvyd_required) - { - updateFieldRequired('view_table_main',1); - jQuery('#jform_view_table_main').removeAttr('required'); - jQuery('#jform_view_table_main').removeAttr('aria-required'); - jQuery('#jform_view_table_main').removeClass('required'); - jform_vvvvvycvyd_required = true; - } - } -} - -// the vvvvvyc Some function -function main_source_vvvvvyc_SomeFunc(main_source_vvvvvyc) -{ - // set the function logic - if (main_source_vvvvvyc == 1) - { - return true; - } - return false; -} - -// the vvvvvyd function -function vvvvvyd(main_source_vvvvvyd) -{ - if (isSet(main_source_vvvvvyd) && main_source_vvvvvyd.constructor !== Array) - { - var temp_vvvvvyd = main_source_vvvvvyd; - var main_source_vvvvvyd = []; - main_source_vvvvvyd.push(temp_vvvvvyd); - } - else if (!isSet(main_source_vvvvvyd)) - { - var main_source_vvvvvyd = []; - } - var main_source = main_source_vvvvvyd.some(main_source_vvvvvyd_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_view_selection').closest('.control-group').show(); - if (jform_vvvvvydvye_required) - { - updateFieldRequired('view_selection',0); - jQuery('#jform_view_selection').prop('required','required'); - jQuery('#jform_view_selection').attr('aria-required',true); - jQuery('#jform_view_selection').addClass('required'); jform_vvvvvydvye_required = false; } } else { - jQuery('#jform_view_selection').closest('.control-group').hide(); + jQuery('#jform_getcustom').closest('.control-group').hide(); if (!jform_vvvvvydvye_required) { - updateFieldRequired('view_selection',1); - jQuery('#jform_view_selection').removeAttr('required'); - jQuery('#jform_view_selection').removeAttr('aria-required'); - jQuery('#jform_view_selection').removeClass('required'); + updateFieldRequired('getcustom',1); + jQuery('#jform_getcustom').removeAttr('required'); + jQuery('#jform_getcustom').removeAttr('aria-required'); + jQuery('#jform_getcustom').removeClass('required'); jform_vvvvvydvye_required = true; } } } // the vvvvvyd Some function -function main_source_vvvvvyd_SomeFunc(main_source_vvvvvyd) +function gettype_vvvvvyd_SomeFunc(gettype_vvvvvyd) { // set the function logic - if (main_source_vvvvvyd == 1) + if (gettype_vvvvvyd == 3 || gettype_vvvvvyd == 4) { return true; } @@ -292,26 +182,26 @@ function vvvvvye(main_source_vvvvvye) // set this function logic if (main_source) { - jQuery('#jform_db_table_main').closest('.control-group').show(); + jQuery('#jform_view_table_main').closest('.control-group').show(); if (jform_vvvvvyevyf_required) { - updateFieldRequired('db_table_main',0); - jQuery('#jform_db_table_main').prop('required','required'); - jQuery('#jform_db_table_main').attr('aria-required',true); - jQuery('#jform_db_table_main').addClass('required'); + updateFieldRequired('view_table_main',0); + jQuery('#jform_view_table_main').prop('required','required'); + jQuery('#jform_view_table_main').attr('aria-required',true); + jQuery('#jform_view_table_main').addClass('required'); jform_vvvvvyevyf_required = false; } } else { - jQuery('#jform_db_table_main').closest('.control-group').hide(); + jQuery('#jform_view_table_main').closest('.control-group').hide(); if (!jform_vvvvvyevyf_required) { - updateFieldRequired('db_table_main',1); - jQuery('#jform_db_table_main').removeAttr('required'); - jQuery('#jform_db_table_main').removeAttr('aria-required'); - jQuery('#jform_db_table_main').removeClass('required'); + updateFieldRequired('view_table_main',1); + jQuery('#jform_view_table_main').removeAttr('required'); + jQuery('#jform_view_table_main').removeAttr('aria-required'); + jQuery('#jform_view_table_main').removeClass('required'); jform_vvvvvyevyf_required = true; } } @@ -321,7 +211,7 @@ function vvvvvye(main_source_vvvvvye) function main_source_vvvvvye_SomeFunc(main_source_vvvvvye) { // set the function logic - if (main_source_vvvvvye == 2) + if (main_source_vvvvvye == 1) { return true; } @@ -347,26 +237,26 @@ function vvvvvyf(main_source_vvvvvyf) // set this function logic if (main_source) { - jQuery('#jform_db_selection').closest('.control-group').show(); + jQuery('#jform_view_selection').closest('.control-group').show(); if (jform_vvvvvyfvyg_required) { - updateFieldRequired('db_selection',0); - jQuery('#jform_db_selection').prop('required','required'); - jQuery('#jform_db_selection').attr('aria-required',true); - jQuery('#jform_db_selection').addClass('required'); + updateFieldRequired('view_selection',0); + jQuery('#jform_view_selection').prop('required','required'); + jQuery('#jform_view_selection').attr('aria-required',true); + jQuery('#jform_view_selection').addClass('required'); jform_vvvvvyfvyg_required = false; } } else { - jQuery('#jform_db_selection').closest('.control-group').hide(); + jQuery('#jform_view_selection').closest('.control-group').hide(); if (!jform_vvvvvyfvyg_required) { - updateFieldRequired('db_selection',1); - jQuery('#jform_db_selection').removeAttr('required'); - jQuery('#jform_db_selection').removeAttr('aria-required'); - jQuery('#jform_db_selection').removeClass('required'); + updateFieldRequired('view_selection',1); + jQuery('#jform_view_selection').removeAttr('required'); + jQuery('#jform_view_selection').removeAttr('aria-required'); + jQuery('#jform_view_selection').removeClass('required'); jform_vvvvvyfvyg_required = true; } } @@ -376,7 +266,7 @@ function vvvvvyf(main_source_vvvvvyf) function main_source_vvvvvyf_SomeFunc(main_source_vvvvvyf) { // set the function logic - if (main_source_vvvvvyf == 2) + if (main_source_vvvvvyf == 1) { return true; } @@ -384,62 +274,172 @@ function main_source_vvvvvyf_SomeFunc(main_source_vvvvvyf) } // the vvvvvyg function -function vvvvvyg(addcalculation_vvvvvyg) +function vvvvvyg(main_source_vvvvvyg) { - // set the function logic - if (addcalculation_vvvvvyg == 1) + if (isSet(main_source_vvvvvyg) && main_source_vvvvvyg.constructor !== Array) { - jQuery('#jform_php_calculation').closest('.control-group').show(); + var temp_vvvvvyg = main_source_vvvvvyg; + var main_source_vvvvvyg = []; + main_source_vvvvvyg.push(temp_vvvvvyg); + } + else if (!isSet(main_source_vvvvvyg)) + { + var main_source_vvvvvyg = []; + } + var main_source = main_source_vvvvvyg.some(main_source_vvvvvyg_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_db_table_main').closest('.control-group').show(); if (jform_vvvvvygvyh_required) { - updateFieldRequired('php_calculation',0); - jQuery('#jform_php_calculation').prop('required','required'); - jQuery('#jform_php_calculation').attr('aria-required',true); - jQuery('#jform_php_calculation').addClass('required'); + updateFieldRequired('db_table_main',0); + jQuery('#jform_db_table_main').prop('required','required'); + jQuery('#jform_db_table_main').attr('aria-required',true); + jQuery('#jform_db_table_main').addClass('required'); jform_vvvvvygvyh_required = false; } } else { - jQuery('#jform_php_calculation').closest('.control-group').hide(); + jQuery('#jform_db_table_main').closest('.control-group').hide(); if (!jform_vvvvvygvyh_required) { - updateFieldRequired('php_calculation',1); - jQuery('#jform_php_calculation').removeAttr('required'); - jQuery('#jform_php_calculation').removeAttr('aria-required'); - jQuery('#jform_php_calculation').removeClass('required'); + updateFieldRequired('db_table_main',1); + jQuery('#jform_db_table_main').removeAttr('required'); + jQuery('#jform_db_table_main').removeAttr('aria-required'); + jQuery('#jform_db_table_main').removeClass('required'); jform_vvvvvygvyh_required = true; } } } -// the vvvvvyh function -function vvvvvyh(addcalculation_vvvvvyh,gettype_vvvvvyh) +// the vvvvvyg Some function +function main_source_vvvvvyg_SomeFunc(main_source_vvvvvyg) { - if (isSet(addcalculation_vvvvvyh) && addcalculation_vvvvvyh.constructor !== Array) + // set the function logic + if (main_source_vvvvvyg == 2) { - var temp_vvvvvyh = addcalculation_vvvvvyh; - var addcalculation_vvvvvyh = []; - addcalculation_vvvvvyh.push(temp_vvvvvyh); + return true; } - else if (!isSet(addcalculation_vvvvvyh)) - { - var addcalculation_vvvvvyh = []; - } - var addcalculation = addcalculation_vvvvvyh.some(addcalculation_vvvvvyh_SomeFunc); + return false; +} - if (isSet(gettype_vvvvvyh) && gettype_vvvvvyh.constructor !== Array) +// the vvvvvyh function +function vvvvvyh(main_source_vvvvvyh) +{ + if (isSet(main_source_vvvvvyh) && main_source_vvvvvyh.constructor !== Array) { - var temp_vvvvvyh = gettype_vvvvvyh; - var gettype_vvvvvyh = []; - gettype_vvvvvyh.push(temp_vvvvvyh); + var temp_vvvvvyh = main_source_vvvvvyh; + var main_source_vvvvvyh = []; + main_source_vvvvvyh.push(temp_vvvvvyh); } - else if (!isSet(gettype_vvvvvyh)) + else if (!isSet(main_source_vvvvvyh)) { - var gettype_vvvvvyh = []; + var main_source_vvvvvyh = []; } - var gettype = gettype_vvvvvyh.some(gettype_vvvvvyh_SomeFunc); + var main_source = main_source_vvvvvyh.some(main_source_vvvvvyh_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_db_selection').closest('.control-group').show(); + if (jform_vvvvvyhvyi_required) + { + updateFieldRequired('db_selection',0); + jQuery('#jform_db_selection').prop('required','required'); + jQuery('#jform_db_selection').attr('aria-required',true); + jQuery('#jform_db_selection').addClass('required'); + jform_vvvvvyhvyi_required = false; + } + + } + else + { + jQuery('#jform_db_selection').closest('.control-group').hide(); + if (!jform_vvvvvyhvyi_required) + { + updateFieldRequired('db_selection',1); + jQuery('#jform_db_selection').removeAttr('required'); + jQuery('#jform_db_selection').removeAttr('aria-required'); + jQuery('#jform_db_selection').removeClass('required'); + jform_vvvvvyhvyi_required = true; + } + } +} + +// the vvvvvyh Some function +function main_source_vvvvvyh_SomeFunc(main_source_vvvvvyh) +{ + // set the function logic + if (main_source_vvvvvyh == 2) + { + return true; + } + return false; +} + +// the vvvvvyi function +function vvvvvyi(addcalculation_vvvvvyi) +{ + // set the function logic + if (addcalculation_vvvvvyi == 1) + { + jQuery('#jform_php_calculation').closest('.control-group').show(); + if (jform_vvvvvyivyj_required) + { + updateFieldRequired('php_calculation',0); + jQuery('#jform_php_calculation').prop('required','required'); + jQuery('#jform_php_calculation').attr('aria-required',true); + jQuery('#jform_php_calculation').addClass('required'); + jform_vvvvvyivyj_required = false; + } + + } + else + { + jQuery('#jform_php_calculation').closest('.control-group').hide(); + if (!jform_vvvvvyivyj_required) + { + updateFieldRequired('php_calculation',1); + jQuery('#jform_php_calculation').removeAttr('required'); + jQuery('#jform_php_calculation').removeAttr('aria-required'); + jQuery('#jform_php_calculation').removeClass('required'); + jform_vvvvvyivyj_required = true; + } + } +} + +// the vvvvvyj function +function vvvvvyj(addcalculation_vvvvvyj,gettype_vvvvvyj) +{ + if (isSet(addcalculation_vvvvvyj) && addcalculation_vvvvvyj.constructor !== Array) + { + var temp_vvvvvyj = addcalculation_vvvvvyj; + var addcalculation_vvvvvyj = []; + addcalculation_vvvvvyj.push(temp_vvvvvyj); + } + else if (!isSet(addcalculation_vvvvvyj)) + { + var addcalculation_vvvvvyj = []; + } + var addcalculation = addcalculation_vvvvvyj.some(addcalculation_vvvvvyj_SomeFunc); + + if (isSet(gettype_vvvvvyj) && gettype_vvvvvyj.constructor !== Array) + { + var temp_vvvvvyj = gettype_vvvvvyj; + var gettype_vvvvvyj = []; + gettype_vvvvvyj.push(temp_vvvvvyj); + } + else if (!isSet(gettype_vvvvvyj)) + { + var gettype_vvvvvyj = []; + } + var gettype = gettype_vvvvvyj.some(gettype_vvvvvyj_SomeFunc); // set this function logic @@ -453,54 +453,54 @@ function vvvvvyh(addcalculation_vvvvvyh,gettype_vvvvvyh) } } -// the vvvvvyh Some function -function addcalculation_vvvvvyh_SomeFunc(addcalculation_vvvvvyh) +// the vvvvvyj Some function +function addcalculation_vvvvvyj_SomeFunc(addcalculation_vvvvvyj) { // set the function logic - if (addcalculation_vvvvvyh == 1) + if (addcalculation_vvvvvyj == 1) { return true; } return false; } -// the vvvvvyh Some function -function gettype_vvvvvyh_SomeFunc(gettype_vvvvvyh) +// the vvvvvyj Some function +function gettype_vvvvvyj_SomeFunc(gettype_vvvvvyj) { // set the function logic - if (gettype_vvvvvyh == 1 || gettype_vvvvvyh == 3) + if (gettype_vvvvvyj == 1 || gettype_vvvvvyj == 3) { return true; } return false; } -// the vvvvvyi function -function vvvvvyi(addcalculation_vvvvvyi,gettype_vvvvvyi) +// the vvvvvyk function +function vvvvvyk(addcalculation_vvvvvyk,gettype_vvvvvyk) { - if (isSet(addcalculation_vvvvvyi) && addcalculation_vvvvvyi.constructor !== Array) + if (isSet(addcalculation_vvvvvyk) && addcalculation_vvvvvyk.constructor !== Array) { - var temp_vvvvvyi = addcalculation_vvvvvyi; - var addcalculation_vvvvvyi = []; - addcalculation_vvvvvyi.push(temp_vvvvvyi); + var temp_vvvvvyk = addcalculation_vvvvvyk; + var addcalculation_vvvvvyk = []; + addcalculation_vvvvvyk.push(temp_vvvvvyk); } - else if (!isSet(addcalculation_vvvvvyi)) + else if (!isSet(addcalculation_vvvvvyk)) { - var addcalculation_vvvvvyi = []; + var addcalculation_vvvvvyk = []; } - var addcalculation = addcalculation_vvvvvyi.some(addcalculation_vvvvvyi_SomeFunc); + var addcalculation = addcalculation_vvvvvyk.some(addcalculation_vvvvvyk_SomeFunc); - if (isSet(gettype_vvvvvyi) && gettype_vvvvvyi.constructor !== Array) + if (isSet(gettype_vvvvvyk) && gettype_vvvvvyk.constructor !== Array) { - var temp_vvvvvyi = gettype_vvvvvyi; - var gettype_vvvvvyi = []; - gettype_vvvvvyi.push(temp_vvvvvyi); + var temp_vvvvvyk = gettype_vvvvvyk; + var gettype_vvvvvyk = []; + gettype_vvvvvyk.push(temp_vvvvvyk); } - else if (!isSet(gettype_vvvvvyi)) + else if (!isSet(gettype_vvvvvyk)) { - var gettype_vvvvvyi = []; + var gettype_vvvvvyk = []; } - var gettype = gettype_vvvvvyi.some(gettype_vvvvvyi_SomeFunc); + var gettype = gettype_vvvvvyk.some(gettype_vvvvvyk_SomeFunc); // set this function logic @@ -514,97 +514,97 @@ function vvvvvyi(addcalculation_vvvvvyi,gettype_vvvvvyi) } } -// the vvvvvyi Some function -function addcalculation_vvvvvyi_SomeFunc(addcalculation_vvvvvyi) +// the vvvvvyk Some function +function addcalculation_vvvvvyk_SomeFunc(addcalculation_vvvvvyk) { // set the function logic - if (addcalculation_vvvvvyi == 1) + if (addcalculation_vvvvvyk == 1) { return true; } return false; } -// the vvvvvyi Some function -function gettype_vvvvvyi_SomeFunc(gettype_vvvvvyi) +// the vvvvvyk Some function +function gettype_vvvvvyk_SomeFunc(gettype_vvvvvyk) { // set the function logic - if (gettype_vvvvvyi == 2 || gettype_vvvvvyi == 4) + if (gettype_vvvvvyk == 2 || gettype_vvvvvyk == 4) { return true; } return false; } -// the vvvvvyl function -function vvvvvyl(main_source_vvvvvyl) +// the vvvvvyn function +function vvvvvyn(main_source_vvvvvyn) { - if (isSet(main_source_vvvvvyl) && main_source_vvvvvyl.constructor !== Array) + if (isSet(main_source_vvvvvyn) && main_source_vvvvvyn.constructor !== Array) { - var temp_vvvvvyl = main_source_vvvvvyl; - var main_source_vvvvvyl = []; - main_source_vvvvvyl.push(temp_vvvvvyl); + var temp_vvvvvyn = main_source_vvvvvyn; + var main_source_vvvvvyn = []; + main_source_vvvvvyn.push(temp_vvvvvyn); } - else if (!isSet(main_source_vvvvvyl)) + else if (!isSet(main_source_vvvvvyn)) { - var main_source_vvvvvyl = []; + var main_source_vvvvvyn = []; } - var main_source = main_source_vvvvvyl.some(main_source_vvvvvyl_SomeFunc); + var main_source = main_source_vvvvvyn.some(main_source_vvvvvyn_SomeFunc); // set this function logic if (main_source) { jQuery('#jform_php_custom_get').closest('.control-group').show(); - if (jform_vvvvvylvyi_required) + if (jform_vvvvvynvyk_required) { updateFieldRequired('php_custom_get',0); jQuery('#jform_php_custom_get').prop('required','required'); jQuery('#jform_php_custom_get').attr('aria-required',true); jQuery('#jform_php_custom_get').addClass('required'); - jform_vvvvvylvyi_required = false; + jform_vvvvvynvyk_required = false; } } else { jQuery('#jform_php_custom_get').closest('.control-group').hide(); - if (!jform_vvvvvylvyi_required) + if (!jform_vvvvvynvyk_required) { updateFieldRequired('php_custom_get',1); jQuery('#jform_php_custom_get').removeAttr('required'); jQuery('#jform_php_custom_get').removeAttr('aria-required'); jQuery('#jform_php_custom_get').removeClass('required'); - jform_vvvvvylvyi_required = true; + jform_vvvvvynvyk_required = true; } } } -// the vvvvvyl Some function -function main_source_vvvvvyl_SomeFunc(main_source_vvvvvyl) +// the vvvvvyn Some function +function main_source_vvvvvyn_SomeFunc(main_source_vvvvvyn) { // set the function logic - if (main_source_vvvvvyl == 3) + if (main_source_vvvvvyn == 3) { return true; } return false; } -// the vvvvvym function -function vvvvvym(main_source_vvvvvym) +// the vvvvvyo function +function vvvvvyo(main_source_vvvvvyo) { - if (isSet(main_source_vvvvvym) && main_source_vvvvvym.constructor !== Array) + if (isSet(main_source_vvvvvyo) && main_source_vvvvvyo.constructor !== Array) { - var temp_vvvvvym = main_source_vvvvvym; - var main_source_vvvvvym = []; - main_source_vvvvvym.push(temp_vvvvvym); + var temp_vvvvvyo = main_source_vvvvvyo; + var main_source_vvvvvyo = []; + main_source_vvvvvyo.push(temp_vvvvvyo); } - else if (!isSet(main_source_vvvvvym)) + else if (!isSet(main_source_vvvvvyo)) { - var main_source_vvvvvym = []; + var main_source_vvvvvyo = []; } - var main_source = main_source_vvvvvym.some(main_source_vvvvvym_SomeFunc); + var main_source = main_source_vvvvvyo.some(main_source_vvvvvyo_SomeFunc); // set this function logic @@ -626,167 +626,89 @@ function vvvvvym(main_source_vvvvvym) } } -// the vvvvvym Some function -function main_source_vvvvvym_SomeFunc(main_source_vvvvvym) +// the vvvvvyo Some function +function main_source_vvvvvyo_SomeFunc(main_source_vvvvvyo) { // set the function logic - if (main_source_vvvvvym == 1 || main_source_vvvvvym == 2) + if (main_source_vvvvvyo == 1 || main_source_vvvvvyo == 2) { return true; } return false; } -// the vvvvvyn function -function vvvvvyn(add_php_before_getitem_vvvvvyn,gettype_vvvvvyn) +// the vvvvvyp function +function vvvvvyp(add_php_before_getitem_vvvvvyp,gettype_vvvvvyp) { - if (isSet(add_php_before_getitem_vvvvvyn) && add_php_before_getitem_vvvvvyn.constructor !== Array) + if (isSet(add_php_before_getitem_vvvvvyp) && add_php_before_getitem_vvvvvyp.constructor !== Array) { - var temp_vvvvvyn = add_php_before_getitem_vvvvvyn; - var add_php_before_getitem_vvvvvyn = []; - add_php_before_getitem_vvvvvyn.push(temp_vvvvvyn); + var temp_vvvvvyp = add_php_before_getitem_vvvvvyp; + var add_php_before_getitem_vvvvvyp = []; + add_php_before_getitem_vvvvvyp.push(temp_vvvvvyp); } - else if (!isSet(add_php_before_getitem_vvvvvyn)) + else if (!isSet(add_php_before_getitem_vvvvvyp)) { - var add_php_before_getitem_vvvvvyn = []; + var add_php_before_getitem_vvvvvyp = []; } - var add_php_before_getitem = add_php_before_getitem_vvvvvyn.some(add_php_before_getitem_vvvvvyn_SomeFunc); + var add_php_before_getitem = add_php_before_getitem_vvvvvyp.some(add_php_before_getitem_vvvvvyp_SomeFunc); - if (isSet(gettype_vvvvvyn) && gettype_vvvvvyn.constructor !== Array) + if (isSet(gettype_vvvvvyp) && gettype_vvvvvyp.constructor !== Array) { - var temp_vvvvvyn = gettype_vvvvvyn; - var gettype_vvvvvyn = []; - gettype_vvvvvyn.push(temp_vvvvvyn); + var temp_vvvvvyp = gettype_vvvvvyp; + var gettype_vvvvvyp = []; + gettype_vvvvvyp.push(temp_vvvvvyp); } - else if (!isSet(gettype_vvvvvyn)) + else if (!isSet(gettype_vvvvvyp)) { - var gettype_vvvvvyn = []; + var gettype_vvvvvyp = []; } - var gettype = gettype_vvvvvyn.some(gettype_vvvvvyn_SomeFunc); + var gettype = gettype_vvvvvyp.some(gettype_vvvvvyp_SomeFunc); // set this function logic if (add_php_before_getitem && gettype) { jQuery('#jform_php_before_getitem').closest('.control-group').show(); - if (jform_vvvvvynvyj_required) + if (jform_vvvvvypvyl_required) { updateFieldRequired('php_before_getitem',0); jQuery('#jform_php_before_getitem').prop('required','required'); jQuery('#jform_php_before_getitem').attr('aria-required',true); jQuery('#jform_php_before_getitem').addClass('required'); - jform_vvvvvynvyj_required = false; + jform_vvvvvypvyl_required = false; } } else { jQuery('#jform_php_before_getitem').closest('.control-group').hide(); - if (!jform_vvvvvynvyj_required) + if (!jform_vvvvvypvyl_required) { updateFieldRequired('php_before_getitem',1); jQuery('#jform_php_before_getitem').removeAttr('required'); jQuery('#jform_php_before_getitem').removeAttr('aria-required'); jQuery('#jform_php_before_getitem').removeClass('required'); - jform_vvvvvynvyj_required = true; + jform_vvvvvypvyl_required = true; } } } -// the vvvvvyn Some function -function add_php_before_getitem_vvvvvyn_SomeFunc(add_php_before_getitem_vvvvvyn) +// the vvvvvyp Some function +function add_php_before_getitem_vvvvvyp_SomeFunc(add_php_before_getitem_vvvvvyp) { // set the function logic - if (add_php_before_getitem_vvvvvyn == 1) + if (add_php_before_getitem_vvvvvyp == 1) { return true; } return false; } -// the vvvvvyn Some function -function gettype_vvvvvyn_SomeFunc(gettype_vvvvvyn) +// the vvvvvyp Some function +function gettype_vvvvvyp_SomeFunc(gettype_vvvvvyp) { // set the function logic - if (gettype_vvvvvyn == 1 || gettype_vvvvvyn == 3) - { - return true; - } - return false; -} - -// the vvvvvyo function -function vvvvvyo(add_php_after_getitem_vvvvvyo,gettype_vvvvvyo) -{ - if (isSet(add_php_after_getitem_vvvvvyo) && add_php_after_getitem_vvvvvyo.constructor !== Array) - { - var temp_vvvvvyo = add_php_after_getitem_vvvvvyo; - var add_php_after_getitem_vvvvvyo = []; - add_php_after_getitem_vvvvvyo.push(temp_vvvvvyo); - } - else if (!isSet(add_php_after_getitem_vvvvvyo)) - { - var add_php_after_getitem_vvvvvyo = []; - } - var add_php_after_getitem = add_php_after_getitem_vvvvvyo.some(add_php_after_getitem_vvvvvyo_SomeFunc); - - if (isSet(gettype_vvvvvyo) && gettype_vvvvvyo.constructor !== Array) - { - var temp_vvvvvyo = gettype_vvvvvyo; - var gettype_vvvvvyo = []; - gettype_vvvvvyo.push(temp_vvvvvyo); - } - else if (!isSet(gettype_vvvvvyo)) - { - var gettype_vvvvvyo = []; - } - var gettype = gettype_vvvvvyo.some(gettype_vvvvvyo_SomeFunc); - - - // set this function logic - if (add_php_after_getitem && gettype) - { - jQuery('#jform_php_after_getitem').closest('.control-group').show(); - if (jform_vvvvvyovyk_required) - { - updateFieldRequired('php_after_getitem',0); - jQuery('#jform_php_after_getitem').prop('required','required'); - jQuery('#jform_php_after_getitem').attr('aria-required',true); - jQuery('#jform_php_after_getitem').addClass('required'); - jform_vvvvvyovyk_required = false; - } - - } - else - { - jQuery('#jform_php_after_getitem').closest('.control-group').hide(); - if (!jform_vvvvvyovyk_required) - { - updateFieldRequired('php_after_getitem',1); - jQuery('#jform_php_after_getitem').removeAttr('required'); - jQuery('#jform_php_after_getitem').removeAttr('aria-required'); - jQuery('#jform_php_after_getitem').removeClass('required'); - jform_vvvvvyovyk_required = true; - } - } -} - -// the vvvvvyo Some function -function add_php_after_getitem_vvvvvyo_SomeFunc(add_php_after_getitem_vvvvvyo) -{ - // set the function logic - if (add_php_after_getitem_vvvvvyo == 1) - { - return true; - } - return false; -} - -// the vvvvvyo Some function -function gettype_vvvvvyo_SomeFunc(gettype_vvvvvyo) -{ - // set the function logic - if (gettype_vvvvvyo == 1 || gettype_vvvvvyo == 3) + if (gettype_vvvvvyp == 1 || gettype_vvvvvyp == 3) { return true; } @@ -794,8 +716,20 @@ function gettype_vvvvvyo_SomeFunc(gettype_vvvvvyo) } // the vvvvvyq function -function vvvvvyq(gettype_vvvvvyq) +function vvvvvyq(add_php_after_getitem_vvvvvyq,gettype_vvvvvyq) { + if (isSet(add_php_after_getitem_vvvvvyq) && add_php_after_getitem_vvvvvyq.constructor !== Array) + { + var temp_vvvvvyq = add_php_after_getitem_vvvvvyq; + var add_php_after_getitem_vvvvvyq = []; + add_php_after_getitem_vvvvvyq.push(temp_vvvvvyq); + } + else if (!isSet(add_php_after_getitem_vvvvvyq)) + { + var add_php_after_getitem_vvvvvyq = []; + } + var add_php_after_getitem = add_php_after_getitem_vvvvvyq.some(add_php_after_getitem_vvvvvyq_SomeFunc); + if (isSet(gettype_vvvvvyq) && gettype_vvvvvyq.constructor !== Array) { var temp_vvvvvyq = gettype_vvvvvyq; @@ -810,52 +744,44 @@ function vvvvvyq(gettype_vvvvvyq) // set this function logic - if (gettype) + if (add_php_after_getitem && gettype) { - jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); - if (jform_vvvvvyqvyl_required) - { - updateFieldRequired('add_php_after_getitem',0); - jQuery('#jform_add_php_after_getitem').prop('required','required'); - jQuery('#jform_add_php_after_getitem').attr('aria-required',true); - jQuery('#jform_add_php_after_getitem').addClass('required'); - jform_vvvvvyqvyl_required = false; - } - - jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); + jQuery('#jform_php_after_getitem').closest('.control-group').show(); if (jform_vvvvvyqvym_required) { - updateFieldRequired('add_php_before_getitem',0); - jQuery('#jform_add_php_before_getitem').prop('required','required'); - jQuery('#jform_add_php_before_getitem').attr('aria-required',true); - jQuery('#jform_add_php_before_getitem').addClass('required'); + updateFieldRequired('php_after_getitem',0); + jQuery('#jform_php_after_getitem').prop('required','required'); + jQuery('#jform_php_after_getitem').attr('aria-required',true); + jQuery('#jform_php_after_getitem').addClass('required'); jform_vvvvvyqvym_required = false; } } else { - jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); - if (!jform_vvvvvyqvyl_required) - { - updateFieldRequired('add_php_after_getitem',1); - jQuery('#jform_add_php_after_getitem').removeAttr('required'); - jQuery('#jform_add_php_after_getitem').removeAttr('aria-required'); - jQuery('#jform_add_php_after_getitem').removeClass('required'); - jform_vvvvvyqvyl_required = true; - } - jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); + jQuery('#jform_php_after_getitem').closest('.control-group').hide(); if (!jform_vvvvvyqvym_required) { - updateFieldRequired('add_php_before_getitem',1); - jQuery('#jform_add_php_before_getitem').removeAttr('required'); - jQuery('#jform_add_php_before_getitem').removeAttr('aria-required'); - jQuery('#jform_add_php_before_getitem').removeClass('required'); + updateFieldRequired('php_after_getitem',1); + jQuery('#jform_php_after_getitem').removeAttr('required'); + jQuery('#jform_php_after_getitem').removeAttr('aria-required'); + jQuery('#jform_php_after_getitem').removeClass('required'); jform_vvvvvyqvym_required = true; } } } +// the vvvvvyq Some function +function add_php_after_getitem_vvvvvyq_SomeFunc(add_php_after_getitem_vvvvvyq) +{ + // set the function logic + if (add_php_after_getitem_vvvvvyq == 1) + { + return true; + } + return false; +} + // the vvvvvyq Some function function gettype_vvvvvyq_SomeFunc(gettype_vvvvvyq) { @@ -867,99 +793,9 @@ function gettype_vvvvvyq_SomeFunc(gettype_vvvvvyq) return false; } -// the vvvvvyr function -function vvvvvyr(add_php_getlistquery_vvvvvyr,gettype_vvvvvyr) -{ - if (isSet(add_php_getlistquery_vvvvvyr) && add_php_getlistquery_vvvvvyr.constructor !== Array) - { - var temp_vvvvvyr = add_php_getlistquery_vvvvvyr; - var add_php_getlistquery_vvvvvyr = []; - add_php_getlistquery_vvvvvyr.push(temp_vvvvvyr); - } - else if (!isSet(add_php_getlistquery_vvvvvyr)) - { - var add_php_getlistquery_vvvvvyr = []; - } - var add_php_getlistquery = add_php_getlistquery_vvvvvyr.some(add_php_getlistquery_vvvvvyr_SomeFunc); - - if (isSet(gettype_vvvvvyr) && gettype_vvvvvyr.constructor !== Array) - { - var temp_vvvvvyr = gettype_vvvvvyr; - var gettype_vvvvvyr = []; - gettype_vvvvvyr.push(temp_vvvvvyr); - } - else if (!isSet(gettype_vvvvvyr)) - { - var gettype_vvvvvyr = []; - } - var gettype = gettype_vvvvvyr.some(gettype_vvvvvyr_SomeFunc); - - - // set this function logic - if (add_php_getlistquery && gettype) - { - jQuery('#jform_php_getlistquery').closest('.control-group').show(); - if (jform_vvvvvyrvyn_required) - { - updateFieldRequired('php_getlistquery',0); - jQuery('#jform_php_getlistquery').prop('required','required'); - jQuery('#jform_php_getlistquery').attr('aria-required',true); - jQuery('#jform_php_getlistquery').addClass('required'); - jform_vvvvvyrvyn_required = false; - } - - } - else - { - jQuery('#jform_php_getlistquery').closest('.control-group').hide(); - if (!jform_vvvvvyrvyn_required) - { - updateFieldRequired('php_getlistquery',1); - jQuery('#jform_php_getlistquery').removeAttr('required'); - jQuery('#jform_php_getlistquery').removeAttr('aria-required'); - jQuery('#jform_php_getlistquery').removeClass('required'); - jform_vvvvvyrvyn_required = true; - } - } -} - -// the vvvvvyr Some function -function add_php_getlistquery_vvvvvyr_SomeFunc(add_php_getlistquery_vvvvvyr) -{ - // set the function logic - if (add_php_getlistquery_vvvvvyr == 1) - { - return true; - } - return false; -} - -// the vvvvvyr Some function -function gettype_vvvvvyr_SomeFunc(gettype_vvvvvyr) -{ - // set the function logic - if (gettype_vvvvvyr == 2 || gettype_vvvvvyr == 4) - { - return true; - } - return false; -} - // the vvvvvys function -function vvvvvys(add_php_before_getitems_vvvvvys,gettype_vvvvvys) +function vvvvvys(gettype_vvvvvys) { - if (isSet(add_php_before_getitems_vvvvvys) && add_php_before_getitems_vvvvvys.constructor !== Array) - { - var temp_vvvvvys = add_php_before_getitems_vvvvvys; - var add_php_before_getitems_vvvvvys = []; - add_php_before_getitems_vvvvvys.push(temp_vvvvvys); - } - else if (!isSet(add_php_before_getitems_vvvvvys)) - { - var add_php_before_getitems_vvvvvys = []; - } - var add_php_before_getitems = add_php_before_getitems_vvvvvys.some(add_php_before_getitems_vvvvvys_SomeFunc); - if (isSet(gettype_vvvvvys) && gettype_vvvvvys.constructor !== Array) { var temp_vvvvvys = gettype_vvvvvys; @@ -974,49 +810,57 @@ function vvvvvys(add_php_before_getitems_vvvvvys,gettype_vvvvvys) // set this function logic - if (add_php_before_getitems && gettype) + if (gettype) { - jQuery('#jform_php_before_getitems').closest('.control-group').show(); + jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); + if (jform_vvvvvysvyn_required) + { + updateFieldRequired('add_php_after_getitem',0); + jQuery('#jform_add_php_after_getitem').prop('required','required'); + jQuery('#jform_add_php_after_getitem').attr('aria-required',true); + jQuery('#jform_add_php_after_getitem').addClass('required'); + jform_vvvvvysvyn_required = false; + } + + jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); if (jform_vvvvvysvyo_required) { - updateFieldRequired('php_before_getitems',0); - jQuery('#jform_php_before_getitems').prop('required','required'); - jQuery('#jform_php_before_getitems').attr('aria-required',true); - jQuery('#jform_php_before_getitems').addClass('required'); + updateFieldRequired('add_php_before_getitem',0); + jQuery('#jform_add_php_before_getitem').prop('required','required'); + jQuery('#jform_add_php_before_getitem').attr('aria-required',true); + jQuery('#jform_add_php_before_getitem').addClass('required'); jform_vvvvvysvyo_required = false; } } else { - jQuery('#jform_php_before_getitems').closest('.control-group').hide(); + jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); + if (!jform_vvvvvysvyn_required) + { + updateFieldRequired('add_php_after_getitem',1); + jQuery('#jform_add_php_after_getitem').removeAttr('required'); + jQuery('#jform_add_php_after_getitem').removeAttr('aria-required'); + jQuery('#jform_add_php_after_getitem').removeClass('required'); + jform_vvvvvysvyn_required = true; + } + jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); if (!jform_vvvvvysvyo_required) { - updateFieldRequired('php_before_getitems',1); - jQuery('#jform_php_before_getitems').removeAttr('required'); - jQuery('#jform_php_before_getitems').removeAttr('aria-required'); - jQuery('#jform_php_before_getitems').removeClass('required'); + updateFieldRequired('add_php_before_getitem',1); + jQuery('#jform_add_php_before_getitem').removeAttr('required'); + jQuery('#jform_add_php_before_getitem').removeAttr('aria-required'); + jQuery('#jform_add_php_before_getitem').removeClass('required'); jform_vvvvvysvyo_required = true; } } } -// the vvvvvys Some function -function add_php_before_getitems_vvvvvys_SomeFunc(add_php_before_getitems_vvvvvys) -{ - // set the function logic - if (add_php_before_getitems_vvvvvys == 1) - { - return true; - } - return false; -} - // the vvvvvys Some function function gettype_vvvvvys_SomeFunc(gettype_vvvvvys) { // set the function logic - if (gettype_vvvvvys == 2 || gettype_vvvvvys == 4) + if (gettype_vvvvvys == 1 || gettype_vvvvvys == 3) { return true; } @@ -1024,19 +868,19 @@ function gettype_vvvvvys_SomeFunc(gettype_vvvvvys) } // the vvvvvyt function -function vvvvvyt(add_php_after_getitems_vvvvvyt,gettype_vvvvvyt) +function vvvvvyt(add_php_getlistquery_vvvvvyt,gettype_vvvvvyt) { - if (isSet(add_php_after_getitems_vvvvvyt) && add_php_after_getitems_vvvvvyt.constructor !== Array) + if (isSet(add_php_getlistquery_vvvvvyt) && add_php_getlistquery_vvvvvyt.constructor !== Array) { - var temp_vvvvvyt = add_php_after_getitems_vvvvvyt; - var add_php_after_getitems_vvvvvyt = []; - add_php_after_getitems_vvvvvyt.push(temp_vvvvvyt); + var temp_vvvvvyt = add_php_getlistquery_vvvvvyt; + var add_php_getlistquery_vvvvvyt = []; + add_php_getlistquery_vvvvvyt.push(temp_vvvvvyt); } - else if (!isSet(add_php_after_getitems_vvvvvyt)) + else if (!isSet(add_php_getlistquery_vvvvvyt)) { - var add_php_after_getitems_vvvvvyt = []; + var add_php_getlistquery_vvvvvyt = []; } - var add_php_after_getitems = add_php_after_getitems_vvvvvyt.some(add_php_after_getitems_vvvvvyt_SomeFunc); + var add_php_getlistquery = add_php_getlistquery_vvvvvyt.some(add_php_getlistquery_vvvvvyt_SomeFunc); if (isSet(gettype_vvvvvyt) && gettype_vvvvvyt.constructor !== Array) { @@ -1052,38 +896,38 @@ function vvvvvyt(add_php_after_getitems_vvvvvyt,gettype_vvvvvyt) // set this function logic - if (add_php_after_getitems && gettype) + if (add_php_getlistquery && gettype) { - jQuery('#jform_php_after_getitems').closest('.control-group').show(); + jQuery('#jform_php_getlistquery').closest('.control-group').show(); if (jform_vvvvvytvyp_required) { - updateFieldRequired('php_after_getitems',0); - jQuery('#jform_php_after_getitems').prop('required','required'); - jQuery('#jform_php_after_getitems').attr('aria-required',true); - jQuery('#jform_php_after_getitems').addClass('required'); + updateFieldRequired('php_getlistquery',0); + jQuery('#jform_php_getlistquery').prop('required','required'); + jQuery('#jform_php_getlistquery').attr('aria-required',true); + jQuery('#jform_php_getlistquery').addClass('required'); jform_vvvvvytvyp_required = false; } } else { - jQuery('#jform_php_after_getitems').closest('.control-group').hide(); + jQuery('#jform_php_getlistquery').closest('.control-group').hide(); if (!jform_vvvvvytvyp_required) { - updateFieldRequired('php_after_getitems',1); - jQuery('#jform_php_after_getitems').removeAttr('required'); - jQuery('#jform_php_after_getitems').removeAttr('aria-required'); - jQuery('#jform_php_after_getitems').removeClass('required'); + updateFieldRequired('php_getlistquery',1); + jQuery('#jform_php_getlistquery').removeAttr('required'); + jQuery('#jform_php_getlistquery').removeAttr('aria-required'); + jQuery('#jform_php_getlistquery').removeClass('required'); jform_vvvvvytvyp_required = true; } } } // the vvvvvyt Some function -function add_php_after_getitems_vvvvvyt_SomeFunc(add_php_after_getitems_vvvvvyt) +function add_php_getlistquery_vvvvvyt_SomeFunc(add_php_getlistquery_vvvvvyt) { // set the function logic - if (add_php_after_getitems_vvvvvyt == 1) + if (add_php_getlistquery_vvvvvyt == 1) { return true; } @@ -1101,9 +945,99 @@ function gettype_vvvvvyt_SomeFunc(gettype_vvvvvyt) return false; } -// the vvvvvyv function -function vvvvvyv(gettype_vvvvvyv) +// the vvvvvyu function +function vvvvvyu(add_php_before_getitems_vvvvvyu,gettype_vvvvvyu) { + if (isSet(add_php_before_getitems_vvvvvyu) && add_php_before_getitems_vvvvvyu.constructor !== Array) + { + var temp_vvvvvyu = add_php_before_getitems_vvvvvyu; + var add_php_before_getitems_vvvvvyu = []; + add_php_before_getitems_vvvvvyu.push(temp_vvvvvyu); + } + else if (!isSet(add_php_before_getitems_vvvvvyu)) + { + var add_php_before_getitems_vvvvvyu = []; + } + var add_php_before_getitems = add_php_before_getitems_vvvvvyu.some(add_php_before_getitems_vvvvvyu_SomeFunc); + + if (isSet(gettype_vvvvvyu) && gettype_vvvvvyu.constructor !== Array) + { + var temp_vvvvvyu = gettype_vvvvvyu; + var gettype_vvvvvyu = []; + gettype_vvvvvyu.push(temp_vvvvvyu); + } + else if (!isSet(gettype_vvvvvyu)) + { + var gettype_vvvvvyu = []; + } + var gettype = gettype_vvvvvyu.some(gettype_vvvvvyu_SomeFunc); + + + // set this function logic + if (add_php_before_getitems && gettype) + { + jQuery('#jform_php_before_getitems').closest('.control-group').show(); + if (jform_vvvvvyuvyq_required) + { + updateFieldRequired('php_before_getitems',0); + jQuery('#jform_php_before_getitems').prop('required','required'); + jQuery('#jform_php_before_getitems').attr('aria-required',true); + jQuery('#jform_php_before_getitems').addClass('required'); + jform_vvvvvyuvyq_required = false; + } + + } + else + { + jQuery('#jform_php_before_getitems').closest('.control-group').hide(); + if (!jform_vvvvvyuvyq_required) + { + updateFieldRequired('php_before_getitems',1); + jQuery('#jform_php_before_getitems').removeAttr('required'); + jQuery('#jform_php_before_getitems').removeAttr('aria-required'); + jQuery('#jform_php_before_getitems').removeClass('required'); + jform_vvvvvyuvyq_required = true; + } + } +} + +// the vvvvvyu Some function +function add_php_before_getitems_vvvvvyu_SomeFunc(add_php_before_getitems_vvvvvyu) +{ + // set the function logic + if (add_php_before_getitems_vvvvvyu == 1) + { + return true; + } + return false; +} + +// the vvvvvyu Some function +function gettype_vvvvvyu_SomeFunc(gettype_vvvvvyu) +{ + // set the function logic + if (gettype_vvvvvyu == 2 || gettype_vvvvvyu == 4) + { + return true; + } + return false; +} + +// the vvvvvyv function +function vvvvvyv(add_php_after_getitems_vvvvvyv,gettype_vvvvvyv) +{ + if (isSet(add_php_after_getitems_vvvvvyv) && add_php_after_getitems_vvvvvyv.constructor !== Array) + { + var temp_vvvvvyv = add_php_after_getitems_vvvvvyv; + var add_php_after_getitems_vvvvvyv = []; + add_php_after_getitems_vvvvvyv.push(temp_vvvvvyv); + } + else if (!isSet(add_php_after_getitems_vvvvvyv)) + { + var add_php_after_getitems_vvvvvyv = []; + } + var add_php_after_getitems = add_php_after_getitems_vvvvvyv.some(add_php_after_getitems_vvvvvyv_SomeFunc); + if (isSet(gettype_vvvvvyv) && gettype_vvvvvyv.constructor !== Array) { var temp_vvvvvyv = gettype_vvvvvyv; @@ -1118,71 +1052,44 @@ function vvvvvyv(gettype_vvvvvyv) // set this function logic - if (gettype) + if (add_php_after_getitems && gettype) { - jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); - if (jform_vvvvvyvvyq_required) - { - updateFieldRequired('add_php_after_getitems',0); - jQuery('#jform_add_php_after_getitems').prop('required','required'); - jQuery('#jform_add_php_after_getitems').attr('aria-required',true); - jQuery('#jform_add_php_after_getitems').addClass('required'); - jform_vvvvvyvvyq_required = false; - } - - jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); + jQuery('#jform_php_after_getitems').closest('.control-group').show(); if (jform_vvvvvyvvyr_required) { - updateFieldRequired('add_php_before_getitems',0); - jQuery('#jform_add_php_before_getitems').prop('required','required'); - jQuery('#jform_add_php_before_getitems').attr('aria-required',true); - jQuery('#jform_add_php_before_getitems').addClass('required'); + updateFieldRequired('php_after_getitems',0); + jQuery('#jform_php_after_getitems').prop('required','required'); + jQuery('#jform_php_after_getitems').attr('aria-required',true); + jQuery('#jform_php_after_getitems').addClass('required'); jform_vvvvvyvvyr_required = false; } - jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); - if (jform_vvvvvyvvys_required) - { - updateFieldRequired('add_php_getlistquery',0); - jQuery('#jform_add_php_getlistquery').prop('required','required'); - jQuery('#jform_add_php_getlistquery').attr('aria-required',true); - jQuery('#jform_add_php_getlistquery').addClass('required'); - jform_vvvvvyvvys_required = false; - } - } else { - jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); - if (!jform_vvvvvyvvyq_required) - { - updateFieldRequired('add_php_after_getitems',1); - jQuery('#jform_add_php_after_getitems').removeAttr('required'); - jQuery('#jform_add_php_after_getitems').removeAttr('aria-required'); - jQuery('#jform_add_php_after_getitems').removeClass('required'); - jform_vvvvvyvvyq_required = true; - } - jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); + jQuery('#jform_php_after_getitems').closest('.control-group').hide(); if (!jform_vvvvvyvvyr_required) { - updateFieldRequired('add_php_before_getitems',1); - jQuery('#jform_add_php_before_getitems').removeAttr('required'); - jQuery('#jform_add_php_before_getitems').removeAttr('aria-required'); - jQuery('#jform_add_php_before_getitems').removeClass('required'); + updateFieldRequired('php_after_getitems',1); + jQuery('#jform_php_after_getitems').removeAttr('required'); + jQuery('#jform_php_after_getitems').removeAttr('aria-required'); + jQuery('#jform_php_after_getitems').removeClass('required'); jform_vvvvvyvvyr_required = true; } - jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); - if (!jform_vvvvvyvvys_required) - { - updateFieldRequired('add_php_getlistquery',1); - jQuery('#jform_add_php_getlistquery').removeAttr('required'); - jQuery('#jform_add_php_getlistquery').removeAttr('aria-required'); - jQuery('#jform_add_php_getlistquery').removeClass('required'); - jform_vvvvvyvvys_required = true; - } } } +// the vvvvvyv Some function +function add_php_after_getitems_vvvvvyv_SomeFunc(add_php_after_getitems_vvvvvyv) +{ + // set the function logic + if (add_php_after_getitems_vvvvvyv == 1) + { + return true; + } + return false; +} + // the vvvvvyv Some function function gettype_vvvvvyv_SomeFunc(gettype_vvvvvyv) { @@ -1194,55 +1101,148 @@ function gettype_vvvvvyv_SomeFunc(gettype_vvvvvyv) return false; } -// the vvvvvyw function -function vvvvvyw(gettype_vvvvvyw) +// the vvvvvyx function +function vvvvvyx(gettype_vvvvvyx) { - if (isSet(gettype_vvvvvyw) && gettype_vvvvvyw.constructor !== Array) + if (isSet(gettype_vvvvvyx) && gettype_vvvvvyx.constructor !== Array) { - var temp_vvvvvyw = gettype_vvvvvyw; - var gettype_vvvvvyw = []; - gettype_vvvvvyw.push(temp_vvvvvyw); + var temp_vvvvvyx = gettype_vvvvvyx; + var gettype_vvvvvyx = []; + gettype_vvvvvyx.push(temp_vvvvvyx); } - else if (!isSet(gettype_vvvvvyw)) + else if (!isSet(gettype_vvvvvyx)) { - var gettype_vvvvvyw = []; + var gettype_vvvvvyx = []; } - var gettype = gettype_vvvvvyw.some(gettype_vvvvvyw_SomeFunc); + var gettype = gettype_vvvvvyx.some(gettype_vvvvvyx_SomeFunc); + + + // set this function logic + if (gettype) + { + jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); + if (jform_vvvvvyxvys_required) + { + updateFieldRequired('add_php_after_getitems',0); + jQuery('#jform_add_php_after_getitems').prop('required','required'); + jQuery('#jform_add_php_after_getitems').attr('aria-required',true); + jQuery('#jform_add_php_after_getitems').addClass('required'); + jform_vvvvvyxvys_required = false; + } + + jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); + if (jform_vvvvvyxvyt_required) + { + updateFieldRequired('add_php_before_getitems',0); + jQuery('#jform_add_php_before_getitems').prop('required','required'); + jQuery('#jform_add_php_before_getitems').attr('aria-required',true); + jQuery('#jform_add_php_before_getitems').addClass('required'); + jform_vvvvvyxvyt_required = false; + } + + jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); + if (jform_vvvvvyxvyu_required) + { + updateFieldRequired('add_php_getlistquery',0); + jQuery('#jform_add_php_getlistquery').prop('required','required'); + jQuery('#jform_add_php_getlistquery').attr('aria-required',true); + jQuery('#jform_add_php_getlistquery').addClass('required'); + jform_vvvvvyxvyu_required = false; + } + + } + else + { + jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); + if (!jform_vvvvvyxvys_required) + { + updateFieldRequired('add_php_after_getitems',1); + jQuery('#jform_add_php_after_getitems').removeAttr('required'); + jQuery('#jform_add_php_after_getitems').removeAttr('aria-required'); + jQuery('#jform_add_php_after_getitems').removeClass('required'); + jform_vvvvvyxvys_required = true; + } + jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); + if (!jform_vvvvvyxvyt_required) + { + updateFieldRequired('add_php_before_getitems',1); + jQuery('#jform_add_php_before_getitems').removeAttr('required'); + jQuery('#jform_add_php_before_getitems').removeAttr('aria-required'); + jQuery('#jform_add_php_before_getitems').removeClass('required'); + jform_vvvvvyxvyt_required = true; + } + jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); + if (!jform_vvvvvyxvyu_required) + { + updateFieldRequired('add_php_getlistquery',1); + jQuery('#jform_add_php_getlistquery').removeAttr('required'); + jQuery('#jform_add_php_getlistquery').removeAttr('aria-required'); + jQuery('#jform_add_php_getlistquery').removeClass('required'); + jform_vvvvvyxvyu_required = true; + } + } +} + +// the vvvvvyx Some function +function gettype_vvvvvyx_SomeFunc(gettype_vvvvvyx) +{ + // set the function logic + if (gettype_vvvvvyx == 2 || gettype_vvvvvyx == 4) + { + return true; + } + return false; +} + +// the vvvvvyy function +function vvvvvyy(gettype_vvvvvyy) +{ + if (isSet(gettype_vvvvvyy) && gettype_vvvvvyy.constructor !== Array) + { + var temp_vvvvvyy = gettype_vvvvvyy; + var gettype_vvvvvyy = []; + gettype_vvvvvyy.push(temp_vvvvvyy); + } + else if (!isSet(gettype_vvvvvyy)) + { + var gettype_vvvvvyy = []; + } + var gettype = gettype_vvvvvyy.some(gettype_vvvvvyy_SomeFunc); // set this function logic if (gettype) { jQuery('#jform_pagination').closest('.control-group').show(); - if (jform_vvvvvywvyt_required) + if (jform_vvvvvyyvyv_required) { updateFieldRequired('pagination',0); jQuery('#jform_pagination').prop('required','required'); jQuery('#jform_pagination').attr('aria-required',true); jQuery('#jform_pagination').addClass('required'); - jform_vvvvvywvyt_required = false; + jform_vvvvvyyvyv_required = false; } } else { jQuery('#jform_pagination').closest('.control-group').hide(); - if (!jform_vvvvvywvyt_required) + if (!jform_vvvvvyyvyv_required) { updateFieldRequired('pagination',1); jQuery('#jform_pagination').removeAttr('required'); jQuery('#jform_pagination').removeAttr('aria-required'); jQuery('#jform_pagination').removeClass('required'); - jform_vvvvvywvyt_required = true; + jform_vvvvvyyvyv_required = true; } } } -// the vvvvvyw Some function -function gettype_vvvvvyw_SomeFunc(gettype_vvvvvyw) +// the vvvvvyy Some function +function gettype_vvvvvyy_SomeFunc(gettype_vvvvvyy) { // set the function logic - if (gettype_vvvvvyw == 2) + if (gettype_vvvvvyy == 2) { return true; } diff --git a/admin/models/forms/field.js b/admin/models/forms/field.js index 36f3c10aa..9f5832ecc 100644 --- a/admin/models/forms/field.js +++ b/admin/models/forms/field.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage field.js @@ -24,210 +24,96 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvyxvyu_required = false; -jform_vvvvvyyvyv_required = false; jform_vvvvvyzvyw_required = false; jform_vvvvvzavyx_required = false; -jform_vvvvvzdvyy_required = false; -jform_vvvvvzevyz_required = false; +jform_vvvvvzbvyy_required = false; +jform_vvvvvzcvyz_required = false; jform_vvvvvzfvza_required = false; jform_vvvvvzgvzb_required = false; +jform_vvvvvzhvzc_required = false; +jform_vvvvvzivzd_required = false; // Initial Script jQuery(document).ready(function() { - var datalenght_vvvvvyx = jQuery("#jform_datalenght").val(); - vvvvvyx(datalenght_vvvvvyx); + var datalenght_vvvvvyz = jQuery("#jform_datalenght").val(); + vvvvvyz(datalenght_vvvvvyz); - var datadefault_vvvvvyy = jQuery("#jform_datadefault").val(); - vvvvvyy(datadefault_vvvvvyy); + var datadefault_vvvvvza = jQuery("#jform_datadefault").val(); + vvvvvza(datadefault_vvvvvza); - var datatype_vvvvvyz = jQuery("#jform_datatype").val(); - vvvvvyz(datatype_vvvvvyz); - - var datatype_vvvvvza = jQuery("#jform_datatype").val(); - vvvvvza(datatype_vvvvvza); - - var store_vvvvvzb = jQuery("#jform_store").val(); var datatype_vvvvvzb = jQuery("#jform_datatype").val(); - vvvvvzb(store_vvvvvzb,datatype_vvvvvzb); + vvvvvzb(datatype_vvvvvzb); - var add_css_view_vvvvvzd = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - vvvvvzd(add_css_view_vvvvvzd); + var datatype_vvvvvzc = jQuery("#jform_datatype").val(); + vvvvvzc(datatype_vvvvvzc); - var add_css_views_vvvvvze = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - vvvvvze(add_css_views_vvvvvze); + var store_vvvvvzd = jQuery("#jform_store").val(); + var datatype_vvvvvzd = jQuery("#jform_datatype").val(); + vvvvvzd(store_vvvvvzd,datatype_vvvvvzd); - var add_javascript_view_footer_vvvvvzf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - vvvvvzf(add_javascript_view_footer_vvvvvzf); + var add_css_view_vvvvvzf = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + vvvvvzf(add_css_view_vvvvvzf); - var add_javascript_views_footer_vvvvvzg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - vvvvvzg(add_javascript_views_footer_vvvvvzg); + var add_css_views_vvvvvzg = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + vvvvvzg(add_css_views_vvvvvzg); + + var add_javascript_view_footer_vvvvvzh = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + vvvvvzh(add_javascript_view_footer_vvvvvzh); + + var add_javascript_views_footer_vvvvvzi = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + vvvvvzi(add_javascript_views_footer_vvvvvzi); }); -// the vvvvvyx function -function vvvvvyx(datalenght_vvvvvyx) +// the vvvvvyz function +function vvvvvyz(datalenght_vvvvvyz) { - if (isSet(datalenght_vvvvvyx) && datalenght_vvvvvyx.constructor !== Array) + if (isSet(datalenght_vvvvvyz) && datalenght_vvvvvyz.constructor !== Array) { - var temp_vvvvvyx = datalenght_vvvvvyx; - var datalenght_vvvvvyx = []; - datalenght_vvvvvyx.push(temp_vvvvvyx); + var temp_vvvvvyz = datalenght_vvvvvyz; + var datalenght_vvvvvyz = []; + datalenght_vvvvvyz.push(temp_vvvvvyz); } - else if (!isSet(datalenght_vvvvvyx)) + else if (!isSet(datalenght_vvvvvyz)) { - var datalenght_vvvvvyx = []; + var datalenght_vvvvvyz = []; } - var datalenght = datalenght_vvvvvyx.some(datalenght_vvvvvyx_SomeFunc); + var datalenght = datalenght_vvvvvyz.some(datalenght_vvvvvyz_SomeFunc); // set this function logic if (datalenght) { jQuery('#jform_datalenght_other').closest('.control-group').show(); - if (jform_vvvvvyxvyu_required) + if (jform_vvvvvyzvyw_required) { updateFieldRequired('datalenght_other',0); jQuery('#jform_datalenght_other').prop('required','required'); jQuery('#jform_datalenght_other').attr('aria-required',true); jQuery('#jform_datalenght_other').addClass('required'); - jform_vvvvvyxvyu_required = false; - } - - } - else - { - jQuery('#jform_datalenght_other').closest('.control-group').hide(); - if (!jform_vvvvvyxvyu_required) - { - updateFieldRequired('datalenght_other',1); - jQuery('#jform_datalenght_other').removeAttr('required'); - jQuery('#jform_datalenght_other').removeAttr('aria-required'); - jQuery('#jform_datalenght_other').removeClass('required'); - jform_vvvvvyxvyu_required = true; - } - } -} - -// the vvvvvyx Some function -function datalenght_vvvvvyx_SomeFunc(datalenght_vvvvvyx) -{ - // set the function logic - if (datalenght_vvvvvyx == 'Other') - { - return true; - } - return false; -} - -// the vvvvvyy function -function vvvvvyy(datadefault_vvvvvyy) -{ - if (isSet(datadefault_vvvvvyy) && datadefault_vvvvvyy.constructor !== Array) - { - var temp_vvvvvyy = datadefault_vvvvvyy; - var datadefault_vvvvvyy = []; - datadefault_vvvvvyy.push(temp_vvvvvyy); - } - else if (!isSet(datadefault_vvvvvyy)) - { - var datadefault_vvvvvyy = []; - } - var datadefault = datadefault_vvvvvyy.some(datadefault_vvvvvyy_SomeFunc); - - - // set this function logic - if (datadefault) - { - jQuery('#jform_datadefault_other').closest('.control-group').show(); - if (jform_vvvvvyyvyv_required) - { - updateFieldRequired('datadefault_other',0); - jQuery('#jform_datadefault_other').prop('required','required'); - jQuery('#jform_datadefault_other').attr('aria-required',true); - jQuery('#jform_datadefault_other').addClass('required'); - jform_vvvvvyyvyv_required = false; - } - - } - else - { - jQuery('#jform_datadefault_other').closest('.control-group').hide(); - if (!jform_vvvvvyyvyv_required) - { - updateFieldRequired('datadefault_other',1); - jQuery('#jform_datadefault_other').removeAttr('required'); - jQuery('#jform_datadefault_other').removeAttr('aria-required'); - jQuery('#jform_datadefault_other').removeClass('required'); - jform_vvvvvyyvyv_required = true; - } - } -} - -// the vvvvvyy Some function -function datadefault_vvvvvyy_SomeFunc(datadefault_vvvvvyy) -{ - // set the function logic - if (datadefault_vvvvvyy == 'Other') - { - return true; - } - return false; -} - -// the vvvvvyz function -function vvvvvyz(datatype_vvvvvyz) -{ - if (isSet(datatype_vvvvvyz) && datatype_vvvvvyz.constructor !== Array) - { - var temp_vvvvvyz = datatype_vvvvvyz; - var datatype_vvvvvyz = []; - datatype_vvvvvyz.push(temp_vvvvvyz); - } - else if (!isSet(datatype_vvvvvyz)) - { - var datatype_vvvvvyz = []; - } - var datatype = datatype_vvvvvyz.some(datatype_vvvvvyz_SomeFunc); - - - // set this function logic - if (datatype) - { - jQuery('#jform_datadefault').closest('.control-group').show(); - jQuery('#jform_datalenght').closest('.control-group').show(); - jQuery('#jform_indexes').closest('.control-group').show(); - if (jform_vvvvvyzvyw_required) - { - updateFieldRequired('indexes',0); - jQuery('#jform_indexes').prop('required','required'); - jQuery('#jform_indexes').attr('aria-required',true); - jQuery('#jform_indexes').addClass('required'); jform_vvvvvyzvyw_required = false; } } else { - jQuery('#jform_datadefault').closest('.control-group').hide(); - jQuery('#jform_datalenght').closest('.control-group').hide(); - jQuery('#jform_indexes').closest('.control-group').hide(); + jQuery('#jform_datalenght_other').closest('.control-group').hide(); if (!jform_vvvvvyzvyw_required) { - updateFieldRequired('indexes',1); - jQuery('#jform_indexes').removeAttr('required'); - jQuery('#jform_indexes').removeAttr('aria-required'); - jQuery('#jform_indexes').removeClass('required'); + updateFieldRequired('datalenght_other',1); + jQuery('#jform_datalenght_other').removeAttr('required'); + jQuery('#jform_datalenght_other').removeAttr('aria-required'); + jQuery('#jform_datalenght_other').removeClass('required'); jform_vvvvvyzvyw_required = true; } } } // the vvvvvyz Some function -function datatype_vvvvvyz_SomeFunc(datatype_vvvvvyz) +function datalenght_vvvvvyz_SomeFunc(datalenght_vvvvvyz) { // set the function logic - if (datatype_vvvvvyz == 'CHAR' || datatype_vvvvvyz == 'VARCHAR' || datatype_vvvvvyz == 'DATETIME' || datatype_vvvvvyz == 'DATE' || datatype_vvvvvyz == 'TIME' || datatype_vvvvvyz == 'INT' || datatype_vvvvvyz == 'TINYINT' || datatype_vvvvvyz == 'BIGINT' || datatype_vvvvvyz == 'FLOAT' || datatype_vvvvvyz == 'DECIMAL' || datatype_vvvvvyz == 'DOUBLE') + if (datalenght_vvvvvyz == 'Other') { return true; } @@ -235,54 +121,54 @@ function datatype_vvvvvyz_SomeFunc(datatype_vvvvvyz) } // the vvvvvza function -function vvvvvza(datatype_vvvvvza) +function vvvvvza(datadefault_vvvvvza) { - if (isSet(datatype_vvvvvza) && datatype_vvvvvza.constructor !== Array) + if (isSet(datadefault_vvvvvza) && datadefault_vvvvvza.constructor !== Array) { - var temp_vvvvvza = datatype_vvvvvza; - var datatype_vvvvvza = []; - datatype_vvvvvza.push(temp_vvvvvza); + var temp_vvvvvza = datadefault_vvvvvza; + var datadefault_vvvvvza = []; + datadefault_vvvvvza.push(temp_vvvvvza); } - else if (!isSet(datatype_vvvvvza)) + else if (!isSet(datadefault_vvvvvza)) { - var datatype_vvvvvza = []; + var datadefault_vvvvvza = []; } - var datatype = datatype_vvvvvza.some(datatype_vvvvvza_SomeFunc); + var datadefault = datadefault_vvvvvza.some(datadefault_vvvvvza_SomeFunc); // set this function logic - if (datatype) + if (datadefault) { - jQuery('#jform_store').closest('.control-group').show(); + jQuery('#jform_datadefault_other').closest('.control-group').show(); if (jform_vvvvvzavyx_required) { - updateFieldRequired('store',0); - jQuery('#jform_store').prop('required','required'); - jQuery('#jform_store').attr('aria-required',true); - jQuery('#jform_store').addClass('required'); + updateFieldRequired('datadefault_other',0); + jQuery('#jform_datadefault_other').prop('required','required'); + jQuery('#jform_datadefault_other').attr('aria-required',true); + jQuery('#jform_datadefault_other').addClass('required'); jform_vvvvvzavyx_required = false; } } else { - jQuery('#jform_store').closest('.control-group').hide(); + jQuery('#jform_datadefault_other').closest('.control-group').hide(); if (!jform_vvvvvzavyx_required) { - updateFieldRequired('store',1); - jQuery('#jform_store').removeAttr('required'); - jQuery('#jform_store').removeAttr('aria-required'); - jQuery('#jform_store').removeClass('required'); + updateFieldRequired('datadefault_other',1); + jQuery('#jform_datadefault_other').removeAttr('required'); + jQuery('#jform_datadefault_other').removeAttr('aria-required'); + jQuery('#jform_datadefault_other').removeClass('required'); jform_vvvvvzavyx_required = true; } } } // the vvvvvza Some function -function datatype_vvvvvza_SomeFunc(datatype_vvvvvza) +function datadefault_vvvvvza_SomeFunc(datadefault_vvvvvza) { // set the function logic - if (datatype_vvvvvza == 'CHAR' || datatype_vvvvvza == 'VARCHAR' || datatype_vvvvvza == 'TEXT' || datatype_vvvvvza == 'MEDIUMTEXT' || datatype_vvvvvza == 'LONGTEXT') + if (datadefault_vvvvvza == 'Other') { return true; } @@ -290,20 +176,8 @@ function datatype_vvvvvza_SomeFunc(datatype_vvvvvza) } // the vvvvvzb function -function vvvvvzb(store_vvvvvzb,datatype_vvvvvzb) +function vvvvvzb(datatype_vvvvvzb) { - if (isSet(store_vvvvvzb) && store_vvvvvzb.constructor !== Array) - { - var temp_vvvvvzb = store_vvvvvzb; - var store_vvvvvzb = []; - store_vvvvvzb.push(temp_vvvvvzb); - } - else if (!isSet(store_vvvvvzb)) - { - var store_vvvvvzb = []; - } - var store = store_vvvvvzb.some(store_vvvvvzb_SomeFunc); - if (isSet(datatype_vvvvvzb) && datatype_vvvvvzb.constructor !== Array) { var temp_vvvvvzb = datatype_vvvvvzb; @@ -317,6 +191,132 @@ function vvvvvzb(store_vvvvvzb,datatype_vvvvvzb) var datatype = datatype_vvvvvzb.some(datatype_vvvvvzb_SomeFunc); + // set this function logic + if (datatype) + { + jQuery('#jform_datadefault').closest('.control-group').show(); + jQuery('#jform_datalenght').closest('.control-group').show(); + jQuery('#jform_indexes').closest('.control-group').show(); + if (jform_vvvvvzbvyy_required) + { + updateFieldRequired('indexes',0); + jQuery('#jform_indexes').prop('required','required'); + jQuery('#jform_indexes').attr('aria-required',true); + jQuery('#jform_indexes').addClass('required'); + jform_vvvvvzbvyy_required = false; + } + + } + else + { + jQuery('#jform_datadefault').closest('.control-group').hide(); + jQuery('#jform_datalenght').closest('.control-group').hide(); + jQuery('#jform_indexes').closest('.control-group').hide(); + if (!jform_vvvvvzbvyy_required) + { + updateFieldRequired('indexes',1); + jQuery('#jform_indexes').removeAttr('required'); + jQuery('#jform_indexes').removeAttr('aria-required'); + jQuery('#jform_indexes').removeClass('required'); + jform_vvvvvzbvyy_required = true; + } + } +} + +// the vvvvvzb Some function +function datatype_vvvvvzb_SomeFunc(datatype_vvvvvzb) +{ + // set the function logic + if (datatype_vvvvvzb == 'CHAR' || datatype_vvvvvzb == 'VARCHAR' || datatype_vvvvvzb == 'DATETIME' || datatype_vvvvvzb == 'DATE' || datatype_vvvvvzb == 'TIME' || datatype_vvvvvzb == 'INT' || datatype_vvvvvzb == 'TINYINT' || datatype_vvvvvzb == 'BIGINT' || datatype_vvvvvzb == 'FLOAT' || datatype_vvvvvzb == 'DECIMAL' || datatype_vvvvvzb == 'DOUBLE') + { + return true; + } + return false; +} + +// the vvvvvzc function +function vvvvvzc(datatype_vvvvvzc) +{ + if (isSet(datatype_vvvvvzc) && datatype_vvvvvzc.constructor !== Array) + { + var temp_vvvvvzc = datatype_vvvvvzc; + var datatype_vvvvvzc = []; + datatype_vvvvvzc.push(temp_vvvvvzc); + } + else if (!isSet(datatype_vvvvvzc)) + { + var datatype_vvvvvzc = []; + } + var datatype = datatype_vvvvvzc.some(datatype_vvvvvzc_SomeFunc); + + + // set this function logic + if (datatype) + { + jQuery('#jform_store').closest('.control-group').show(); + if (jform_vvvvvzcvyz_required) + { + updateFieldRequired('store',0); + jQuery('#jform_store').prop('required','required'); + jQuery('#jform_store').attr('aria-required',true); + jQuery('#jform_store').addClass('required'); + jform_vvvvvzcvyz_required = false; + } + + } + else + { + jQuery('#jform_store').closest('.control-group').hide(); + if (!jform_vvvvvzcvyz_required) + { + updateFieldRequired('store',1); + jQuery('#jform_store').removeAttr('required'); + jQuery('#jform_store').removeAttr('aria-required'); + jQuery('#jform_store').removeClass('required'); + jform_vvvvvzcvyz_required = true; + } + } +} + +// the vvvvvzc Some function +function datatype_vvvvvzc_SomeFunc(datatype_vvvvvzc) +{ + // set the function logic + if (datatype_vvvvvzc == 'CHAR' || datatype_vvvvvzc == 'VARCHAR' || datatype_vvvvvzc == 'TEXT' || datatype_vvvvvzc == 'MEDIUMTEXT' || datatype_vvvvvzc == 'LONGTEXT') + { + return true; + } + return false; +} + +// the vvvvvzd function +function vvvvvzd(store_vvvvvzd,datatype_vvvvvzd) +{ + if (isSet(store_vvvvvzd) && store_vvvvvzd.constructor !== Array) + { + var temp_vvvvvzd = store_vvvvvzd; + var store_vvvvvzd = []; + store_vvvvvzd.push(temp_vvvvvzd); + } + else if (!isSet(store_vvvvvzd)) + { + var store_vvvvvzd = []; + } + var store = store_vvvvvzd.some(store_vvvvvzd_SomeFunc); + + if (isSet(datatype_vvvvvzd) && datatype_vvvvvzd.constructor !== Array) + { + var temp_vvvvvzd = datatype_vvvvvzd; + var datatype_vvvvvzd = []; + datatype_vvvvvzd.push(temp_vvvvvzd); + } + else if (!isSet(datatype_vvvvvzd)) + { + var datatype_vvvvvzd = []; + } + var datatype = datatype_vvvvvzd.some(datatype_vvvvvzd_SomeFunc); + + // set this function logic if (store && datatype) { @@ -328,148 +328,148 @@ function vvvvvzb(store_vvvvvzb,datatype_vvvvvzb) } } -// the vvvvvzb Some function -function store_vvvvvzb_SomeFunc(store_vvvvvzb) +// the vvvvvzd Some function +function store_vvvvvzd_SomeFunc(store_vvvvvzd) { // set the function logic - if (store_vvvvvzb == 4) + if (store_vvvvvzd == 4) { return true; } return false; } -// the vvvvvzb Some function -function datatype_vvvvvzb_SomeFunc(datatype_vvvvvzb) +// the vvvvvzd Some function +function datatype_vvvvvzd_SomeFunc(datatype_vvvvvzd) { // set the function logic - if (datatype_vvvvvzb == 'CHAR' || datatype_vvvvvzb == 'VARCHAR' || datatype_vvvvvzb == 'TEXT' || datatype_vvvvvzb == 'MEDIUMTEXT' || datatype_vvvvvzb == 'LONGTEXT') + if (datatype_vvvvvzd == 'CHAR' || datatype_vvvvvzd == 'VARCHAR' || datatype_vvvvvzd == 'TEXT' || datatype_vvvvvzd == 'MEDIUMTEXT' || datatype_vvvvvzd == 'LONGTEXT') { return true; } return false; } -// the vvvvvzd function -function vvvvvzd(add_css_view_vvvvvzd) +// the vvvvvzf function +function vvvvvzf(add_css_view_vvvvvzf) { // set the function logic - if (add_css_view_vvvvvzd == 1) + if (add_css_view_vvvvvzf == 1) { jQuery('#jform_css_view').closest('.control-group').show(); - if (jform_vvvvvzdvyy_required) + if (jform_vvvvvzfvza_required) { updateFieldRequired('css_view',0); jQuery('#jform_css_view').prop('required','required'); jQuery('#jform_css_view').attr('aria-required',true); jQuery('#jform_css_view').addClass('required'); - jform_vvvvvzdvyy_required = false; - } - - } - else - { - jQuery('#jform_css_view').closest('.control-group').hide(); - if (!jform_vvvvvzdvyy_required) - { - updateFieldRequired('css_view',1); - jQuery('#jform_css_view').removeAttr('required'); - jQuery('#jform_css_view').removeAttr('aria-required'); - jQuery('#jform_css_view').removeClass('required'); - jform_vvvvvzdvyy_required = true; - } - } -} - -// the vvvvvze function -function vvvvvze(add_css_views_vvvvvze) -{ - // set the function logic - if (add_css_views_vvvvvze == 1) - { - jQuery('#jform_css_views').closest('.control-group').show(); - if (jform_vvvvvzevyz_required) - { - updateFieldRequired('css_views',0); - jQuery('#jform_css_views').prop('required','required'); - jQuery('#jform_css_views').attr('aria-required',true); - jQuery('#jform_css_views').addClass('required'); - jform_vvvvvzevyz_required = false; - } - - } - else - { - jQuery('#jform_css_views').closest('.control-group').hide(); - if (!jform_vvvvvzevyz_required) - { - updateFieldRequired('css_views',1); - jQuery('#jform_css_views').removeAttr('required'); - jQuery('#jform_css_views').removeAttr('aria-required'); - jQuery('#jform_css_views').removeClass('required'); - jform_vvvvvzevyz_required = true; - } - } -} - -// the vvvvvzf function -function vvvvvzf(add_javascript_view_footer_vvvvvzf) -{ - // set the function logic - if (add_javascript_view_footer_vvvvvzf == 1) - { - jQuery('#jform_javascript_view_footer').closest('.control-group').show(); - if (jform_vvvvvzfvza_required) - { - updateFieldRequired('javascript_view_footer',0); - jQuery('#jform_javascript_view_footer').prop('required','required'); - jQuery('#jform_javascript_view_footer').attr('aria-required',true); - jQuery('#jform_javascript_view_footer').addClass('required'); jform_vvvvvzfvza_required = false; } } else { - jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); + jQuery('#jform_css_view').closest('.control-group').hide(); if (!jform_vvvvvzfvza_required) { - updateFieldRequired('javascript_view_footer',1); - jQuery('#jform_javascript_view_footer').removeAttr('required'); - jQuery('#jform_javascript_view_footer').removeAttr('aria-required'); - jQuery('#jform_javascript_view_footer').removeClass('required'); + updateFieldRequired('css_view',1); + jQuery('#jform_css_view').removeAttr('required'); + jQuery('#jform_css_view').removeAttr('aria-required'); + jQuery('#jform_css_view').removeClass('required'); jform_vvvvvzfvza_required = true; } } } // the vvvvvzg function -function vvvvvzg(add_javascript_views_footer_vvvvvzg) +function vvvvvzg(add_css_views_vvvvvzg) { // set the function logic - if (add_javascript_views_footer_vvvvvzg == 1) + if (add_css_views_vvvvvzg == 1) { - jQuery('#jform_javascript_views_footer').closest('.control-group').show(); + jQuery('#jform_css_views').closest('.control-group').show(); if (jform_vvvvvzgvzb_required) { - updateFieldRequired('javascript_views_footer',0); - jQuery('#jform_javascript_views_footer').prop('required','required'); - jQuery('#jform_javascript_views_footer').attr('aria-required',true); - jQuery('#jform_javascript_views_footer').addClass('required'); + updateFieldRequired('css_views',0); + jQuery('#jform_css_views').prop('required','required'); + jQuery('#jform_css_views').attr('aria-required',true); + jQuery('#jform_css_views').addClass('required'); jform_vvvvvzgvzb_required = false; } } else { - jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); + jQuery('#jform_css_views').closest('.control-group').hide(); if (!jform_vvvvvzgvzb_required) + { + updateFieldRequired('css_views',1); + jQuery('#jform_css_views').removeAttr('required'); + jQuery('#jform_css_views').removeAttr('aria-required'); + jQuery('#jform_css_views').removeClass('required'); + jform_vvvvvzgvzb_required = true; + } + } +} + +// the vvvvvzh function +function vvvvvzh(add_javascript_view_footer_vvvvvzh) +{ + // set the function logic + if (add_javascript_view_footer_vvvvvzh == 1) + { + jQuery('#jform_javascript_view_footer').closest('.control-group').show(); + if (jform_vvvvvzhvzc_required) + { + updateFieldRequired('javascript_view_footer',0); + jQuery('#jform_javascript_view_footer').prop('required','required'); + jQuery('#jform_javascript_view_footer').attr('aria-required',true); + jQuery('#jform_javascript_view_footer').addClass('required'); + jform_vvvvvzhvzc_required = false; + } + + } + else + { + jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); + if (!jform_vvvvvzhvzc_required) + { + updateFieldRequired('javascript_view_footer',1); + jQuery('#jform_javascript_view_footer').removeAttr('required'); + jQuery('#jform_javascript_view_footer').removeAttr('aria-required'); + jQuery('#jform_javascript_view_footer').removeClass('required'); + jform_vvvvvzhvzc_required = true; + } + } +} + +// the vvvvvzi function +function vvvvvzi(add_javascript_views_footer_vvvvvzi) +{ + // set the function logic + if (add_javascript_views_footer_vvvvvzi == 1) + { + jQuery('#jform_javascript_views_footer').closest('.control-group').show(); + if (jform_vvvvvzivzd_required) + { + updateFieldRequired('javascript_views_footer',0); + jQuery('#jform_javascript_views_footer').prop('required','required'); + jQuery('#jform_javascript_views_footer').attr('aria-required',true); + jQuery('#jform_javascript_views_footer').addClass('required'); + jform_vvvvvzivzd_required = false; + } + + } + else + { + jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); + if (!jform_vvvvvzivzd_required) { updateFieldRequired('javascript_views_footer',1); jQuery('#jform_javascript_views_footer').removeAttr('required'); jQuery('#jform_javascript_views_footer').removeAttr('aria-required'); jQuery('#jform_javascript_views_footer').removeClass('required'); - jform_vvvvvzgvzb_required = true; + jform_vvvvvzivzd_required = true; } } } diff --git a/admin/models/forms/fieldtype.js b/admin/models/forms/fieldtype.js index 9a8ebd66b..f7da6b77a 100644 --- a/admin/models/forms/fieldtype.js +++ b/admin/models/forms/fieldtype.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtype.js diff --git a/admin/models/forms/help_document.js b/admin/models/forms/help_document.js index ddb8dfeb1..2d333e61d 100644 --- a/admin/models/forms/help_document.js +++ b/admin/models/forms/help_document.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage help_document.js @@ -24,38 +24,38 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvzjvzd_required = false; -jform_vvvvvzkvze_required = false; jform_vvvvvzlvzf_required = false; jform_vvvvvzmvzg_required = false; +jform_vvvvvznvzh_required = false; +jform_vvvvvzovzi_required = false; // Initial Script jQuery(document).ready(function() { - var location_vvvvvzh = jQuery("#jform_location input[type='radio']:checked").val(); - vvvvvzh(location_vvvvvzh); + var location_vvvvvzj = jQuery("#jform_location input[type='radio']:checked").val(); + vvvvvzj(location_vvvvvzj); - var location_vvvvvzi = jQuery("#jform_location input[type='radio']:checked").val(); - vvvvvzi(location_vvvvvzi); - - var type_vvvvvzj = jQuery("#jform_type").val(); - vvvvvzj(type_vvvvvzj); - - var type_vvvvvzk = jQuery("#jform_type").val(); - vvvvvzk(type_vvvvvzk); + var location_vvvvvzk = jQuery("#jform_location input[type='radio']:checked").val(); + vvvvvzk(location_vvvvvzk); var type_vvvvvzl = jQuery("#jform_type").val(); vvvvvzl(type_vvvvvzl); - var target_vvvvvzm = jQuery("#jform_target input[type='radio']:checked").val(); - vvvvvzm(target_vvvvvzm); + var type_vvvvvzm = jQuery("#jform_type").val(); + vvvvvzm(type_vvvvvzm); + + var type_vvvvvzn = jQuery("#jform_type").val(); + vvvvvzn(type_vvvvvzn); + + var target_vvvvvzo = jQuery("#jform_target input[type='radio']:checked").val(); + vvvvvzo(target_vvvvvzo); }); -// the vvvvvzh function -function vvvvvzh(location_vvvvvzh) +// the vvvvvzj function +function vvvvvzj(location_vvvvvzj) { // set the function logic - if (location_vvvvvzh == 1) + if (location_vvvvvzj == 1) { jQuery('#jform_admin_view').closest('.control-group').show(); } @@ -65,11 +65,11 @@ function vvvvvzh(location_vvvvvzh) } } -// the vvvvvzi function -function vvvvvzi(location_vvvvvzi) +// the vvvvvzk function +function vvvvvzk(location_vvvvvzk) { // set the function logic - if (location_vvvvvzi == 2) + if (location_vvvvvzk == 2) { jQuery('#jform_site_view').closest('.control-group').show(); } @@ -79,116 +79,6 @@ function vvvvvzi(location_vvvvvzi) } } -// the vvvvvzj function -function vvvvvzj(type_vvvvvzj) -{ - if (isSet(type_vvvvvzj) && type_vvvvvzj.constructor !== Array) - { - var temp_vvvvvzj = type_vvvvvzj; - var type_vvvvvzj = []; - type_vvvvvzj.push(temp_vvvvvzj); - } - else if (!isSet(type_vvvvvzj)) - { - var type_vvvvvzj = []; - } - var type = type_vvvvvzj.some(type_vvvvvzj_SomeFunc); - - - // set this function logic - if (type) - { - jQuery('#jform_url').closest('.control-group').show(); - if (jform_vvvvvzjvzd_required) - { - updateFieldRequired('url',0); - jQuery('#jform_url').prop('required','required'); - jQuery('#jform_url').attr('aria-required',true); - jQuery('#jform_url').addClass('required'); - jform_vvvvvzjvzd_required = false; - } - - } - else - { - jQuery('#jform_url').closest('.control-group').hide(); - if (!jform_vvvvvzjvzd_required) - { - updateFieldRequired('url',1); - jQuery('#jform_url').removeAttr('required'); - jQuery('#jform_url').removeAttr('aria-required'); - jQuery('#jform_url').removeClass('required'); - jform_vvvvvzjvzd_required = true; - } - } -} - -// the vvvvvzj Some function -function type_vvvvvzj_SomeFunc(type_vvvvvzj) -{ - // set the function logic - if (type_vvvvvzj == 3) - { - return true; - } - return false; -} - -// the vvvvvzk function -function vvvvvzk(type_vvvvvzk) -{ - if (isSet(type_vvvvvzk) && type_vvvvvzk.constructor !== Array) - { - var temp_vvvvvzk = type_vvvvvzk; - var type_vvvvvzk = []; - type_vvvvvzk.push(temp_vvvvvzk); - } - else if (!isSet(type_vvvvvzk)) - { - var type_vvvvvzk = []; - } - var type = type_vvvvvzk.some(type_vvvvvzk_SomeFunc); - - - // set this function logic - if (type) - { - jQuery('#jform_article').closest('.control-group').show(); - if (jform_vvvvvzkvze_required) - { - updateFieldRequired('article',0); - jQuery('#jform_article').prop('required','required'); - jQuery('#jform_article').attr('aria-required',true); - jQuery('#jform_article').addClass('required'); - jform_vvvvvzkvze_required = false; - } - - } - else - { - jQuery('#jform_article').closest('.control-group').hide(); - if (!jform_vvvvvzkvze_required) - { - updateFieldRequired('article',1); - jQuery('#jform_article').removeAttr('required'); - jQuery('#jform_article').removeAttr('aria-required'); - jQuery('#jform_article').removeClass('required'); - jform_vvvvvzkvze_required = true; - } - } -} - -// the vvvvvzk Some function -function type_vvvvvzk_SomeFunc(type_vvvvvzk) -{ - // set the function logic - if (type_vvvvvzk == 1) - { - return true; - } - return false; -} - // the vvvvvzl function function vvvvvzl(type_vvvvvzl) { @@ -208,26 +98,26 @@ function vvvvvzl(type_vvvvvzl) // set this function logic if (type) { - jQuery('#jform_content-lbl').closest('.control-group').show(); + jQuery('#jform_url').closest('.control-group').show(); if (jform_vvvvvzlvzf_required) { - updateFieldRequired('content',0); - jQuery('#jform_content').prop('required','required'); - jQuery('#jform_content').attr('aria-required',true); - jQuery('#jform_content').addClass('required'); + updateFieldRequired('url',0); + jQuery('#jform_url').prop('required','required'); + jQuery('#jform_url').attr('aria-required',true); + jQuery('#jform_url').addClass('required'); jform_vvvvvzlvzf_required = false; } } else { - jQuery('#jform_content-lbl').closest('.control-group').hide(); + jQuery('#jform_url').closest('.control-group').hide(); if (!jform_vvvvvzlvzf_required) { - updateFieldRequired('content',1); - jQuery('#jform_content').removeAttr('required'); - jQuery('#jform_content').removeAttr('aria-required'); - jQuery('#jform_content').removeClass('required'); + updateFieldRequired('url',1); + jQuery('#jform_url').removeAttr('required'); + jQuery('#jform_url').removeAttr('aria-required'); + jQuery('#jform_url').removeClass('required'); jform_vvvvvzlvzf_required = true; } } @@ -237,7 +127,7 @@ function vvvvvzl(type_vvvvvzl) function type_vvvvvzl_SomeFunc(type_vvvvvzl) { // set the function logic - if (type_vvvvvzl == 2) + if (type_vvvvvzl == 3) { return true; } @@ -245,32 +135,142 @@ function type_vvvvvzl_SomeFunc(type_vvvvvzl) } // the vvvvvzm function -function vvvvvzm(target_vvvvvzm) +function vvvvvzm(type_vvvvvzm) { - // set the function logic - if (target_vvvvvzm == 1) + if (isSet(type_vvvvvzm) && type_vvvvvzm.constructor !== Array) { - jQuery('#jform_groups').closest('.control-group').show(); + var temp_vvvvvzm = type_vvvvvzm; + var type_vvvvvzm = []; + type_vvvvvzm.push(temp_vvvvvzm); + } + else if (!isSet(type_vvvvvzm)) + { + var type_vvvvvzm = []; + } + var type = type_vvvvvzm.some(type_vvvvvzm_SomeFunc); + + + // set this function logic + if (type) + { + jQuery('#jform_article').closest('.control-group').show(); if (jform_vvvvvzmvzg_required) { - updateFieldRequired('groups',0); - jQuery('#jform_groups').prop('required','required'); - jQuery('#jform_groups').attr('aria-required',true); - jQuery('#jform_groups').addClass('required'); + updateFieldRequired('article',0); + jQuery('#jform_article').prop('required','required'); + jQuery('#jform_article').attr('aria-required',true); + jQuery('#jform_article').addClass('required'); jform_vvvvvzmvzg_required = false; } } else { - jQuery('#jform_groups').closest('.control-group').hide(); + jQuery('#jform_article').closest('.control-group').hide(); if (!jform_vvvvvzmvzg_required) + { + updateFieldRequired('article',1); + jQuery('#jform_article').removeAttr('required'); + jQuery('#jform_article').removeAttr('aria-required'); + jQuery('#jform_article').removeClass('required'); + jform_vvvvvzmvzg_required = true; + } + } +} + +// the vvvvvzm Some function +function type_vvvvvzm_SomeFunc(type_vvvvvzm) +{ + // set the function logic + if (type_vvvvvzm == 1) + { + return true; + } + return false; +} + +// the vvvvvzn function +function vvvvvzn(type_vvvvvzn) +{ + if (isSet(type_vvvvvzn) && type_vvvvvzn.constructor !== Array) + { + var temp_vvvvvzn = type_vvvvvzn; + var type_vvvvvzn = []; + type_vvvvvzn.push(temp_vvvvvzn); + } + else if (!isSet(type_vvvvvzn)) + { + var type_vvvvvzn = []; + } + var type = type_vvvvvzn.some(type_vvvvvzn_SomeFunc); + + + // set this function logic + if (type) + { + jQuery('#jform_content-lbl').closest('.control-group').show(); + if (jform_vvvvvznvzh_required) + { + updateFieldRequired('content',0); + jQuery('#jform_content').prop('required','required'); + jQuery('#jform_content').attr('aria-required',true); + jQuery('#jform_content').addClass('required'); + jform_vvvvvznvzh_required = false; + } + + } + else + { + jQuery('#jform_content-lbl').closest('.control-group').hide(); + if (!jform_vvvvvznvzh_required) + { + updateFieldRequired('content',1); + jQuery('#jform_content').removeAttr('required'); + jQuery('#jform_content').removeAttr('aria-required'); + jQuery('#jform_content').removeClass('required'); + jform_vvvvvznvzh_required = true; + } + } +} + +// the vvvvvzn Some function +function type_vvvvvzn_SomeFunc(type_vvvvvzn) +{ + // set the function logic + if (type_vvvvvzn == 2) + { + return true; + } + return false; +} + +// the vvvvvzo function +function vvvvvzo(target_vvvvvzo) +{ + // set the function logic + if (target_vvvvvzo == 1) + { + jQuery('#jform_groups').closest('.control-group').show(); + if (jform_vvvvvzovzi_required) + { + updateFieldRequired('groups',0); + jQuery('#jform_groups').prop('required','required'); + jQuery('#jform_groups').attr('aria-required',true); + jQuery('#jform_groups').addClass('required'); + jform_vvvvvzovzi_required = false; + } + + } + else + { + jQuery('#jform_groups').closest('.control-group').hide(); + if (!jform_vvvvvzovzi_required) { updateFieldRequired('groups',1); jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeClass('required'); - jform_vvvvvzmvzg_required = true; + jform_vvvvvzovzi_required = true; } } } diff --git a/admin/models/forms/layout.js b/admin/models/forms/layout.js index 39aadaf8f..b260b32b5 100644 --- a/admin/models/forms/layout.js +++ b/admin/models/forms/layout.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage layout.js @@ -24,42 +24,42 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvyavyb_required = false; +jform_vvvvvycvyd_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvya = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvya(add_php_view_vvvvvya); + var add_php_view_vvvvvyc = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvyc(add_php_view_vvvvvyc); }); -// the vvvvvya function -function vvvvvya(add_php_view_vvvvvya) +// the vvvvvyc function +function vvvvvyc(add_php_view_vvvvvyc) { // set the function logic - if (add_php_view_vvvvvya == 1) + if (add_php_view_vvvvvyc == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvyavyb_required) + if (jform_vvvvvycvyd_required) { updateFieldRequired('php_view',0); jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').addClass('required'); - jform_vvvvvyavyb_required = false; + jform_vvvvvycvyd_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvyavyb_required) + if (!jform_vvvvvycvyd_required) { updateFieldRequired('php_view',1); jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeClass('required'); - jform_vvvvvyavyb_required = true; + jform_vvvvvycvyd_required = true; } } } diff --git a/admin/models/forms/site_view.js b/admin/models/forms/site_view.js index c75150b86..7bd9a08c7 100644 --- a/admin/models/forms/site_view.js +++ b/admin/models/forms/site_view.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_view.js @@ -24,8 +24,6 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvxqvxq_required = false; -jform_vvvvvxrvxr_required = false; jform_vvvvvxsvxs_required = false; jform_vvvvvxtvxt_required = false; jform_vvvvvxuvxu_required = false; @@ -33,271 +31,273 @@ jform_vvvvvxvvxv_required = false; jform_vvvvvxwvxw_required = false; jform_vvvvvxxvxx_required = false; jform_vvvvvxyvxy_required = false; -jform_vvvvvxyvxz_required = false; +jform_vvvvvxzvxz_required = false; +jform_vvvvvyavya_required = false; +jform_vvvvvyavyb_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvxq = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvxq(add_php_view_vvvvvxq); + var add_php_view_vvvvvxs = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvxs(add_php_view_vvvvvxs); - var add_php_jview_display_vvvvvxr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - vvvvvxr(add_php_jview_display_vvvvvxr); + var add_php_jview_display_vvvvvxt = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + vvvvvxt(add_php_jview_display_vvvvvxt); - var add_php_jview_vvvvvxs = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - vvvvvxs(add_php_jview_vvvvvxs); + var add_php_jview_vvvvvxu = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + vvvvvxu(add_php_jview_vvvvvxu); - var add_php_document_vvvvvxt = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvxt(add_php_document_vvvvvxt); + var add_php_document_vvvvvxv = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvxv(add_php_document_vvvvvxv); - var add_css_document_vvvvvxu = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - vvvvvxu(add_css_document_vvvvvxu); + var add_css_document_vvvvvxw = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + vvvvvxw(add_css_document_vvvvvxw); - var add_js_document_vvvvvxv = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - vvvvvxv(add_js_document_vvvvvxv); + var add_js_document_vvvvvxx = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + vvvvvxx(add_js_document_vvvvvxx); - var add_css_vvvvvxw = jQuery("#jform_add_css input[type='radio']:checked").val(); - vvvvvxw(add_css_vvvvvxw); + var add_css_vvvvvxy = jQuery("#jform_add_css input[type='radio']:checked").val(); + vvvvvxy(add_css_vvvvvxy); - var add_php_ajax_vvvvvxx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - vvvvvxx(add_php_ajax_vvvvvxx); + var add_php_ajax_vvvvvxz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + vvvvvxz(add_php_ajax_vvvvvxz); - var add_custom_button_vvvvvxy = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - vvvvvxy(add_custom_button_vvvvvxy); + var add_custom_button_vvvvvya = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + vvvvvya(add_custom_button_vvvvvya); }); -// the vvvvvxq function -function vvvvvxq(add_php_view_vvvvvxq) +// the vvvvvxs function +function vvvvvxs(add_php_view_vvvvvxs) { // set the function logic - if (add_php_view_vvvvvxq == 1) + if (add_php_view_vvvvvxs == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvxqvxq_required) + if (jform_vvvvvxsvxs_required) { updateFieldRequired('php_view',0); jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').addClass('required'); - jform_vvvvvxqvxq_required = false; - } - - } - else - { - jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvxqvxq_required) - { - updateFieldRequired('php_view',1); - jQuery('#jform_php_view').removeAttr('required'); - jQuery('#jform_php_view').removeAttr('aria-required'); - jQuery('#jform_php_view').removeClass('required'); - jform_vvvvvxqvxq_required = true; - } - } -} - -// the vvvvvxr function -function vvvvvxr(add_php_jview_display_vvvvvxr) -{ - // set the function logic - if (add_php_jview_display_vvvvvxr == 1) - { - jQuery('#jform_php_jview_display').closest('.control-group').show(); - if (jform_vvvvvxrvxr_required) - { - updateFieldRequired('php_jview_display',0); - jQuery('#jform_php_jview_display').prop('required','required'); - jQuery('#jform_php_jview_display').attr('aria-required',true); - jQuery('#jform_php_jview_display').addClass('required'); - jform_vvvvvxrvxr_required = false; - } - - } - else - { - jQuery('#jform_php_jview_display').closest('.control-group').hide(); - if (!jform_vvvvvxrvxr_required) - { - updateFieldRequired('php_jview_display',1); - jQuery('#jform_php_jview_display').removeAttr('required'); - jQuery('#jform_php_jview_display').removeAttr('aria-required'); - jQuery('#jform_php_jview_display').removeClass('required'); - jform_vvvvvxrvxr_required = true; - } - } -} - -// the vvvvvxs function -function vvvvvxs(add_php_jview_vvvvvxs) -{ - // set the function logic - if (add_php_jview_vvvvvxs == 1) - { - jQuery('#jform_php_jview').closest('.control-group').show(); - if (jform_vvvvvxsvxs_required) - { - updateFieldRequired('php_jview',0); - jQuery('#jform_php_jview').prop('required','required'); - jQuery('#jform_php_jview').attr('aria-required',true); - jQuery('#jform_php_jview').addClass('required'); jform_vvvvvxsvxs_required = false; } } else { - jQuery('#jform_php_jview').closest('.control-group').hide(); + jQuery('#jform_php_view').closest('.control-group').hide(); if (!jform_vvvvvxsvxs_required) { - updateFieldRequired('php_jview',1); - jQuery('#jform_php_jview').removeAttr('required'); - jQuery('#jform_php_jview').removeAttr('aria-required'); - jQuery('#jform_php_jview').removeClass('required'); + updateFieldRequired('php_view',1); + jQuery('#jform_php_view').removeAttr('required'); + jQuery('#jform_php_view').removeAttr('aria-required'); + jQuery('#jform_php_view').removeClass('required'); jform_vvvvvxsvxs_required = true; } } } // the vvvvvxt function -function vvvvvxt(add_php_document_vvvvvxt) +function vvvvvxt(add_php_jview_display_vvvvvxt) { // set the function logic - if (add_php_document_vvvvvxt == 1) + if (add_php_jview_display_vvvvvxt == 1) { - jQuery('#jform_php_document').closest('.control-group').show(); + jQuery('#jform_php_jview_display').closest('.control-group').show(); if (jform_vvvvvxtvxt_required) { - updateFieldRequired('php_document',0); - jQuery('#jform_php_document').prop('required','required'); - jQuery('#jform_php_document').attr('aria-required',true); - jQuery('#jform_php_document').addClass('required'); + updateFieldRequired('php_jview_display',0); + jQuery('#jform_php_jview_display').prop('required','required'); + jQuery('#jform_php_jview_display').attr('aria-required',true); + jQuery('#jform_php_jview_display').addClass('required'); jform_vvvvvxtvxt_required = false; } } else { - jQuery('#jform_php_document').closest('.control-group').hide(); + jQuery('#jform_php_jview_display').closest('.control-group').hide(); if (!jform_vvvvvxtvxt_required) { - updateFieldRequired('php_document',1); - jQuery('#jform_php_document').removeAttr('required'); - jQuery('#jform_php_document').removeAttr('aria-required'); - jQuery('#jform_php_document').removeClass('required'); + updateFieldRequired('php_jview_display',1); + jQuery('#jform_php_jview_display').removeAttr('required'); + jQuery('#jform_php_jview_display').removeAttr('aria-required'); + jQuery('#jform_php_jview_display').removeClass('required'); jform_vvvvvxtvxt_required = true; } } } // the vvvvvxu function -function vvvvvxu(add_css_document_vvvvvxu) +function vvvvvxu(add_php_jview_vvvvvxu) { // set the function logic - if (add_css_document_vvvvvxu == 1) + if (add_php_jview_vvvvvxu == 1) { - jQuery('#jform_css_document').closest('.control-group').show(); + jQuery('#jform_php_jview').closest('.control-group').show(); if (jform_vvvvvxuvxu_required) { - updateFieldRequired('css_document',0); - jQuery('#jform_css_document').prop('required','required'); - jQuery('#jform_css_document').attr('aria-required',true); - jQuery('#jform_css_document').addClass('required'); + updateFieldRequired('php_jview',0); + jQuery('#jform_php_jview').prop('required','required'); + jQuery('#jform_php_jview').attr('aria-required',true); + jQuery('#jform_php_jview').addClass('required'); jform_vvvvvxuvxu_required = false; } } else { - jQuery('#jform_css_document').closest('.control-group').hide(); + jQuery('#jform_php_jview').closest('.control-group').hide(); if (!jform_vvvvvxuvxu_required) { - updateFieldRequired('css_document',1); - jQuery('#jform_css_document').removeAttr('required'); - jQuery('#jform_css_document').removeAttr('aria-required'); - jQuery('#jform_css_document').removeClass('required'); + updateFieldRequired('php_jview',1); + jQuery('#jform_php_jview').removeAttr('required'); + jQuery('#jform_php_jview').removeAttr('aria-required'); + jQuery('#jform_php_jview').removeClass('required'); jform_vvvvvxuvxu_required = true; } } } // the vvvvvxv function -function vvvvvxv(add_js_document_vvvvvxv) +function vvvvvxv(add_php_document_vvvvvxv) { // set the function logic - if (add_js_document_vvvvvxv == 1) + if (add_php_document_vvvvvxv == 1) { - jQuery('#jform_js_document').closest('.control-group').show(); + jQuery('#jform_php_document').closest('.control-group').show(); if (jform_vvvvvxvvxv_required) { - updateFieldRequired('js_document',0); - jQuery('#jform_js_document').prop('required','required'); - jQuery('#jform_js_document').attr('aria-required',true); - jQuery('#jform_js_document').addClass('required'); + updateFieldRequired('php_document',0); + jQuery('#jform_php_document').prop('required','required'); + jQuery('#jform_php_document').attr('aria-required',true); + jQuery('#jform_php_document').addClass('required'); jform_vvvvvxvvxv_required = false; } } else { - jQuery('#jform_js_document').closest('.control-group').hide(); + jQuery('#jform_php_document').closest('.control-group').hide(); if (!jform_vvvvvxvvxv_required) { - updateFieldRequired('js_document',1); - jQuery('#jform_js_document').removeAttr('required'); - jQuery('#jform_js_document').removeAttr('aria-required'); - jQuery('#jform_js_document').removeClass('required'); + updateFieldRequired('php_document',1); + jQuery('#jform_php_document').removeAttr('required'); + jQuery('#jform_php_document').removeAttr('aria-required'); + jQuery('#jform_php_document').removeClass('required'); jform_vvvvvxvvxv_required = true; } } } // the vvvvvxw function -function vvvvvxw(add_css_vvvvvxw) +function vvvvvxw(add_css_document_vvvvvxw) { // set the function logic - if (add_css_vvvvvxw == 1) + if (add_css_document_vvvvvxw == 1) { - jQuery('#jform_css').closest('.control-group').show(); + jQuery('#jform_css_document').closest('.control-group').show(); if (jform_vvvvvxwvxw_required) { - updateFieldRequired('css',0); - jQuery('#jform_css').prop('required','required'); - jQuery('#jform_css').attr('aria-required',true); - jQuery('#jform_css').addClass('required'); + updateFieldRequired('css_document',0); + jQuery('#jform_css_document').prop('required','required'); + jQuery('#jform_css_document').attr('aria-required',true); + jQuery('#jform_css_document').addClass('required'); jform_vvvvvxwvxw_required = false; } } else { - jQuery('#jform_css').closest('.control-group').hide(); + jQuery('#jform_css_document').closest('.control-group').hide(); if (!jform_vvvvvxwvxw_required) { - updateFieldRequired('css',1); - jQuery('#jform_css').removeAttr('required'); - jQuery('#jform_css').removeAttr('aria-required'); - jQuery('#jform_css').removeClass('required'); + updateFieldRequired('css_document',1); + jQuery('#jform_css_document').removeAttr('required'); + jQuery('#jform_css_document').removeAttr('aria-required'); + jQuery('#jform_css_document').removeClass('required'); jform_vvvvvxwvxw_required = true; } } } // the vvvvvxx function -function vvvvvxx(add_php_ajax_vvvvvxx) +function vvvvvxx(add_js_document_vvvvvxx) { // set the function logic - if (add_php_ajax_vvvvvxx == 1) + if (add_js_document_vvvvvxx == 1) + { + jQuery('#jform_js_document').closest('.control-group').show(); + if (jform_vvvvvxxvxx_required) + { + updateFieldRequired('js_document',0); + jQuery('#jform_js_document').prop('required','required'); + jQuery('#jform_js_document').attr('aria-required',true); + jQuery('#jform_js_document').addClass('required'); + jform_vvvvvxxvxx_required = false; + } + + } + else + { + jQuery('#jform_js_document').closest('.control-group').hide(); + if (!jform_vvvvvxxvxx_required) + { + updateFieldRequired('js_document',1); + jQuery('#jform_js_document').removeAttr('required'); + jQuery('#jform_js_document').removeAttr('aria-required'); + jQuery('#jform_js_document').removeClass('required'); + jform_vvvvvxxvxx_required = true; + } + } +} + +// the vvvvvxy function +function vvvvvxy(add_css_vvvvvxy) +{ + // set the function logic + if (add_css_vvvvvxy == 1) + { + jQuery('#jform_css').closest('.control-group').show(); + if (jform_vvvvvxyvxy_required) + { + updateFieldRequired('css',0); + jQuery('#jform_css').prop('required','required'); + jQuery('#jform_css').attr('aria-required',true); + jQuery('#jform_css').addClass('required'); + jform_vvvvvxyvxy_required = false; + } + + } + else + { + jQuery('#jform_css').closest('.control-group').hide(); + if (!jform_vvvvvxyvxy_required) + { + updateFieldRequired('css',1); + jQuery('#jform_css').removeAttr('required'); + jQuery('#jform_css').removeAttr('aria-required'); + jQuery('#jform_css').removeClass('required'); + jform_vvvvvxyvxy_required = true; + } + } +} + +// the vvvvvxz function +function vvvvvxz(add_php_ajax_vvvvvxz) +{ + // set the function logic + if (add_php_ajax_vvvvvxz == 1) { jQuery('#jform_ajax_input').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); - if (jform_vvvvvxxvxx_required) + if (jform_vvvvvxzvxz_required) { updateFieldRequired('php_ajaxmethod',0); jQuery('#jform_php_ajaxmethod').prop('required','required'); jQuery('#jform_php_ajaxmethod').attr('aria-required',true); jQuery('#jform_php_ajaxmethod').addClass('required'); - jform_vvvvvxxvxx_required = false; + jform_vvvvvxzvxz_required = false; } } @@ -305,42 +305,42 @@ function vvvvvxx(add_php_ajax_vvvvvxx) { jQuery('#jform_ajax_input').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); - if (!jform_vvvvvxxvxx_required) + if (!jform_vvvvvxzvxz_required) { updateFieldRequired('php_ajaxmethod',1); jQuery('#jform_php_ajaxmethod').removeAttr('required'); jQuery('#jform_php_ajaxmethod').removeAttr('aria-required'); jQuery('#jform_php_ajaxmethod').removeClass('required'); - jform_vvvvvxxvxx_required = true; + jform_vvvvvxzvxz_required = true; } } } -// the vvvvvxy function -function vvvvvxy(add_custom_button_vvvvvxy) +// the vvvvvya function +function vvvvvya(add_custom_button_vvvvvya) { // set the function logic - if (add_custom_button_vvvvvxy == 1) + if (add_custom_button_vvvvvya == 1) { jQuery('#jform_custom_button').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show(); - if (jform_vvvvvxyvxy_required) + if (jform_vvvvvyavya_required) { updateFieldRequired('php_controller',0); jQuery('#jform_php_controller').prop('required','required'); jQuery('#jform_php_controller').attr('aria-required',true); jQuery('#jform_php_controller').addClass('required'); - jform_vvvvvxyvxy_required = false; + jform_vvvvvyavya_required = false; } jQuery('#jform_php_model').closest('.control-group').show(); - if (jform_vvvvvxyvxz_required) + if (jform_vvvvvyavyb_required) { updateFieldRequired('php_model',0); jQuery('#jform_php_model').prop('required','required'); jQuery('#jform_php_model').attr('aria-required',true); jQuery('#jform_php_model').addClass('required'); - jform_vvvvvxyvxz_required = false; + jform_vvvvvyavyb_required = false; } } @@ -348,22 +348,22 @@ function vvvvvxy(add_custom_button_vvvvvxy) { jQuery('#jform_custom_button').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide(); - if (!jform_vvvvvxyvxy_required) + if (!jform_vvvvvyavya_required) { updateFieldRequired('php_controller',1); jQuery('#jform_php_controller').removeAttr('required'); jQuery('#jform_php_controller').removeAttr('aria-required'); jQuery('#jform_php_controller').removeClass('required'); - jform_vvvvvxyvxy_required = true; + jform_vvvvvyavya_required = true; } jQuery('#jform_php_model').closest('.control-group').hide(); - if (!jform_vvvvvxyvxz_required) + if (!jform_vvvvvyavyb_required) { updateFieldRequired('php_model',1); jQuery('#jform_php_model').removeAttr('required'); jQuery('#jform_php_model').removeAttr('aria-required'); jQuery('#jform_php_model').removeClass('required'); - jform_vvvvvxyvxz_required = true; + jform_vvvvvyavyb_required = true; } } } diff --git a/admin/models/forms/snippet.js b/admin/models/forms/snippet.js index 67e3a2b3a..cb98c1184 100644 --- a/admin/models/forms/snippet.js +++ b/admin/models/forms/snippet.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippet.js diff --git a/admin/models/forms/template.js b/admin/models/forms/template.js index c2f7b50ba..cdee20878 100644 --- a/admin/models/forms/template.js +++ b/admin/models/forms/template.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage template.js @@ -24,42 +24,42 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvxzvya_required = false; +jform_vvvvvybvyc_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvxz = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvxz(add_php_view_vvvvvxz); + var add_php_view_vvvvvyb = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvyb(add_php_view_vvvvvyb); }); -// the vvvvvxz function -function vvvvvxz(add_php_view_vvvvvxz) +// the vvvvvyb function +function vvvvvyb(add_php_view_vvvvvyb) { // set the function logic - if (add_php_view_vvvvvxz == 1) + if (add_php_view_vvvvvyb == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvxzvya_required) + if (jform_vvvvvybvyc_required) { updateFieldRequired('php_view',0); jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').addClass('required'); - jform_vvvvvxzvya_required = false; + jform_vvvvvybvyc_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvxzvya_required) + if (!jform_vvvvvybvyc_required) { updateFieldRequired('php_view',1); jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeClass('required'); - jform_vvvvvxzvya_required = true; + jform_vvvvvybvyc_required = true; } } } diff --git a/admin/models/help_document.php b/admin/models/help_document.php index d20fbe630..bfdaa0c40 100644 --- a/admin/models/help_document.php +++ b/admin/models/help_document.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage help_document.php @@ -422,6 +422,26 @@ class ComponentbuilderModelHelp_document extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + { + if (!parent::publish($pks, $value)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/help_documents.php b/admin/models/help_documents.php index dea7d2eb3..79942b7b8 100644 --- a/admin/models/help_documents.php +++ b/admin/models/help_documents.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage help_documents.php diff --git a/admin/models/import.php b/admin/models/import.php index d7ad6c69e..b09566976 100644 --- a/admin/models/import.php +++ b/admin/models/import.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage import.php diff --git a/admin/models/layout.php b/admin/models/layout.php index 6f95c2318..07332b474 100644 --- a/admin/models/layout.php +++ b/admin/models/layout.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage layout.php @@ -428,6 +428,26 @@ class ComponentbuilderModelLayout extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + { + if (!parent::publish($pks, $value)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/layouts.php b/admin/models/layouts.php index cae322153..cb9c5d9e7 100644 --- a/admin/models/layouts.php +++ b/admin/models/layouts.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage layouts.php diff --git a/admin/models/site_view.php b/admin/models/site_view.php index 405c00cd1..f4b7a65a6 100644 --- a/admin/models/site_view.php +++ b/admin/models/site_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_view.php @@ -490,6 +490,26 @@ class ComponentbuilderModelSite_view extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + { + if (!parent::publish($pks, $value)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/site_views.php b/admin/models/site_views.php index 9f7980fbb..6f7309c80 100644 --- a/admin/models/site_views.php +++ b/admin/models/site_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_views.php diff --git a/admin/models/snippet.php b/admin/models/snippet.php index 91b30b521..d8ec1cf4b 100644 --- a/admin/models/snippet.php +++ b/admin/models/snippet.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippet.php @@ -386,6 +386,26 @@ class ComponentbuilderModelSnippet extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + { + if (!parent::publish($pks, $value)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/snippets.php b/admin/models/snippets.php index ea838ef89..19c843208 100644 --- a/admin/models/snippets.php +++ b/admin/models/snippets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippets.php diff --git a/admin/models/template.php b/admin/models/template.php index 89d627b68..c266ee4c4 100644 --- a/admin/models/template.php +++ b/admin/models/template.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage template.php @@ -428,6 +428,26 @@ class ComponentbuilderModelTemplate extends JModelAdmin return true; } + + /** + * Method to change the published state of one or more records. + * + * @param array &$pks A list of the primary keys to change. + * @param integer $value The value of the published state. + * + * @return boolean True on success. + * + * @since 12.2 + */ + public function publish(&$pks, $value = 1) + { + if (!parent::publish($pks, $value)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/templates.php b/admin/models/templates.php index 5fd3ace27..d5956b753 100644 --- a/admin/models/templates.php +++ b/admin/models/templates.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage templates.php diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql index df939ff34..fae47413b 100644 --- a/admin/sql/install.mysql.utf8.sql +++ b/admin/sql/install.mysql.utf8.sql @@ -111,11 +111,13 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` ( `add_javascript_views_file` TINYINT(1) NOT NULL DEFAULT '0', `add_javascript_views_footer` TINYINT(1) NOT NULL DEFAULT '0', `add_php_after_delete` TINYINT(1) NOT NULL DEFAULT '0', + `add_php_after_publish` TINYINT(1) NOT NULL DEFAULT '0', `add_php_ajax` TINYINT(1) NOT NULL DEFAULT '0', `add_php_allowedit` TINYINT(1) NOT NULL DEFAULT '0', `add_php_batchcopy` TINYINT(1) NOT NULL DEFAULT '0', `add_php_batchmove` TINYINT(1) NOT NULL DEFAULT '0', `add_php_before_delete` TINYINT(1) NOT NULL DEFAULT '0', + `add_php_before_publish` TINYINT(1) NOT NULL DEFAULT '0', `add_php_document` TINYINT(1) NOT NULL DEFAULT '0', `add_php_getitem` TINYINT(1) NOT NULL DEFAULT '0', `add_php_getitems` TINYINT(1) NOT NULL DEFAULT '0', @@ -146,11 +148,13 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` ( `name_single` CHAR(64) NOT NULL DEFAULT '', `not_required` INT(1) NOT NULL DEFAULT '0', `php_after_delete` MEDIUMTEXT NOT NULL, + `php_after_publish` MEDIUMTEXT NOT NULL, `php_ajaxmethod` MEDIUMTEXT NOT NULL, `php_allowedit` MEDIUMTEXT NOT NULL, `php_batchcopy` MEDIUMTEXT NOT NULL, `php_batchmove` MEDIUMTEXT NOT NULL, `php_before_delete` MEDIUMTEXT NOT NULL, + `php_before_publish` MEDIUMTEXT NOT NULL, `php_document` MEDIUMTEXT NOT NULL, `php_getitem` MEDIUMTEXT NOT NULL, `php_getitems` MEDIUMTEXT NOT NULL, @@ -190,7 +194,6 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` ( KEY `idx_type` (`type`), KEY `idx_add_fadein` (`add_fadein`), KEY `idx_source` (`source`), - KEY `idx_add_php_getitems` (`add_php_getitems`), KEY `idx_add_css_view` (`add_css_view`), KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`), KEY `idx_add_php_getlistquery` (`add_php_getlistquery`), @@ -202,15 +205,18 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` ( KEY `idx_add_php_batchcopy` (`add_php_batchcopy`), KEY `idx_add_javascript_view_footer` (`add_javascript_view_footer`), KEY `idx_add_php_batchmove` (`add_php_batchmove`), - KEY `idx_add_php_before_delete` (`add_php_before_delete`), + KEY `idx_add_php_before_publish` (`add_php_before_publish`), KEY `idx_add_javascript_views_file` (`add_javascript_views_file`), + KEY `idx_add_php_after_publish` (`add_php_after_publish`), + KEY `idx_add_php_before_delete` (`add_php_before_delete`), + KEY `idx_add_javascript_views_footer` (`add_javascript_views_footer`), KEY `idx_add_php_after_delete` (`add_php_after_delete`), KEY `idx_add_php_document` (`add_php_document`), - KEY `idx_add_javascript_views_footer` (`add_javascript_views_footer`), - KEY `idx_add_sql` (`add_sql`), KEY `idx_add_php_ajax` (`add_php_ajax`), + KEY `idx_add_sql` (`add_sql`), + KEY `idx_add_php_getitem` (`add_php_getitem`), KEY `idx_add_custom_import` (`add_custom_import`), - KEY `idx_add_php_getitem` (`add_php_getitem`) + KEY `idx_add_php_getitems` (`add_php_getitems`) ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` ( diff --git a/admin/tables/admin_view.php b/admin/tables/admin_view.php index 65bd1b0b7..8805fc528 100644 --- a/admin/tables/admin_view.php +++ b/admin/tables/admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_view.php diff --git a/admin/tables/component.php b/admin/tables/component.php index 0a6a33bc0..4184ad12c 100644 --- a/admin/tables/component.php +++ b/admin/tables/component.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage component.php diff --git a/admin/tables/custom_admin_view.php b/admin/tables/custom_admin_view.php index 1c5356e61..02fcfe189 100644 --- a/admin/tables/custom_admin_view.php +++ b/admin/tables/custom_admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_view.php diff --git a/admin/tables/dynamic_get.php b/admin/tables/dynamic_get.php index 22d8aab85..dfb73dd89 100644 --- a/admin/tables/dynamic_get.php +++ b/admin/tables/dynamic_get.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamic_get.php diff --git a/admin/tables/field.php b/admin/tables/field.php index 9525e1f64..95d65154f 100644 --- a/admin/tables/field.php +++ b/admin/tables/field.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage field.php diff --git a/admin/tables/fieldtype.php b/admin/tables/fieldtype.php index cf5d5a0e8..ae16d33fa 100644 --- a/admin/tables/fieldtype.php +++ b/admin/tables/fieldtype.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtype.php diff --git a/admin/tables/help_document.php b/admin/tables/help_document.php index 03aae03de..e2f965e2f 100644 --- a/admin/tables/help_document.php +++ b/admin/tables/help_document.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage help_document.php diff --git a/admin/tables/layout.php b/admin/tables/layout.php index 95a369e94..6f2572f8c 100644 --- a/admin/tables/layout.php +++ b/admin/tables/layout.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage layout.php diff --git a/admin/tables/site_view.php b/admin/tables/site_view.php index d53aa419e..68c88699e 100644 --- a/admin/tables/site_view.php +++ b/admin/tables/site_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_view.php diff --git a/admin/tables/snippet.php b/admin/tables/snippet.php index c450f14aa..608aecc80 100644 --- a/admin/tables/snippet.php +++ b/admin/tables/snippet.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippet.php diff --git a/admin/tables/template.php b/admin/tables/template.php index ed6dd18c4..006bf4091 100644 --- a/admin/tables/template.php +++ b/admin/tables/template.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage template.php diff --git a/admin/views/admin_view/submitbutton.js b/admin/views/admin_view/submitbutton.js index a1b53d95d..f4d135ef7 100644 --- a/admin/views/admin_view/submitbutton.js +++ b/admin/views/admin_view/submitbutton.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage submitbutton.js diff --git a/admin/views/admin_view/tmpl/edit.php b/admin/views/admin_view/tmpl/edit.php index 431ea4438..5dcd849e3 100644 --- a/admin/views/admin_view/tmpl/edit.php +++ b/admin/views/admin_view/tmpl/edit.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage edit.php @@ -426,97 +426,93 @@ jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e) }); -// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvwy function +// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvwy function +jQuery('#jform_add_php_before_publish').on('keyup',function() +{ + var add_php_before_publish_vvvvvwy = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); + vvvvvwy(add_php_before_publish_vvvvvwy); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_before_publish',function (e) +{ + e.preventDefault(); + var add_php_before_publish_vvvvvwy = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); + vvvvvwy(add_php_before_publish_vvvvvwy); + +}); + +// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvwz function +jQuery('#jform_add_php_after_publish').on('keyup',function() +{ + var add_php_after_publish_vvvvvwz = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); + vvvvvwz(add_php_after_publish_vvvvvwz); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_after_publish',function (e) +{ + e.preventDefault(); + var add_php_after_publish_vvvvvwz = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); + vvvvvwz(add_php_after_publish_vvvvvwz); + +}); + +// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxa function jQuery('#jform_add_php_before_delete').on('keyup',function() { - var add_php_before_delete_vvvvvwy = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - vvvvvwy(add_php_before_delete_vvvvvwy); + var add_php_before_delete_vvvvvxa = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + vvvvvxa(add_php_before_delete_vvvvvxa); }); jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e) { e.preventDefault(); - var add_php_before_delete_vvvvvwy = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - vvvvvwy(add_php_before_delete_vvvvvwy); + var add_php_before_delete_vvvvvxa = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + vvvvvxa(add_php_before_delete_vvvvvxa); }); -// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvwz function +// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxb function jQuery('#jform_add_php_after_delete').on('keyup',function() { - var add_php_after_delete_vvvvvwz = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - vvvvvwz(add_php_after_delete_vvvvvwz); + var add_php_after_delete_vvvvvxb = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + vvvvvxb(add_php_after_delete_vvvvvxb); }); jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e) { e.preventDefault(); - var add_php_after_delete_vvvvvwz = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - vvvvvwz(add_php_after_delete_vvvvvwz); + var add_php_after_delete_vvvvvxb = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + vvvvvxb(add_php_after_delete_vvvvvxb); }); -// #jform_add_php_document listeners for add_php_document_vvvvvxa function +// #jform_add_php_document listeners for add_php_document_vvvvvxc function jQuery('#jform_add_php_document').on('keyup',function() { - var add_php_document_vvvvvxa = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvxa(add_php_document_vvvvvxa); + var add_php_document_vvvvvxc = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvxc(add_php_document_vvvvvxc); }); jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) { e.preventDefault(); - var add_php_document_vvvvvxa = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvxa(add_php_document_vvvvvxa); + var add_php_document_vvvvvxc = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvxc(add_php_document_vvvvvxc); }); -// #jform_add_sql listeners for add_sql_vvvvvxb function +// #jform_add_sql listeners for add_sql_vvvvvxd function jQuery('#jform_add_sql').on('keyup',function() { - var add_sql_vvvvvxb = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvxb(add_sql_vvvvvxb); + var add_sql_vvvvvxd = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvxd(add_sql_vvvvvxd); }); jQuery('#adminForm').on('change', '#jform_add_sql',function (e) { e.preventDefault(); - var add_sql_vvvvvxb = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvxb(add_sql_vvvvvxb); - -}); - -// #jform_source listeners for source_vvvvvxc function -jQuery('#jform_source').on('keyup',function() -{ - var source_vvvvvxc = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_vvvvvxc = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvxc(source_vvvvvxc,add_sql_vvvvvxc); - -}); -jQuery('#adminForm').on('change', '#jform_source',function (e) -{ - e.preventDefault(); - var source_vvvvvxc = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_vvvvvxc = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvxc(source_vvvvvxc,add_sql_vvvvvxc); - -}); - -// #jform_add_sql listeners for add_sql_vvvvvxc function -jQuery('#jform_add_sql').on('keyup',function() -{ - var source_vvvvvxc = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_vvvvvxc = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvxc(source_vvvvvxc,add_sql_vvvvvxc); - -}); -jQuery('#adminForm').on('change', '#jform_add_sql',function (e) -{ - e.preventDefault(); - var source_vvvvvxc = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_vvvvvxc = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvxc(source_vvvvvxc,add_sql_vvvvvxc); + var add_sql_vvvvvxd = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvxd(add_sql_vvvvvxd); }); @@ -554,33 +550,67 @@ jQuery('#adminForm').on('change', '#jform_add_sql',function (e) }); -// #jform_add_custom_import listeners for add_custom_import_vvvvvxg function +// #jform_source listeners for source_vvvvvxg function +jQuery('#jform_source').on('keyup',function() +{ + var source_vvvvvxg = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvxg = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvxg(source_vvvvvxg,add_sql_vvvvvxg); + +}); +jQuery('#adminForm').on('change', '#jform_source',function (e) +{ + e.preventDefault(); + var source_vvvvvxg = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvxg = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvxg(source_vvvvvxg,add_sql_vvvvvxg); + +}); + +// #jform_add_sql listeners for add_sql_vvvvvxg function +jQuery('#jform_add_sql').on('keyup',function() +{ + var source_vvvvvxg = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvxg = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvxg(source_vvvvvxg,add_sql_vvvvvxg); + +}); +jQuery('#adminForm').on('change', '#jform_add_sql',function (e) +{ + e.preventDefault(); + var source_vvvvvxg = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvxg = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvxg(source_vvvvvxg,add_sql_vvvvvxg); + +}); + +// #jform_add_custom_import listeners for add_custom_import_vvvvvxi function jQuery('#jform_add_custom_import').on('keyup',function() { - var add_custom_import_vvvvvxg = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); - vvvvvxg(add_custom_import_vvvvvxg); + var add_custom_import_vvvvvxi = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); + vvvvvxi(add_custom_import_vvvvvxi); }); jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e) { e.preventDefault(); - var add_custom_import_vvvvvxg = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); - vvvvvxg(add_custom_import_vvvvvxg); + var add_custom_import_vvvvvxi = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); + vvvvvxi(add_custom_import_vvvvvxi); }); -// #jform_add_custom_import listeners for add_custom_import_vvvvvxh function +// #jform_add_custom_import listeners for add_custom_import_vvvvvxj function jQuery('#jform_add_custom_import').on('keyup',function() { - var add_custom_import_vvvvvxh = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); - vvvvvxh(add_custom_import_vvvvvxh); + var add_custom_import_vvvvvxj = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); + vvvvvxj(add_custom_import_vvvvvxj); }); jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e) { e.preventDefault(); - var add_custom_import_vvvvvxh = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); - vvvvvxh(add_custom_import_vvvvvxh); + var add_custom_import_vvvvvxj = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); + vvvvvxj(add_custom_import_vvvvvxj); }); diff --git a/admin/views/admin_view/view.html.php b/admin/views/admin_view/view.html.php index 1b92668a8..2036c7299 100644 --- a/admin/views/admin_view/view.html.php +++ b/admin/views/admin_view/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php @@ -72,7 +72,7 @@ class ComponentbuilderViewAdmin_view extends JViewLegacy } // Get Linked view data - $this->vxgfields = $this->get('Vxgfields'); + $this->vxifields = $this->get('Vxifields'); // Set the toolbar $this->addToolBar(); diff --git a/admin/views/admin_views/tmpl/default.php b/admin/views/admin_views/tmpl/default.php index 9f56e346c..d00c2b5fe 100644 --- a/admin/views/admin_views/tmpl/default.php +++ b/admin/views/admin_views/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/admin_views/tmpl/default_batch_body.php b/admin/views/admin_views/tmpl/default_batch_body.php index 5d1158909..0f57b00c6 100644 --- a/admin/views/admin_views/tmpl/default_batch_body.php +++ b/admin/views/admin_views/tmpl/default_batch_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_body.php diff --git a/admin/views/admin_views/tmpl/default_batch_footer.php b/admin/views/admin_views/tmpl/default_batch_footer.php index 2f39db1ab..98fd34cfc 100644 --- a/admin/views/admin_views/tmpl/default_batch_footer.php +++ b/admin/views/admin_views/tmpl/default_batch_footer.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_footer.php diff --git a/admin/views/admin_views/tmpl/default_body.php b/admin/views/admin_views/tmpl/default_body.php index e867d8537..776c48023 100644 --- a/admin/views/admin_views/tmpl/default_body.php +++ b/admin/views/admin_views/tmpl/default_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_body.php diff --git a/admin/views/admin_views/tmpl/default_foot.php b/admin/views/admin_views/tmpl/default_foot.php index f97c171f4..bd735d0be 100644 --- a/admin/views/admin_views/tmpl/default_foot.php +++ b/admin/views/admin_views/tmpl/default_foot.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_foot.php diff --git a/admin/views/admin_views/tmpl/default_head.php b/admin/views/admin_views/tmpl/default_head.php index 4e9ecb846..f640d10e5 100644 --- a/admin/views/admin_views/tmpl/default_head.php +++ b/admin/views/admin_views/tmpl/default_head.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_head.php diff --git a/admin/views/admin_views/tmpl/default_toolbar.php b/admin/views/admin_views/tmpl/default_toolbar.php index 8c27e513a..08ccab204 100644 --- a/admin/views/admin_views/tmpl/default_toolbar.php +++ b/admin/views/admin_views/tmpl/default_toolbar.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_toolbar.php diff --git a/admin/views/admin_views/view.html.php b/admin/views/admin_views/view.html.php index eb714df71..22af515f1 100644 --- a/admin/views/admin_views/view.html.php +++ b/admin/views/admin_views/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/compiler/tmpl/default.php b/admin/views/compiler/tmpl/default.php index 14266e3f6..d2be6dc20 100644 --- a/admin/views/compiler/tmpl/default.php +++ b/admin/views/compiler/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/compiler/view.html.php b/admin/views/compiler/view.html.php index 1570e952f..1af345927 100644 --- a/admin/views/compiler/view.html.php +++ b/admin/views/compiler/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/component/submitbutton.js b/admin/views/component/submitbutton.js index 5aaaee160..3446a4611 100644 --- a/admin/views/component/submitbutton.js +++ b/admin/views/component/submitbutton.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage submitbutton.js diff --git a/admin/views/component/tmpl/edit.php b/admin/views/component/tmpl/edit.php index 9bdc013f4..fe1665f35 100644 --- a/admin/views/component/tmpl/edit.php +++ b/admin/views/component/tmpl/edit.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage edit.php diff --git a/admin/views/component/view.html.php b/admin/views/component/view.html.php index 04de3ca61..c4b13654d 100644 --- a/admin/views/component/view.html.php +++ b/admin/views/component/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/componentbuilder/tmpl/default.php b/admin/views/componentbuilder/tmpl/default.php index 5051c05cf..4a9954183 100644 --- a/admin/views/componentbuilder/tmpl/default.php +++ b/admin/views/componentbuilder/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/componentbuilder/tmpl/default_main.php b/admin/views/componentbuilder/tmpl/default_main.php index ff166e725..93bfefd73 100644 --- a/admin/views/componentbuilder/tmpl/default_main.php +++ b/admin/views/componentbuilder/tmpl/default_main.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_main.php diff --git a/admin/views/componentbuilder/tmpl/default_vdm.php b/admin/views/componentbuilder/tmpl/default_vdm.php index a1ef26727..75440a050 100644 --- a/admin/views/componentbuilder/tmpl/default_vdm.php +++ b/admin/views/componentbuilder/tmpl/default_vdm.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_vdm.php diff --git a/admin/views/componentbuilder/view.html.php b/admin/views/componentbuilder/view.html.php index 1982c0b98..6bc19ff8f 100644 --- a/admin/views/componentbuilder/view.html.php +++ b/admin/views/componentbuilder/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/components/tmpl/default.php b/admin/views/components/tmpl/default.php index 2066c2c85..4a29c1c98 100644 --- a/admin/views/components/tmpl/default.php +++ b/admin/views/components/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/components/tmpl/default_batch_body.php b/admin/views/components/tmpl/default_batch_body.php index 805bf9ce0..dc81979a7 100644 --- a/admin/views/components/tmpl/default_batch_body.php +++ b/admin/views/components/tmpl/default_batch_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_body.php diff --git a/admin/views/components/tmpl/default_batch_footer.php b/admin/views/components/tmpl/default_batch_footer.php index 2714c638a..f4ca74fee 100644 --- a/admin/views/components/tmpl/default_batch_footer.php +++ b/admin/views/components/tmpl/default_batch_footer.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_footer.php diff --git a/admin/views/components/tmpl/default_body.php b/admin/views/components/tmpl/default_body.php index 77b1670d1..8d33a6ef4 100644 --- a/admin/views/components/tmpl/default_body.php +++ b/admin/views/components/tmpl/default_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_body.php diff --git a/admin/views/components/tmpl/default_foot.php b/admin/views/components/tmpl/default_foot.php index f9c6a3b09..c593e2020 100644 --- a/admin/views/components/tmpl/default_foot.php +++ b/admin/views/components/tmpl/default_foot.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_foot.php diff --git a/admin/views/components/tmpl/default_head.php b/admin/views/components/tmpl/default_head.php index b2739f240..8d4acc62f 100644 --- a/admin/views/components/tmpl/default_head.php +++ b/admin/views/components/tmpl/default_head.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_head.php diff --git a/admin/views/components/tmpl/default_toolbar.php b/admin/views/components/tmpl/default_toolbar.php index 5f12a25e9..3f272b5ed 100644 --- a/admin/views/components/tmpl/default_toolbar.php +++ b/admin/views/components/tmpl/default_toolbar.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_toolbar.php diff --git a/admin/views/components/view.html.php b/admin/views/components/view.html.php index 727642f79..60e405333 100644 --- a/admin/views/components/view.html.php +++ b/admin/views/components/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/custom_admin_view/submitbutton.js b/admin/views/custom_admin_view/submitbutton.js index 8634cd7fd..270714978 100644 --- a/admin/views/custom_admin_view/submitbutton.js +++ b/admin/views/custom_admin_view/submitbutton.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage submitbutton.js diff --git a/admin/views/custom_admin_view/tmpl/edit.php b/admin/views/custom_admin_view/tmpl/edit.php index 7c17a733b..d90bac2d4 100644 --- a/admin/views/custom_admin_view/tmpl/edit.php +++ b/admin/views/custom_admin_view/tmpl/edit.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.18 - @build 3rd September, 2016 + @version 2.1.19 + @build 7th September, 2016 @created 30th April, 2015 @package Component Builder @subpackage edit.php @@ -151,123 +151,123 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');