From f03c6f52043ed92ae57a4896a3e715f73a2d90d6 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Wed, 12 Jun 2019 22:36:05 +0200 Subject: [PATCH] Added an after cancel custom code area also in connection with gh-418 in the admin view. --- README.md | 10 +- admin/README.txt | 10 +- admin/compiler/joomla_3/JControllerForm.php | 2 +- admin/helpers/compiler/a_Get.php | 2 +- admin/helpers/compiler/f_Infusion.php | 3 + .../en-GB/en-GB.com_componentbuilder.ini | 5 + admin/layouts/admin_view/php_fullwidth.php | 2 + admin/layouts/fieldtype/fields_fullwidth.php | 2 +- .../server/linked_components_fullwidth.php | 2 +- admin/models/admin_view.php | 216 +-- admin/models/admin_views.php | 86 +- admin/models/fieldtype.php | 12 +- admin/models/forms/admin_view.js | 456 +++--- admin/models/forms/admin_view.xml | 1217 ++++++++-------- admin/models/forms/custom_admin_view.js | 354 ++--- admin/models/forms/custom_code.js | 76 +- admin/models/forms/dynamic_get.js | 1252 ++++++++--------- admin/models/forms/field.js | 428 +++--- admin/models/forms/fieldtype.js | 632 ++++----- admin/models/forms/help_document.js | 234 +-- admin/models/forms/layout.js | 20 +- admin/models/forms/library.js | 188 +-- admin/models/forms/server.js | 560 ++++---- admin/models/forms/site_view.js | 350 ++--- admin/models/forms/template.js | 20 +- admin/models/server.php | 2 +- admin/sql/install.mysql.utf8.sql | 33 +- admin/sql/updates/mysql/2.9.18.sql | 4 +- admin/sql/updates/mysql/2.9.19.sql | 3 + admin/views/admin_view/tmpl/edit.php | 209 +-- admin/views/admin_views/view.html.php | 132 +- admin/views/custom_admin_view/tmpl/edit.php | 100 +- admin/views/custom_code/tmpl/edit.php | 114 +- admin/views/dynamic_get/tmpl/edit.php | 336 ++--- admin/views/field/tmpl/edit.php | 132 +- admin/views/fieldtype/tmpl/edit.php | 412 +++--- admin/views/fieldtype/view.html.php | 2 +- admin/views/help_document/tmpl/edit.php | 54 +- admin/views/layout/tmpl/edit.php | 10 +- admin/views/library/tmpl/edit.php | 40 +- admin/views/server/tmpl/edit.php | 156 +- admin/views/server/view.html.php | 2 +- admin/views/site_view/tmpl/edit.php | 110 +- admin/views/template/tmpl/edit.php | 10 +- componentbuilder.xml | 4 +- componentbuilder_update_server.xml | 19 +- script.php | 10 +- 47 files changed, 4081 insertions(+), 3952 deletions(-) create mode 100644 admin/sql/updates/mysql/2.9.19.sql diff --git a/README.md b/README.md index 088ed10a2..e757a3493 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.19) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.20) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -147,12 +147,12 @@ TODO + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 + *Last Build*: 12th June, 2019 -+ *Version*: 2.9.19 ++ *Version*: 2.9.20 + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **206728** -+ *Field count*: **1138** -+ *File count*: **1345** ++ *Line count*: **206854** ++ *Field count*: **1140** ++ *File count*: **1346** + *Folder count*: **209** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com). diff --git a/admin/README.txt b/admin/README.txt index 088ed10a2..e757a3493 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.19) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.20) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -147,12 +147,12 @@ TODO + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 + *Last Build*: 12th June, 2019 -+ *Version*: 2.9.19 ++ *Version*: 2.9.20 + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **206728** -+ *Field count*: **1138** -+ *File count*: **1345** ++ *Line count*: **206854** ++ *Field count*: **1140** ++ *File count*: **1346** + *Folder count*: **209** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com). diff --git a/admin/compiler/joomla_3/JControllerForm.php b/admin/compiler/joomla_3/JControllerForm.php index d5700c152..3f5e8f1c6 100644 --- a/admin/compiler/joomla_3/JControllerForm.php +++ b/admin/compiler/joomla_3/JControllerForm.php @@ -177,7 +177,7 @@ class ###Component###Controller###View### extends JControllerForm 'index.php?option=' . $this->option . $redirect, false ) ); - } + }###JCONTROLLERFORM_AFTERCANCEL### return $cancel; } diff --git a/admin/helpers/compiler/a_Get.php b/admin/helpers/compiler/a_Get.php index 48fe02d08..86006c249 100644 --- a/admin/helpers/compiler/a_Get.php +++ b/admin/helpers/compiler/a_Get.php @@ -2046,7 +2046,7 @@ class Get } } // add_php - $addArrayP = array('php_getitem', 'php_before_save', 'php_save', 'php_getform', 'php_postsavehook', 'php_getitems', 'php_getitems_after_all', 'php_getlistquery', 'php_allowadd', 'php_allowedit', 'php_before_cancel', 'php_before_delete', 'php_after_delete', 'php_before_publish', 'php_after_publish', 'php_batchcopy', 'php_batchmove', 'php_document'); + $addArrayP = array('php_getitem', 'php_before_save', 'php_save', 'php_getform', 'php_postsavehook', 'php_getitems', 'php_getitems_after_all', 'php_getlistquery', 'php_allowadd', 'php_allowedit', 'php_before_cancel', 'php_after_cancel', '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/f_Infusion.php b/admin/helpers/compiler/f_Infusion.php index cfe129b60..faee0ef9b 100644 --- a/admin/helpers/compiler/f_Infusion.php +++ b/admin/helpers/compiler/f_Infusion.php @@ -534,6 +534,9 @@ class Infusion extends Interpretation // JCONTROLLERFORM_BEFORECANCEL <<>> $this->fileContentDynamic[$viewName_single][$this->hhh . 'JCONTROLLERFORM_BEFORECANCEL' . $this->hhh] = $this->getCustomScriptBuilder('php_before_cancel', $viewName_single, PHP_EOL, null, null, ''); + // JCONTROLLERFORM_AFTERCANCEL <<>> + $this->fileContentDynamic[$viewName_single][$this->hhh . 'JCONTROLLERFORM_AFTERCANCEL' . $this->hhh] = $this->getCustomScriptBuilder('php_after_cancel', $viewName_single, PHP_EOL, null, null, ''); + // JCONTROLLERFORM_ALLOWEDIT <<>> $this->fileContentDynamic[$viewName_single][$this->hhh . 'JCONTROLLERFORM_ALLOWEDIT' . $this->hhh] = $this->setJcontrollerAllowEdit($viewName_single, $viewName_list); diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini index ca9b1b4d1..86fb778ea 100644 --- a/admin/language/en-GB/en-GB.com_componentbuilder.ini +++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini @@ -493,6 +493,8 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL="Add JavaScript COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_NEW_BUTTON="Add New Button" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_NEW_CLOSE_BUTTON="Add New & Close Button" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_NEW_NEW_CLOSE_BUTTON="Add New + New & Close Button" +COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_CANCEL="Add Php After Cancel" +COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_CANCEL_LABEL="Add PHP (script - after cancel)" 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" @@ -971,6 +973,9 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_PERMISSION="Permissions" COM_COMPONENTBUILDER_ADMIN_VIEW_PHONE="Phone" COM_COMPONENTBUILDER_ADMIN_VIEW_PHONE_TWO="Phone 2" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP="PHP" +COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_CANCEL="Php After Cancel" +COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_CANCEL_DESCRIPTION="Add PHP Here that should run in the Cancel Method after cancel. Do not add the php tags." +COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_CANCEL_LABEL="PHP Cancel Method after
(string) $key is the name of the primary key of the URL variable." COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE="Php After Delete" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION="Add PHP Here that should run in the delete Method after items were deleted. Do not add the php tags." COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL="PHP delete Method after
Target (array) $pks is an array of record primary keys." diff --git a/admin/layouts/admin_view/php_fullwidth.php b/admin/layouts/admin_view/php_fullwidth.php index 32e231549..9d4ee2be4 100644 --- a/admin/layouts/admin_view/php_fullwidth.php +++ b/admin/layouts/admin_view/php_fullwidth.php @@ -40,6 +40,8 @@ $fields = $displayData->get('fields') ?: array( 'php_allowedit', 'add_php_before_cancel', 'php_before_cancel', + 'add_php_after_cancel', + 'php_after_cancel', 'add_php_batchcopy', 'php_batchcopy', 'add_php_batchmove', diff --git a/admin/layouts/fieldtype/fields_fullwidth.php b/admin/layouts/fieldtype/fields_fullwidth.php index be5611b20..87f383cbc 100644 --- a/admin/layouts/fieldtype/fields_fullwidth.php +++ b/admin/layouts/fieldtype/fields_fullwidth.php @@ -13,7 +13,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->waqfields; +$items = $displayData->warfields; $user = JFactory::getUser(); $id = $displayData->item->id; // set the edit URL diff --git a/admin/layouts/server/linked_components_fullwidth.php b/admin/layouts/server/linked_components_fullwidth.php index 14a1587a7..859a76e18 100644 --- a/admin/layouts/server/linked_components_fullwidth.php +++ b/admin/layouts/server/linked_components_fullwidth.php @@ -13,7 +13,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->wbalinked_components; +$items = $displayData->wbblinked_components; $user = JFactory::getUser(); $id = $displayData->item->id; // set the edit URL diff --git a/admin/models/admin_view.php b/admin/models/admin_view.php index ae0ec90f7..c9eee9307 100644 --- a/admin/models/admin_view.php +++ b/admin/models/admin_view.php @@ -86,6 +86,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->metadata = $registry->toArray(); } + if (!empty($item->php_import_headers)) + { + // base64 Decode php_import_headers. + $item->php_import_headers = base64_decode($item->php_import_headers); + } + if (!empty($item->html_import_view)) { // base64 Decode html_import_view. @@ -98,12 +104,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->php_import_save = base64_decode($item->php_import_save); } - if (!empty($item->php_import_headers)) - { - // base64 Decode php_import_headers. - $item->php_import_headers = base64_decode($item->php_import_headers); - } - if (!empty($item->php_getitems_after_all)) { // base64 Decode php_getitems_after_all. @@ -182,10 +182,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->php_before_cancel = base64_decode($item->php_before_cancel); } - if (!empty($item->php_batchcopy)) + if (!empty($item->php_after_cancel)) { - // base64 Decode php_batchcopy. - $item->php_batchcopy = base64_decode($item->php_batchcopy); + // base64 Decode php_after_cancel. + $item->php_after_cancel = base64_decode($item->php_after_cancel); } if (!empty($item->javascript_views_file)) @@ -194,24 +194,30 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->javascript_views_file = base64_decode($item->javascript_views_file); } + if (!empty($item->php_batchcopy)) + { + // base64 Decode php_batchcopy. + $item->php_batchcopy = base64_decode($item->php_batchcopy); + } + if (!empty($item->php_batchmove)) { // base64 Decode php_batchmove. $item->php_batchmove = base64_decode($item->php_batchmove); } - if (!empty($item->php_before_publish)) - { - // base64 Decode php_before_publish. - $item->php_before_publish = base64_decode($item->php_before_publish); - } - if (!empty($item->javascript_views_footer)) { // base64 Decode javascript_views_footer. $item->javascript_views_footer = base64_decode($item->javascript_views_footer); } + 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_after_publish)) { // base64 Decode php_after_publish. @@ -224,22 +230,16 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->php_before_delete = base64_decode($item->php_before_delete); } - 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_controller)) { // base64 Decode php_controller. $item->php_controller = base64_decode($item->php_controller); } - if (!empty($item->php_document)) + if (!empty($item->php_after_delete)) { - // base64 Decode php_document. - $item->php_document = base64_decode($item->php_document); + // base64 Decode php_after_delete. + $item->php_after_delete = base64_decode($item->php_after_delete); } if (!empty($item->php_model)) @@ -248,6 +248,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->php_model = base64_decode($item->php_model); } + if (!empty($item->php_document)) + { + // base64 Decode php_document. + $item->php_document = base64_decode($item->php_document); + } + if (!empty($item->php_controller_list)) { // base64 Decode php_controller_list. @@ -260,52 +266,60 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->php_model_list = base64_decode($item->php_model_list); } - if (!empty($item->sql)) - { - // base64 Decode sql. - $item->sql = base64_decode($item->sql); - } - if (!empty($item->php_ajaxmethod)) { // base64 Decode php_ajaxmethod. $item->php_ajaxmethod = base64_decode($item->php_ajaxmethod); } + if (!empty($item->sql)) + { + // base64 Decode sql. + $item->sql = base64_decode($item->sql); + } + if (!empty($item->php_import_display)) { // base64 Decode php_import_display. $item->php_import_display = base64_decode($item->php_import_display); } - if (!empty($item->php_import)) - { - // base64 Decode php_import. - $item->php_import = base64_decode($item->php_import); - } - if (!empty($item->php_getitem)) { // base64 Decode php_getitem. $item->php_getitem = base64_decode($item->php_getitem); } + if (!empty($item->php_import)) + { + // base64 Decode php_import. + $item->php_import = base64_decode($item->php_import); + } + 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_import_ext)) { // base64 Decode php_import_ext. $item->php_import_ext = base64_decode($item->php_import_ext); } - if (!empty($item->php_getitems)) + if (!empty($item->addtables)) { - // base64 Decode php_getitems. - $item->php_getitems = base64_decode($item->php_getitems); + // Convert the addtables field to an array. + $addtables = new Registry; + $addtables->loadString($item->addtables); + $item->addtables = $addtables->toArray(); } if (!empty($item->addpermissions)) @@ -332,14 +346,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->addlinked_views = $addlinked_views->toArray(); } - if (!empty($item->addtables)) - { - // Convert the addtables field to an array. - $addtables = new Registry; - $addtables->loadString($item->addtables); - $item->addtables = $addtables->toArray(); - } - if (!empty($item->alias_builder)) { // Convert the alias_builder field to an array. @@ -1244,6 +1250,19 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['system_name'] = $data['name_single']; } + // Set the addtables items to data. + if (isset($data['addtables']) && is_array($data['addtables'])) + { + $addtables = new JRegistry; + $addtables->loadArray($data['addtables']); + $data['addtables'] = (string) $addtables; + } + elseif (!isset($data['addtables'])) + { + // Set the empty addtables to data + $data['addtables'] = ''; + } + // Set the addpermissions items to data. if (isset($data['addpermissions']) && is_array($data['addpermissions'])) { @@ -1283,19 +1302,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['addlinked_views'] = ''; } - // Set the addtables items to data. - if (isset($data['addtables']) && is_array($data['addtables'])) - { - $addtables = new JRegistry; - $addtables->loadArray($data['addtables']); - $data['addtables'] = (string) $addtables; - } - elseif (!isset($data['addtables'])) - { - // Set the empty addtables to data - $data['addtables'] = ''; - } - // Set the alias_builder items to data. if (isset($data['alias_builder']) && is_array($data['alias_builder'])) { @@ -1335,6 +1341,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['ajax_input'] = ''; } + // Set the php_import_headers string to base64 string. + if (isset($data['php_import_headers'])) + { + $data['php_import_headers'] = base64_encode($data['php_import_headers']); + } + // Set the html_import_view string to base64 string. if (isset($data['html_import_view'])) { @@ -1347,12 +1359,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['php_import_save'] = base64_encode($data['php_import_save']); } - // Set the php_import_headers string to base64 string. - if (isset($data['php_import_headers'])) - { - $data['php_import_headers'] = base64_encode($data['php_import_headers']); - } - // Set the php_getitems_after_all string to base64 string. if (isset($data['php_getitems_after_all'])) { @@ -1431,10 +1437,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['php_before_cancel'] = base64_encode($data['php_before_cancel']); } - // Set the php_batchcopy string to base64 string. - if (isset($data['php_batchcopy'])) + // Set the php_after_cancel string to base64 string. + if (isset($data['php_after_cancel'])) { - $data['php_batchcopy'] = base64_encode($data['php_batchcopy']); + $data['php_after_cancel'] = base64_encode($data['php_after_cancel']); } // Set the javascript_views_file string to base64 string. @@ -1443,24 +1449,30 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['javascript_views_file'] = base64_encode($data['javascript_views_file']); } + // Set the php_batchcopy string to base64 string. + if (isset($data['php_batchcopy'])) + { + $data['php_batchcopy'] = base64_encode($data['php_batchcopy']); + } + // Set the php_batchmove string to base64 string. if (isset($data['php_batchmove'])) { $data['php_batchmove'] = base64_encode($data['php_batchmove']); } - // 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 javascript_views_footer string to base64 string. if (isset($data['javascript_views_footer'])) { $data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']); } + // 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_after_publish string to base64 string. if (isset($data['php_after_publish'])) { @@ -1473,22 +1485,16 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['php_before_delete'] = base64_encode($data['php_before_delete']); } - // 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_controller string to base64 string. if (isset($data['php_controller'])) { $data['php_controller'] = base64_encode($data['php_controller']); } - // Set the php_document string to base64 string. - if (isset($data['php_document'])) + // Set the php_after_delete string to base64 string. + if (isset($data['php_after_delete'])) { - $data['php_document'] = base64_encode($data['php_document']); + $data['php_after_delete'] = base64_encode($data['php_after_delete']); } // Set the php_model string to base64 string. @@ -1497,6 +1503,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['php_model'] = base64_encode($data['php_model']); } + // Set the php_document string to base64 string. + if (isset($data['php_document'])) + { + $data['php_document'] = base64_encode($data['php_document']); + } + // Set the php_controller_list string to base64 string. if (isset($data['php_controller_list'])) { @@ -1509,52 +1521,52 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $data['php_model_list'] = base64_encode($data['php_model_list']); } - // Set the sql string to base64 string. - if (isset($data['sql'])) - { - $data['sql'] = base64_encode($data['sql']); - } - // Set the php_ajaxmethod string to base64 string. if (isset($data['php_ajaxmethod'])) { $data['php_ajaxmethod'] = base64_encode($data['php_ajaxmethod']); } + // Set the sql string to base64 string. + if (isset($data['sql'])) + { + $data['sql'] = base64_encode($data['sql']); + } + // Set the php_import_display string to base64 string. if (isset($data['php_import_display'])) { $data['php_import_display'] = base64_encode($data['php_import_display']); } - // Set the php_import string to base64 string. - if (isset($data['php_import'])) - { - $data['php_import'] = base64_encode($data['php_import']); - } - // Set the php_getitem string to base64 string. if (isset($data['php_getitem'])) { $data['php_getitem'] = base64_encode($data['php_getitem']); } + // Set the php_import string to base64 string. + if (isset($data['php_import'])) + { + $data['php_import'] = base64_encode($data['php_import']); + } + // 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_import_ext string to base64 string. - if (isset($data['php_import_ext'])) - { - $data['php_import_ext'] = base64_encode($data['php_import_ext']); - } - // Set the php_getitems string to base64 string. if (isset($data['php_getitems'])) { $data['php_getitems'] = base64_encode($data['php_getitems']); + } + + // Set the php_import_ext string to base64 string. + if (isset($data['php_import_ext'])) + { + $data['php_import_ext'] = base64_encode($data['php_import_ext']); } // Set the Params Items to data diff --git a/admin/models/admin_views.php b/admin/models/admin_views.php index d45f5217b..a39053ef8 100644 --- a/admin/models/admin_views.php +++ b/admin/models/admin_views.php @@ -31,8 +31,8 @@ class ComponentbuilderModelAdmin_views extends JModelList 'a.name_single','name_single', 'a.short_description','short_description', 'a.add_fadein','add_fadein', - 'a.type','type', 'a.add_custom_import','add_custom_import', + 'a.type','type', 'a.add_custom_button','add_custom_button', 'a.add_php_ajax','add_php_ajax' ); @@ -67,12 +67,12 @@ class ComponentbuilderModelAdmin_views extends JModelList $add_fadein = $this->getUserStateFromRequest($this->context . '.filter.add_fadein', 'filter_add_fadein'); $this->setState('filter.add_fadein', $add_fadein); - $type = $this->getUserStateFromRequest($this->context . '.filter.type', 'filter_type'); - $this->setState('filter.type', $type); - $add_custom_import = $this->getUserStateFromRequest($this->context . '.filter.add_custom_import', 'filter_add_custom_import'); $this->setState('filter.add_custom_import', $add_custom_import); + $type = $this->getUserStateFromRequest($this->context . '.filter.type', 'filter_type'); + $this->setState('filter.type', $type); + $add_custom_button = $this->getUserStateFromRequest($this->context . '.filter.add_custom_button', 'filter_add_custom_button'); $this->setState('filter.add_custom_button', $add_custom_button); @@ -136,10 +136,10 @@ class ComponentbuilderModelAdmin_views extends JModelList { // convert add_fadein $item->add_fadein = $this->selectionTranslation($item->add_fadein, 'add_fadein'); - // convert type - $item->type = $this->selectionTranslation($item->type, 'type'); // convert add_custom_import $item->add_custom_import = $this->selectionTranslation($item->add_custom_import, 'add_custom_import'); + // convert type + $item->type = $this->selectionTranslation($item->type, 'type'); // convert add_custom_button $item->add_custom_button = $this->selectionTranslation($item->add_custom_button, 'add_custom_button'); // convert add_php_ajax @@ -172,19 +172,6 @@ class ComponentbuilderModelAdmin_views extends JModelList return $add_fadeinArray[$value]; } } - // Array of type language strings - if ($name === 'type') - { - $typeArray = array( - 1 => 'COM_COMPONENTBUILDER_ADMIN_VIEW_READWRITE', - 2 => 'COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY' - ); - // Now check if value is found in this array - if (isset($typeArray[$value]) && ComponentbuilderHelper::checkString($typeArray[$value])) - { - return $typeArray[$value]; - } - } // Array of add_custom_import language strings if ($name === 'add_custom_import') { @@ -198,6 +185,19 @@ class ComponentbuilderModelAdmin_views extends JModelList return $add_custom_importArray[$value]; } } + // Array of type language strings + if ($name === 'type') + { + $typeArray = array( + 1 => 'COM_COMPONENTBUILDER_ADMIN_VIEW_READWRITE', + 2 => 'COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY' + ); + // Now check if value is found in this array + if (isset($typeArray[$value]) && ComponentbuilderHelper::checkString($typeArray[$value])) + { + return $typeArray[$value]; + } + } // Array of add_custom_button language strings if ($name === 'add_custom_button') { @@ -282,7 +282,7 @@ class ComponentbuilderModelAdmin_views extends JModelList else { $search = $db->quote('%' . $db->escape($search) . '%'); - $query->where('(a.system_name LIKE '.$search.' OR a.name_single LIKE '.$search.' OR a.short_description LIKE '.$search.' OR a.description LIKE '.$search.' OR a.type LIKE '.$search.' OR a.name_list LIKE '.$search.')'); + $query->where('(a.system_name LIKE '.$search.' OR a.name_single LIKE '.$search.' OR a.short_description LIKE '.$search.' OR a.name_list LIKE '.$search.' OR a.description LIKE '.$search.' OR a.type LIKE '.$search.')'); } } @@ -291,16 +291,16 @@ class ComponentbuilderModelAdmin_views extends JModelList { $query->where('a.add_fadein = ' . $db->quote($db->escape($add_fadein))); } - // Filter by Type. - if ($type = $this->getState('filter.type')) - { - $query->where('a.type = ' . $db->quote($db->escape($type))); - } // Filter by Add_custom_import. if ($add_custom_import = $this->getState('filter.add_custom_import')) { $query->where('a.add_custom_import = ' . $db->quote($db->escape($add_custom_import))); } + // Filter by Type. + if ($type = $this->getState('filter.type')) + { + $query->where('a.type = ' . $db->quote($db->escape($type))); + } // Filter by Add_custom_button. if ($add_custom_button = $this->getState('filter.add_custom_button')) { @@ -376,12 +376,12 @@ class ComponentbuilderModelAdmin_views extends JModelList continue; } + // decode php_import_headers + $item->php_import_headers = base64_decode($item->php_import_headers); // 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_import_headers - $item->php_import_headers = base64_decode($item->php_import_headers); // decode php_getitems_after_all $item->php_getitems_after_all = base64_decode($item->php_getitems_after_all); // decode php_getlistquery @@ -408,48 +408,50 @@ class ComponentbuilderModelAdmin_views extends JModelList $item->javascript_view_footer = base64_decode($item->javascript_view_footer); // decode php_before_cancel $item->php_before_cancel = base64_decode($item->php_before_cancel); - // decode php_batchcopy - $item->php_batchcopy = base64_decode($item->php_batchcopy); + // decode php_after_cancel + $item->php_after_cancel = base64_decode($item->php_after_cancel); // decode javascript_views_file $item->javascript_views_file = base64_decode($item->javascript_views_file); + // decode php_batchcopy + $item->php_batchcopy = base64_decode($item->php_batchcopy); // decode php_batchmove $item->php_batchmove = base64_decode($item->php_batchmove); - // decode php_before_publish - $item->php_before_publish = base64_decode($item->php_before_publish); // decode javascript_views_footer $item->javascript_views_footer = base64_decode($item->javascript_views_footer); + // decode php_before_publish + $item->php_before_publish = base64_decode($item->php_before_publish); // decode php_after_publish $item->php_after_publish = base64_decode($item->php_after_publish); // decode php_before_delete $item->php_before_delete = base64_decode($item->php_before_delete); - // decode php_after_delete - $item->php_after_delete = base64_decode($item->php_after_delete); // decode php_controller $item->php_controller = base64_decode($item->php_controller); - // decode php_document - $item->php_document = base64_decode($item->php_document); + // decode php_after_delete + $item->php_after_delete = base64_decode($item->php_after_delete); // decode php_model $item->php_model = base64_decode($item->php_model); + // decode php_document + $item->php_document = base64_decode($item->php_document); // decode php_controller_list $item->php_controller_list = base64_decode($item->php_controller_list); // decode php_model_list $item->php_model_list = base64_decode($item->php_model_list); - // decode sql - $item->sql = base64_decode($item->sql); // decode php_ajaxmethod $item->php_ajaxmethod = base64_decode($item->php_ajaxmethod); + // decode sql + $item->sql = base64_decode($item->sql); // decode php_import_display $item->php_import_display = base64_decode($item->php_import_display); - // decode php_import - $item->php_import = base64_decode($item->php_import); // decode php_getitem $item->php_getitem = base64_decode($item->php_getitem); + // decode php_import + $item->php_import = base64_decode($item->php_import); // decode php_import_setdata $item->php_import_setdata = base64_decode($item->php_import_setdata); - // decode php_import_ext - $item->php_import_ext = base64_decode($item->php_import_ext); // decode php_getitems $item->php_getitems = base64_decode($item->php_getitems); + // decode php_import_ext + $item->php_import_ext = base64_decode($item->php_import_ext); // unset the values we don't want exported. unset($item->asset_id); unset($item->checked_out); @@ -514,8 +516,8 @@ class ComponentbuilderModelAdmin_views extends JModelList $id .= ':' . $this->getState('filter.name_single'); $id .= ':' . $this->getState('filter.short_description'); $id .= ':' . $this->getState('filter.add_fadein'); - $id .= ':' . $this->getState('filter.type'); $id .= ':' . $this->getState('filter.add_custom_import'); + $id .= ':' . $this->getState('filter.type'); $id .= ':' . $this->getState('filter.add_custom_button'); $id .= ':' . $this->getState('filter.add_php_ajax'); diff --git a/admin/models/fieldtype.php b/admin/models/fieldtype.php index 23c476ebb..563b5181f 100644 --- a/admin/models/fieldtype.php +++ b/admin/models/fieldtype.php @@ -155,7 +155,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getWaqfields() + public function getWarfields() { // Get the user object. $user = JFactory::getUser(); @@ -237,13 +237,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin foreach ($items as $nr => &$item) { // convert datatype - $item->datatype = $this->selectionTranslationWaqfields($item->datatype, 'datatype'); + $item->datatype = $this->selectionTranslationWarfields($item->datatype, 'datatype'); // convert indexes - $item->indexes = $this->selectionTranslationWaqfields($item->indexes, 'indexes'); + $item->indexes = $this->selectionTranslationWarfields($item->indexes, 'indexes'); // convert null_switch - $item->null_switch = $this->selectionTranslationWaqfields($item->null_switch, 'null_switch'); + $item->null_switch = $this->selectionTranslationWarfields($item->null_switch, 'null_switch'); // convert store - $item->store = $this->selectionTranslationWaqfields($item->store, 'store'); + $item->store = $this->selectionTranslationWarfields($item->store, 'store'); } } @@ -257,7 +257,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin * * @return translatable string */ - public function selectionTranslationWaqfields($value,$name) + public function selectionTranslationWarfields($value,$name) { // Array of datatype language strings if ($name === 'datatype') diff --git a/admin/models/forms/admin_view.js b/admin/models/forms/admin_view.js index 7feaaf4f8..a6c59cb6e 100644 --- a/admin/models/forms/admin_view.js +++ b/admin/models/forms/admin_view.js @@ -36,17 +36,18 @@ jform_vvvvvxyvxo_required = false; jform_vvvvvxzvxp_required = false; jform_vvvvvyavxq_required = false; jform_vvvvvybvxr_required = false; -jform_vvvvvyfvxs_required = false; -jform_vvvvvyfvxt_required = false; -jform_vvvvvyfvxu_required = false; -jform_vvvvvyfvxv_required = false; -jform_vvvvvyfvxw_required = false; -jform_vvvvvyfvxx_required = false; -jform_vvvvvyfvxy_required = false; -jform_vvvvvyhvxz_required = false; -jform_vvvvvyhvya_required = false; -jform_vvvvvyhvyb_required = false; -jform_vvvvvyhvyc_required = false; +jform_vvvvvycvxs_required = false; +jform_vvvvvygvxt_required = false; +jform_vvvvvygvxu_required = false; +jform_vvvvvygvxv_required = false; +jform_vvvvvygvxw_required = false; +jform_vvvvvygvxx_required = false; +jform_vvvvvygvxy_required = false; +jform_vvvvvygvxz_required = false; +jform_vvvvvyivya_required = false; +jform_vvvvvyivyb_required = false; +jform_vvvvvyivyc_required = false; +jform_vvvvvyivyd_required = false; // Initial Script jQuery(document).ready(function() @@ -105,46 +106,49 @@ jQuery(document).ready(function() var add_php_before_cancel_vvvvvxs = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val(); vvvvvxs(add_php_before_cancel_vvvvvxs); - var add_php_batchcopy_vvvvvxt = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); - vvvvvxt(add_php_batchcopy_vvvvvxt); + var add_php_after_cancel_vvvvvxt = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val(); + vvvvvxt(add_php_after_cancel_vvvvvxt); - var add_php_batchmove_vvvvvxu = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); - vvvvvxu(add_php_batchmove_vvvvvxu); + var add_php_batchcopy_vvvvvxu = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); + vvvvvxu(add_php_batchcopy_vvvvvxu); - var add_php_before_publish_vvvvvxv = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); - vvvvvxv(add_php_before_publish_vvvvvxv); + var add_php_batchmove_vvvvvxv = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); + vvvvvxv(add_php_batchmove_vvvvvxv); - var add_php_after_publish_vvvvvxw = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); - vvvvvxw(add_php_after_publish_vvvvvxw); + var add_php_before_publish_vvvvvxw = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); + vvvvvxw(add_php_before_publish_vvvvvxw); - var add_php_before_delete_vvvvvxx = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - vvvvvxx(add_php_before_delete_vvvvvxx); + var add_php_after_publish_vvvvvxx = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); + vvvvvxx(add_php_after_publish_vvvvvxx); - var add_php_after_delete_vvvvvxy = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - vvvvvxy(add_php_after_delete_vvvvvxy); + var add_php_before_delete_vvvvvxy = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + vvvvvxy(add_php_before_delete_vvvvvxy); - var add_php_document_vvvvvxz = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvxz(add_php_document_vvvvvxz); + var add_php_after_delete_vvvvvxz = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + vvvvvxz(add_php_after_delete_vvvvvxz); - var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvya(add_sql_vvvvvya); + var add_php_document_vvvvvya = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvya(add_php_document_vvvvvya); - var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val(); var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb); + vvvvvyb(add_sql_vvvvvyb); - var source_vvvvvyd = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_vvvvvyd = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvyd(source_vvvvvyd,add_sql_vvvvvyd); + var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc); - var add_custom_import_vvvvvyf = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); - vvvvvyf(add_custom_import_vvvvvyf); + var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvye(source_vvvvvye,add_sql_vvvvvye); var add_custom_import_vvvvvyg = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); vvvvvyg(add_custom_import_vvvvvyg); - var add_custom_button_vvvvvyh = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - vvvvvyh(add_custom_button_vvvvvyh); + var add_custom_import_vvvvvyh = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); + vvvvvyh(add_custom_import_vvvvvyh); + + var add_custom_button_vvvvvyi = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + vvvvvyi(add_custom_button_vvvvvyi); }); // the vvvvvxb function @@ -726,298 +730,330 @@ function vvvvvxs(add_php_before_cancel_vvvvvxs) } // the vvvvvxt function -function vvvvvxt(add_php_batchcopy_vvvvvxt) +function vvvvvxt(add_php_after_cancel_vvvvvxt) { // set the function logic - if (add_php_batchcopy_vvvvvxt == 1) + if (add_php_after_cancel_vvvvvxt == 1) { - jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show(); - // add required attribute to php_batchcopy field + jQuery('#jform_php_after_cancel-lbl').closest('.control-group').show(); + // add required attribute to php_after_cancel field if (jform_vvvvvxtvxj_required) { - updateFieldRequired('php_batchcopy',0); - jQuery('#jform_php_batchcopy').prop('required','required'); - jQuery('#jform_php_batchcopy').attr('aria-required',true); - jQuery('#jform_php_batchcopy').addClass('required'); + updateFieldRequired('php_after_cancel',0); + jQuery('#jform_php_after_cancel').prop('required','required'); + jQuery('#jform_php_after_cancel').attr('aria-required',true); + jQuery('#jform_php_after_cancel').addClass('required'); jform_vvvvvxtvxj_required = false; } } else { - jQuery('#jform_php_batchcopy-lbl').closest('.control-group').hide(); - // remove required attribute from php_batchcopy field + jQuery('#jform_php_after_cancel-lbl').closest('.control-group').hide(); + // remove required attribute from php_after_cancel field if (!jform_vvvvvxtvxj_required) { - updateFieldRequired('php_batchcopy',1); - jQuery('#jform_php_batchcopy').removeAttr('required'); - jQuery('#jform_php_batchcopy').removeAttr('aria-required'); - jQuery('#jform_php_batchcopy').removeClass('required'); + updateFieldRequired('php_after_cancel',1); + jQuery('#jform_php_after_cancel').removeAttr('required'); + jQuery('#jform_php_after_cancel').removeAttr('aria-required'); + jQuery('#jform_php_after_cancel').removeClass('required'); jform_vvvvvxtvxj_required = true; } } } // the vvvvvxu function -function vvvvvxu(add_php_batchmove_vvvvvxu) +function vvvvvxu(add_php_batchcopy_vvvvvxu) { // set the function logic - if (add_php_batchmove_vvvvvxu == 1) + if (add_php_batchcopy_vvvvvxu == 1) { - jQuery('#jform_php_batchmove-lbl').closest('.control-group').show(); - // add required attribute to php_batchmove field + jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show(); + // add required attribute to php_batchcopy field if (jform_vvvvvxuvxk_required) { - updateFieldRequired('php_batchmove',0); - jQuery('#jform_php_batchmove').prop('required','required'); - jQuery('#jform_php_batchmove').attr('aria-required',true); - jQuery('#jform_php_batchmove').addClass('required'); + updateFieldRequired('php_batchcopy',0); + jQuery('#jform_php_batchcopy').prop('required','required'); + jQuery('#jform_php_batchcopy').attr('aria-required',true); + jQuery('#jform_php_batchcopy').addClass('required'); jform_vvvvvxuvxk_required = false; } } else { - jQuery('#jform_php_batchmove-lbl').closest('.control-group').hide(); - // remove required attribute from php_batchmove field + jQuery('#jform_php_batchcopy-lbl').closest('.control-group').hide(); + // remove required attribute from php_batchcopy field if (!jform_vvvvvxuvxk_required) { - updateFieldRequired('php_batchmove',1); - jQuery('#jform_php_batchmove').removeAttr('required'); - jQuery('#jform_php_batchmove').removeAttr('aria-required'); - jQuery('#jform_php_batchmove').removeClass('required'); + updateFieldRequired('php_batchcopy',1); + jQuery('#jform_php_batchcopy').removeAttr('required'); + jQuery('#jform_php_batchcopy').removeAttr('aria-required'); + jQuery('#jform_php_batchcopy').removeClass('required'); jform_vvvvvxuvxk_required = true; } } } // the vvvvvxv function -function vvvvvxv(add_php_before_publish_vvvvvxv) +function vvvvvxv(add_php_batchmove_vvvvvxv) { // set the function logic - if (add_php_before_publish_vvvvvxv == 1) + if (add_php_batchmove_vvvvvxv == 1) { - jQuery('#jform_php_before_publish-lbl').closest('.control-group').show(); - // add required attribute to php_before_publish field + jQuery('#jform_php_batchmove-lbl').closest('.control-group').show(); + // add required attribute to php_batchmove field if (jform_vvvvvxvvxl_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'); + updateFieldRequired('php_batchmove',0); + jQuery('#jform_php_batchmove').prop('required','required'); + jQuery('#jform_php_batchmove').attr('aria-required',true); + jQuery('#jform_php_batchmove').addClass('required'); jform_vvvvvxvvxl_required = false; } } else { - jQuery('#jform_php_before_publish-lbl').closest('.control-group').hide(); - // remove required attribute from php_before_publish field + jQuery('#jform_php_batchmove-lbl').closest('.control-group').hide(); + // remove required attribute from php_batchmove field if (!jform_vvvvvxvvxl_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'); + updateFieldRequired('php_batchmove',1); + jQuery('#jform_php_batchmove').removeAttr('required'); + jQuery('#jform_php_batchmove').removeAttr('aria-required'); + jQuery('#jform_php_batchmove').removeClass('required'); jform_vvvvvxvvxl_required = true; } } } // the vvvvvxw function -function vvvvvxw(add_php_after_publish_vvvvvxw) +function vvvvvxw(add_php_before_publish_vvvvvxw) { // set the function logic - if (add_php_after_publish_vvvvvxw == 1) + if (add_php_before_publish_vvvvvxw == 1) { - jQuery('#jform_php_after_publish-lbl').closest('.control-group').show(); - // add required attribute to php_after_publish field + jQuery('#jform_php_before_publish-lbl').closest('.control-group').show(); + // add required attribute to php_before_publish field if (jform_vvvvvxwvxm_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'); + 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_vvvvvxwvxm_required = false; } } else { - jQuery('#jform_php_after_publish-lbl').closest('.control-group').hide(); - // remove required attribute from php_after_publish field + jQuery('#jform_php_before_publish-lbl').closest('.control-group').hide(); + // remove required attribute from php_before_publish field if (!jform_vvvvvxwvxm_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'); + 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_vvvvvxwvxm_required = true; } } } // the vvvvvxx function -function vvvvvxx(add_php_before_delete_vvvvvxx) +function vvvvvxx(add_php_after_publish_vvvvvxx) { // set the function logic - if (add_php_before_delete_vvvvvxx == 1) + if (add_php_after_publish_vvvvvxx == 1) { - jQuery('#jform_php_before_delete-lbl').closest('.control-group').show(); - // add required attribute to php_before_delete field + jQuery('#jform_php_after_publish-lbl').closest('.control-group').show(); + // add required attribute to php_after_publish field if (jform_vvvvvxxvxn_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_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_vvvvvxxvxn_required = false; } } else { - jQuery('#jform_php_before_delete-lbl').closest('.control-group').hide(); - // remove required attribute from php_before_delete field + jQuery('#jform_php_after_publish-lbl').closest('.control-group').hide(); + // remove required attribute from php_after_publish field if (!jform_vvvvvxxvxn_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_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_vvvvvxxvxn_required = true; } } } // the vvvvvxy function -function vvvvvxy(add_php_after_delete_vvvvvxy) +function vvvvvxy(add_php_before_delete_vvvvvxy) { // set the function logic - if (add_php_after_delete_vvvvvxy == 1) + if (add_php_before_delete_vvvvvxy == 1) { - jQuery('#jform_php_after_delete-lbl').closest('.control-group').show(); - // add required attribute to php_after_delete field + jQuery('#jform_php_before_delete-lbl').closest('.control-group').show(); + // add required attribute to php_before_delete field if (jform_vvvvvxyvxo_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_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_vvvvvxyvxo_required = false; } } else { - jQuery('#jform_php_after_delete-lbl').closest('.control-group').hide(); - // remove required attribute from php_after_delete field + jQuery('#jform_php_before_delete-lbl').closest('.control-group').hide(); + // remove required attribute from php_before_delete field if (!jform_vvvvvxyvxo_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_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_vvvvvxyvxo_required = true; } } } // the vvvvvxz function -function vvvvvxz(add_php_document_vvvvvxz) +function vvvvvxz(add_php_after_delete_vvvvvxz) { // set the function logic - if (add_php_document_vvvvvxz == 1) + if (add_php_after_delete_vvvvvxz == 1) { - jQuery('#jform_php_document-lbl').closest('.control-group').show(); - // add required attribute to php_document field + jQuery('#jform_php_after_delete-lbl').closest('.control-group').show(); + // add required attribute to php_after_delete field if (jform_vvvvvxzvxp_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_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_vvvvvxzvxp_required = false; } } else { - jQuery('#jform_php_document-lbl').closest('.control-group').hide(); - // remove required attribute from php_document field + jQuery('#jform_php_after_delete-lbl').closest('.control-group').hide(); + // remove required attribute from php_after_delete field if (!jform_vvvvvxzvxp_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_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_vvvvvxzvxp_required = true; } } } // the vvvvvya function -function vvvvvya(add_sql_vvvvvya) +function vvvvvya(add_php_document_vvvvvya) { // set the function logic - if (add_sql_vvvvvya == 1) + if (add_php_document_vvvvvya == 1) { - jQuery('#jform_source').closest('.control-group').show(); - // add required attribute to source field + jQuery('#jform_php_document-lbl').closest('.control-group').show(); + // add required attribute to php_document field if (jform_vvvvvyavxq_required) { - updateFieldRequired('source',0); - jQuery('#jform_source').prop('required','required'); - jQuery('#jform_source').attr('aria-required',true); - jQuery('#jform_source').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_vvvvvyavxq_required = false; } } else { - jQuery('#jform_source').closest('.control-group').hide(); - // remove required attribute from source field + jQuery('#jform_php_document-lbl').closest('.control-group').hide(); + // remove required attribute from php_document field if (!jform_vvvvvyavxq_required) { - updateFieldRequired('source',1); - jQuery('#jform_source').removeAttr('required'); - jQuery('#jform_source').removeAttr('aria-required'); - jQuery('#jform_source').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_vvvvvyavxq_required = true; } } } // the vvvvvyb function -function vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb) +function vvvvvyb(add_sql_vvvvvyb) { // set the function logic - if (source_vvvvvyb == 2 && add_sql_vvvvvyb == 1) + if (add_sql_vvvvvyb == 1) + { + jQuery('#jform_source').closest('.control-group').show(); + // add required attribute to source field + if (jform_vvvvvybvxr_required) + { + updateFieldRequired('source',0); + jQuery('#jform_source').prop('required','required'); + jQuery('#jform_source').attr('aria-required',true); + jQuery('#jform_source').addClass('required'); + jform_vvvvvybvxr_required = false; + } + } + else + { + jQuery('#jform_source').closest('.control-group').hide(); + // remove required attribute from source field + if (!jform_vvvvvybvxr_required) + { + updateFieldRequired('source',1); + jQuery('#jform_source').removeAttr('required'); + jQuery('#jform_source').removeAttr('aria-required'); + jQuery('#jform_source').removeClass('required'); + jform_vvvvvybvxr_required = true; + } + } +} + +// the vvvvvyc function +function vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc) +{ + // set the function logic + if (source_vvvvvyc == 2 && add_sql_vvvvvyc == 1) { jQuery('#jform_sql').closest('.control-group').show(); // add required attribute to sql field - if (jform_vvvvvybvxr_required) + if (jform_vvvvvycvxs_required) { updateFieldRequired('sql',0); jQuery('#jform_sql').prop('required','required'); jQuery('#jform_sql').attr('aria-required',true); jQuery('#jform_sql').addClass('required'); - jform_vvvvvybvxr_required = false; + jform_vvvvvycvxs_required = false; } } else { jQuery('#jform_sql').closest('.control-group').hide(); // remove required attribute from sql field - if (!jform_vvvvvybvxr_required) + if (!jform_vvvvvycvxs_required) { updateFieldRequired('sql',1); jQuery('#jform_sql').removeAttr('required'); jQuery('#jform_sql').removeAttr('aria-required'); jQuery('#jform_sql').removeClass('required'); - jform_vvvvvybvxr_required = true; + jform_vvvvvycvxs_required = true; } } } -// the vvvvvyd function -function vvvvvyd(source_vvvvvyd,add_sql_vvvvvyd) +// the vvvvvye function +function vvvvvye(source_vvvvvye,add_sql_vvvvvye) { // set the function logic - if (source_vvvvvyd == 1 && add_sql_vvvvvyd == 1) + if (source_vvvvvye == 1 && add_sql_vvvvvye == 1) { jQuery('#jform_addtables-lbl').closest('.control-group').show(); } @@ -1027,165 +1063,165 @@ function vvvvvyd(source_vvvvvyd,add_sql_vvvvvyd) } } -// the vvvvvyf function -function vvvvvyf(add_custom_import_vvvvvyf) +// the vvvvvyg function +function vvvvvyg(add_custom_import_vvvvvyg) { // set the function logic - if (add_custom_import_vvvvvyf == 1) + if (add_custom_import_vvvvvyg == 1) { jQuery('#jform_html_import_view').closest('.control-group').show(); // add required attribute to html_import_view field - if (jform_vvvvvyfvxs_required) + if (jform_vvvvvygvxt_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_vvvvvyfvxs_required = false; + jform_vvvvvygvxt_required = false; } jQuery('.note_advanced_import').closest('.control-group').show(); jQuery('#jform_php_import_display').closest('.control-group').show(); // add required attribute to php_import_display field - if (jform_vvvvvyfvxt_required) + if (jform_vvvvvygvxu_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_vvvvvyfvxt_required = false; + jform_vvvvvygvxu_required = false; } jQuery('#jform_php_import_ext').closest('.control-group').show(); // add required attribute to php_import_ext field - if (jform_vvvvvyfvxu_required) + if (jform_vvvvvygvxv_required) { updateFieldRequired('php_import_ext',0); jQuery('#jform_php_import_ext').prop('required','required'); jQuery('#jform_php_import_ext').attr('aria-required',true); jQuery('#jform_php_import_ext').addClass('required'); - jform_vvvvvyfvxu_required = false; + jform_vvvvvygvxv_required = false; } jQuery('#jform_php_import_headers').closest('.control-group').show(); // add required attribute to php_import_headers field - if (jform_vvvvvyfvxv_required) + if (jform_vvvvvygvxw_required) { updateFieldRequired('php_import_headers',0); jQuery('#jform_php_import_headers').prop('required','required'); jQuery('#jform_php_import_headers').attr('aria-required',true); jQuery('#jform_php_import_headers').addClass('required'); - jform_vvvvvyfvxv_required = false; + jform_vvvvvygvxw_required = false; } jQuery('#jform_php_import').closest('.control-group').show(); // add required attribute to php_import field - if (jform_vvvvvyfvxw_required) + if (jform_vvvvvygvxx_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_vvvvvyfvxw_required = false; + jform_vvvvvygvxx_required = false; } jQuery('#jform_php_import_save').closest('.control-group').show(); // add required attribute to php_import_save field - if (jform_vvvvvyfvxx_required) + if (jform_vvvvvygvxy_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_vvvvvyfvxx_required = false; + jform_vvvvvygvxy_required = false; } jQuery('#jform_php_import_setdata').closest('.control-group').show(); // add required attribute to php_import_setdata field - if (jform_vvvvvyfvxy_required) + if (jform_vvvvvygvxz_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_vvvvvyfvxy_required = false; + jform_vvvvvygvxz_required = false; } } else { jQuery('#jform_html_import_view').closest('.control-group').hide(); // remove required attribute from html_import_view field - if (!jform_vvvvvyfvxs_required) + if (!jform_vvvvvygvxt_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_vvvvvyfvxs_required = true; + jform_vvvvvygvxt_required = true; } jQuery('.note_advanced_import').closest('.control-group').hide(); jQuery('#jform_php_import_display').closest('.control-group').hide(); // remove required attribute from php_import_display field - if (!jform_vvvvvyfvxt_required) + if (!jform_vvvvvygvxu_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_vvvvvyfvxt_required = true; + jform_vvvvvygvxu_required = true; } jQuery('#jform_php_import_ext').closest('.control-group').hide(); // remove required attribute from php_import_ext field - if (!jform_vvvvvyfvxu_required) + if (!jform_vvvvvygvxv_required) { updateFieldRequired('php_import_ext',1); jQuery('#jform_php_import_ext').removeAttr('required'); jQuery('#jform_php_import_ext').removeAttr('aria-required'); jQuery('#jform_php_import_ext').removeClass('required'); - jform_vvvvvyfvxu_required = true; + jform_vvvvvygvxv_required = true; } jQuery('#jform_php_import_headers').closest('.control-group').hide(); // remove required attribute from php_import_headers field - if (!jform_vvvvvyfvxv_required) + if (!jform_vvvvvygvxw_required) { updateFieldRequired('php_import_headers',1); jQuery('#jform_php_import_headers').removeAttr('required'); jQuery('#jform_php_import_headers').removeAttr('aria-required'); jQuery('#jform_php_import_headers').removeClass('required'); - jform_vvvvvyfvxv_required = true; + jform_vvvvvygvxw_required = true; } jQuery('#jform_php_import').closest('.control-group').hide(); // remove required attribute from php_import field - if (!jform_vvvvvyfvxw_required) + if (!jform_vvvvvygvxx_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_vvvvvyfvxw_required = true; + jform_vvvvvygvxx_required = true; } jQuery('#jform_php_import_save').closest('.control-group').hide(); // remove required attribute from php_import_save field - if (!jform_vvvvvyfvxx_required) + if (!jform_vvvvvygvxy_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_vvvvvyfvxx_required = true; + jform_vvvvvygvxy_required = true; } jQuery('#jform_php_import_setdata').closest('.control-group').hide(); // remove required attribute from php_import_setdata field - if (!jform_vvvvvyfvxy_required) + if (!jform_vvvvvygvxz_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_vvvvvyfvxy_required = true; + jform_vvvvvygvxz_required = true; } } } -// the vvvvvyg function -function vvvvvyg(add_custom_import_vvvvvyg) +// the vvvvvyh function +function vvvvvyh(add_custom_import_vvvvvyh) { // set the function logic - if (add_custom_import_vvvvvyg == 0) + if (add_custom_import_vvvvvyh == 0) { jQuery('.note_beginner_import').closest('.control-group').show(); } @@ -1195,52 +1231,52 @@ function vvvvvyg(add_custom_import_vvvvvyg) } } -// the vvvvvyh function -function vvvvvyh(add_custom_button_vvvvvyh) +// the vvvvvyi function +function vvvvvyi(add_custom_button_vvvvvyi) { // set the function logic - if (add_custom_button_vvvvvyh == 1) + if (add_custom_button_vvvvvyi == 1) { jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_php_controller-lbl').closest('.control-group').show(); // add required attribute to php_controller field - if (jform_vvvvvyhvxz_required) + if (jform_vvvvvyivya_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_vvvvvyhvxz_required = false; + jform_vvvvvyivya_required = false; } jQuery('#jform_php_controller_list-lbl').closest('.control-group').show(); // add required attribute to php_controller_list field - if (jform_vvvvvyhvya_required) + if (jform_vvvvvyivyb_required) { updateFieldRequired('php_controller_list',0); jQuery('#jform_php_controller_list').prop('required','required'); jQuery('#jform_php_controller_list').attr('aria-required',true); jQuery('#jform_php_controller_list').addClass('required'); - jform_vvvvvyhvya_required = false; + jform_vvvvvyivyb_required = false; } jQuery('#jform_php_model-lbl').closest('.control-group').show(); // add required attribute to php_model field - if (jform_vvvvvyhvyb_required) + if (jform_vvvvvyivyc_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_vvvvvyhvyb_required = false; + jform_vvvvvyivyc_required = false; } jQuery('#jform_php_model_list-lbl').closest('.control-group').show(); // add required attribute to php_model_list field - if (jform_vvvvvyhvyc_required) + if (jform_vvvvvyivyd_required) { updateFieldRequired('php_model_list',0); jQuery('#jform_php_model_list').prop('required','required'); jQuery('#jform_php_model_list').attr('aria-required',true); jQuery('#jform_php_model_list').addClass('required'); - jform_vvvvvyhvyc_required = false; + jform_vvvvvyivyd_required = false; } } else @@ -1248,43 +1284,43 @@ function vvvvvyh(add_custom_button_vvvvvyh) jQuery('#jform_custom_button-lbl').closest('.control-group').hide(); jQuery('#jform_php_controller-lbl').closest('.control-group').hide(); // remove required attribute from php_controller field - if (!jform_vvvvvyhvxz_required) + if (!jform_vvvvvyivya_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_vvvvvyhvxz_required = true; + jform_vvvvvyivya_required = true; } jQuery('#jform_php_controller_list-lbl').closest('.control-group').hide(); // remove required attribute from php_controller_list field - if (!jform_vvvvvyhvya_required) + if (!jform_vvvvvyivyb_required) { updateFieldRequired('php_controller_list',1); jQuery('#jform_php_controller_list').removeAttr('required'); jQuery('#jform_php_controller_list').removeAttr('aria-required'); jQuery('#jform_php_controller_list').removeClass('required'); - jform_vvvvvyhvya_required = true; + jform_vvvvvyivyb_required = true; } jQuery('#jform_php_model-lbl').closest('.control-group').hide(); // remove required attribute from php_model field - if (!jform_vvvvvyhvyb_required) + if (!jform_vvvvvyivyc_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_vvvvvyhvyb_required = true; + jform_vvvvvyivyc_required = true; } jQuery('#jform_php_model_list-lbl').closest('.control-group').hide(); // remove required attribute from php_model_list field - if (!jform_vvvvvyhvyc_required) + if (!jform_vvvvvyivyd_required) { updateFieldRequired('php_model_list',1); jQuery('#jform_php_model_list').removeAttr('required'); jQuery('#jform_php_model_list').removeAttr('aria-required'); jQuery('#jform_php_model_list').removeClass('required'); - jform_vvvvvyhvyc_required = true; + jform_vvvvvyivyd_required = true; } } } diff --git a/admin/models/forms/admin_view.xml b/admin/models/forms/admin_view.xml index f140bd015..b2c2bdd88 100644 --- a/admin/models/forms/admin_view.xml +++ b/admin/models/forms/admin_view.xml @@ -185,20 +185,22 @@ - + - - - - + type="text" + name="name_list" + label="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_LABEL" + size="40" + maxlength="150" + description="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_DESCRIPTION" + class="inputbox" + readonly="false" + disabled="false" + required="true" + filter="STRING" + message="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_MESSAGE" + hint="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_HINT" + /> - + @@ -265,288 +267,6 @@ description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_DESCRIPTION" directory="" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - COM_COMPONENTBUILDER_ADMIN_VIEW_NO - - - - - - - - - - -