From 082196378bdfb841d27b9697c03a37df13a59f0d Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Tue, 22 Nov 2016 19:08:17 +0200 Subject: [PATCH] Improved the lockdown WHMCS license integration --- README.md | 4 +- admin/README.txt | 4 +- admin/compiler/joomla_3/JModelAdmin.php | 2 +- admin/compiler/joomla_3/JModelAdmin_site.php | 2 +- admin/helpers/compiler/a_Get.php | 4 +- admin/helpers/compiler/e_Interpretation.php | 30 +- admin/layouts/admin_view/fields_fullwidth.php | 2 +- .../component/admin_views_fullwidth.php | 2 +- .../component/site_views_fullwidth.php | 2 +- admin/layouts/fieldtype/fields_fullwidth.php | 2 +- admin/models/admin_view.php | 15 +- admin/models/component.php | 7 +- admin/models/custom_admin_view.php | 3 +- admin/models/dynamic_get.php | 3 +- admin/models/field.php | 3 +- admin/models/fieldtype.php | 15 +- admin/models/forms/admin_view.js | 812 ++++++------- admin/models/forms/component.js | 35 + admin/models/forms/custom_admin_view.js | 246 ++-- admin/models/forms/dynamic_get.js | 1068 ++++++++--------- admin/models/forms/field.js | 430 +++---- admin/models/forms/help_document.js | 238 ++-- admin/models/forms/layout.js | 20 +- admin/models/forms/site_view.js | 274 ++--- admin/models/forms/template.js | 20 +- admin/models/help_document.php | 3 +- admin/models/layout.php | 3 +- admin/models/site_view.php | 3 +- admin/models/snippet.php | 3 +- admin/models/template.php | 3 +- admin/views/admin_view/tmpl/edit.php | 334 +++--- admin/views/admin_view/view.html.php | 2 +- admin/views/component/tmpl/edit.php | 15 + admin/views/component/view.html.php | 4 +- admin/views/custom_admin_view/tmpl/edit.php | 80 +- admin/views/dynamic_get/tmpl/edit.php | 304 ++--- admin/views/field/tmpl/edit.php | 132 +- admin/views/fieldtype/view.html.php | 2 +- admin/views/help_document/tmpl/edit.php | 54 +- admin/views/layout/tmpl/edit.php | 10 +- admin/views/site_view/tmpl/edit.php | 90 +- admin/views/template/tmpl/edit.php | 10 +- 42 files changed, 2184 insertions(+), 2111 deletions(-) diff --git a/README.md b/README.md index 3778a76b1..300875ee9 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Once installed upgrades are quick and easy via the default Joomla upgrade area. + Help View Integration* + Training & Help Videos* tutorials in the component included. -[**GET ACCESS NOW!**](https://www.vdm.io/joomla-component-builder#get) +[**GET ACCESS NOW!**](http://vdm.bz/component-builder) # gitHub Support @@ -108,7 +108,7 @@ Component Builder is mapped as a component in itself on my local development env + *Version*: 2.2.3 + *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*: **86456** ++ *Line count*: **86517** + *File count*: **540** + *Folder count*: **99** diff --git a/admin/README.txt b/admin/README.txt index 3778a76b1..300875ee9 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -81,7 +81,7 @@ Once installed upgrades are quick and easy via the default Joomla upgrade area. + Help View Integration* + Training & Help Videos* tutorials in the component included. -[**GET ACCESS NOW!**](https://www.vdm.io/joomla-component-builder#get) +[**GET ACCESS NOW!**](http://vdm.bz/component-builder) # gitHub Support @@ -108,7 +108,7 @@ Component Builder is mapped as a component in itself on my local development env + *Version*: 2.2.3 + *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*: **86456** ++ *Line count*: **86517** + *File count*: **540** + *Folder count*: **99** diff --git a/admin/compiler/joomla_3/JModelAdmin.php b/admin/compiler/joomla_3/JModelAdmin.php index c4e9120e5..47374e011 100644 --- a/admin/compiler/joomla_3/JModelAdmin.php +++ b/admin/compiler/joomla_3/JModelAdmin.php @@ -181,7 +181,7 @@ class ###Component###Model###View### extends JModelAdmin * @since 1.6 */ protected function prepareTable($table) - { + {###LICENSE_TABLE_LOCKED_CHECK### $date = JFactory::getDate(); $user = JFactory::getUser(); diff --git a/admin/compiler/joomla_3/JModelAdmin_site.php b/admin/compiler/joomla_3/JModelAdmin_site.php index f465d41e6..d1a780b55 100644 --- a/admin/compiler/joomla_3/JModelAdmin_site.php +++ b/admin/compiler/joomla_3/JModelAdmin_site.php @@ -181,7 +181,7 @@ class ###Component###Model###View### extends JModelAdmin * @since 1.6 */ protected function prepareTable($table) - { + {###LICENSE_TABLE_LOCKED_CHECK### $date = JFactory::getDate(); $user = JFactory::getUser(); diff --git a/admin/helpers/compiler/a_Get.php b/admin/helpers/compiler/a_Get.php index 716932787..803ef4096 100644 --- a/admin/helpers/compiler/a_Get.php +++ b/admin/helpers/compiler/a_Get.php @@ -2421,7 +2421,7 @@ class Get * @return string The unique localkey * */ - public function uniquekey($size, $random = false) + public function uniquekey($size, $random = false, $newBag = "vvvvvvvvvvvvvvvvvvv") { if ($random) { @@ -2429,7 +2429,7 @@ class Get } else { - $bag = "vvvvvvvvvvvvvvvvvvv"; + $bag = $newBag; } $key = array(); $bagsize = strlen($bag) - 1; diff --git a/admin/helpers/compiler/e_Interpretation.php b/admin/helpers/compiler/e_Interpretation.php index 2021a08f2..3656798d5 100644 --- a/admin/helpers/compiler/e_Interpretation.php +++ b/admin/helpers/compiler/e_Interpretation.php @@ -142,23 +142,26 @@ class Interpretation extends Fields { if ($this->componentData->add_license && $this->componentData->license_type == 3) { - $boolMethod = 'isHonest'; - $globalbool = ComponentbuilderHelper::safeString($this->uniquekey(4)); + $boolMethod = ComponentbuilderHelper::safeString($this->uniquekey(6, false, 'llllllllll')); + $globalbool = ComponentbuilderHelper::safeString($this->uniquekey(6)); // add it to the system $this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = $this->setBoolLincenseLock($boolMethod,$globalbool); - $this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked(); + $this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked($boolMethod); + $this->fileContentDynamic[$view]['###LICENSE_TABLE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked($boolMethod, '$table'); + $this->fileContentDynamic[$view]['###BOOLMETHOD###'] = $boolMethod; } else { // don't add it to the system $this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = ''; $this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = ''; + $this->fileContentDynamic[$view]['###LICENSE_TABLE_LOCKED_CHECK###'] = ''; } } - public function checkStatmentLicenseLocked($boolMethod,$globalbool) + public function checkStatmentLicenseLocked($boolMethod, $thIIS = '$this') { - $statment[] = "\n\t\tif (!\$this->isHonest())"; + $statment[] = "\n\t\tif (!".$thIIS."->".$boolMethod."())"; $statment[] = "\t\t{"; $statment[] = "\t\t\t\$app = JFactory::getApplication();"; $statment[] = "\t\t\t\$app->enqueueMessage(JText::_('NIE_REG_NIE'), 'error');"; @@ -172,11 +175,15 @@ class Interpretation extends Fields public function setBoolLincenseLock($boolMethod,$globalbool) { $bool[] = "\n\n\t/**"; + $bool[] = "\t* The private bool."; + $bool[] = "\t**/"; + $bool[] = "\tprivate $".$globalbool.";"; + $bool[] = "\n\t/**"; $bool[] = "\t* Check if this install has a license."; $bool[] = "\t**/"; $bool[] = "\tpublic function ".$boolMethod."()"; $bool[] = "\t{"; - $bool[] = "\t\tif(isset(\$this->".$globalbool."))"; + $bool[] = "\t\tif(!empty(\$this->".$globalbool."))"; $bool[] = "\t\t{"; $bool[] = "\t\t\treturn \$this->".$globalbool.";"; $bool[] = "\t\t}"; @@ -186,7 +193,7 @@ class Interpretation extends Fields $bool[] = "\t\tif (\$license_key)"; $bool[] = "\t\t{"; $bool[] = "\t\t\t//".$this->setLine(__LINE__)." load the file"; - $bool[] = "\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; + $bool[] = "\t\t\tJLoader::import( 'vdm', JPATH_ADMINISTRATOR .'/components/com_".$this->fileContentStatic['###component###']."');"; $bool[] = "\t\t\t\$the = new VDM(\$license_key);"; $bool[] = "\t\t\t\$this->".$globalbool." = \$the->_is;"; $bool[] = "\t\t\treturn \$this->".$globalbool.";"; @@ -210,7 +217,7 @@ class Interpretation extends Fields $helper[] = "\t\tif (\$license_key)"; $helper[] = "\t\t{"; $helper[] = "\t\t\t//".$this->setLine(__LINE__)." load the file"; - $helper[] = "\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; + $helper[] = "\t\t\tJLoader::import( 'vdm', JPATH_ADMINISTRATOR .'/components/com_".$this->fileContentStatic['###component###']."');"; $helper[] = "\t\t\t\$the = new VDM(\$license_key);"; $helper[] = "\t\t\treturn \$the->_is;"; $helper[] = "\t\t}"; @@ -9310,12 +9317,17 @@ class Interpretation extends Fields $component = ComponentbuilderHelper::safeString($this->componentData->name_code); // allways load these $allow = array(); - $allow[] = "\t\t//".$this->setLine(__LINE__)." Get the form."; + $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Get the form."; $allow[] = "\t\t\$form = \$this->loadForm('com_".$component.".".$viewName_single."', '".$viewName_single."', array('control' => 'jform', 'load_data' => \$loadData));"; $allow[] = "\n\t\tif (empty(\$form))"; $allow[] = "\t\t{"; $allow[] = "\t\t\treturn false;"; $allow[] = "\t\t}"; + // load license locker + if ($this->componentData->add_license && $this->componentData->license_type == 3 && isset($this->fileContentDynamic[$viewName_single]['###BOOLMETHOD###'])) + { + $allow[] = $this->checkStatmentLicenseLocked($this->fileContentDynamic[$viewName_single]['###BOOLMETHOD###']); + } // setup correct core target $coreLoad = false; if (isset($this->permissionCore[$viewName_single])) diff --git a/admin/layouts/admin_view/fields_fullwidth.php b/admin/layouts/admin_view/fields_fullwidth.php index 013cc8132..e5317ecc4 100644 --- a/admin/layouts/admin_view/fields_fullwidth.php +++ b/admin/layouts/admin_view/fields_fullwidth.php @@ -28,7 +28,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->vxpfields; +$items = $displayData->vxqfields; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit"; diff --git a/admin/layouts/component/admin_views_fullwidth.php b/admin/layouts/component/admin_views_fullwidth.php index 699bb44e5..a66ef28ad 100644 --- a/admin/layouts/component/admin_views_fullwidth.php +++ b/admin/layouts/component/admin_views_fullwidth.php @@ -28,7 +28,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->vwjadmin_views; +$items = $displayData->vwkadmin_views; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_componentbuilder&view=admin_views&task=admin_view.edit"; diff --git a/admin/layouts/component/site_views_fullwidth.php b/admin/layouts/component/site_views_fullwidth.php index 0d76cbe3e..9b272fddd 100644 --- a/admin/layouts/component/site_views_fullwidth.php +++ b/admin/layouts/component/site_views_fullwidth.php @@ -28,7 +28,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->vwksite_views; +$items = $displayData->vwlsite_views; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_componentbuilder&view=site_views&task=site_view.edit"; diff --git a/admin/layouts/fieldtype/fields_fullwidth.php b/admin/layouts/fieldtype/fields_fullwidth.php index a48358ec3..8ba190c3b 100644 --- a/admin/layouts/fieldtype/fields_fullwidth.php +++ b/admin/layouts/fieldtype/fields_fullwidth.php @@ -28,7 +28,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->vzlfields; +$items = $displayData->vzmfields; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit"; diff --git a/admin/models/admin_view.php b/admin/models/admin_view.php index 9e610371c..d2d4d6cad 100644 --- a/admin/models/admin_view.php +++ b/admin/models/admin_view.php @@ -285,7 +285,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getVxpfields() + public function getVxqfields() { // Get the user object. $user = JFactory::getUser(); @@ -354,13 +354,13 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin foreach ($items as $nr => &$item) { // convert datatype - $item->datatype = $this->selectionTranslationVxpfields($item->datatype, 'datatype'); + $item->datatype = $this->selectionTranslationVxqfields($item->datatype, 'datatype'); // convert indexes - $item->indexes = $this->selectionTranslationVxpfields($item->indexes, 'indexes'); + $item->indexes = $this->selectionTranslationVxqfields($item->indexes, 'indexes'); // convert null_switch - $item->null_switch = $this->selectionTranslationVxpfields($item->null_switch, 'null_switch'); + $item->null_switch = $this->selectionTranslationVxqfields($item->null_switch, 'null_switch'); // convert store - $item->store = $this->selectionTranslationVxpfields($item->store, 'store'); + $item->store = $this->selectionTranslationVxqfields($item->store, 'store'); } } @@ -395,7 +395,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin * * @return translatable string */ - public function selectionTranslationVxpfields($value,$name) + public function selectionTranslationVxqfields($value,$name) { // Array of datatype language strings if ($name == 'datatype') @@ -479,7 +479,8 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin * @since 1.6 */ public function getForm($data = array(), $loadData = true) - { // Get the form. + { + // Get the form. $form = $this->loadForm('com_componentbuilder.admin_view', 'admin_view', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) diff --git a/admin/models/component.php b/admin/models/component.php index 6ef020495..afb480251 100644 --- a/admin/models/component.php +++ b/admin/models/component.php @@ -213,7 +213,7 @@ class ComponentbuilderModelComponent extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getVwjadmin_views() + public function getVwkadmin_views() { // Get the user object. $user = JFactory::getUser(); @@ -300,7 +300,7 @@ class ComponentbuilderModelComponent extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getVwksite_views() + public function getVwlsite_views() { // Get the user object. $user = JFactory::getUser(); @@ -397,7 +397,8 @@ class ComponentbuilderModelComponent extends JModelAdmin * @since 1.6 */ public function getForm($data = array(), $loadData = true) - { // Get the form. + { + // Get the form. $form = $this->loadForm('com_componentbuilder.component', 'component', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) diff --git a/admin/models/custom_admin_view.php b/admin/models/custom_admin_view.php index 7efe8fe7a..6398bc2e0 100644 --- a/admin/models/custom_admin_view.php +++ b/admin/models/custom_admin_view.php @@ -184,7 +184,8 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin * @since 1.6 */ public function getForm($data = array(), $loadData = true) - { // Get the form. + { + // Get the form. $form = $this->loadForm('com_componentbuilder.custom_admin_view', 'custom_admin_view', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) diff --git a/admin/models/dynamic_get.php b/admin/models/dynamic_get.php index 851af0c7d..e21965971 100644 --- a/admin/models/dynamic_get.php +++ b/admin/models/dynamic_get.php @@ -158,7 +158,8 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin * @since 1.6 */ public function getForm($data = array(), $loadData = true) - { // Get the form. + { + // Get the form. $form = $this->loadForm('com_componentbuilder.dynamic_get', 'dynamic_get', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) diff --git a/admin/models/field.php b/admin/models/field.php index e91288821..8a6c368be 100644 --- a/admin/models/field.php +++ b/admin/models/field.php @@ -146,7 +146,8 @@ class ComponentbuilderModelField extends JModelAdmin * @since 1.6 */ public function getForm($data = array(), $loadData = true) - { // Get the form. + { + // Get the form. $form = $this->loadForm('com_componentbuilder.field', 'field', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) diff --git a/admin/models/fieldtype.php b/admin/models/fieldtype.php index b128fa910..d0d2d78f9 100644 --- a/admin/models/fieldtype.php +++ b/admin/models/fieldtype.php @@ -111,7 +111,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getVzlfields() + public function getVzmfields() { // Get the user object. $user = JFactory::getUser(); @@ -195,13 +195,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin foreach ($items as $nr => &$item) { // convert datatype - $item->datatype = $this->selectionTranslationVzlfields($item->datatype, 'datatype'); + $item->datatype = $this->selectionTranslationVzmfields($item->datatype, 'datatype'); // convert indexes - $item->indexes = $this->selectionTranslationVzlfields($item->indexes, 'indexes'); + $item->indexes = $this->selectionTranslationVzmfields($item->indexes, 'indexes'); // convert null_switch - $item->null_switch = $this->selectionTranslationVzlfields($item->null_switch, 'null_switch'); + $item->null_switch = $this->selectionTranslationVzmfields($item->null_switch, 'null_switch'); // convert store - $item->store = $this->selectionTranslationVzlfields($item->store, 'store'); + $item->store = $this->selectionTranslationVzmfields($item->store, 'store'); } } @@ -215,7 +215,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin * * @return translatable string */ - public function selectionTranslationVzlfields($value,$name) + public function selectionTranslationVzmfields($value,$name) { // Array of datatype language strings if ($name == 'datatype') @@ -299,7 +299,8 @@ class ComponentbuilderModelFieldtype extends JModelAdmin * @since 1.6 */ public function getForm($data = array(), $loadData = true) - { // Get the form. + { + // Get the form. $form = $this->loadForm('com_componentbuilder.fieldtype', 'fieldtype', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) diff --git a/admin/models/forms/admin_view.js b/admin/models/forms/admin_view.js index dc889311c..8b6838429 100644 --- a/admin/models/forms/admin_view.js +++ b/admin/models/forms/admin_view.js @@ -23,7 +23,6 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvwtvwl_required = false; jform_vvvvvwuvwm_required = false; jform_vvvvvwvvwn_required = false; jform_vvvvvwwvwo_required = false; @@ -46,302 +45,303 @@ jform_vvvvvxmvxe_required = false; jform_vvvvvxnvxf_required = false; jform_vvvvvxovxg_required = false; jform_vvvvvxpvxh_required = false; -jform_vvvvvxtvxi_required = false; -jform_vvvvvxtvxj_required = false; -jform_vvvvvxtvxk_required = false; -jform_vvvvvxtvxl_required = false; -jform_vvvvvxtvxm_required = false; -jform_vvvvvxvvxn_required = false; -jform_vvvvvxvvxo_required = false; +jform_vvvvvxqvxi_required = false; +jform_vvvvvxuvxj_required = false; +jform_vvvvvxuvxk_required = false; +jform_vvvvvxuvxl_required = false; +jform_vvvvvxuvxm_required = false; +jform_vvvvvxuvxn_required = false; +jform_vvvvvxwvxo_required = false; +jform_vvvvvxwvxp_required = false; // Initial Script jQuery(document).ready(function() { - var add_css_view_vvvvvwt = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - vvvvvwt(add_css_view_vvvvvwt); + var add_css_view_vvvvvwu = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + vvvvvwu(add_css_view_vvvvvwu); - var add_css_views_vvvvvwu = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - vvvvvwu(add_css_views_vvvvvwu); + var add_css_views_vvvvvwv = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + vvvvvwv(add_css_views_vvvvvwv); - var add_javascript_view_file_vvvvvwv = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); - vvvvvwv(add_javascript_view_file_vvvvvwv); + var add_javascript_view_file_vvvvvww = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); + vvvvvww(add_javascript_view_file_vvvvvww); - var add_javascript_views_file_vvvvvww = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); - vvvvvww(add_javascript_views_file_vvvvvww); + var add_javascript_views_file_vvvvvwx = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); + vvvvvwx(add_javascript_views_file_vvvvvwx); - var add_javascript_view_footer_vvvvvwx = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - vvvvvwx(add_javascript_view_footer_vvvvvwx); + var add_javascript_view_footer_vvvvvwy = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + vvvvvwy(add_javascript_view_footer_vvvvvwy); - var add_javascript_views_footer_vvvvvwy = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - vvvvvwy(add_javascript_views_footer_vvvvvwy); + var add_javascript_views_footer_vvvvvwz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + vvvvvwz(add_javascript_views_footer_vvvvvwz); - var add_php_ajax_vvvvvwz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - vvvvvwz(add_php_ajax_vvvvvwz); + var add_php_ajax_vvvvvxa = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + vvvvvxa(add_php_ajax_vvvvvxa); - var add_php_getitem_vvvvvxa = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); - vvvvvxa(add_php_getitem_vvvvvxa); + var add_php_getitem_vvvvvxb = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); + vvvvvxb(add_php_getitem_vvvvvxb); - var add_php_getitems_vvvvvxb = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); - vvvvvxb(add_php_getitems_vvvvvxb); + var add_php_getitems_vvvvvxc = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); + vvvvvxc(add_php_getitems_vvvvvxc); - var add_php_getitems_after_all_vvvvvxc = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val(); - vvvvvxc(add_php_getitems_after_all_vvvvvxc); + var add_php_getitems_after_all_vvvvvxd = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val(); + vvvvvxd(add_php_getitems_after_all_vvvvvxd); - var add_php_getlistquery_vvvvvxd = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - vvvvvxd(add_php_getlistquery_vvvvvxd); + var add_php_getlistquery_vvvvvxe = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + vvvvvxe(add_php_getlistquery_vvvvvxe); - var add_php_save_vvvvvxe = jQuery("#jform_add_php_save input[type='radio']:checked").val(); - vvvvvxe(add_php_save_vvvvvxe); + var add_php_save_vvvvvxf = jQuery("#jform_add_php_save input[type='radio']:checked").val(); + vvvvvxf(add_php_save_vvvvvxf); - var add_php_postsavehook_vvvvvxf = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); - vvvvvxf(add_php_postsavehook_vvvvvxf); + var add_php_postsavehook_vvvvvxg = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); + vvvvvxg(add_php_postsavehook_vvvvvxg); - var add_php_allowedit_vvvvvxg = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); - vvvvvxg(add_php_allowedit_vvvvvxg); + var add_php_allowedit_vvvvvxh = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); + vvvvvxh(add_php_allowedit_vvvvvxh); - var add_php_batchcopy_vvvvvxh = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); - vvvvvxh(add_php_batchcopy_vvvvvxh); + var add_php_batchcopy_vvvvvxi = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); + vvvvvxi(add_php_batchcopy_vvvvvxi); - var add_php_batchmove_vvvvvxi = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); - vvvvvxi(add_php_batchmove_vvvvvxi); + var add_php_batchmove_vvvvvxj = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); + vvvvvxj(add_php_batchmove_vvvvvxj); - var add_php_before_publish_vvvvvxj = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); - vvvvvxj(add_php_before_publish_vvvvvxj); + var add_php_before_publish_vvvvvxk = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); + vvvvvxk(add_php_before_publish_vvvvvxk); - var add_php_after_publish_vvvvvxk = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); - vvvvvxk(add_php_after_publish_vvvvvxk); + var add_php_after_publish_vvvvvxl = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); + vvvvvxl(add_php_after_publish_vvvvvxl); - var add_php_before_delete_vvvvvxl = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - vvvvvxl(add_php_before_delete_vvvvvxl); + var add_php_before_delete_vvvvvxm = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + vvvvvxm(add_php_before_delete_vvvvvxm); - var add_php_after_delete_vvvvvxm = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - vvvvvxm(add_php_after_delete_vvvvvxm); + var add_php_after_delete_vvvvvxn = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + vvvvvxn(add_php_after_delete_vvvvvxn); - var add_php_document_vvvvvxn = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvxn(add_php_document_vvvvvxn); + var add_php_document_vvvvvxo = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvxo(add_php_document_vvvvvxo); - var add_sql_vvvvvxo = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvxo(add_sql_vvvvvxo); - - var source_vvvvvxp = jQuery("#jform_source input[type='radio']:checked").val(); var add_sql_vvvvvxp = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvxp(source_vvvvvxp,add_sql_vvvvvxp); + vvvvvxp(add_sql_vvvvvxp); - var source_vvvvvxr = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_vvvvvxr = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvxr(source_vvvvvxr,add_sql_vvvvvxr); + var source_vvvvvxq = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvxq = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvxq(source_vvvvvxq,add_sql_vvvvvxq); - var add_custom_import_vvvvvxt = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); - vvvvvxt(add_custom_import_vvvvvxt); + var source_vvvvvxs = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvxs = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvxs(source_vvvvvxs,add_sql_vvvvvxs); var add_custom_import_vvvvvxu = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); vvvvvxu(add_custom_import_vvvvvxu); - var add_custom_button_vvvvvxv = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - vvvvvxv(add_custom_button_vvvvvxv); + var add_custom_import_vvvvvxv = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); + vvvvvxv(add_custom_import_vvvvvxv); + + var add_custom_button_vvvvvxw = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + vvvvvxw(add_custom_button_vvvvvxw); }); -// the vvvvvwt function -function vvvvvwt(add_css_view_vvvvvwt) +// the vvvvvwu function +function vvvvvwu(add_css_view_vvvvvwu) { // set the function logic - if (add_css_view_vvvvvwt == 1) + if (add_css_view_vvvvvwu == 1) { jQuery('#jform_css_view').closest('.control-group').show(); - if (jform_vvvvvwtvwl_required) + if (jform_vvvvvwuvwm_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_vvvvvwtvwl_required = false; - } - - } - else - { - jQuery('#jform_css_view').closest('.control-group').hide(); - if (!jform_vvvvvwtvwl_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_vvvvvwtvwl_required = true; - } - } -} - -// the vvvvvwu function -function vvvvvwu(add_css_views_vvvvvwu) -{ - // set the function logic - if (add_css_views_vvvvvwu == 1) - { - jQuery('#jform_css_views').closest('.control-group').show(); - if (jform_vvvvvwuvwm_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_vvvvvwuvwm_required = false; } } else { - jQuery('#jform_css_views').closest('.control-group').hide(); + jQuery('#jform_css_view').closest('.control-group').hide(); if (!jform_vvvvvwuvwm_required) { - updateFieldRequired('css_views',1); - jQuery('#jform_css_views').removeAttr('required'); - jQuery('#jform_css_views').removeAttr('aria-required'); - jQuery('#jform_css_views').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_vvvvvwuvwm_required = true; } } } // the vvvvvwv function -function vvvvvwv(add_javascript_view_file_vvvvvwv) +function vvvvvwv(add_css_views_vvvvvwv) { // set the function logic - if (add_javascript_view_file_vvvvvwv == 1) + if (add_css_views_vvvvvwv == 1) { - jQuery('#jform_javascript_view_file').closest('.control-group').show(); + jQuery('#jform_css_views').closest('.control-group').show(); if (jform_vvvvvwvvwn_required) { - updateFieldRequired('javascript_view_file',0); - jQuery('#jform_javascript_view_file').prop('required','required'); - jQuery('#jform_javascript_view_file').attr('aria-required',true); - jQuery('#jform_javascript_view_file').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_vvvvvwvvwn_required = false; } } else { - jQuery('#jform_javascript_view_file').closest('.control-group').hide(); + jQuery('#jform_css_views').closest('.control-group').hide(); if (!jform_vvvvvwvvwn_required) { - updateFieldRequired('javascript_view_file',1); - jQuery('#jform_javascript_view_file').removeAttr('required'); - jQuery('#jform_javascript_view_file').removeAttr('aria-required'); - jQuery('#jform_javascript_view_file').removeClass('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_vvvvvwvvwn_required = true; } } } // the vvvvvww function -function vvvvvww(add_javascript_views_file_vvvvvww) +function vvvvvww(add_javascript_view_file_vvvvvww) { // set the function logic - if (add_javascript_views_file_vvvvvww == 1) + if (add_javascript_view_file_vvvvvww == 1) { - jQuery('#jform_javascript_views_file').closest('.control-group').show(); + jQuery('#jform_javascript_view_file').closest('.control-group').show(); if (jform_vvvvvwwvwo_required) { - updateFieldRequired('javascript_views_file',0); - jQuery('#jform_javascript_views_file').prop('required','required'); - jQuery('#jform_javascript_views_file').attr('aria-required',true); - jQuery('#jform_javascript_views_file').addClass('required'); + updateFieldRequired('javascript_view_file',0); + jQuery('#jform_javascript_view_file').prop('required','required'); + jQuery('#jform_javascript_view_file').attr('aria-required',true); + jQuery('#jform_javascript_view_file').addClass('required'); jform_vvvvvwwvwo_required = false; } } else { - jQuery('#jform_javascript_views_file').closest('.control-group').hide(); + jQuery('#jform_javascript_view_file').closest('.control-group').hide(); if (!jform_vvvvvwwvwo_required) { - updateFieldRequired('javascript_views_file',1); - jQuery('#jform_javascript_views_file').removeAttr('required'); - jQuery('#jform_javascript_views_file').removeAttr('aria-required'); - jQuery('#jform_javascript_views_file').removeClass('required'); + updateFieldRequired('javascript_view_file',1); + jQuery('#jform_javascript_view_file').removeAttr('required'); + jQuery('#jform_javascript_view_file').removeAttr('aria-required'); + jQuery('#jform_javascript_view_file').removeClass('required'); jform_vvvvvwwvwo_required = true; } } } // the vvvvvwx function -function vvvvvwx(add_javascript_view_footer_vvvvvwx) +function vvvvvwx(add_javascript_views_file_vvvvvwx) { // set the function logic - if (add_javascript_view_footer_vvvvvwx == 1) + if (add_javascript_views_file_vvvvvwx == 1) { - jQuery('#jform_javascript_view_footer').closest('.control-group').show(); + jQuery('#jform_javascript_views_file').closest('.control-group').show(); if (jform_vvvvvwxvwp_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'); + updateFieldRequired('javascript_views_file',0); + jQuery('#jform_javascript_views_file').prop('required','required'); + jQuery('#jform_javascript_views_file').attr('aria-required',true); + jQuery('#jform_javascript_views_file').addClass('required'); jform_vvvvvwxvwp_required = false; } } else { - jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); + jQuery('#jform_javascript_views_file').closest('.control-group').hide(); if (!jform_vvvvvwxvwp_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('javascript_views_file',1); + jQuery('#jform_javascript_views_file').removeAttr('required'); + jQuery('#jform_javascript_views_file').removeAttr('aria-required'); + jQuery('#jform_javascript_views_file').removeClass('required'); jform_vvvvvwxvwp_required = true; } } } // the vvvvvwy function -function vvvvvwy(add_javascript_views_footer_vvvvvwy) +function vvvvvwy(add_javascript_view_footer_vvvvvwy) { // set the function logic - if (add_javascript_views_footer_vvvvvwy == 1) + if (add_javascript_view_footer_vvvvvwy == 1) { - jQuery('#jform_javascript_views_footer').closest('.control-group').show(); + jQuery('#jform_javascript_view_footer').closest('.control-group').show(); if (jform_vvvvvwyvwq_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('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_vvvvvwyvwq_required = false; } } else { - jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); + jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); if (!jform_vvvvvwyvwq_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'); + 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_vvvvvwyvwq_required = true; } } } // the vvvvvwz function -function vvvvvwz(add_php_ajax_vvvvvwz) +function vvvvvwz(add_javascript_views_footer_vvvvvwz) { // set the function logic - if (add_php_ajax_vvvvvwz == 1) + if (add_javascript_views_footer_vvvvvwz == 1) + { + jQuery('#jform_javascript_views_footer').closest('.control-group').show(); + if (jform_vvvvvwzvwr_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_vvvvvwzvwr_required = false; + } + + } + else + { + jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); + if (!jform_vvvvvwzvwr_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_vvvvvwzvwr_required = true; + } + } +} + +// the vvvvvxa function +function vvvvvxa(add_php_ajax_vvvvvxa) +{ + // set the function logic + if (add_php_ajax_vvvvvxa == 1) { jQuery('#jform_ajax_input').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); - if (jform_vvvvvwzvwr_required) + if (jform_vvvvvxavws_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_vvvvvwzvwr_required = false; + jform_vvvvvxavws_required = false; } } @@ -349,518 +349,518 @@ function vvvvvwz(add_php_ajax_vvvvvwz) { jQuery('#jform_ajax_input').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); - if (!jform_vvvvvwzvwr_required) + if (!jform_vvvvvxavws_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_vvvvvwzvwr_required = true; - } - } -} - -// the vvvvvxa function -function vvvvvxa(add_php_getitem_vvvvvxa) -{ - // set the function logic - if (add_php_getitem_vvvvvxa == 1) - { - jQuery('#jform_php_getitem').closest('.control-group').show(); - if (jform_vvvvvxavws_required) - { - updateFieldRequired('php_getitem',0); - jQuery('#jform_php_getitem').prop('required','required'); - jQuery('#jform_php_getitem').attr('aria-required',true); - jQuery('#jform_php_getitem').addClass('required'); - jform_vvvvvxavws_required = false; - } - - } - else - { - jQuery('#jform_php_getitem').closest('.control-group').hide(); - if (!jform_vvvvvxavws_required) - { - updateFieldRequired('php_getitem',1); - jQuery('#jform_php_getitem').removeAttr('required'); - jQuery('#jform_php_getitem').removeAttr('aria-required'); - jQuery('#jform_php_getitem').removeClass('required'); jform_vvvvvxavws_required = true; } } } // the vvvvvxb function -function vvvvvxb(add_php_getitems_vvvvvxb) +function vvvvvxb(add_php_getitem_vvvvvxb) { // set the function logic - if (add_php_getitems_vvvvvxb == 1) + if (add_php_getitem_vvvvvxb == 1) { - jQuery('#jform_php_getitems').closest('.control-group').show(); + jQuery('#jform_php_getitem').closest('.control-group').show(); if (jform_vvvvvxbvwt_required) { - updateFieldRequired('php_getitems',0); - jQuery('#jform_php_getitems').prop('required','required'); - jQuery('#jform_php_getitems').attr('aria-required',true); - jQuery('#jform_php_getitems').addClass('required'); + updateFieldRequired('php_getitem',0); + jQuery('#jform_php_getitem').prop('required','required'); + jQuery('#jform_php_getitem').attr('aria-required',true); + jQuery('#jform_php_getitem').addClass('required'); jform_vvvvvxbvwt_required = false; } } else { - jQuery('#jform_php_getitems').closest('.control-group').hide(); + jQuery('#jform_php_getitem').closest('.control-group').hide(); if (!jform_vvvvvxbvwt_required) { - updateFieldRequired('php_getitems',1); - jQuery('#jform_php_getitems').removeAttr('required'); - jQuery('#jform_php_getitems').removeAttr('aria-required'); - jQuery('#jform_php_getitems').removeClass('required'); + updateFieldRequired('php_getitem',1); + jQuery('#jform_php_getitem').removeAttr('required'); + jQuery('#jform_php_getitem').removeAttr('aria-required'); + jQuery('#jform_php_getitem').removeClass('required'); jform_vvvvvxbvwt_required = true; } } } // the vvvvvxc function -function vvvvvxc(add_php_getitems_after_all_vvvvvxc) +function vvvvvxc(add_php_getitems_vvvvvxc) { // set the function logic - if (add_php_getitems_after_all_vvvvvxc == 1) + if (add_php_getitems_vvvvvxc == 1) { - jQuery('#jform_php_getitems_after_all').closest('.control-group').show(); + jQuery('#jform_php_getitems').closest('.control-group').show(); if (jform_vvvvvxcvwu_required) { - updateFieldRequired('php_getitems_after_all',0); - jQuery('#jform_php_getitems_after_all').prop('required','required'); - jQuery('#jform_php_getitems_after_all').attr('aria-required',true); - jQuery('#jform_php_getitems_after_all').addClass('required'); + updateFieldRequired('php_getitems',0); + jQuery('#jform_php_getitems').prop('required','required'); + jQuery('#jform_php_getitems').attr('aria-required',true); + jQuery('#jform_php_getitems').addClass('required'); jform_vvvvvxcvwu_required = false; } } else { - jQuery('#jform_php_getitems_after_all').closest('.control-group').hide(); + jQuery('#jform_php_getitems').closest('.control-group').hide(); if (!jform_vvvvvxcvwu_required) { - updateFieldRequired('php_getitems_after_all',1); - jQuery('#jform_php_getitems_after_all').removeAttr('required'); - jQuery('#jform_php_getitems_after_all').removeAttr('aria-required'); - jQuery('#jform_php_getitems_after_all').removeClass('required'); + updateFieldRequired('php_getitems',1); + jQuery('#jform_php_getitems').removeAttr('required'); + jQuery('#jform_php_getitems').removeAttr('aria-required'); + jQuery('#jform_php_getitems').removeClass('required'); jform_vvvvvxcvwu_required = true; } } } // the vvvvvxd function -function vvvvvxd(add_php_getlistquery_vvvvvxd) +function vvvvvxd(add_php_getitems_after_all_vvvvvxd) { // set the function logic - if (add_php_getlistquery_vvvvvxd == 1) + if (add_php_getitems_after_all_vvvvvxd == 1) { - jQuery('#jform_php_getlistquery').closest('.control-group').show(); + jQuery('#jform_php_getitems_after_all').closest('.control-group').show(); if (jform_vvvvvxdvwv_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'); + updateFieldRequired('php_getitems_after_all',0); + jQuery('#jform_php_getitems_after_all').prop('required','required'); + jQuery('#jform_php_getitems_after_all').attr('aria-required',true); + jQuery('#jform_php_getitems_after_all').addClass('required'); jform_vvvvvxdvwv_required = false; } } else { - jQuery('#jform_php_getlistquery').closest('.control-group').hide(); + jQuery('#jform_php_getitems_after_all').closest('.control-group').hide(); if (!jform_vvvvvxdvwv_required) { - updateFieldRequired('php_getlistquery',1); - jQuery('#jform_php_getlistquery').removeAttr('required'); - jQuery('#jform_php_getlistquery').removeAttr('aria-required'); - jQuery('#jform_php_getlistquery').removeClass('required'); + updateFieldRequired('php_getitems_after_all',1); + jQuery('#jform_php_getitems_after_all').removeAttr('required'); + jQuery('#jform_php_getitems_after_all').removeAttr('aria-required'); + jQuery('#jform_php_getitems_after_all').removeClass('required'); jform_vvvvvxdvwv_required = true; } } } // the vvvvvxe function -function vvvvvxe(add_php_save_vvvvvxe) +function vvvvvxe(add_php_getlistquery_vvvvvxe) { // set the function logic - if (add_php_save_vvvvvxe == 1) + if (add_php_getlistquery_vvvvvxe == 1) { - jQuery('#jform_php_save').closest('.control-group').show(); + jQuery('#jform_php_getlistquery').closest('.control-group').show(); if (jform_vvvvvxevww_required) { - updateFieldRequired('php_save',0); - jQuery('#jform_php_save').prop('required','required'); - jQuery('#jform_php_save').attr('aria-required',true); - jQuery('#jform_php_save').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_vvvvvxevww_required = false; } } else { - jQuery('#jform_php_save').closest('.control-group').hide(); + jQuery('#jform_php_getlistquery').closest('.control-group').hide(); if (!jform_vvvvvxevww_required) { - updateFieldRequired('php_save',1); - jQuery('#jform_php_save').removeAttr('required'); - jQuery('#jform_php_save').removeAttr('aria-required'); - jQuery('#jform_php_save').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_vvvvvxevww_required = true; } } } // the vvvvvxf function -function vvvvvxf(add_php_postsavehook_vvvvvxf) +function vvvvvxf(add_php_save_vvvvvxf) { // set the function logic - if (add_php_postsavehook_vvvvvxf == 1) + if (add_php_save_vvvvvxf == 1) { - jQuery('#jform_php_postsavehook').closest('.control-group').show(); + jQuery('#jform_php_save').closest('.control-group').show(); if (jform_vvvvvxfvwx_required) { - updateFieldRequired('php_postsavehook',0); - jQuery('#jform_php_postsavehook').prop('required','required'); - jQuery('#jform_php_postsavehook').attr('aria-required',true); - jQuery('#jform_php_postsavehook').addClass('required'); + updateFieldRequired('php_save',0); + jQuery('#jform_php_save').prop('required','required'); + jQuery('#jform_php_save').attr('aria-required',true); + jQuery('#jform_php_save').addClass('required'); jform_vvvvvxfvwx_required = false; } } else { - jQuery('#jform_php_postsavehook').closest('.control-group').hide(); + jQuery('#jform_php_save').closest('.control-group').hide(); if (!jform_vvvvvxfvwx_required) { - updateFieldRequired('php_postsavehook',1); - jQuery('#jform_php_postsavehook').removeAttr('required'); - jQuery('#jform_php_postsavehook').removeAttr('aria-required'); - jQuery('#jform_php_postsavehook').removeClass('required'); + updateFieldRequired('php_save',1); + jQuery('#jform_php_save').removeAttr('required'); + jQuery('#jform_php_save').removeAttr('aria-required'); + jQuery('#jform_php_save').removeClass('required'); jform_vvvvvxfvwx_required = true; } } } // the vvvvvxg function -function vvvvvxg(add_php_allowedit_vvvvvxg) +function vvvvvxg(add_php_postsavehook_vvvvvxg) { // set the function logic - if (add_php_allowedit_vvvvvxg == 1) + if (add_php_postsavehook_vvvvvxg == 1) { - jQuery('#jform_php_allowedit').closest('.control-group').show(); + jQuery('#jform_php_postsavehook').closest('.control-group').show(); if (jform_vvvvvxgvwy_required) { - updateFieldRequired('php_allowedit',0); - jQuery('#jform_php_allowedit').prop('required','required'); - jQuery('#jform_php_allowedit').attr('aria-required',true); - jQuery('#jform_php_allowedit').addClass('required'); + updateFieldRequired('php_postsavehook',0); + jQuery('#jform_php_postsavehook').prop('required','required'); + jQuery('#jform_php_postsavehook').attr('aria-required',true); + jQuery('#jform_php_postsavehook').addClass('required'); jform_vvvvvxgvwy_required = false; } } else { - jQuery('#jform_php_allowedit').closest('.control-group').hide(); + jQuery('#jform_php_postsavehook').closest('.control-group').hide(); if (!jform_vvvvvxgvwy_required) { - updateFieldRequired('php_allowedit',1); - jQuery('#jform_php_allowedit').removeAttr('required'); - jQuery('#jform_php_allowedit').removeAttr('aria-required'); - jQuery('#jform_php_allowedit').removeClass('required'); + updateFieldRequired('php_postsavehook',1); + jQuery('#jform_php_postsavehook').removeAttr('required'); + jQuery('#jform_php_postsavehook').removeAttr('aria-required'); + jQuery('#jform_php_postsavehook').removeClass('required'); jform_vvvvvxgvwy_required = true; } } } // the vvvvvxh function -function vvvvvxh(add_php_batchcopy_vvvvvxh) +function vvvvvxh(add_php_allowedit_vvvvvxh) { // set the function logic - if (add_php_batchcopy_vvvvvxh == 1) + if (add_php_allowedit_vvvvvxh == 1) { - jQuery('#jform_php_batchcopy').closest('.control-group').show(); + jQuery('#jform_php_allowedit').closest('.control-group').show(); if (jform_vvvvvxhvwz_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_allowedit',0); + jQuery('#jform_php_allowedit').prop('required','required'); + jQuery('#jform_php_allowedit').attr('aria-required',true); + jQuery('#jform_php_allowedit').addClass('required'); jform_vvvvvxhvwz_required = false; } } else { - jQuery('#jform_php_batchcopy').closest('.control-group').hide(); + jQuery('#jform_php_allowedit').closest('.control-group').hide(); if (!jform_vvvvvxhvwz_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_allowedit',1); + jQuery('#jform_php_allowedit').removeAttr('required'); + jQuery('#jform_php_allowedit').removeAttr('aria-required'); + jQuery('#jform_php_allowedit').removeClass('required'); jform_vvvvvxhvwz_required = true; } } } // the vvvvvxi function -function vvvvvxi(add_php_batchmove_vvvvvxi) +function vvvvvxi(add_php_batchcopy_vvvvvxi) { // set the function logic - if (add_php_batchmove_vvvvvxi == 1) + if (add_php_batchcopy_vvvvvxi == 1) { - jQuery('#jform_php_batchmove').closest('.control-group').show(); + jQuery('#jform_php_batchcopy').closest('.control-group').show(); if (jform_vvvvvxivxa_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_vvvvvxivxa_required = false; } } else { - jQuery('#jform_php_batchmove').closest('.control-group').hide(); + jQuery('#jform_php_batchcopy').closest('.control-group').hide(); if (!jform_vvvvvxivxa_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_vvvvvxivxa_required = true; } } } // the vvvvvxj function -function vvvvvxj(add_php_before_publish_vvvvvxj) +function vvvvvxj(add_php_batchmove_vvvvvxj) { // set the function logic - if (add_php_before_publish_vvvvvxj == 1) + if (add_php_batchmove_vvvvvxj == 1) { - jQuery('#jform_php_before_publish').closest('.control-group').show(); + jQuery('#jform_php_batchmove').closest('.control-group').show(); if (jform_vvvvvxjvxb_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_vvvvvxjvxb_required = false; } } else { - jQuery('#jform_php_before_publish').closest('.control-group').hide(); + jQuery('#jform_php_batchmove').closest('.control-group').hide(); if (!jform_vvvvvxjvxb_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_vvvvvxjvxb_required = true; } } } // the vvvvvxk function -function vvvvvxk(add_php_after_publish_vvvvvxk) +function vvvvvxk(add_php_before_publish_vvvvvxk) { // set the function logic - if (add_php_after_publish_vvvvvxk == 1) + if (add_php_before_publish_vvvvvxk == 1) { - jQuery('#jform_php_after_publish').closest('.control-group').show(); + jQuery('#jform_php_before_publish').closest('.control-group').show(); if (jform_vvvvvxkvxc_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_vvvvvxkvxc_required = false; } } else { - jQuery('#jform_php_after_publish').closest('.control-group').hide(); + jQuery('#jform_php_before_publish').closest('.control-group').hide(); if (!jform_vvvvvxkvxc_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_vvvvvxkvxc_required = true; } } } // the vvvvvxl function -function vvvvvxl(add_php_before_delete_vvvvvxl) +function vvvvvxl(add_php_after_publish_vvvvvxl) { // set the function logic - if (add_php_before_delete_vvvvvxl == 1) + if (add_php_after_publish_vvvvvxl == 1) { - jQuery('#jform_php_before_delete').closest('.control-group').show(); + jQuery('#jform_php_after_publish').closest('.control-group').show(); if (jform_vvvvvxlvxd_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_vvvvvxlvxd_required = false; } } else { - jQuery('#jform_php_before_delete').closest('.control-group').hide(); + jQuery('#jform_php_after_publish').closest('.control-group').hide(); if (!jform_vvvvvxlvxd_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_vvvvvxlvxd_required = true; } } } // the vvvvvxm function -function vvvvvxm(add_php_after_delete_vvvvvxm) +function vvvvvxm(add_php_before_delete_vvvvvxm) { // set the function logic - if (add_php_after_delete_vvvvvxm == 1) + if (add_php_before_delete_vvvvvxm == 1) { - jQuery('#jform_php_after_delete').closest('.control-group').show(); + jQuery('#jform_php_before_delete').closest('.control-group').show(); if (jform_vvvvvxmvxe_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_vvvvvxmvxe_required = false; } } else { - jQuery('#jform_php_after_delete').closest('.control-group').hide(); + jQuery('#jform_php_before_delete').closest('.control-group').hide(); if (!jform_vvvvvxmvxe_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_vvvvvxmvxe_required = true; } } } // the vvvvvxn function -function vvvvvxn(add_php_document_vvvvvxn) +function vvvvvxn(add_php_after_delete_vvvvvxn) { // set the function logic - if (add_php_document_vvvvvxn == 1) + if (add_php_after_delete_vvvvvxn == 1) { - jQuery('#jform_php_document').closest('.control-group').show(); + jQuery('#jform_php_after_delete').closest('.control-group').show(); if (jform_vvvvvxnvxf_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_vvvvvxnvxf_required = false; } } else { - jQuery('#jform_php_document').closest('.control-group').hide(); + jQuery('#jform_php_after_delete').closest('.control-group').hide(); if (!jform_vvvvvxnvxf_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_vvvvvxnvxf_required = true; } } } // the vvvvvxo function -function vvvvvxo(add_sql_vvvvvxo) +function vvvvvxo(add_php_document_vvvvvxo) { // set the function logic - if (add_sql_vvvvvxo == 1) + if (add_php_document_vvvvvxo == 1) { - jQuery('#jform_source').closest('.control-group').show(); + jQuery('#jform_php_document').closest('.control-group').show(); if (jform_vvvvvxovxg_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_vvvvvxovxg_required = false; } } else { - jQuery('#jform_source').closest('.control-group').hide(); + jQuery('#jform_php_document').closest('.control-group').hide(); if (!jform_vvvvvxovxg_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_vvvvvxovxg_required = true; } } } // the vvvvvxp function -function vvvvvxp(source_vvvvvxp,add_sql_vvvvvxp) +function vvvvvxp(add_sql_vvvvvxp) { // set the function logic - if (source_vvvvvxp == 2 && add_sql_vvvvvxp == 1) + if (add_sql_vvvvvxp == 1) { - jQuery('#jform_sql').closest('.control-group').show(); + jQuery('#jform_source').closest('.control-group').show(); if (jform_vvvvvxpvxh_required) { - updateFieldRequired('sql',0); - jQuery('#jform_sql').prop('required','required'); - jQuery('#jform_sql').attr('aria-required',true); - jQuery('#jform_sql').addClass('required'); + updateFieldRequired('source',0); + jQuery('#jform_source').prop('required','required'); + jQuery('#jform_source').attr('aria-required',true); + jQuery('#jform_source').addClass('required'); jform_vvvvvxpvxh_required = false; } } else { - jQuery('#jform_sql').closest('.control-group').hide(); + jQuery('#jform_source').closest('.control-group').hide(); if (!jform_vvvvvxpvxh_required) { - updateFieldRequired('sql',1); - jQuery('#jform_sql').removeAttr('required'); - jQuery('#jform_sql').removeAttr('aria-required'); - jQuery('#jform_sql').removeClass('required'); + updateFieldRequired('source',1); + jQuery('#jform_source').removeAttr('required'); + jQuery('#jform_source').removeAttr('aria-required'); + jQuery('#jform_source').removeClass('required'); jform_vvvvvxpvxh_required = true; } } } -// the vvvvvxr function -function vvvvvxr(source_vvvvvxr,add_sql_vvvvvxr) +// the vvvvvxq function +function vvvvvxq(source_vvvvvxq,add_sql_vvvvvxq) { // set the function logic - if (source_vvvvvxr == 1 && add_sql_vvvvvxr == 1) + if (source_vvvvvxq == 2 && add_sql_vvvvvxq == 1) + { + jQuery('#jform_sql').closest('.control-group').show(); + if (jform_vvvvvxqvxi_required) + { + updateFieldRequired('sql',0); + jQuery('#jform_sql').prop('required','required'); + jQuery('#jform_sql').attr('aria-required',true); + jQuery('#jform_sql').addClass('required'); + jform_vvvvvxqvxi_required = false; + } + + } + else + { + jQuery('#jform_sql').closest('.control-group').hide(); + if (!jform_vvvvvxqvxi_required) + { + updateFieldRequired('sql',1); + jQuery('#jform_sql').removeAttr('required'); + jQuery('#jform_sql').removeAttr('aria-required'); + jQuery('#jform_sql').removeClass('required'); + jform_vvvvvxqvxi_required = true; + } + } +} + +// the vvvvvxs function +function vvvvvxs(source_vvvvvxs,add_sql_vvvvvxs) +{ + // set the function logic + if (source_vvvvvxs == 1 && add_sql_vvvvvxs == 1) { jQuery('#jform_addtables').closest('.control-group').show(); } @@ -870,120 +870,120 @@ function vvvvvxr(source_vvvvvxr,add_sql_vvvvvxr) } } -// the vvvvvxt function -function vvvvvxt(add_custom_import_vvvvvxt) +// the vvvvvxu function +function vvvvvxu(add_custom_import_vvvvvxu) { // set the function logic - if (add_custom_import_vvvvvxt == 1) + if (add_custom_import_vvvvvxu == 1) { jQuery('#jform_html_import_view').closest('.control-group').show(); - if (jform_vvvvvxtvxi_required) + if (jform_vvvvvxuvxj_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_vvvvvxtvxi_required = false; + jform_vvvvvxuvxj_required = false; } jQuery('.note_advanced_import').closest('.control-group').show(); jQuery('#jform_php_import_display').closest('.control-group').show(); - if (jform_vvvvvxtvxj_required) + if (jform_vvvvvxuvxk_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_vvvvvxtvxj_required = false; + jform_vvvvvxuvxk_required = false; } jQuery('#jform_php_import').closest('.control-group').show(); - if (jform_vvvvvxtvxk_required) + if (jform_vvvvvxuvxl_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_vvvvvxtvxk_required = false; + jform_vvvvvxuvxl_required = false; } jQuery('#jform_php_import_save').closest('.control-group').show(); - if (jform_vvvvvxtvxl_required) + if (jform_vvvvvxuvxm_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_vvvvvxtvxl_required = false; + jform_vvvvvxuvxm_required = false; } jQuery('#jform_php_import_setdata').closest('.control-group').show(); - if (jform_vvvvvxtvxm_required) + if (jform_vvvvvxuvxn_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_vvvvvxtvxm_required = false; + jform_vvvvvxuvxn_required = false; } } else { jQuery('#jform_html_import_view').closest('.control-group').hide(); - if (!jform_vvvvvxtvxi_required) + if (!jform_vvvvvxuvxj_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_vvvvvxtvxi_required = true; + jform_vvvvvxuvxj_required = true; } jQuery('.note_advanced_import').closest('.control-group').hide(); jQuery('#jform_php_import_display').closest('.control-group').hide(); - if (!jform_vvvvvxtvxj_required) + if (!jform_vvvvvxuvxk_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_vvvvvxtvxj_required = true; + jform_vvvvvxuvxk_required = true; } jQuery('#jform_php_import').closest('.control-group').hide(); - if (!jform_vvvvvxtvxk_required) + if (!jform_vvvvvxuvxl_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_vvvvvxtvxk_required = true; + jform_vvvvvxuvxl_required = true; } jQuery('#jform_php_import_save').closest('.control-group').hide(); - if (!jform_vvvvvxtvxl_required) + if (!jform_vvvvvxuvxm_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_vvvvvxtvxl_required = true; + jform_vvvvvxuvxm_required = true; } jQuery('#jform_php_import_setdata').closest('.control-group').hide(); - if (!jform_vvvvvxtvxm_required) + if (!jform_vvvvvxuvxn_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_vvvvvxtvxm_required = true; + jform_vvvvvxuvxn_required = true; } } } -// the vvvvvxu function -function vvvvvxu(add_custom_import_vvvvvxu) +// the vvvvvxv function +function vvvvvxv(add_custom_import_vvvvvxv) { // set the function logic - if (add_custom_import_vvvvvxu == 0) + if (add_custom_import_vvvvvxv == 0) { jQuery('.note_beginner_import').closest('.control-group').show(); } @@ -993,31 +993,31 @@ function vvvvvxu(add_custom_import_vvvvvxu) } } -// the vvvvvxv function -function vvvvvxv(add_custom_button_vvvvvxv) +// the vvvvvxw function +function vvvvvxw(add_custom_button_vvvvvxw) { // set the function logic - if (add_custom_button_vvvvvxv == 1) + if (add_custom_button_vvvvvxw == 1) { jQuery('#jform_custom_button').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show(); - if (jform_vvvvvxvvxn_required) + if (jform_vvvvvxwvxo_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_vvvvvxvvxn_required = false; + jform_vvvvvxwvxo_required = false; } jQuery('#jform_php_model').closest('.control-group').show(); - if (jform_vvvvvxvvxo_required) + if (jform_vvvvvxwvxp_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_vvvvvxvvxo_required = false; + jform_vvvvvxwvxp_required = false; } } @@ -1025,22 +1025,22 @@ function vvvvvxv(add_custom_button_vvvvvxv) { jQuery('#jform_custom_button').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide(); - if (!jform_vvvvvxvvxn_required) + if (!jform_vvvvvxwvxo_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_vvvvvxvvxn_required = true; + jform_vvvvvxwvxo_required = true; } jQuery('#jform_php_model').closest('.control-group').hide(); - if (!jform_vvvvvxvvxo_required) + if (!jform_vvvvvxwvxp_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_vvvvvxvvxo_required = true; + jform_vvvvvxwvxp_required = true; } } } diff --git a/admin/models/forms/component.js b/admin/models/forms/component.js index d1791c3ae..bececcc32 100644 --- a/admin/models/forms/component.js +++ b/admin/models/forms/component.js @@ -37,6 +37,7 @@ jform_vvvvvwjvwf_required = false; jform_vvvvvwkvwg_required = false; jform_vvvvvwlvwh_required = false; jform_vvvvvwmvwi_required = false; +jform_vvvvvwtvwj_required = false; // Initial Script jQuery(document).ready(function() @@ -110,6 +111,9 @@ jQuery(document).ready(function() var update_server_target_vvvvvwr = jQuery("#jform_update_server_target input[type='radio']:checked").val(); var add_update_server_vvvvvwr = jQuery("#jform_add_update_server input[type='radio']:checked").val(); vvvvvwr(update_server_target_vvvvvwr,add_update_server_vvvvvwr); + + var add_update_server_vvvvvwt = jQuery("#jform_add_update_server input[type='radio']:checked").val(); + vvvvvwt(add_update_server_vvvvvwt); }); // the vvvvvvv function @@ -670,6 +674,37 @@ function vvvvvwr(update_server_target_vvvvvwr,add_update_server_vvvvvwr) } } +// the vvvvvwt function +function vvvvvwt(add_update_server_vvvvvwt) +{ + // set the function logic + if (add_update_server_vvvvvwt == 1) + { + jQuery('#jform_update_server_target').closest('.control-group').show(); + if (jform_vvvvvwtvwj_required) + { + updateFieldRequired('update_server_target',0); + jQuery('#jform_update_server_target').prop('required','required'); + jQuery('#jform_update_server_target').attr('aria-required',true); + jQuery('#jform_update_server_target').addClass('required'); + jform_vvvvvwtvwj_required = false; + } + + } + else + { + jQuery('#jform_update_server_target').closest('.control-group').hide(); + if (!jform_vvvvvwtvwj_required) + { + updateFieldRequired('update_server_target',1); + jQuery('#jform_update_server_target').removeAttr('required'); + jQuery('#jform_update_server_target').removeAttr('aria-required'); + jQuery('#jform_update_server_target').removeClass('required'); + jform_vvvvvwtvwj_required = true; + } + } +} + // update required fields function updateFieldRequired(name,status) { diff --git a/admin/models/forms/custom_admin_view.js b/admin/models/forms/custom_admin_view.js index 17f4d830a..a05886aa0 100644 --- a/admin/models/forms/custom_admin_view.js +++ b/admin/models/forms/custom_admin_view.js @@ -23,255 +23,255 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvxwvxq_required = false; jform_vvvvvxxvxr_required = false; jform_vvvvvxyvxs_required = false; jform_vvvvvxzvxt_required = false; jform_vvvvvyavxu_required = false; jform_vvvvvybvxv_required = false; jform_vvvvvycvxw_required = false; -jform_vvvvvycvxx_required = false; +jform_vvvvvydvxx_required = false; jform_vvvvvydvxy_required = false; +jform_vvvvvyevxz_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvxw = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvxw(add_php_view_vvvvvxw); + var add_php_view_vvvvvxx = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvxx(add_php_view_vvvvvxx); - var add_php_jview_display_vvvvvxx = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - vvvvvxx(add_php_jview_display_vvvvvxx); + var add_php_jview_display_vvvvvxy = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + vvvvvxy(add_php_jview_display_vvvvvxy); - var add_php_jview_vvvvvxy = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - vvvvvxy(add_php_jview_vvvvvxy); + var add_php_jview_vvvvvxz = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + vvvvvxz(add_php_jview_vvvvvxz); - var add_php_document_vvvvvxz = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvxz(add_php_document_vvvvvxz); + var add_php_document_vvvvvya = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvya(add_php_document_vvvvvya); - var add_css_document_vvvvvya = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - vvvvvya(add_css_document_vvvvvya); + var add_css_document_vvvvvyb = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + vvvvvyb(add_css_document_vvvvvyb); - var add_js_document_vvvvvyb = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - vvvvvyb(add_js_document_vvvvvyb); + var add_js_document_vvvvvyc = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + vvvvvyc(add_js_document_vvvvvyc); - var add_custom_button_vvvvvyc = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - vvvvvyc(add_custom_button_vvvvvyc); + var add_custom_button_vvvvvyd = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + vvvvvyd(add_custom_button_vvvvvyd); - var add_css_vvvvvyd = jQuery("#jform_add_css input[type='radio']:checked").val(); - vvvvvyd(add_css_vvvvvyd); + var add_css_vvvvvye = jQuery("#jform_add_css input[type='radio']:checked").val(); + vvvvvye(add_css_vvvvvye); }); -// the vvvvvxw function -function vvvvvxw(add_php_view_vvvvvxw) +// the vvvvvxx function +function vvvvvxx(add_php_view_vvvvvxx) { // set the function logic - if (add_php_view_vvvvvxw == 1) + if (add_php_view_vvvvvxx == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvxwvxq_required) + if (jform_vvvvvxxvxr_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_vvvvvxwvxq_required = false; - } - - } - else - { - jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvxwvxq_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_vvvvvxwvxq_required = true; - } - } -} - -// the vvvvvxx function -function vvvvvxx(add_php_jview_display_vvvvvxx) -{ - // set the function logic - if (add_php_jview_display_vvvvvxx == 1) - { - jQuery('#jform_php_jview_display').closest('.control-group').show(); - if (jform_vvvvvxxvxr_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_vvvvvxxvxr_required = false; } } else { - jQuery('#jform_php_jview_display').closest('.control-group').hide(); + jQuery('#jform_php_view').closest('.control-group').hide(); if (!jform_vvvvvxxvxr_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'); + updateFieldRequired('php_view',1); + jQuery('#jform_php_view').removeAttr('required'); + jQuery('#jform_php_view').removeAttr('aria-required'); + jQuery('#jform_php_view').removeClass('required'); jform_vvvvvxxvxr_required = true; } } } // the vvvvvxy function -function vvvvvxy(add_php_jview_vvvvvxy) +function vvvvvxy(add_php_jview_display_vvvvvxy) { // set the function logic - if (add_php_jview_vvvvvxy == 1) + if (add_php_jview_display_vvvvvxy == 1) { - jQuery('#jform_php_jview').closest('.control-group').show(); + jQuery('#jform_php_jview_display').closest('.control-group').show(); if (jform_vvvvvxyvxs_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'); + 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_vvvvvxyvxs_required = false; } } else { - jQuery('#jform_php_jview').closest('.control-group').hide(); + jQuery('#jform_php_jview_display').closest('.control-group').hide(); if (!jform_vvvvvxyvxs_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_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_vvvvvxyvxs_required = true; } } } // the vvvvvxz function -function vvvvvxz(add_php_document_vvvvvxz) +function vvvvvxz(add_php_jview_vvvvvxz) { // set the function logic - if (add_php_document_vvvvvxz == 1) + if (add_php_jview_vvvvvxz == 1) { - jQuery('#jform_php_document').closest('.control-group').show(); + jQuery('#jform_php_jview').closest('.control-group').show(); if (jform_vvvvvxzvxt_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',0); + jQuery('#jform_php_jview').prop('required','required'); + jQuery('#jform_php_jview').attr('aria-required',true); + jQuery('#jform_php_jview').addClass('required'); jform_vvvvvxzvxt_required = false; } } else { - jQuery('#jform_php_document').closest('.control-group').hide(); + jQuery('#jform_php_jview').closest('.control-group').hide(); if (!jform_vvvvvxzvxt_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',1); + jQuery('#jform_php_jview').removeAttr('required'); + jQuery('#jform_php_jview').removeAttr('aria-required'); + jQuery('#jform_php_jview').removeClass('required'); jform_vvvvvxzvxt_required = true; } } } // the vvvvvya function -function vvvvvya(add_css_document_vvvvvya) +function vvvvvya(add_php_document_vvvvvya) { // set the function logic - if (add_css_document_vvvvvya == 1) + if (add_php_document_vvvvvya == 1) { - jQuery('#jform_css_document').closest('.control-group').show(); + jQuery('#jform_php_document').closest('.control-group').show(); if (jform_vvvvvyavxu_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_document',0); + jQuery('#jform_php_document').prop('required','required'); + jQuery('#jform_php_document').attr('aria-required',true); + jQuery('#jform_php_document').addClass('required'); jform_vvvvvyavxu_required = false; } } else { - jQuery('#jform_css_document').closest('.control-group').hide(); + jQuery('#jform_php_document').closest('.control-group').hide(); if (!jform_vvvvvyavxu_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_document',1); + jQuery('#jform_php_document').removeAttr('required'); + jQuery('#jform_php_document').removeAttr('aria-required'); + jQuery('#jform_php_document').removeClass('required'); jform_vvvvvyavxu_required = true; } } } // the vvvvvyb function -function vvvvvyb(add_js_document_vvvvvyb) +function vvvvvyb(add_css_document_vvvvvyb) { // set the function logic - if (add_js_document_vvvvvyb == 1) + if (add_css_document_vvvvvyb == 1) { - jQuery('#jform_js_document').closest('.control-group').show(); + jQuery('#jform_css_document').closest('.control-group').show(); if (jform_vvvvvybvxv_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('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_vvvvvybvxv_required = false; } } else { - jQuery('#jform_js_document').closest('.control-group').hide(); + jQuery('#jform_css_document').closest('.control-group').hide(); if (!jform_vvvvvybvxv_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('css_document',1); + jQuery('#jform_css_document').removeAttr('required'); + jQuery('#jform_css_document').removeAttr('aria-required'); + jQuery('#jform_css_document').removeClass('required'); jform_vvvvvybvxv_required = true; } } } // the vvvvvyc function -function vvvvvyc(add_custom_button_vvvvvyc) +function vvvvvyc(add_js_document_vvvvvyc) { // set the function logic - if (add_custom_button_vvvvvyc == 1) + if (add_js_document_vvvvvyc == 1) + { + jQuery('#jform_js_document').closest('.control-group').show(); + if (jform_vvvvvycvxw_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_vvvvvycvxw_required = false; + } + + } + else + { + jQuery('#jform_js_document').closest('.control-group').hide(); + if (!jform_vvvvvycvxw_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_vvvvvycvxw_required = true; + } + } +} + +// the vvvvvyd function +function vvvvvyd(add_custom_button_vvvvvyd) +{ + // set the function logic + if (add_custom_button_vvvvvyd == 1) { jQuery('#jform_custom_button').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show(); - if (jform_vvvvvycvxw_required) + if (jform_vvvvvydvxx_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_vvvvvycvxw_required = false; + jform_vvvvvydvxx_required = false; } jQuery('#jform_php_model').closest('.control-group').show(); - if (jform_vvvvvycvxx_required) + if (jform_vvvvvydvxy_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_vvvvvycvxx_required = false; + jform_vvvvvydvxy_required = false; } } @@ -279,53 +279,53 @@ function vvvvvyc(add_custom_button_vvvvvyc) { jQuery('#jform_custom_button').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide(); - if (!jform_vvvvvycvxw_required) + if (!jform_vvvvvydvxx_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_vvvvvycvxw_required = true; + jform_vvvvvydvxx_required = true; } jQuery('#jform_php_model').closest('.control-group').hide(); - if (!jform_vvvvvycvxx_required) + if (!jform_vvvvvydvxy_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_vvvvvycvxx_required = true; + jform_vvvvvydvxy_required = true; } } } -// the vvvvvyd function -function vvvvvyd(add_css_vvvvvyd) +// the vvvvvye function +function vvvvvye(add_css_vvvvvye) { // set the function logic - if (add_css_vvvvvyd == 1) + if (add_css_vvvvvye == 1) { jQuery('#jform_css').closest('.control-group').show(); - if (jform_vvvvvydvxy_required) + if (jform_vvvvvyevxz_required) { updateFieldRequired('css',0); jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').addClass('required'); - jform_vvvvvydvxy_required = false; + jform_vvvvvyevxz_required = false; } } else { jQuery('#jform_css').closest('.control-group').hide(); - if (!jform_vvvvvydvxy_required) + if (!jform_vvvvvyevxz_required) { updateFieldRequired('css',1); jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeClass('required'); - jform_vvvvvydvxy_required = true; + jform_vvvvvyevxz_required = true; } } } diff --git a/admin/models/forms/dynamic_get.js b/admin/models/forms/dynamic_get.js index 69385bd0a..15ade20e3 100644 --- a/admin/models/forms/dynamic_get.js +++ b/admin/models/forms/dynamic_get.js @@ -23,33 +23,30 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvypvyl_required = false; jform_vvvvvyqvym_required = false; jform_vvvvvyrvyn_required = false; jform_vvvvvysvyo_required = false; jform_vvvvvytvyp_required = false; jform_vvvvvyuvyq_required = false; -jform_vvvvvyzvyr_required = false; -jform_vvvvvzbvys_required = false; +jform_vvvvvyvvyr_required = false; +jform_vvvvvzavys_required = false; jform_vvvvvzcvyt_required = false; -jform_vvvvvzevyu_required = false; -jform_vvvvvzevyv_required = false; +jform_vvvvvzdvyu_required = false; +jform_vvvvvzfvyv_required = false; jform_vvvvvzfvyw_required = false; jform_vvvvvzgvyx_required = false; jform_vvvvvzhvyy_required = false; -jform_vvvvvzjvyz_required = false; -jform_vvvvvzjvza_required = false; -jform_vvvvvzjvzb_required = false; +jform_vvvvvzivyz_required = false; +jform_vvvvvzkvza_required = false; +jform_vvvvvzkvzb_required = false; jform_vvvvvzkvzc_required = false; +jform_vvvvvzlvzd_required = false; // Initial Script jQuery(document).ready(function() { - var gettype_vvvvvyp = jQuery("#jform_gettype").val(); - vvvvvyp(gettype_vvvvvyp); - - var main_source_vvvvvyq = jQuery("#jform_main_source").val(); - vvvvvyq(main_source_vvvvvyq); + var gettype_vvvvvyq = jQuery("#jform_gettype").val(); + vvvvvyq(gettype_vvvvvyq); var main_source_vvvvvyr = jQuery("#jform_main_source").val(); vvvvvyr(main_source_vvvvvyr); @@ -60,157 +57,105 @@ jQuery(document).ready(function() var main_source_vvvvvyt = jQuery("#jform_main_source").val(); vvvvvyt(main_source_vvvvvyt); - var addcalculation_vvvvvyu = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - vvvvvyu(addcalculation_vvvvvyu); + var main_source_vvvvvyu = jQuery("#jform_main_source").val(); + vvvvvyu(main_source_vvvvvyu); var addcalculation_vvvvvyv = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_vvvvvyv = jQuery("#jform_gettype").val(); - vvvvvyv(addcalculation_vvvvvyv,gettype_vvvvvyv); + vvvvvyv(addcalculation_vvvvvyv); var addcalculation_vvvvvyw = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var gettype_vvvvvyw = jQuery("#jform_gettype").val(); vvvvvyw(addcalculation_vvvvvyw,gettype_vvvvvyw); - var main_source_vvvvvyz = jQuery("#jform_main_source").val(); - vvvvvyz(main_source_vvvvvyz); + var addcalculation_vvvvvyx = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vvvvvyx = jQuery("#jform_gettype").val(); + vvvvvyx(addcalculation_vvvvvyx,gettype_vvvvvyx); var main_source_vvvvvza = jQuery("#jform_main_source").val(); vvvvvza(main_source_vvvvvza); - var add_php_before_getitem_vvvvvzb = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_vvvvvzb = jQuery("#jform_gettype").val(); - vvvvvzb(add_php_before_getitem_vvvvvzb,gettype_vvvvvzb); + var main_source_vvvvvzb = jQuery("#jform_main_source").val(); + vvvvvzb(main_source_vvvvvzb); - var add_php_after_getitem_vvvvvzc = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var add_php_before_getitem_vvvvvzc = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var gettype_vvvvvzc = jQuery("#jform_gettype").val(); - vvvvvzc(add_php_after_getitem_vvvvvzc,gettype_vvvvvzc); + vvvvvzc(add_php_before_getitem_vvvvvzc,gettype_vvvvvzc); - var gettype_vvvvvze = jQuery("#jform_gettype").val(); - vvvvvze(gettype_vvvvvze); + var add_php_after_getitem_vvvvvzd = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var gettype_vvvvvzd = jQuery("#jform_gettype").val(); + vvvvvzd(add_php_after_getitem_vvvvvzd,gettype_vvvvvzd); - var add_php_getlistquery_vvvvvzf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var gettype_vvvvvzf = jQuery("#jform_gettype").val(); - vvvvvzf(add_php_getlistquery_vvvvvzf,gettype_vvvvvzf); + vvvvvzf(gettype_vvvvvzf); - var add_php_before_getitems_vvvvvzg = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var add_php_getlistquery_vvvvvzg = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var gettype_vvvvvzg = jQuery("#jform_gettype").val(); - vvvvvzg(add_php_before_getitems_vvvvvzg,gettype_vvvvvzg); + vvvvvzg(add_php_getlistquery_vvvvvzg,gettype_vvvvvzg); - var add_php_after_getitems_vvvvvzh = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var add_php_before_getitems_vvvvvzh = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var gettype_vvvvvzh = jQuery("#jform_gettype").val(); - vvvvvzh(add_php_after_getitems_vvvvvzh,gettype_vvvvvzh); + vvvvvzh(add_php_before_getitems_vvvvvzh,gettype_vvvvvzh); - var gettype_vvvvvzj = jQuery("#jform_gettype").val(); - vvvvvzj(gettype_vvvvvzj); + var add_php_after_getitems_vvvvvzi = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var gettype_vvvvvzi = jQuery("#jform_gettype").val(); + vvvvvzi(add_php_after_getitems_vvvvvzi,gettype_vvvvvzi); var gettype_vvvvvzk = jQuery("#jform_gettype").val(); vvvvvzk(gettype_vvvvvzk); + + var gettype_vvvvvzl = jQuery("#jform_gettype").val(); + vvvvvzl(gettype_vvvvvzl); }); -// the vvvvvyp function -function vvvvvyp(gettype_vvvvvyp) +// the vvvvvyq function +function vvvvvyq(gettype_vvvvvyq) { - if (isSet(gettype_vvvvvyp) && gettype_vvvvvyp.constructor !== Array) + if (isSet(gettype_vvvvvyq) && gettype_vvvvvyq.constructor !== Array) { - var temp_vvvvvyp = gettype_vvvvvyp; - var gettype_vvvvvyp = []; - gettype_vvvvvyp.push(temp_vvvvvyp); + var temp_vvvvvyq = gettype_vvvvvyq; + var gettype_vvvvvyq = []; + gettype_vvvvvyq.push(temp_vvvvvyq); } - else if (!isSet(gettype_vvvvvyp)) + else if (!isSet(gettype_vvvvvyq)) { - var gettype_vvvvvyp = []; + var gettype_vvvvvyq = []; } - var gettype = gettype_vvvvvyp.some(gettype_vvvvvyp_SomeFunc); + var gettype = gettype_vvvvvyq.some(gettype_vvvvvyq_SomeFunc); // set this function logic if (gettype) { jQuery('#jform_getcustom').closest('.control-group').show(); - if (jform_vvvvvypvyl_required) + if (jform_vvvvvyqvym_required) { updateFieldRequired('getcustom',0); jQuery('#jform_getcustom').prop('required','required'); jQuery('#jform_getcustom').attr('aria-required',true); jQuery('#jform_getcustom').addClass('required'); - jform_vvvvvypvyl_required = false; - } - - } - else - { - jQuery('#jform_getcustom').closest('.control-group').hide(); - if (!jform_vvvvvypvyl_required) - { - updateFieldRequired('getcustom',1); - jQuery('#jform_getcustom').removeAttr('required'); - jQuery('#jform_getcustom').removeAttr('aria-required'); - jQuery('#jform_getcustom').removeClass('required'); - jform_vvvvvypvyl_required = true; - } - } -} - -// the vvvvvyp Some function -function gettype_vvvvvyp_SomeFunc(gettype_vvvvvyp) -{ - // set the function logic - if (gettype_vvvvvyp == 3 || gettype_vvvvvyp == 4) - { - return true; - } - return false; -} - -// the vvvvvyq function -function vvvvvyq(main_source_vvvvvyq) -{ - if (isSet(main_source_vvvvvyq) && main_source_vvvvvyq.constructor !== Array) - { - var temp_vvvvvyq = main_source_vvvvvyq; - var main_source_vvvvvyq = []; - main_source_vvvvvyq.push(temp_vvvvvyq); - } - else if (!isSet(main_source_vvvvvyq)) - { - var main_source_vvvvvyq = []; - } - var main_source = main_source_vvvvvyq.some(main_source_vvvvvyq_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_view_table_main').closest('.control-group').show(); - if (jform_vvvvvyqvym_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_vvvvvyqvym_required = false; } } else { - jQuery('#jform_view_table_main').closest('.control-group').hide(); + jQuery('#jform_getcustom').closest('.control-group').hide(); if (!jform_vvvvvyqvym_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'); + updateFieldRequired('getcustom',1); + jQuery('#jform_getcustom').removeAttr('required'); + jQuery('#jform_getcustom').removeAttr('aria-required'); + jQuery('#jform_getcustom').removeClass('required'); jform_vvvvvyqvym_required = true; } } } // the vvvvvyq Some function -function main_source_vvvvvyq_SomeFunc(main_source_vvvvvyq) +function gettype_vvvvvyq_SomeFunc(gettype_vvvvvyq) { // set the function logic - if (main_source_vvvvvyq == 1) + if (gettype_vvvvvyq == 3 || gettype_vvvvvyq == 4) { return true; } @@ -236,26 +181,26 @@ function vvvvvyr(main_source_vvvvvyr) // set this function logic if (main_source) { - jQuery('#jform_view_selection').closest('.control-group').show(); + jQuery('#jform_view_table_main').closest('.control-group').show(); if (jform_vvvvvyrvyn_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'); + 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_vvvvvyrvyn_required = false; } } else { - jQuery('#jform_view_selection').closest('.control-group').hide(); + jQuery('#jform_view_table_main').closest('.control-group').hide(); if (!jform_vvvvvyrvyn_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('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_vvvvvyrvyn_required = true; } } @@ -291,26 +236,26 @@ function vvvvvys(main_source_vvvvvys) // set this function logic if (main_source) { - jQuery('#jform_db_table_main').closest('.control-group').show(); + jQuery('#jform_view_selection').closest('.control-group').show(); if (jform_vvvvvysvyo_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_selection',0); + jQuery('#jform_view_selection').prop('required','required'); + jQuery('#jform_view_selection').attr('aria-required',true); + jQuery('#jform_view_selection').addClass('required'); jform_vvvvvysvyo_required = false; } } else { - jQuery('#jform_db_table_main').closest('.control-group').hide(); + jQuery('#jform_view_selection').closest('.control-group').hide(); if (!jform_vvvvvysvyo_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_selection',1); + jQuery('#jform_view_selection').removeAttr('required'); + jQuery('#jform_view_selection').removeAttr('aria-required'); + jQuery('#jform_view_selection').removeClass('required'); jform_vvvvvysvyo_required = true; } } @@ -320,7 +265,7 @@ function vvvvvys(main_source_vvvvvys) function main_source_vvvvvys_SomeFunc(main_source_vvvvvys) { // set the function logic - if (main_source_vvvvvys == 2) + if (main_source_vvvvvys == 1) { return true; } @@ -346,26 +291,26 @@ function vvvvvyt(main_source_vvvvvyt) // set this function logic if (main_source) { - jQuery('#jform_db_selection').closest('.control-group').show(); + jQuery('#jform_db_table_main').closest('.control-group').show(); if (jform_vvvvvytvyp_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('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_vvvvvytvyp_required = false; } } else { - jQuery('#jform_db_selection').closest('.control-group').hide(); + jQuery('#jform_db_table_main').closest('.control-group').hide(); if (!jform_vvvvvytvyp_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('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_vvvvvytvyp_required = true; } } @@ -383,95 +328,89 @@ function main_source_vvvvvyt_SomeFunc(main_source_vvvvvyt) } // the vvvvvyu function -function vvvvvyu(addcalculation_vvvvvyu) +function vvvvvyu(main_source_vvvvvyu) { - // set the function logic - if (addcalculation_vvvvvyu == 1) + if (isSet(main_source_vvvvvyu) && main_source_vvvvvyu.constructor !== Array) { - jQuery('#jform_php_calculation').closest('.control-group').show(); + var temp_vvvvvyu = main_source_vvvvvyu; + var main_source_vvvvvyu = []; + main_source_vvvvvyu.push(temp_vvvvvyu); + } + else if (!isSet(main_source_vvvvvyu)) + { + var main_source_vvvvvyu = []; + } + var main_source = main_source_vvvvvyu.some(main_source_vvvvvyu_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_db_selection').closest('.control-group').show(); if (jform_vvvvvyuvyq_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_selection',0); + jQuery('#jform_db_selection').prop('required','required'); + jQuery('#jform_db_selection').attr('aria-required',true); + jQuery('#jform_db_selection').addClass('required'); jform_vvvvvyuvyq_required = false; } } else { - jQuery('#jform_php_calculation').closest('.control-group').hide(); + jQuery('#jform_db_selection').closest('.control-group').hide(); if (!jform_vvvvvyuvyq_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_selection',1); + jQuery('#jform_db_selection').removeAttr('required'); + jQuery('#jform_db_selection').removeAttr('aria-required'); + jQuery('#jform_db_selection').removeClass('required'); jform_vvvvvyuvyq_required = true; } } } -// the vvvvvyv function -function vvvvvyv(addcalculation_vvvvvyv,gettype_vvvvvyv) +// the vvvvvyu Some function +function main_source_vvvvvyu_SomeFunc(main_source_vvvvvyu) { - if (isSet(addcalculation_vvvvvyv) && addcalculation_vvvvvyv.constructor !== Array) + // set the function logic + if (main_source_vvvvvyu == 2) { - var temp_vvvvvyv = addcalculation_vvvvvyv; - var addcalculation_vvvvvyv = []; - addcalculation_vvvvvyv.push(temp_vvvvvyv); - } - else if (!isSet(addcalculation_vvvvvyv)) - { - var addcalculation_vvvvvyv = []; - } - var addcalculation = addcalculation_vvvvvyv.some(addcalculation_vvvvvyv_SomeFunc); - - if (isSet(gettype_vvvvvyv) && gettype_vvvvvyv.constructor !== Array) - { - var temp_vvvvvyv = gettype_vvvvvyv; - var gettype_vvvvvyv = []; - gettype_vvvvvyv.push(temp_vvvvvyv); - } - else if (!isSet(gettype_vvvvvyv)) - { - var gettype_vvvvvyv = []; - } - var gettype = gettype_vvvvvyv.some(gettype_vvvvvyv_SomeFunc); - - - // set this function logic - if (addcalculation && gettype) - { - jQuery('.note_calculation_item').closest('.control-group').show(); - } - else - { - jQuery('.note_calculation_item').closest('.control-group').hide(); + return true; } + return false; } -// the vvvvvyv Some function -function addcalculation_vvvvvyv_SomeFunc(addcalculation_vvvvvyv) +// the vvvvvyv function +function vvvvvyv(addcalculation_vvvvvyv) { // set the function logic if (addcalculation_vvvvvyv == 1) { - return true; - } - return false; -} + jQuery('#jform_php_calculation').closest('.control-group').show(); + if (jform_vvvvvyvvyr_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_vvvvvyvvyr_required = false; + } -// the vvvvvyv Some function -function gettype_vvvvvyv_SomeFunc(gettype_vvvvvyv) -{ - // set the function logic - if (gettype_vvvvvyv == 1 || gettype_vvvvvyv == 3) - { - return true; } - return false; + else + { + jQuery('#jform_php_calculation').closest('.control-group').hide(); + if (!jform_vvvvvyvvyr_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_vvvvvyvvyr_required = true; + } + } } // the vvvvvyw function @@ -505,11 +444,11 @@ function vvvvvyw(addcalculation_vvvvvyw,gettype_vvvvvyw) // set this function logic if (addcalculation && gettype) { - jQuery('.note_calculation_items').closest('.control-group').show(); + jQuery('.note_calculation_item').closest('.control-group').show(); } else { - jQuery('.note_calculation_items').closest('.control-group').hide(); + jQuery('.note_calculation_item').closest('.control-group').hide(); } } @@ -528,62 +467,68 @@ function addcalculation_vvvvvyw_SomeFunc(addcalculation_vvvvvyw) function gettype_vvvvvyw_SomeFunc(gettype_vvvvvyw) { // set the function logic - if (gettype_vvvvvyw == 2 || gettype_vvvvvyw == 4) + if (gettype_vvvvvyw == 1 || gettype_vvvvvyw == 3) { return true; } return false; } -// the vvvvvyz function -function vvvvvyz(main_source_vvvvvyz) +// the vvvvvyx function +function vvvvvyx(addcalculation_vvvvvyx,gettype_vvvvvyx) { - if (isSet(main_source_vvvvvyz) && main_source_vvvvvyz.constructor !== Array) + if (isSet(addcalculation_vvvvvyx) && addcalculation_vvvvvyx.constructor !== Array) { - var temp_vvvvvyz = main_source_vvvvvyz; - var main_source_vvvvvyz = []; - main_source_vvvvvyz.push(temp_vvvvvyz); + var temp_vvvvvyx = addcalculation_vvvvvyx; + var addcalculation_vvvvvyx = []; + addcalculation_vvvvvyx.push(temp_vvvvvyx); } - else if (!isSet(main_source_vvvvvyz)) + else if (!isSet(addcalculation_vvvvvyx)) { - var main_source_vvvvvyz = []; + var addcalculation_vvvvvyx = []; } - var main_source = main_source_vvvvvyz.some(main_source_vvvvvyz_SomeFunc); + var addcalculation = addcalculation_vvvvvyx.some(addcalculation_vvvvvyx_SomeFunc); + + if (isSet(gettype_vvvvvyx) && gettype_vvvvvyx.constructor !== Array) + { + var temp_vvvvvyx = gettype_vvvvvyx; + var gettype_vvvvvyx = []; + gettype_vvvvvyx.push(temp_vvvvvyx); + } + else if (!isSet(gettype_vvvvvyx)) + { + var gettype_vvvvvyx = []; + } + var gettype = gettype_vvvvvyx.some(gettype_vvvvvyx_SomeFunc); // set this function logic - if (main_source) + if (addcalculation && gettype) { - jQuery('#jform_php_custom_get').closest('.control-group').show(); - if (jform_vvvvvyzvyr_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_vvvvvyzvyr_required = false; - } - + jQuery('.note_calculation_items').closest('.control-group').show(); } else { - jQuery('#jform_php_custom_get').closest('.control-group').hide(); - if (!jform_vvvvvyzvyr_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_vvvvvyzvyr_required = true; - } + jQuery('.note_calculation_items').closest('.control-group').hide(); } } -// the vvvvvyz Some function -function main_source_vvvvvyz_SomeFunc(main_source_vvvvvyz) +// the vvvvvyx Some function +function addcalculation_vvvvvyx_SomeFunc(addcalculation_vvvvvyx) { // set the function logic - if (main_source_vvvvvyz == 3) + if (addcalculation_vvvvvyx == 1) + { + return true; + } + return false; +} + +// the vvvvvyx Some function +function gettype_vvvvvyx_SomeFunc(gettype_vvvvvyx) +{ + // set the function logic + if (gettype_vvvvvyx == 2 || gettype_vvvvvyx == 4) { return true; } @@ -606,6 +551,61 @@ function vvvvvza(main_source_vvvvvza) var main_source = main_source_vvvvvza.some(main_source_vvvvvza_SomeFunc); + // set this function logic + if (main_source) + { + jQuery('#jform_php_custom_get').closest('.control-group').show(); + if (jform_vvvvvzavys_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_vvvvvzavys_required = false; + } + + } + else + { + jQuery('#jform_php_custom_get').closest('.control-group').hide(); + if (!jform_vvvvvzavys_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_vvvvvzavys_required = true; + } + } +} + +// the vvvvvza Some function +function main_source_vvvvvza_SomeFunc(main_source_vvvvvza) +{ + // set the function logic + if (main_source_vvvvvza == 3) + { + return true; + } + return false; +} + +// the vvvvvzb function +function vvvvvzb(main_source_vvvvvzb) +{ + if (isSet(main_source_vvvvvzb) && main_source_vvvvvzb.constructor !== Array) + { + var temp_vvvvvzb = main_source_vvvvvzb; + var main_source_vvvvvzb = []; + main_source_vvvvvzb.push(temp_vvvvvzb); + } + else if (!isSet(main_source_vvvvvzb)) + { + var main_source_vvvvvzb = []; + } + var main_source = main_source_vvvvvzb.some(main_source_vvvvvzb_SomeFunc); + + // set this function logic if (main_source) { @@ -625,89 +625,11 @@ function vvvvvza(main_source_vvvvvza) } } -// the vvvvvza Some function -function main_source_vvvvvza_SomeFunc(main_source_vvvvvza) -{ - // set the function logic - if (main_source_vvvvvza == 1 || main_source_vvvvvza == 2) - { - return true; - } - return false; -} - -// the vvvvvzb function -function vvvvvzb(add_php_before_getitem_vvvvvzb,gettype_vvvvvzb) -{ - if (isSet(add_php_before_getitem_vvvvvzb) && add_php_before_getitem_vvvvvzb.constructor !== Array) - { - var temp_vvvvvzb = add_php_before_getitem_vvvvvzb; - var add_php_before_getitem_vvvvvzb = []; - add_php_before_getitem_vvvvvzb.push(temp_vvvvvzb); - } - else if (!isSet(add_php_before_getitem_vvvvvzb)) - { - var add_php_before_getitem_vvvvvzb = []; - } - var add_php_before_getitem = add_php_before_getitem_vvvvvzb.some(add_php_before_getitem_vvvvvzb_SomeFunc); - - if (isSet(gettype_vvvvvzb) && gettype_vvvvvzb.constructor !== Array) - { - var temp_vvvvvzb = gettype_vvvvvzb; - var gettype_vvvvvzb = []; - gettype_vvvvvzb.push(temp_vvvvvzb); - } - else if (!isSet(gettype_vvvvvzb)) - { - var gettype_vvvvvzb = []; - } - var gettype = gettype_vvvvvzb.some(gettype_vvvvvzb_SomeFunc); - - - // set this function logic - if (add_php_before_getitem && gettype) - { - jQuery('#jform_php_before_getitem').closest('.control-group').show(); - if (jform_vvvvvzbvys_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_vvvvvzbvys_required = false; - } - - } - else - { - jQuery('#jform_php_before_getitem').closest('.control-group').hide(); - if (!jform_vvvvvzbvys_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_vvvvvzbvys_required = true; - } - } -} - // the vvvvvzb Some function -function add_php_before_getitem_vvvvvzb_SomeFunc(add_php_before_getitem_vvvvvzb) +function main_source_vvvvvzb_SomeFunc(main_source_vvvvvzb) { // set the function logic - if (add_php_before_getitem_vvvvvzb == 1) - { - return true; - } - return false; -} - -// the vvvvvzb Some function -function gettype_vvvvvzb_SomeFunc(gettype_vvvvvzb) -{ - // set the function logic - if (gettype_vvvvvzb == 1 || gettype_vvvvvzb == 3) + if (main_source_vvvvvzb == 1 || main_source_vvvvvzb == 2) { return true; } @@ -715,19 +637,19 @@ function gettype_vvvvvzb_SomeFunc(gettype_vvvvvzb) } // the vvvvvzc function -function vvvvvzc(add_php_after_getitem_vvvvvzc,gettype_vvvvvzc) +function vvvvvzc(add_php_before_getitem_vvvvvzc,gettype_vvvvvzc) { - if (isSet(add_php_after_getitem_vvvvvzc) && add_php_after_getitem_vvvvvzc.constructor !== Array) + if (isSet(add_php_before_getitem_vvvvvzc) && add_php_before_getitem_vvvvvzc.constructor !== Array) { - var temp_vvvvvzc = add_php_after_getitem_vvvvvzc; - var add_php_after_getitem_vvvvvzc = []; - add_php_after_getitem_vvvvvzc.push(temp_vvvvvzc); + var temp_vvvvvzc = add_php_before_getitem_vvvvvzc; + var add_php_before_getitem_vvvvvzc = []; + add_php_before_getitem_vvvvvzc.push(temp_vvvvvzc); } - else if (!isSet(add_php_after_getitem_vvvvvzc)) + else if (!isSet(add_php_before_getitem_vvvvvzc)) { - var add_php_after_getitem_vvvvvzc = []; + var add_php_before_getitem_vvvvvzc = []; } - var add_php_after_getitem = add_php_after_getitem_vvvvvzc.some(add_php_after_getitem_vvvvvzc_SomeFunc); + var add_php_before_getitem = add_php_before_getitem_vvvvvzc.some(add_php_before_getitem_vvvvvzc_SomeFunc); if (isSet(gettype_vvvvvzc) && gettype_vvvvvzc.constructor !== Array) { @@ -743,38 +665,38 @@ function vvvvvzc(add_php_after_getitem_vvvvvzc,gettype_vvvvvzc) // set this function logic - if (add_php_after_getitem && gettype) + if (add_php_before_getitem && gettype) { - jQuery('#jform_php_after_getitem').closest('.control-group').show(); + jQuery('#jform_php_before_getitem').closest('.control-group').show(); if (jform_vvvvvzcvyt_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'); + 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_vvvvvzcvyt_required = false; } } else { - jQuery('#jform_php_after_getitem').closest('.control-group').hide(); + jQuery('#jform_php_before_getitem').closest('.control-group').hide(); if (!jform_vvvvvzcvyt_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'); + 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_vvvvvzcvyt_required = true; } } } // the vvvvvzc Some function -function add_php_after_getitem_vvvvvzc_SomeFunc(add_php_after_getitem_vvvvvzc) +function add_php_before_getitem_vvvvvzc_SomeFunc(add_php_before_getitem_vvvvvzc) { // set the function logic - if (add_php_after_getitem_vvvvvzc == 1) + if (add_php_before_getitem_vvvvvzc == 1) { return true; } @@ -792,74 +714,78 @@ function gettype_vvvvvzc_SomeFunc(gettype_vvvvvzc) return false; } -// the vvvvvze function -function vvvvvze(gettype_vvvvvze) +// the vvvvvzd function +function vvvvvzd(add_php_after_getitem_vvvvvzd,gettype_vvvvvzd) { - if (isSet(gettype_vvvvvze) && gettype_vvvvvze.constructor !== Array) + if (isSet(add_php_after_getitem_vvvvvzd) && add_php_after_getitem_vvvvvzd.constructor !== Array) { - var temp_vvvvvze = gettype_vvvvvze; - var gettype_vvvvvze = []; - gettype_vvvvvze.push(temp_vvvvvze); + var temp_vvvvvzd = add_php_after_getitem_vvvvvzd; + var add_php_after_getitem_vvvvvzd = []; + add_php_after_getitem_vvvvvzd.push(temp_vvvvvzd); } - else if (!isSet(gettype_vvvvvze)) + else if (!isSet(add_php_after_getitem_vvvvvzd)) { - var gettype_vvvvvze = []; + var add_php_after_getitem_vvvvvzd = []; } - var gettype = gettype_vvvvvze.some(gettype_vvvvvze_SomeFunc); + var add_php_after_getitem = add_php_after_getitem_vvvvvzd.some(add_php_after_getitem_vvvvvzd_SomeFunc); + + if (isSet(gettype_vvvvvzd) && gettype_vvvvvzd.constructor !== Array) + { + var temp_vvvvvzd = gettype_vvvvvzd; + var gettype_vvvvvzd = []; + gettype_vvvvvzd.push(temp_vvvvvzd); + } + else if (!isSet(gettype_vvvvvzd)) + { + var gettype_vvvvvzd = []; + } + var gettype = gettype_vvvvvzd.some(gettype_vvvvvzd_SomeFunc); // set this function logic - if (gettype) + if (add_php_after_getitem && gettype) { - jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); - if (jform_vvvvvzevyu_required) + jQuery('#jform_php_after_getitem').closest('.control-group').show(); + if (jform_vvvvvzdvyu_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_vvvvvzevyu_required = false; - } - - jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); - if (jform_vvvvvzevyv_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_vvvvvzevyv_required = false; + 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_vvvvvzdvyu_required = false; } } else { - jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); - if (!jform_vvvvvzevyu_required) + jQuery('#jform_php_after_getitem').closest('.control-group').hide(); + if (!jform_vvvvvzdvyu_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_vvvvvzevyu_required = true; - } - jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); - if (!jform_vvvvvzevyv_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_vvvvvzevyv_required = true; + 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_vvvvvzdvyu_required = true; } } } -// the vvvvvze Some function -function gettype_vvvvvze_SomeFunc(gettype_vvvvvze) +// the vvvvvzd Some function +function add_php_after_getitem_vvvvvzd_SomeFunc(add_php_after_getitem_vvvvvzd) { // set the function logic - if (gettype_vvvvvze == 1 || gettype_vvvvvze == 3) + if (add_php_after_getitem_vvvvvzd == 1) + { + return true; + } + return false; +} + +// the vvvvvzd Some function +function gettype_vvvvvzd_SomeFunc(gettype_vvvvvzd) +{ + // set the function logic + if (gettype_vvvvvzd == 1 || gettype_vvvvvzd == 3) { return true; } @@ -867,20 +793,8 @@ function gettype_vvvvvze_SomeFunc(gettype_vvvvvze) } // the vvvvvzf function -function vvvvvzf(add_php_getlistquery_vvvvvzf,gettype_vvvvvzf) +function vvvvvzf(gettype_vvvvvzf) { - if (isSet(add_php_getlistquery_vvvvvzf) && add_php_getlistquery_vvvvvzf.constructor !== Array) - { - var temp_vvvvvzf = add_php_getlistquery_vvvvvzf; - var add_php_getlistquery_vvvvvzf = []; - add_php_getlistquery_vvvvvzf.push(temp_vvvvvzf); - } - else if (!isSet(add_php_getlistquery_vvvvvzf)) - { - var add_php_getlistquery_vvvvvzf = []; - } - var add_php_getlistquery = add_php_getlistquery_vvvvvzf.some(add_php_getlistquery_vvvvvzf_SomeFunc); - if (isSet(gettype_vvvvvzf) && gettype_vvvvvzf.constructor !== Array) { var temp_vvvvvzf = gettype_vvvvvzf; @@ -895,49 +809,57 @@ function vvvvvzf(add_php_getlistquery_vvvvvzf,gettype_vvvvvzf) // set this function logic - if (add_php_getlistquery && gettype) + if (gettype) { - jQuery('#jform_php_getlistquery').closest('.control-group').show(); + jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); + if (jform_vvvvvzfvyv_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_vvvvvzfvyv_required = false; + } + + jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); if (jform_vvvvvzfvyw_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'); + 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_vvvvvzfvyw_required = false; } } else { - jQuery('#jform_php_getlistquery').closest('.control-group').hide(); + jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); + if (!jform_vvvvvzfvyv_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_vvvvvzfvyv_required = true; + } + jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); if (!jform_vvvvvzfvyw_required) { - updateFieldRequired('php_getlistquery',1); - jQuery('#jform_php_getlistquery').removeAttr('required'); - jQuery('#jform_php_getlistquery').removeAttr('aria-required'); - jQuery('#jform_php_getlistquery').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_vvvvvzfvyw_required = true; } } } -// the vvvvvzf Some function -function add_php_getlistquery_vvvvvzf_SomeFunc(add_php_getlistquery_vvvvvzf) -{ - // set the function logic - if (add_php_getlistquery_vvvvvzf == 1) - { - return true; - } - return false; -} - // the vvvvvzf Some function function gettype_vvvvvzf_SomeFunc(gettype_vvvvvzf) { // set the function logic - if (gettype_vvvvvzf == 2 || gettype_vvvvvzf == 4) + if (gettype_vvvvvzf == 1 || gettype_vvvvvzf == 3) { return true; } @@ -945,19 +867,19 @@ function gettype_vvvvvzf_SomeFunc(gettype_vvvvvzf) } // the vvvvvzg function -function vvvvvzg(add_php_before_getitems_vvvvvzg,gettype_vvvvvzg) +function vvvvvzg(add_php_getlistquery_vvvvvzg,gettype_vvvvvzg) { - if (isSet(add_php_before_getitems_vvvvvzg) && add_php_before_getitems_vvvvvzg.constructor !== Array) + if (isSet(add_php_getlistquery_vvvvvzg) && add_php_getlistquery_vvvvvzg.constructor !== Array) { - var temp_vvvvvzg = add_php_before_getitems_vvvvvzg; - var add_php_before_getitems_vvvvvzg = []; - add_php_before_getitems_vvvvvzg.push(temp_vvvvvzg); + var temp_vvvvvzg = add_php_getlistquery_vvvvvzg; + var add_php_getlistquery_vvvvvzg = []; + add_php_getlistquery_vvvvvzg.push(temp_vvvvvzg); } - else if (!isSet(add_php_before_getitems_vvvvvzg)) + else if (!isSet(add_php_getlistquery_vvvvvzg)) { - var add_php_before_getitems_vvvvvzg = []; + var add_php_getlistquery_vvvvvzg = []; } - var add_php_before_getitems = add_php_before_getitems_vvvvvzg.some(add_php_before_getitems_vvvvvzg_SomeFunc); + var add_php_getlistquery = add_php_getlistquery_vvvvvzg.some(add_php_getlistquery_vvvvvzg_SomeFunc); if (isSet(gettype_vvvvvzg) && gettype_vvvvvzg.constructor !== Array) { @@ -973,38 +895,38 @@ function vvvvvzg(add_php_before_getitems_vvvvvzg,gettype_vvvvvzg) // set this function logic - if (add_php_before_getitems && gettype) + if (add_php_getlistquery && gettype) { - jQuery('#jform_php_before_getitems').closest('.control-group').show(); + jQuery('#jform_php_getlistquery').closest('.control-group').show(); if (jform_vvvvvzgvyx_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('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_vvvvvzgvyx_required = false; } } else { - jQuery('#jform_php_before_getitems').closest('.control-group').hide(); + jQuery('#jform_php_getlistquery').closest('.control-group').hide(); if (!jform_vvvvvzgvyx_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('php_getlistquery',1); + jQuery('#jform_php_getlistquery').removeAttr('required'); + jQuery('#jform_php_getlistquery').removeAttr('aria-required'); + jQuery('#jform_php_getlistquery').removeClass('required'); jform_vvvvvzgvyx_required = true; } } } // the vvvvvzg Some function -function add_php_before_getitems_vvvvvzg_SomeFunc(add_php_before_getitems_vvvvvzg) +function add_php_getlistquery_vvvvvzg_SomeFunc(add_php_getlistquery_vvvvvzg) { // set the function logic - if (add_php_before_getitems_vvvvvzg == 1) + if (add_php_getlistquery_vvvvvzg == 1) { return true; } @@ -1023,19 +945,19 @@ function gettype_vvvvvzg_SomeFunc(gettype_vvvvvzg) } // the vvvvvzh function -function vvvvvzh(add_php_after_getitems_vvvvvzh,gettype_vvvvvzh) +function vvvvvzh(add_php_before_getitems_vvvvvzh,gettype_vvvvvzh) { - if (isSet(add_php_after_getitems_vvvvvzh) && add_php_after_getitems_vvvvvzh.constructor !== Array) + if (isSet(add_php_before_getitems_vvvvvzh) && add_php_before_getitems_vvvvvzh.constructor !== Array) { - var temp_vvvvvzh = add_php_after_getitems_vvvvvzh; - var add_php_after_getitems_vvvvvzh = []; - add_php_after_getitems_vvvvvzh.push(temp_vvvvvzh); + var temp_vvvvvzh = add_php_before_getitems_vvvvvzh; + var add_php_before_getitems_vvvvvzh = []; + add_php_before_getitems_vvvvvzh.push(temp_vvvvvzh); } - else if (!isSet(add_php_after_getitems_vvvvvzh)) + else if (!isSet(add_php_before_getitems_vvvvvzh)) { - var add_php_after_getitems_vvvvvzh = []; + var add_php_before_getitems_vvvvvzh = []; } - var add_php_after_getitems = add_php_after_getitems_vvvvvzh.some(add_php_after_getitems_vvvvvzh_SomeFunc); + var add_php_before_getitems = add_php_before_getitems_vvvvvzh.some(add_php_before_getitems_vvvvvzh_SomeFunc); if (isSet(gettype_vvvvvzh) && gettype_vvvvvzh.constructor !== Array) { @@ -1051,38 +973,38 @@ function vvvvvzh(add_php_after_getitems_vvvvvzh,gettype_vvvvvzh) // set this function logic - if (add_php_after_getitems && gettype) + if (add_php_before_getitems && gettype) { - jQuery('#jform_php_after_getitems').closest('.control-group').show(); + jQuery('#jform_php_before_getitems').closest('.control-group').show(); if (jform_vvvvvzhvyy_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_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_vvvvvzhvyy_required = false; } } else { - jQuery('#jform_php_after_getitems').closest('.control-group').hide(); + jQuery('#jform_php_before_getitems').closest('.control-group').hide(); if (!jform_vvvvvzhvyy_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_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_vvvvvzhvyy_required = true; } } } // the vvvvvzh Some function -function add_php_after_getitems_vvvvvzh_SomeFunc(add_php_after_getitems_vvvvvzh) +function add_php_before_getitems_vvvvvzh_SomeFunc(add_php_before_getitems_vvvvvzh) { // set the function logic - if (add_php_after_getitems_vvvvvzh == 1) + if (add_php_before_getitems_vvvvvzh == 1) { return true; } @@ -1100,93 +1022,78 @@ function gettype_vvvvvzh_SomeFunc(gettype_vvvvvzh) return false; } -// the vvvvvzj function -function vvvvvzj(gettype_vvvvvzj) +// the vvvvvzi function +function vvvvvzi(add_php_after_getitems_vvvvvzi,gettype_vvvvvzi) { - if (isSet(gettype_vvvvvzj) && gettype_vvvvvzj.constructor !== Array) + if (isSet(add_php_after_getitems_vvvvvzi) && add_php_after_getitems_vvvvvzi.constructor !== Array) { - var temp_vvvvvzj = gettype_vvvvvzj; - var gettype_vvvvvzj = []; - gettype_vvvvvzj.push(temp_vvvvvzj); + var temp_vvvvvzi = add_php_after_getitems_vvvvvzi; + var add_php_after_getitems_vvvvvzi = []; + add_php_after_getitems_vvvvvzi.push(temp_vvvvvzi); } - else if (!isSet(gettype_vvvvvzj)) + else if (!isSet(add_php_after_getitems_vvvvvzi)) { - var gettype_vvvvvzj = []; + var add_php_after_getitems_vvvvvzi = []; } - var gettype = gettype_vvvvvzj.some(gettype_vvvvvzj_SomeFunc); + var add_php_after_getitems = add_php_after_getitems_vvvvvzi.some(add_php_after_getitems_vvvvvzi_SomeFunc); + + if (isSet(gettype_vvvvvzi) && gettype_vvvvvzi.constructor !== Array) + { + var temp_vvvvvzi = gettype_vvvvvzi; + var gettype_vvvvvzi = []; + gettype_vvvvvzi.push(temp_vvvvvzi); + } + else if (!isSet(gettype_vvvvvzi)) + { + var gettype_vvvvvzi = []; + } + var gettype = gettype_vvvvvzi.some(gettype_vvvvvzi_SomeFunc); // set this function logic - if (gettype) + if (add_php_after_getitems && gettype) { - jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); - if (jform_vvvvvzjvyz_required) + jQuery('#jform_php_after_getitems').closest('.control-group').show(); + if (jform_vvvvvzivyz_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_vvvvvzjvyz_required = false; - } - - jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); - if (jform_vvvvvzjvza_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_vvvvvzjvza_required = false; - } - - jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); - if (jform_vvvvvzjvzb_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_vvvvvzjvzb_required = false; + 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_vvvvvzivyz_required = false; } } else { - jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); - if (!jform_vvvvvzjvyz_required) + jQuery('#jform_php_after_getitems').closest('.control-group').hide(); + if (!jform_vvvvvzivyz_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_vvvvvzjvyz_required = true; - } - jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); - if (!jform_vvvvvzjvza_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_vvvvvzjvza_required = true; - } - jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); - if (!jform_vvvvvzjvzb_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_vvvvvzjvzb_required = true; + 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_vvvvvzivyz_required = true; } } } -// the vvvvvzj Some function -function gettype_vvvvvzj_SomeFunc(gettype_vvvvvzj) +// the vvvvvzi Some function +function add_php_after_getitems_vvvvvzi_SomeFunc(add_php_after_getitems_vvvvvzi) { // set the function logic - if (gettype_vvvvvzj == 2 || gettype_vvvvvzj == 4) + if (add_php_after_getitems_vvvvvzi == 1) + { + return true; + } + return false; +} + +// the vvvvvzi Some function +function gettype_vvvvvzi_SomeFunc(gettype_vvvvvzi) +{ + // set the function logic + if (gettype_vvvvvzi == 2 || gettype_vvvvvzi == 4) { return true; } @@ -1212,26 +1119,64 @@ function vvvvvzk(gettype_vvvvvzk) // set this function logic if (gettype) { - jQuery('#jform_pagination').closest('.control-group').show(); + jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); + if (jform_vvvvvzkvza_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_vvvvvzkvza_required = false; + } + + jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); + if (jform_vvvvvzkvzb_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_vvvvvzkvzb_required = false; + } + + jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); if (jform_vvvvvzkvzc_required) { - updateFieldRequired('pagination',0); - jQuery('#jform_pagination').prop('required','required'); - jQuery('#jform_pagination').attr('aria-required',true); - jQuery('#jform_pagination').addClass('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_vvvvvzkvzc_required = false; } } else { - jQuery('#jform_pagination').closest('.control-group').hide(); + jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); + if (!jform_vvvvvzkvza_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_vvvvvzkvza_required = true; + } + jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); + if (!jform_vvvvvzkvzb_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_vvvvvzkvzb_required = true; + } + jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); if (!jform_vvvvvzkvzc_required) { - updateFieldRequired('pagination',1); - jQuery('#jform_pagination').removeAttr('required'); - jQuery('#jform_pagination').removeAttr('aria-required'); - jQuery('#jform_pagination').removeClass('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_vvvvvzkvzc_required = true; } } @@ -1241,7 +1186,62 @@ function vvvvvzk(gettype_vvvvvzk) function gettype_vvvvvzk_SomeFunc(gettype_vvvvvzk) { // set the function logic - if (gettype_vvvvvzk == 2) + if (gettype_vvvvvzk == 2 || gettype_vvvvvzk == 4) + { + return true; + } + return false; +} + +// the vvvvvzl function +function vvvvvzl(gettype_vvvvvzl) +{ + if (isSet(gettype_vvvvvzl) && gettype_vvvvvzl.constructor !== Array) + { + var temp_vvvvvzl = gettype_vvvvvzl; + var gettype_vvvvvzl = []; + gettype_vvvvvzl.push(temp_vvvvvzl); + } + else if (!isSet(gettype_vvvvvzl)) + { + var gettype_vvvvvzl = []; + } + var gettype = gettype_vvvvvzl.some(gettype_vvvvvzl_SomeFunc); + + + // set this function logic + if (gettype) + { + jQuery('#jform_pagination').closest('.control-group').show(); + if (jform_vvvvvzlvzd_required) + { + updateFieldRequired('pagination',0); + jQuery('#jform_pagination').prop('required','required'); + jQuery('#jform_pagination').attr('aria-required',true); + jQuery('#jform_pagination').addClass('required'); + jform_vvvvvzlvzd_required = false; + } + + } + else + { + jQuery('#jform_pagination').closest('.control-group').hide(); + if (!jform_vvvvvzlvzd_required) + { + updateFieldRequired('pagination',1); + jQuery('#jform_pagination').removeAttr('required'); + jQuery('#jform_pagination').removeAttr('aria-required'); + jQuery('#jform_pagination').removeClass('required'); + jform_vvvvvzlvzd_required = true; + } + } +} + +// the vvvvvzl Some function +function gettype_vvvvvzl_SomeFunc(gettype_vvvvvzl) +{ + // set the function logic + if (gettype_vvvvvzl == 2) { return true; } diff --git a/admin/models/forms/field.js b/admin/models/forms/field.js index daef3cd3b..41d8f96e6 100644 --- a/admin/models/forms/field.js +++ b/admin/models/forms/field.js @@ -23,151 +23,96 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvzlvzd_required = false; jform_vvvvvzmvze_required = false; jform_vvvvvznvzf_required = false; jform_vvvvvzovzg_required = false; -jform_vvvvvzrvzh_required = false; +jform_vvvvvzpvzh_required = false; jform_vvvvvzsvzi_required = false; jform_vvvvvztvzj_required = false; jform_vvvvvzuvzk_required = false; +jform_vvvvvzvvzl_required = false; // Initial Script jQuery(document).ready(function() { - var datalenght_vvvvvzl = jQuery("#jform_datalenght").val(); - vvvvvzl(datalenght_vvvvvzl); + var datalenght_vvvvvzm = jQuery("#jform_datalenght").val(); + vvvvvzm(datalenght_vvvvvzm); - var datadefault_vvvvvzm = jQuery("#jform_datadefault").val(); - vvvvvzm(datadefault_vvvvvzm); - - var datatype_vvvvvzn = jQuery("#jform_datatype").val(); - vvvvvzn(datatype_vvvvvzn); + var datadefault_vvvvvzn = jQuery("#jform_datadefault").val(); + vvvvvzn(datadefault_vvvvvzn); var datatype_vvvvvzo = jQuery("#jform_datatype").val(); vvvvvzo(datatype_vvvvvzo); - var store_vvvvvzp = jQuery("#jform_store").val(); var datatype_vvvvvzp = jQuery("#jform_datatype").val(); - vvvvvzp(store_vvvvvzp,datatype_vvvvvzp); + vvvvvzp(datatype_vvvvvzp); - var add_css_view_vvvvvzr = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - vvvvvzr(add_css_view_vvvvvzr); + var store_vvvvvzq = jQuery("#jform_store").val(); + var datatype_vvvvvzq = jQuery("#jform_datatype").val(); + vvvvvzq(store_vvvvvzq,datatype_vvvvvzq); - var add_css_views_vvvvvzs = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - vvvvvzs(add_css_views_vvvvvzs); + var add_css_view_vvvvvzs = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + vvvvvzs(add_css_view_vvvvvzs); - var add_javascript_view_footer_vvvvvzt = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - vvvvvzt(add_javascript_view_footer_vvvvvzt); + var add_css_views_vvvvvzt = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + vvvvvzt(add_css_views_vvvvvzt); - var add_javascript_views_footer_vvvvvzu = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - vvvvvzu(add_javascript_views_footer_vvvvvzu); + var add_javascript_view_footer_vvvvvzu = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + vvvvvzu(add_javascript_view_footer_vvvvvzu); + + var add_javascript_views_footer_vvvvvzv = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + vvvvvzv(add_javascript_views_footer_vvvvvzv); }); -// the vvvvvzl function -function vvvvvzl(datalenght_vvvvvzl) +// the vvvvvzm function +function vvvvvzm(datalenght_vvvvvzm) { - if (isSet(datalenght_vvvvvzl) && datalenght_vvvvvzl.constructor !== Array) + if (isSet(datalenght_vvvvvzm) && datalenght_vvvvvzm.constructor !== Array) { - var temp_vvvvvzl = datalenght_vvvvvzl; - var datalenght_vvvvvzl = []; - datalenght_vvvvvzl.push(temp_vvvvvzl); + var temp_vvvvvzm = datalenght_vvvvvzm; + var datalenght_vvvvvzm = []; + datalenght_vvvvvzm.push(temp_vvvvvzm); } - else if (!isSet(datalenght_vvvvvzl)) + else if (!isSet(datalenght_vvvvvzm)) { - var datalenght_vvvvvzl = []; + var datalenght_vvvvvzm = []; } - var datalenght = datalenght_vvvvvzl.some(datalenght_vvvvvzl_SomeFunc); + var datalenght = datalenght_vvvvvzm.some(datalenght_vvvvvzm_SomeFunc); // set this function logic if (datalenght) { jQuery('#jform_datalenght_other').closest('.control-group').show(); - if (jform_vvvvvzlvzd_required) + if (jform_vvvvvzmvze_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_vvvvvzlvzd_required = false; - } - - } - else - { - jQuery('#jform_datalenght_other').closest('.control-group').hide(); - if (!jform_vvvvvzlvzd_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_vvvvvzlvzd_required = true; - } - } -} - -// the vvvvvzl Some function -function datalenght_vvvvvzl_SomeFunc(datalenght_vvvvvzl) -{ - // set the function logic - if (datalenght_vvvvvzl == 'Other') - { - return true; - } - return false; -} - -// the vvvvvzm function -function vvvvvzm(datadefault_vvvvvzm) -{ - if (isSet(datadefault_vvvvvzm) && datadefault_vvvvvzm.constructor !== Array) - { - var temp_vvvvvzm = datadefault_vvvvvzm; - var datadefault_vvvvvzm = []; - datadefault_vvvvvzm.push(temp_vvvvvzm); - } - else if (!isSet(datadefault_vvvvvzm)) - { - var datadefault_vvvvvzm = []; - } - var datadefault = datadefault_vvvvvzm.some(datadefault_vvvvvzm_SomeFunc); - - - // set this function logic - if (datadefault) - { - jQuery('#jform_datadefault_other').closest('.control-group').show(); - if (jform_vvvvvzmvze_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_vvvvvzmvze_required = false; } } else { - jQuery('#jform_datadefault_other').closest('.control-group').hide(); + jQuery('#jform_datalenght_other').closest('.control-group').hide(); if (!jform_vvvvvzmvze_required) { - updateFieldRequired('datadefault_other',1); - jQuery('#jform_datadefault_other').removeAttr('required'); - jQuery('#jform_datadefault_other').removeAttr('aria-required'); - jQuery('#jform_datadefault_other').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_vvvvvzmvze_required = true; } } } // the vvvvvzm Some function -function datadefault_vvvvvzm_SomeFunc(datadefault_vvvvvzm) +function datalenght_vvvvvzm_SomeFunc(datalenght_vvvvvzm) { // set the function logic - if (datadefault_vvvvvzm == 'Other') + if (datalenght_vvvvvzm == 'Other') { return true; } @@ -175,58 +120,54 @@ function datadefault_vvvvvzm_SomeFunc(datadefault_vvvvvzm) } // the vvvvvzn function -function vvvvvzn(datatype_vvvvvzn) +function vvvvvzn(datadefault_vvvvvzn) { - if (isSet(datatype_vvvvvzn) && datatype_vvvvvzn.constructor !== Array) + if (isSet(datadefault_vvvvvzn) && datadefault_vvvvvzn.constructor !== Array) { - var temp_vvvvvzn = datatype_vvvvvzn; - var datatype_vvvvvzn = []; - datatype_vvvvvzn.push(temp_vvvvvzn); + var temp_vvvvvzn = datadefault_vvvvvzn; + var datadefault_vvvvvzn = []; + datadefault_vvvvvzn.push(temp_vvvvvzn); } - else if (!isSet(datatype_vvvvvzn)) + else if (!isSet(datadefault_vvvvvzn)) { - var datatype_vvvvvzn = []; + var datadefault_vvvvvzn = []; } - var datatype = datatype_vvvvvzn.some(datatype_vvvvvzn_SomeFunc); + var datadefault = datadefault_vvvvvzn.some(datadefault_vvvvvzn_SomeFunc); // set this function logic - if (datatype) + if (datadefault) { - jQuery('#jform_datadefault').closest('.control-group').show(); - jQuery('#jform_datalenght').closest('.control-group').show(); - jQuery('#jform_indexes').closest('.control-group').show(); + jQuery('#jform_datadefault_other').closest('.control-group').show(); if (jform_vvvvvznvzf_required) { - updateFieldRequired('indexes',0); - jQuery('#jform_indexes').prop('required','required'); - jQuery('#jform_indexes').attr('aria-required',true); - jQuery('#jform_indexes').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_vvvvvznvzf_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_datadefault_other').closest('.control-group').hide(); if (!jform_vvvvvznvzf_required) { - updateFieldRequired('indexes',1); - jQuery('#jform_indexes').removeAttr('required'); - jQuery('#jform_indexes').removeAttr('aria-required'); - jQuery('#jform_indexes').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_vvvvvznvzf_required = true; } } } // the vvvvvzn Some function -function datatype_vvvvvzn_SomeFunc(datatype_vvvvvzn) +function datadefault_vvvvvzn_SomeFunc(datadefault_vvvvvzn) { // set the function logic - if (datatype_vvvvvzn == 'CHAR' || datatype_vvvvvzn == 'VARCHAR' || datatype_vvvvvzn == 'DATETIME' || datatype_vvvvvzn == 'DATE' || datatype_vvvvvzn == 'TIME' || datatype_vvvvvzn == 'INT' || datatype_vvvvvzn == 'TINYINT' || datatype_vvvvvzn == 'BIGINT' || datatype_vvvvvzn == 'FLOAT' || datatype_vvvvvzn == 'DECIMAL' || datatype_vvvvvzn == 'DOUBLE') + if (datadefault_vvvvvzn == 'Other') { return true; } @@ -252,26 +193,30 @@ function vvvvvzo(datatype_vvvvvzo) // set this function logic if (datatype) { - jQuery('#jform_store').closest('.control-group').show(); + jQuery('#jform_datadefault').closest('.control-group').show(); + jQuery('#jform_datalenght').closest('.control-group').show(); + jQuery('#jform_indexes').closest('.control-group').show(); if (jform_vvvvvzovzg_required) { - updateFieldRequired('store',0); - jQuery('#jform_store').prop('required','required'); - jQuery('#jform_store').attr('aria-required',true); - jQuery('#jform_store').addClass('required'); + updateFieldRequired('indexes',0); + jQuery('#jform_indexes').prop('required','required'); + jQuery('#jform_indexes').attr('aria-required',true); + jQuery('#jform_indexes').addClass('required'); jform_vvvvvzovzg_required = false; } } else { - jQuery('#jform_store').closest('.control-group').hide(); + jQuery('#jform_datadefault').closest('.control-group').hide(); + jQuery('#jform_datalenght').closest('.control-group').hide(); + jQuery('#jform_indexes').closest('.control-group').hide(); if (!jform_vvvvvzovzg_required) { - updateFieldRequired('store',1); - jQuery('#jform_store').removeAttr('required'); - jQuery('#jform_store').removeAttr('aria-required'); - jQuery('#jform_store').removeClass('required'); + updateFieldRequired('indexes',1); + jQuery('#jform_indexes').removeAttr('required'); + jQuery('#jform_indexes').removeAttr('aria-required'); + jQuery('#jform_indexes').removeClass('required'); jform_vvvvvzovzg_required = true; } } @@ -281,7 +226,7 @@ function vvvvvzo(datatype_vvvvvzo) function datatype_vvvvvzo_SomeFunc(datatype_vvvvvzo) { // set the function logic - if (datatype_vvvvvzo == 'CHAR' || datatype_vvvvvzo == 'VARCHAR' || datatype_vvvvvzo == 'TEXT' || datatype_vvvvvzo == 'MEDIUMTEXT' || datatype_vvvvvzo == 'LONGTEXT') + if (datatype_vvvvvzo == 'CHAR' || datatype_vvvvvzo == 'VARCHAR' || datatype_vvvvvzo == 'DATETIME' || datatype_vvvvvzo == 'DATE' || datatype_vvvvvzo == 'TIME' || datatype_vvvvvzo == 'INT' || datatype_vvvvvzo == 'TINYINT' || datatype_vvvvvzo == 'BIGINT' || datatype_vvvvvzo == 'FLOAT' || datatype_vvvvvzo == 'DECIMAL' || datatype_vvvvvzo == 'DOUBLE') { return true; } @@ -289,20 +234,8 @@ function datatype_vvvvvzo_SomeFunc(datatype_vvvvvzo) } // the vvvvvzp function -function vvvvvzp(store_vvvvvzp,datatype_vvvvvzp) +function vvvvvzp(datatype_vvvvvzp) { - if (isSet(store_vvvvvzp) && store_vvvvvzp.constructor !== Array) - { - var temp_vvvvvzp = store_vvvvvzp; - var store_vvvvvzp = []; - store_vvvvvzp.push(temp_vvvvvzp); - } - else if (!isSet(store_vvvvvzp)) - { - var store_vvvvvzp = []; - } - var store = store_vvvvvzp.some(store_vvvvvzp_SomeFunc); - if (isSet(datatype_vvvvvzp) && datatype_vvvvvzp.constructor !== Array) { var temp_vvvvvzp = datatype_vvvvvzp; @@ -317,27 +250,33 @@ function vvvvvzp(store_vvvvvzp,datatype_vvvvvzp) // set this function logic - if (store && datatype) + if (datatype) { - jQuery('.note_vdm_encryption').closest('.control-group').show(); + jQuery('#jform_store').closest('.control-group').show(); + if (jform_vvvvvzpvzh_required) + { + updateFieldRequired('store',0); + jQuery('#jform_store').prop('required','required'); + jQuery('#jform_store').attr('aria-required',true); + jQuery('#jform_store').addClass('required'); + jform_vvvvvzpvzh_required = false; + } + } else { - jQuery('.note_vdm_encryption').closest('.control-group').hide(); + jQuery('#jform_store').closest('.control-group').hide(); + if (!jform_vvvvvzpvzh_required) + { + updateFieldRequired('store',1); + jQuery('#jform_store').removeAttr('required'); + jQuery('#jform_store').removeAttr('aria-required'); + jQuery('#jform_store').removeClass('required'); + jform_vvvvvzpvzh_required = true; + } } } -// the vvvvvzp Some function -function store_vvvvvzp_SomeFunc(store_vvvvvzp) -{ - // set the function logic - if (store_vvvvvzp == 4) - { - return true; - } - return false; -} - // the vvvvvzp Some function function datatype_vvvvvzp_SomeFunc(datatype_vvvvvzp) { @@ -349,126 +288,187 @@ function datatype_vvvvvzp_SomeFunc(datatype_vvvvvzp) return false; } -// the vvvvvzr function -function vvvvvzr(add_css_view_vvvvvzr) +// the vvvvvzq function +function vvvvvzq(store_vvvvvzq,datatype_vvvvvzq) +{ + if (isSet(store_vvvvvzq) && store_vvvvvzq.constructor !== Array) + { + var temp_vvvvvzq = store_vvvvvzq; + var store_vvvvvzq = []; + store_vvvvvzq.push(temp_vvvvvzq); + } + else if (!isSet(store_vvvvvzq)) + { + var store_vvvvvzq = []; + } + var store = store_vvvvvzq.some(store_vvvvvzq_SomeFunc); + + if (isSet(datatype_vvvvvzq) && datatype_vvvvvzq.constructor !== Array) + { + var temp_vvvvvzq = datatype_vvvvvzq; + var datatype_vvvvvzq = []; + datatype_vvvvvzq.push(temp_vvvvvzq); + } + else if (!isSet(datatype_vvvvvzq)) + { + var datatype_vvvvvzq = []; + } + var datatype = datatype_vvvvvzq.some(datatype_vvvvvzq_SomeFunc); + + + // set this function logic + if (store && datatype) + { + jQuery('.note_vdm_encryption').closest('.control-group').show(); + } + else + { + jQuery('.note_vdm_encryption').closest('.control-group').hide(); + } +} + +// the vvvvvzq Some function +function store_vvvvvzq_SomeFunc(store_vvvvvzq) { // set the function logic - if (add_css_view_vvvvvzr == 1) + if (store_vvvvvzq == 4) + { + return true; + } + return false; +} + +// the vvvvvzq Some function +function datatype_vvvvvzq_SomeFunc(datatype_vvvvvzq) +{ + // set the function logic + if (datatype_vvvvvzq == 'CHAR' || datatype_vvvvvzq == 'VARCHAR' || datatype_vvvvvzq == 'TEXT' || datatype_vvvvvzq == 'MEDIUMTEXT' || datatype_vvvvvzq == 'LONGTEXT') + { + return true; + } + return false; +} + +// the vvvvvzs function +function vvvvvzs(add_css_view_vvvvvzs) +{ + // set the function logic + if (add_css_view_vvvvvzs == 1) { jQuery('#jform_css_view').closest('.control-group').show(); - if (jform_vvvvvzrvzh_required) + if (jform_vvvvvzsvzi_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_vvvvvzrvzh_required = false; - } - - } - else - { - jQuery('#jform_css_view').closest('.control-group').hide(); - if (!jform_vvvvvzrvzh_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_vvvvvzrvzh_required = true; - } - } -} - -// the vvvvvzs function -function vvvvvzs(add_css_views_vvvvvzs) -{ - // set the function logic - if (add_css_views_vvvvvzs == 1) - { - jQuery('#jform_css_views').closest('.control-group').show(); - if (jform_vvvvvzsvzi_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_vvvvvzsvzi_required = false; } } else { - jQuery('#jform_css_views').closest('.control-group').hide(); + jQuery('#jform_css_view').closest('.control-group').hide(); if (!jform_vvvvvzsvzi_required) { - updateFieldRequired('css_views',1); - jQuery('#jform_css_views').removeAttr('required'); - jQuery('#jform_css_views').removeAttr('aria-required'); - jQuery('#jform_css_views').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_vvvvvzsvzi_required = true; } } } // the vvvvvzt function -function vvvvvzt(add_javascript_view_footer_vvvvvzt) +function vvvvvzt(add_css_views_vvvvvzt) { // set the function logic - if (add_javascript_view_footer_vvvvvzt == 1) + if (add_css_views_vvvvvzt == 1) { - jQuery('#jform_javascript_view_footer').closest('.control-group').show(); + jQuery('#jform_css_views').closest('.control-group').show(); if (jform_vvvvvztvzj_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'); + 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_vvvvvztvzj_required = false; } } else { - jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); + jQuery('#jform_css_views').closest('.control-group').hide(); if (!jform_vvvvvztvzj_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_views',1); + jQuery('#jform_css_views').removeAttr('required'); + jQuery('#jform_css_views').removeAttr('aria-required'); + jQuery('#jform_css_views').removeClass('required'); jform_vvvvvztvzj_required = true; } } } // the vvvvvzu function -function vvvvvzu(add_javascript_views_footer_vvvvvzu) +function vvvvvzu(add_javascript_view_footer_vvvvvzu) { // set the function logic - if (add_javascript_views_footer_vvvvvzu == 1) + if (add_javascript_view_footer_vvvvvzu == 1) { - jQuery('#jform_javascript_views_footer').closest('.control-group').show(); + jQuery('#jform_javascript_view_footer').closest('.control-group').show(); if (jform_vvvvvzuvzk_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('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_vvvvvzuvzk_required = false; } } else { - jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); + jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); if (!jform_vvvvvzuvzk_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_vvvvvzuvzk_required = true; + } + } +} + +// the vvvvvzv function +function vvvvvzv(add_javascript_views_footer_vvvvvzv) +{ + // set the function logic + if (add_javascript_views_footer_vvvvvzv == 1) + { + jQuery('#jform_javascript_views_footer').closest('.control-group').show(); + if (jform_vvvvvzvvzl_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_vvvvvzvvzl_required = false; + } + + } + else + { + jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); + if (!jform_vvvvvzvvzl_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_vvvvvzuvzk_required = true; + jform_vvvvvzvvzl_required = true; } } } diff --git a/admin/models/forms/help_document.js b/admin/models/forms/help_document.js index c6f161b4f..c3a576d2e 100644 --- a/admin/models/forms/help_document.js +++ b/admin/models/forms/help_document.js @@ -23,24 +23,21 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvzvvzm_required = false; jform_vvvvvzwvzn_required = false; jform_vvvvvzxvzo_required = false; jform_vvvvvzyvzp_required = false; jform_vvvvvzzvzq_required = false; jform_vvvvwaavzr_required = false; +jform_vvvvwabvzs_required = false; // Initial Script jQuery(document).ready(function() { - var location_vvvvvzv = jQuery("#jform_location input[type='radio']:checked").val(); - vvvvvzv(location_vvvvvzv); - var location_vvvvvzw = jQuery("#jform_location input[type='radio']:checked").val(); vvvvvzw(location_vvvvvzw); - var type_vvvvvzx = jQuery("#jform_type").val(); - vvvvvzx(type_vvvvvzx); + var location_vvvvvzx = jQuery("#jform_location input[type='radio']:checked").val(); + vvvvvzx(location_vvvvvzx); var type_vvvvvzy = jQuery("#jform_type").val(); vvvvvzy(type_vvvvvzy); @@ -48,127 +45,75 @@ jQuery(document).ready(function() var type_vvvvvzz = jQuery("#jform_type").val(); vvvvvzz(type_vvvvvzz); - var target_vvvvwaa = jQuery("#jform_target input[type='radio']:checked").val(); - vvvvwaa(target_vvvvwaa); + var type_vvvvwaa = jQuery("#jform_type").val(); + vvvvwaa(type_vvvvwaa); + + var target_vvvvwab = jQuery("#jform_target input[type='radio']:checked").val(); + vvvvwab(target_vvvvwab); }); -// the vvvvvzv function -function vvvvvzv(location_vvvvvzv) -{ - // set the function logic - if (location_vvvvvzv == 1) - { - jQuery('#jform_admin_view').closest('.control-group').show(); - if (jform_vvvvvzvvzm_required) - { - updateFieldRequired('admin_view',0); - jQuery('#jform_admin_view').prop('required','required'); - jQuery('#jform_admin_view').attr('aria-required',true); - jQuery('#jform_admin_view').addClass('required'); - jform_vvvvvzvvzm_required = false; - } - - } - else - { - jQuery('#jform_admin_view').closest('.control-group').hide(); - if (!jform_vvvvvzvvzm_required) - { - updateFieldRequired('admin_view',1); - jQuery('#jform_admin_view').removeAttr('required'); - jQuery('#jform_admin_view').removeAttr('aria-required'); - jQuery('#jform_admin_view').removeClass('required'); - jform_vvvvvzvvzm_required = true; - } - } -} - // the vvvvvzw function function vvvvvzw(location_vvvvvzw) { // set the function logic - if (location_vvvvvzw == 2) + if (location_vvvvvzw == 1) { - jQuery('#jform_site_view').closest('.control-group').show(); + jQuery('#jform_admin_view').closest('.control-group').show(); if (jform_vvvvvzwvzn_required) { - updateFieldRequired('site_view',0); - jQuery('#jform_site_view').prop('required','required'); - jQuery('#jform_site_view').attr('aria-required',true); - jQuery('#jform_site_view').addClass('required'); + updateFieldRequired('admin_view',0); + jQuery('#jform_admin_view').prop('required','required'); + jQuery('#jform_admin_view').attr('aria-required',true); + jQuery('#jform_admin_view').addClass('required'); jform_vvvvvzwvzn_required = false; } } else { - jQuery('#jform_site_view').closest('.control-group').hide(); + jQuery('#jform_admin_view').closest('.control-group').hide(); if (!jform_vvvvvzwvzn_required) { - updateFieldRequired('site_view',1); - jQuery('#jform_site_view').removeAttr('required'); - jQuery('#jform_site_view').removeAttr('aria-required'); - jQuery('#jform_site_view').removeClass('required'); + updateFieldRequired('admin_view',1); + jQuery('#jform_admin_view').removeAttr('required'); + jQuery('#jform_admin_view').removeAttr('aria-required'); + jQuery('#jform_admin_view').removeClass('required'); jform_vvvvvzwvzn_required = true; } } } // the vvvvvzx function -function vvvvvzx(type_vvvvvzx) +function vvvvvzx(location_vvvvvzx) { - if (isSet(type_vvvvvzx) && type_vvvvvzx.constructor !== Array) + // set the function logic + if (location_vvvvvzx == 2) { - var temp_vvvvvzx = type_vvvvvzx; - var type_vvvvvzx = []; - type_vvvvvzx.push(temp_vvvvvzx); - } - else if (!isSet(type_vvvvvzx)) - { - var type_vvvvvzx = []; - } - var type = type_vvvvvzx.some(type_vvvvvzx_SomeFunc); - - - // set this function logic - if (type) - { - jQuery('#jform_url').closest('.control-group').show(); + jQuery('#jform_site_view').closest('.control-group').show(); if (jform_vvvvvzxvzo_required) { - updateFieldRequired('url',0); - jQuery('#jform_url').prop('required','required'); - jQuery('#jform_url').attr('aria-required',true); - jQuery('#jform_url').addClass('required'); + updateFieldRequired('site_view',0); + jQuery('#jform_site_view').prop('required','required'); + jQuery('#jform_site_view').attr('aria-required',true); + jQuery('#jform_site_view').addClass('required'); jform_vvvvvzxvzo_required = false; } } else { - jQuery('#jform_url').closest('.control-group').hide(); + jQuery('#jform_site_view').closest('.control-group').hide(); if (!jform_vvvvvzxvzo_required) { - updateFieldRequired('url',1); - jQuery('#jform_url').removeAttr('required'); - jQuery('#jform_url').removeAttr('aria-required'); - jQuery('#jform_url').removeClass('required'); + updateFieldRequired('site_view',1); + jQuery('#jform_site_view').removeAttr('required'); + jQuery('#jform_site_view').removeAttr('aria-required'); + jQuery('#jform_site_view').removeClass('required'); jform_vvvvvzxvzo_required = true; } } } -// the vvvvvzx Some function -function type_vvvvvzx_SomeFunc(type_vvvvvzx) -{ - // set the function logic - if (type_vvvvvzx == 3) - { - return true; - } - return false; -} - // the vvvvvzy function function vvvvvzy(type_vvvvvzy) { @@ -188,26 +133,26 @@ function vvvvvzy(type_vvvvvzy) // set this function logic if (type) { - jQuery('#jform_article').closest('.control-group').show(); + jQuery('#jform_url').closest('.control-group').show(); if (jform_vvvvvzyvzp_required) { - updateFieldRequired('article',0); - jQuery('#jform_article').prop('required','required'); - jQuery('#jform_article').attr('aria-required',true); - jQuery('#jform_article').addClass('required'); + updateFieldRequired('url',0); + jQuery('#jform_url').prop('required','required'); + jQuery('#jform_url').attr('aria-required',true); + jQuery('#jform_url').addClass('required'); jform_vvvvvzyvzp_required = false; } } else { - jQuery('#jform_article').closest('.control-group').hide(); + jQuery('#jform_url').closest('.control-group').hide(); if (!jform_vvvvvzyvzp_required) { - updateFieldRequired('article',1); - jQuery('#jform_article').removeAttr('required'); - jQuery('#jform_article').removeAttr('aria-required'); - jQuery('#jform_article').removeClass('required'); + updateFieldRequired('url',1); + jQuery('#jform_url').removeAttr('required'); + jQuery('#jform_url').removeAttr('aria-required'); + jQuery('#jform_url').removeClass('required'); jform_vvvvvzyvzp_required = true; } } @@ -217,7 +162,7 @@ function vvvvvzy(type_vvvvvzy) function type_vvvvvzy_SomeFunc(type_vvvvvzy) { // set the function logic - if (type_vvvvvzy == 1) + if (type_vvvvvzy == 3) { return true; } @@ -243,26 +188,26 @@ function vvvvvzz(type_vvvvvzz) // set this function logic if (type) { - jQuery('#jform_content-lbl').closest('.control-group').show(); + jQuery('#jform_article').closest('.control-group').show(); if (jform_vvvvvzzvzq_required) { - updateFieldRequired('content',0); - jQuery('#jform_content').prop('required','required'); - jQuery('#jform_content').attr('aria-required',true); - jQuery('#jform_content').addClass('required'); + updateFieldRequired('article',0); + jQuery('#jform_article').prop('required','required'); + jQuery('#jform_article').attr('aria-required',true); + jQuery('#jform_article').addClass('required'); jform_vvvvvzzvzq_required = false; } } else { - jQuery('#jform_content-lbl').closest('.control-group').hide(); + jQuery('#jform_article').closest('.control-group').hide(); if (!jform_vvvvvzzvzq_required) { - updateFieldRequired('content',1); - jQuery('#jform_content').removeAttr('required'); - jQuery('#jform_content').removeAttr('aria-required'); - jQuery('#jform_content').removeClass('required'); + updateFieldRequired('article',1); + jQuery('#jform_article').removeAttr('required'); + jQuery('#jform_article').removeAttr('aria-required'); + jQuery('#jform_article').removeClass('required'); jform_vvvvvzzvzq_required = true; } } @@ -272,7 +217,7 @@ function vvvvvzz(type_vvvvvzz) function type_vvvvvzz_SomeFunc(type_vvvvvzz) { // set the function logic - if (type_vvvvvzz == 2) + if (type_vvvvvzz == 1) { return true; } @@ -280,32 +225,87 @@ function type_vvvvvzz_SomeFunc(type_vvvvvzz) } // the vvvvwaa function -function vvvvwaa(target_vvvvwaa) +function vvvvwaa(type_vvvvwaa) { - // set the function logic - if (target_vvvvwaa == 1) + if (isSet(type_vvvvwaa) && type_vvvvwaa.constructor !== Array) { - jQuery('#jform_groups').closest('.control-group').show(); + var temp_vvvvwaa = type_vvvvwaa; + var type_vvvvwaa = []; + type_vvvvwaa.push(temp_vvvvwaa); + } + else if (!isSet(type_vvvvwaa)) + { + var type_vvvvwaa = []; + } + var type = type_vvvvwaa.some(type_vvvvwaa_SomeFunc); + + + // set this function logic + if (type) + { + jQuery('#jform_content-lbl').closest('.control-group').show(); if (jform_vvvvwaavzr_required) { - updateFieldRequired('groups',0); - jQuery('#jform_groups').prop('required','required'); - jQuery('#jform_groups').attr('aria-required',true); - jQuery('#jform_groups').addClass('required'); + updateFieldRequired('content',0); + jQuery('#jform_content').prop('required','required'); + jQuery('#jform_content').attr('aria-required',true); + jQuery('#jform_content').addClass('required'); jform_vvvvwaavzr_required = false; } } else { - jQuery('#jform_groups').closest('.control-group').hide(); + jQuery('#jform_content-lbl').closest('.control-group').hide(); if (!jform_vvvvwaavzr_required) + { + updateFieldRequired('content',1); + jQuery('#jform_content').removeAttr('required'); + jQuery('#jform_content').removeAttr('aria-required'); + jQuery('#jform_content').removeClass('required'); + jform_vvvvwaavzr_required = true; + } + } +} + +// the vvvvwaa Some function +function type_vvvvwaa_SomeFunc(type_vvvvwaa) +{ + // set the function logic + if (type_vvvvwaa == 2) + { + return true; + } + return false; +} + +// the vvvvwab function +function vvvvwab(target_vvvvwab) +{ + // set the function logic + if (target_vvvvwab == 1) + { + jQuery('#jform_groups').closest('.control-group').show(); + if (jform_vvvvwabvzs_required) + { + updateFieldRequired('groups',0); + jQuery('#jform_groups').prop('required','required'); + jQuery('#jform_groups').attr('aria-required',true); + jQuery('#jform_groups').addClass('required'); + jform_vvvvwabvzs_required = false; + } + + } + else + { + jQuery('#jform_groups').closest('.control-group').hide(); + if (!jform_vvvvwabvzs_required) { updateFieldRequired('groups',1); jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeClass('required'); - jform_vvvvwaavzr_required = true; + jform_vvvvwabvzs_required = true; } } } diff --git a/admin/models/forms/layout.js b/admin/models/forms/layout.js index db6e921b6..06f0ee85e 100644 --- a/admin/models/forms/layout.js +++ b/admin/models/forms/layout.js @@ -23,42 +23,42 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvyovyk_required = false; +jform_vvvvvypvyl_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvyo(add_php_view_vvvvvyo); + var add_php_view_vvvvvyp = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvyp(add_php_view_vvvvvyp); }); -// the vvvvvyo function -function vvvvvyo(add_php_view_vvvvvyo) +// the vvvvvyp function +function vvvvvyp(add_php_view_vvvvvyp) { // set the function logic - if (add_php_view_vvvvvyo == 1) + if (add_php_view_vvvvvyp == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvyovyk_required) + if (jform_vvvvvypvyl_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_vvvvvyovyk_required = false; + jform_vvvvvypvyl_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvyovyk_required) + if (!jform_vvvvvypvyl_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_vvvvvyovyk_required = true; + jform_vvvvvypvyl_required = true; } } } diff --git a/admin/models/forms/site_view.js b/admin/models/forms/site_view.js index 8aea84caa..3e10a4446 100644 --- a/admin/models/forms/site_view.js +++ b/admin/models/forms/site_view.js @@ -23,7 +23,6 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvyevxz_required = false; jform_vvvvvyfvya_required = false; jform_vvvvvygvyb_required = false; jform_vvvvvyhvyc_required = false; @@ -32,271 +31,272 @@ jform_vvvvvyjvye_required = false; jform_vvvvvykvyf_required = false; jform_vvvvvylvyg_required = false; jform_vvvvvymvyh_required = false; -jform_vvvvvymvyi_required = false; +jform_vvvvvynvyi_required = false; +jform_vvvvvynvyj_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvye = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvye(add_php_view_vvvvvye); + var add_php_view_vvvvvyf = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvyf(add_php_view_vvvvvyf); - var add_php_jview_display_vvvvvyf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - vvvvvyf(add_php_jview_display_vvvvvyf); + var add_php_jview_display_vvvvvyg = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + vvvvvyg(add_php_jview_display_vvvvvyg); - var add_php_jview_vvvvvyg = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - vvvvvyg(add_php_jview_vvvvvyg); + var add_php_jview_vvvvvyh = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + vvvvvyh(add_php_jview_vvvvvyh); - var add_php_document_vvvvvyh = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvyh(add_php_document_vvvvvyh); + var add_php_document_vvvvvyi = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvyi(add_php_document_vvvvvyi); - var add_css_document_vvvvvyi = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - vvvvvyi(add_css_document_vvvvvyi); + var add_css_document_vvvvvyj = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + vvvvvyj(add_css_document_vvvvvyj); - var add_js_document_vvvvvyj = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - vvvvvyj(add_js_document_vvvvvyj); + var add_js_document_vvvvvyk = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + vvvvvyk(add_js_document_vvvvvyk); - var add_css_vvvvvyk = jQuery("#jform_add_css input[type='radio']:checked").val(); - vvvvvyk(add_css_vvvvvyk); + var add_css_vvvvvyl = jQuery("#jform_add_css input[type='radio']:checked").val(); + vvvvvyl(add_css_vvvvvyl); - var add_php_ajax_vvvvvyl = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - vvvvvyl(add_php_ajax_vvvvvyl); + var add_php_ajax_vvvvvym = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + vvvvvym(add_php_ajax_vvvvvym); - var add_custom_button_vvvvvym = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - vvvvvym(add_custom_button_vvvvvym); + var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + vvvvvyn(add_custom_button_vvvvvyn); }); -// the vvvvvye function -function vvvvvye(add_php_view_vvvvvye) +// the vvvvvyf function +function vvvvvyf(add_php_view_vvvvvyf) { // set the function logic - if (add_php_view_vvvvvye == 1) + if (add_php_view_vvvvvyf == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvyevxz_required) + if (jform_vvvvvyfvya_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_vvvvvyevxz_required = false; - } - - } - else - { - jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvyevxz_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_vvvvvyevxz_required = true; - } - } -} - -// the vvvvvyf function -function vvvvvyf(add_php_jview_display_vvvvvyf) -{ - // set the function logic - if (add_php_jview_display_vvvvvyf == 1) - { - jQuery('#jform_php_jview_display').closest('.control-group').show(); - if (jform_vvvvvyfvya_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_vvvvvyfvya_required = false; } } else { - jQuery('#jform_php_jview_display').closest('.control-group').hide(); + jQuery('#jform_php_view').closest('.control-group').hide(); if (!jform_vvvvvyfvya_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'); + updateFieldRequired('php_view',1); + jQuery('#jform_php_view').removeAttr('required'); + jQuery('#jform_php_view').removeAttr('aria-required'); + jQuery('#jform_php_view').removeClass('required'); jform_vvvvvyfvya_required = true; } } } // the vvvvvyg function -function vvvvvyg(add_php_jview_vvvvvyg) +function vvvvvyg(add_php_jview_display_vvvvvyg) { // set the function logic - if (add_php_jview_vvvvvyg == 1) + if (add_php_jview_display_vvvvvyg == 1) { - jQuery('#jform_php_jview').closest('.control-group').show(); + jQuery('#jform_php_jview_display').closest('.control-group').show(); if (jform_vvvvvygvyb_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'); + 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_vvvvvygvyb_required = false; } } else { - jQuery('#jform_php_jview').closest('.control-group').hide(); + jQuery('#jform_php_jview_display').closest('.control-group').hide(); if (!jform_vvvvvygvyb_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_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_vvvvvygvyb_required = true; } } } // the vvvvvyh function -function vvvvvyh(add_php_document_vvvvvyh) +function vvvvvyh(add_php_jview_vvvvvyh) { // set the function logic - if (add_php_document_vvvvvyh == 1) + if (add_php_jview_vvvvvyh == 1) { - jQuery('#jform_php_document').closest('.control-group').show(); + jQuery('#jform_php_jview').closest('.control-group').show(); if (jform_vvvvvyhvyc_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',0); + jQuery('#jform_php_jview').prop('required','required'); + jQuery('#jform_php_jview').attr('aria-required',true); + jQuery('#jform_php_jview').addClass('required'); jform_vvvvvyhvyc_required = false; } } else { - jQuery('#jform_php_document').closest('.control-group').hide(); + jQuery('#jform_php_jview').closest('.control-group').hide(); if (!jform_vvvvvyhvyc_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',1); + jQuery('#jform_php_jview').removeAttr('required'); + jQuery('#jform_php_jview').removeAttr('aria-required'); + jQuery('#jform_php_jview').removeClass('required'); jform_vvvvvyhvyc_required = true; } } } // the vvvvvyi function -function vvvvvyi(add_css_document_vvvvvyi) +function vvvvvyi(add_php_document_vvvvvyi) { // set the function logic - if (add_css_document_vvvvvyi == 1) + if (add_php_document_vvvvvyi == 1) { - jQuery('#jform_css_document').closest('.control-group').show(); + jQuery('#jform_php_document').closest('.control-group').show(); if (jform_vvvvvyivyd_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_document',0); + jQuery('#jform_php_document').prop('required','required'); + jQuery('#jform_php_document').attr('aria-required',true); + jQuery('#jform_php_document').addClass('required'); jform_vvvvvyivyd_required = false; } } else { - jQuery('#jform_css_document').closest('.control-group').hide(); + jQuery('#jform_php_document').closest('.control-group').hide(); if (!jform_vvvvvyivyd_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_document',1); + jQuery('#jform_php_document').removeAttr('required'); + jQuery('#jform_php_document').removeAttr('aria-required'); + jQuery('#jform_php_document').removeClass('required'); jform_vvvvvyivyd_required = true; } } } // the vvvvvyj function -function vvvvvyj(add_js_document_vvvvvyj) +function vvvvvyj(add_css_document_vvvvvyj) { // set the function logic - if (add_js_document_vvvvvyj == 1) + if (add_css_document_vvvvvyj == 1) { - jQuery('#jform_js_document').closest('.control-group').show(); + jQuery('#jform_css_document').closest('.control-group').show(); if (jform_vvvvvyjvye_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('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_vvvvvyjvye_required = false; } } else { - jQuery('#jform_js_document').closest('.control-group').hide(); + jQuery('#jform_css_document').closest('.control-group').hide(); if (!jform_vvvvvyjvye_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('css_document',1); + jQuery('#jform_css_document').removeAttr('required'); + jQuery('#jform_css_document').removeAttr('aria-required'); + jQuery('#jform_css_document').removeClass('required'); jform_vvvvvyjvye_required = true; } } } // the vvvvvyk function -function vvvvvyk(add_css_vvvvvyk) +function vvvvvyk(add_js_document_vvvvvyk) { // set the function logic - if (add_css_vvvvvyk == 1) + if (add_js_document_vvvvvyk == 1) { - jQuery('#jform_css').closest('.control-group').show(); + jQuery('#jform_js_document').closest('.control-group').show(); if (jform_vvvvvykvyf_required) { - updateFieldRequired('css',0); - jQuery('#jform_css').prop('required','required'); - jQuery('#jform_css').attr('aria-required',true); - jQuery('#jform_css').addClass('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_vvvvvykvyf_required = false; } } else { - jQuery('#jform_css').closest('.control-group').hide(); + jQuery('#jform_js_document').closest('.control-group').hide(); if (!jform_vvvvvykvyf_required) { - updateFieldRequired('css',1); - jQuery('#jform_css').removeAttr('required'); - jQuery('#jform_css').removeAttr('aria-required'); - jQuery('#jform_css').removeClass('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_vvvvvykvyf_required = true; } } } // the vvvvvyl function -function vvvvvyl(add_php_ajax_vvvvvyl) +function vvvvvyl(add_css_vvvvvyl) { // set the function logic - if (add_php_ajax_vvvvvyl == 1) + if (add_css_vvvvvyl == 1) + { + jQuery('#jform_css').closest('.control-group').show(); + if (jform_vvvvvylvyg_required) + { + updateFieldRequired('css',0); + jQuery('#jform_css').prop('required','required'); + jQuery('#jform_css').attr('aria-required',true); + jQuery('#jform_css').addClass('required'); + jform_vvvvvylvyg_required = false; + } + + } + else + { + jQuery('#jform_css').closest('.control-group').hide(); + if (!jform_vvvvvylvyg_required) + { + updateFieldRequired('css',1); + jQuery('#jform_css').removeAttr('required'); + jQuery('#jform_css').removeAttr('aria-required'); + jQuery('#jform_css').removeClass('required'); + jform_vvvvvylvyg_required = true; + } + } +} + +// the vvvvvym function +function vvvvvym(add_php_ajax_vvvvvym) +{ + // set the function logic + if (add_php_ajax_vvvvvym == 1) { jQuery('#jform_ajax_input').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); - if (jform_vvvvvylvyg_required) + if (jform_vvvvvymvyh_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_vvvvvylvyg_required = false; + jform_vvvvvymvyh_required = false; } } @@ -304,42 +304,42 @@ function vvvvvyl(add_php_ajax_vvvvvyl) { jQuery('#jform_ajax_input').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); - if (!jform_vvvvvylvyg_required) + if (!jform_vvvvvymvyh_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_vvvvvylvyg_required = true; + jform_vvvvvymvyh_required = true; } } } -// the vvvvvym function -function vvvvvym(add_custom_button_vvvvvym) +// the vvvvvyn function +function vvvvvyn(add_custom_button_vvvvvyn) { // set the function logic - if (add_custom_button_vvvvvym == 1) + if (add_custom_button_vvvvvyn == 1) { jQuery('#jform_custom_button').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show(); - if (jform_vvvvvymvyh_required) + if (jform_vvvvvynvyi_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_vvvvvymvyh_required = false; + jform_vvvvvynvyi_required = false; } jQuery('#jform_php_model').closest('.control-group').show(); - if (jform_vvvvvymvyi_required) + if (jform_vvvvvynvyj_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_vvvvvymvyi_required = false; + jform_vvvvvynvyj_required = false; } } @@ -347,22 +347,22 @@ function vvvvvym(add_custom_button_vvvvvym) { jQuery('#jform_custom_button').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide(); - if (!jform_vvvvvymvyh_required) + if (!jform_vvvvvynvyi_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_vvvvvymvyh_required = true; + jform_vvvvvynvyi_required = true; } jQuery('#jform_php_model').closest('.control-group').hide(); - if (!jform_vvvvvymvyi_required) + if (!jform_vvvvvynvyj_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_vvvvvymvyi_required = true; + jform_vvvvvynvyj_required = true; } } } diff --git a/admin/models/forms/template.js b/admin/models/forms/template.js index d1fb4d97c..e5cd07966 100644 --- a/admin/models/forms/template.js +++ b/admin/models/forms/template.js @@ -23,42 +23,42 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvynvyj_required = false; +jform_vvvvvyovyk_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvyn = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvyn(add_php_view_vvvvvyn); + var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvyo(add_php_view_vvvvvyo); }); -// the vvvvvyn function -function vvvvvyn(add_php_view_vvvvvyn) +// the vvvvvyo function +function vvvvvyo(add_php_view_vvvvvyo) { // set the function logic - if (add_php_view_vvvvvyn == 1) + if (add_php_view_vvvvvyo == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvynvyj_required) + if (jform_vvvvvyovyk_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_vvvvvynvyj_required = false; + jform_vvvvvyovyk_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvynvyj_required) + if (!jform_vvvvvyovyk_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_vvvvvynvyj_required = true; + jform_vvvvvyovyk_required = true; } } } diff --git a/admin/models/help_document.php b/admin/models/help_document.php index f38bfa8c1..23180ee64 100644 --- a/admin/models/help_document.php +++ b/admin/models/help_document.php @@ -122,7 +122,8 @@ class ComponentbuilderModelHelp_document extends JModelAdmin * @since 1.6 */ public function getForm($data = array(), $loadData = true) - { // Get the form. + { + // Get the form. $form = $this->loadForm('com_componentbuilder.help_document', 'help_document', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) diff --git a/admin/models/layout.php b/admin/models/layout.php index 8df38823c..d6140acda 100644 --- a/admin/models/layout.php +++ b/admin/models/layout.php @@ -128,7 +128,8 @@ class ComponentbuilderModelLayout extends JModelAdmin * @since 1.6 */ public function getForm($data = array(), $loadData = true) - { // Get the form. + { + // Get the form. $form = $this->loadForm('com_componentbuilder.layout', 'layout', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) diff --git a/admin/models/site_view.php b/admin/models/site_view.php index 670e8cdd2..e79631056 100644 --- a/admin/models/site_view.php +++ b/admin/models/site_view.php @@ -190,7 +190,8 @@ class ComponentbuilderModelSite_view extends JModelAdmin * @since 1.6 */ public function getForm($data = array(), $loadData = true) - { // Get the form. + { + // Get the form. $form = $this->loadForm('com_componentbuilder.site_view', 'site_view', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) diff --git a/admin/models/snippet.php b/admin/models/snippet.php index 07e892a55..cb4471b3e 100644 --- a/admin/models/snippet.php +++ b/admin/models/snippet.php @@ -122,7 +122,8 @@ class ComponentbuilderModelSnippet extends JModelAdmin * @since 1.6 */ public function getForm($data = array(), $loadData = true) - { // Get the form. + { + // Get the form. $form = $this->loadForm('com_componentbuilder.snippet', 'snippet', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) diff --git a/admin/models/template.php b/admin/models/template.php index 82ee0fa7c..a75a23504 100644 --- a/admin/models/template.php +++ b/admin/models/template.php @@ -128,7 +128,8 @@ class ComponentbuilderModelTemplate extends JModelAdmin * @since 1.6 */ public function getForm($data = array(), $loadData = true) - { // Get the form. + { + // Get the form. $form = $this->loadForm('com_componentbuilder.template', 'template', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) diff --git a/admin/views/admin_view/tmpl/edit.php b/admin/views/admin_view/tmpl/edit.php index 5a63f57ca..2d8e6b650 100644 --- a/admin/views/admin_view/tmpl/edit.php +++ b/admin/views/admin_view/tmpl/edit.php @@ -198,416 +198,401 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');