From affaeb72f8fdc728e360a5d0bb3a03df82b4707f Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Fri, 19 Jul 2019 04:17:15 +0200 Subject: [PATCH] Resolved gh-441 to allow fieldtype name prefixing. Resolved gh-443 to allow Alphanumeric+dot in fieldtype name. Fixed gh-446 to insure that JFormRuleInt validates correctly in the admin field realtions. Improved the new plugin area to also have system name and option to add custom header code. gh-436 --- README.md | 12 +- admin/README.txt | 12 +- admin/access.xml | 2 - .../assets/images/icons/joomla_components.png | Bin 11043 -> 14213 bytes admin/assets/images/icons/joomla_plugins.png | Bin 28509 -> 9985 bytes .../joomla_3/JFormFieldCheckboxes.php | 2 +- admin/compiler/joomla_3/JFormFieldCustom.php | 2 +- admin/compiler/joomla_3/JFormFieldList.php | 2 +- admin/compiler/joomla_3/JFormFieldRadio.php | 2 +- admin/compiler/joomla_3/JFormFieldUser.php | 2 +- admin/config.xml | 14 + admin/controllers/ajax.json.php | 40 + admin/controllers/joomla_plugins.php | 63 - admin/helpers/compiler/a_Get.php | 23 +- admin/helpers/compiler/c_Fields.php | 39 +- admin/helpers/componentbuilder.php | 42 + .../en-GB/en-GB.com_componentbuilder.ini | 23 +- .../en-GB/en-GB.com_componentbuilder.sys.ini | 4 - admin/layouts/fieldtype/fields_fullwidth.php | 2 +- .../{details_above.php => code_above.php} | 4 +- ...tails_fullwidth.php => code_fullwidth.php} | 1 + .../{details_left.php => code_left.php} | 4 + .../{details_right.php => code_right.php} | 0 .../server/linked_components_fullwidth.php | 2 +- admin/models/ajax.php | 10 +- admin/models/field.php | 2 +- admin/models/fields/joomlaplugins.php | 7 +- admin/models/fieldtype.php | 12 +- admin/models/forms/admin_view.js | 416 ++--- admin/models/forms/class_extends.xml | 4 +- admin/models/forms/class_method.js | 38 +- admin/models/forms/class_property.js | 38 +- admin/models/forms/custom_admin_view.js | 100 +- admin/models/forms/custom_code.js | 88 +- admin/models/forms/dynamic_get.js | 1538 ++++++++--------- admin/models/forms/field.js | 242 +-- admin/models/forms/fieldtype.js | 844 ++++----- admin/models/forms/help_document.js | 164 +- admin/models/forms/joomla_plugin.js | 405 ++++- admin/models/forms/joomla_plugin.xml | 67 +- admin/models/forms/layout.js | 10 +- admin/models/forms/library.js | 340 ++-- admin/models/forms/server.js | 558 +++--- admin/models/forms/site_view.js | 128 +- admin/models/forms/template.js | 10 +- admin/models/import_joomla_components.php | 22 +- admin/models/joomla_plugin.php | 63 +- admin/models/joomla_plugins.php | 115 +- admin/models/rules/int.php | 31 + admin/models/server.php | 2 +- admin/sql/install.mysql.utf8.sql | 8 +- admin/sql/updates/mysql/2.9.33.sql | 5 + admin/views/admin_view/tmpl/edit.php | 430 ++--- admin/views/class_method/tmpl/edit.php | 10 +- admin/views/class_property/tmpl/edit.php | 10 +- admin/views/custom_admin_view/tmpl/edit.php | 100 +- admin/views/custom_code/tmpl/edit.php | 170 +- admin/views/dynamic_get/tmpl/edit.php | 602 +++---- admin/views/field/tmpl/edit.php | 108 +- admin/views/fieldtype/tmpl/edit.php | 434 ++--- admin/views/fieldtype/view.html.php | 2 +- admin/views/help_document/tmpl/edit.php | 60 +- admin/views/joomla_plugin/tmpl/edit.php | 66 +- admin/views/joomla_plugin/view.html.php | 71 + .../joomla_plugins/tmpl/default_body.php | 4 +- .../joomla_plugins/tmpl/default_head.php | 2 +- admin/views/joomla_plugins/view.html.php | 74 +- admin/views/layout/tmpl/edit.php | 10 +- admin/views/library/tmpl/edit.php | 100 +- admin/views/server/tmpl/edit.php | 206 +-- admin/views/server/view.html.php | 2 +- admin/views/site_view/tmpl/edit.php | 110 +- admin/views/template/tmpl/edit.php | 10 +- componentbuilder.xml | 6 +- componentbuilder_update_server.xml | 23 +- script.php | 12 +- site/helpers/componentbuilder.php | 42 + 77 files changed, 4338 insertions(+), 3890 deletions(-) rename admin/layouts/joomla_plugin/{details_above.php => code_above.php} (94%) rename admin/layouts/joomla_plugin/{details_fullwidth.php => code_fullwidth.php} (97%) rename admin/layouts/joomla_plugin/{details_left.php => code_left.php} (93%) rename admin/layouts/joomla_plugin/{details_right.php => code_right.php} (100%) create mode 100644 admin/sql/updates/mysql/2.9.33.sql diff --git a/README.md b/README.md index 815c07b8c..2f0d14d03 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.33) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.34) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -146,13 +146,13 @@ TODO + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 17th July, 2019 -+ *Version*: 2.9.33 ++ *Last Build*: 19th July, 2019 ++ *Version*: 2.9.34 + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **236366** -+ *Field count*: **1235** -+ *File count*: **1527** ++ *Line count*: **236622** ++ *Field count*: **1239** ++ *File count*: **1528** + *Folder count*: **233** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com). diff --git a/admin/README.txt b/admin/README.txt index 815c07b8c..2f0d14d03 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.33) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.34) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -146,13 +146,13 @@ TODO + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 17th July, 2019 -+ *Version*: 2.9.33 ++ *Last Build*: 19th July, 2019 ++ *Version*: 2.9.34 + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **236366** -+ *Field count*: **1235** -+ *File count*: **1527** ++ *Line count*: **236622** ++ *Field count*: **1239** ++ *File count*: **1528** + *Folder count*: **233** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com). diff --git a/admin/access.xml b/admin/access.xml index 46d82d317..f5d11dd7d 100644 --- a/admin/access.xml +++ b/admin/access.xml @@ -342,8 +342,6 @@ - - diff --git a/admin/assets/images/icons/joomla_components.png b/admin/assets/images/icons/joomla_components.png index 3917f1e456ca102b58f1e46f4afdc5f587d06650..6f7d100679166ead9a22140487d074edf0da4ca9 100644 GIT binary patch delta 13594 zcmaiZQ&i_)+-|mAQ%%N%$+m5~CflxWwrx)J%Qe}yZBCwS_x|5?F3#0iXJ3ETdOrJN zKl?$kMyNvqAvAa+x3Ydc=?6FoGnXj4FcXIemxM5vI5#u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I(m-_QFIODn;&O4i^H&>%o4M+jL?hcZ2!4h_$a#^R67=Dd5R(v)MrFV#A= zniPtnbZ$VZhivry*Ur-Ig%Wvj%)F}iOVCd=)F>16QK8o8{=*MWyiu;UOtWv6bZxit zd&9kl^7jvVz@N8kH}~G_TDDUtiS8$qDs3f{a2K!;D2fpa;dVKu#s|ZLkBlW_`=>MR z@u3LCBR%b4IX#q3_n=Jrk?sg-t23`b-e-CsWU z*6NWDK6#bjgCu3w{{|wrghn_2&SL*U{xr=AxuC> z9Rx=hqlt(oa_-8)A^slY2I)#4%znR|{dQ{Jr<(MB59XKYdYI2_%w_yUq ze1%F09s&1(#10xXVB)RJ-a6q#yHxW&tB3JLyB?%H^uE`&!`HnECDHvNl{vZA)2(_Z zxZf)OxlR6VKKL)|wNvh5r~E~~_Y!SC!MpY6KhsIy%?JJeOTQkbT<$^DRsAOVK@ COM_COMPONENTBUILDER_CONFIG_ALPHANUMERIC + + + + + + diff --git a/admin/controllers/ajax.json.php b/admin/controllers/ajax.json.php index 3a4830f3b..69a27a482 100644 --- a/admin/controllers/ajax.json.php +++ b/admin/controllers/ajax.json.php @@ -33,6 +33,7 @@ class ComponentbuilderControllerAjax extends JControllerLegacy $this->registerTask('getCrowdinDetails', 'ajax'); $this->registerTask('getClassCode', 'ajax'); $this->registerTask('getClassCodeIds', 'ajax'); + $this->registerTask('getClassHeaderCode', 'ajax'); $this->registerTask('tableColumns', 'ajax'); $this->registerTask('fieldSelectOptions', 'ajax'); $this->registerTask('getDynamicScripts', 'ajax'); @@ -381,6 +382,45 @@ class ComponentbuilderControllerAjax extends JControllerLegacy } } break; + case 'getClassHeaderCode': + try + { + $returnRaw = $jinput->get('raw', false, 'BOOLEAN'); + $idValue = $jinput->get('id', NULL, 'INT'); + $typeValue = $jinput->get('type', NULL, 'WORD'); + if($idValue && $typeValue && $user->id != 0) + { + $result = $this->getModel('ajax')->getClassHeaderCode($idValue, $typeValue); + } + else + { + $result = false; + } + if($callback = $jinput->get('callback', null, 'CMD')) + { + echo $callback . "(".json_encode($result).");"; + } + elseif($returnRaw) + { + echo json_encode($result); + } + else + { + echo "(".json_encode($result).");"; + } + } + catch(Exception $e) + { + if($callback = $jinput->get('callback', null, 'CMD')) + { + echo $callback."(".json_encode($e).");"; + } + else + { + echo "(".json_encode($e).");"; + } + } + break; case 'tableColumns': try { diff --git a/admin/controllers/joomla_plugins.php b/admin/controllers/joomla_plugins.php index 2b76de3aa..e648b8ca3 100644 --- a/admin/controllers/joomla_plugins.php +++ b/admin/controllers/joomla_plugins.php @@ -41,69 +41,6 @@ class ComponentbuilderControllerJoomla_plugins extends JControllerAdmin return parent::getModel($name, $prefix, $config); } - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('joomla_plugin.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Joomla_plugins'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Joomla_plugins_'.$date->format('jS_F_Y'),'Joomla plugins exported ('.$date->format('jS F, Y').')','joomla plugins'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=joomla_plugins', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('joomla_plugin.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Joomla_plugins'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('joomla_plugin_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'joomla_plugins'); - $session->set('dataType_VDM_IMPORTINTO', 'joomla_plugin'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_JOOMLA_PLUGINS'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=joomla_plugins', false), $message, 'error'); - return; - } - /** * Run the Expansion diff --git a/admin/helpers/compiler/a_Get.php b/admin/helpers/compiler/a_Get.php index 29186c266..7df3a6695 100644 --- a/admin/helpers/compiler/a_Get.php +++ b/admin/helpers/compiler/a_Get.php @@ -2926,11 +2926,11 @@ class Get $field['settings']->type_name = 'Custom'; } // set the type name - $type_name = ComponentbuilderHelper::safeString($field['settings']->type_name); + $type_name = ComponentbuilderHelper::safeTypeName($field['settings']->type_name); // if custom (we must use the xml value) - if ($type_name === 'custom' || $type_name === 'customuser') + if (strtolower($type_name) === 'custom' || strtolower($type_name) === 'customuser') { - $type = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml, 'type="', '"')); + $type = ComponentbuilderHelper::safeTypeName(ComponentbuilderHelper::getBetween($field['settings']->xml, 'type="', '"')); } else { @@ -2942,17 +2942,12 @@ class Get // force the default value if (isset($property['example']) && ComponentbuilderHelper::checkString($property['example'])) { - $type = ComponentbuilderHelper::safeString($property['example']); - } - // fallback on type name set in name field - elseif (ComponentbuilderHelper::checkString($type_name)) - { - $type = $type_name; + $type = ComponentbuilderHelper::safeTypeName($property['example']); } // fall back on the xml settings (not ideal) else { - $type = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xml, 'type="', '"')); + $type = ComponentbuilderHelper::safeTypeName(ComponentbuilderHelper::getBetween($field['settings']->xml, 'type="', '"')); } // exit foreach loop break; @@ -2960,11 +2955,15 @@ class Get } } // check if the value is set - if (ComponentbuilderHelper::checkString($type)) + if (isset($type) && ComponentbuilderHelper::checkString($type)) { - // add the value return $type; } + // fallback on type name set in name field (not ideal) + else + { + return $type_name; + } } // fall back to text return 'text'; diff --git a/admin/helpers/compiler/c_Fields.php b/admin/helpers/compiler/c_Fields.php index 9e830fecd..c280b4bf0 100644 --- a/admin/helpers/compiler/c_Fields.php +++ b/admin/helpers/compiler/c_Fields.php @@ -1399,11 +1399,6 @@ class Fields extends Structure // now add to the field set $field .= $this->setField('option', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber); } - elseif (ComponentbuilderHelper::fieldCheck($r_typeName, 'plain')) - { - // now add to the field set - $field .= $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber); - } elseif (ComponentbuilderHelper::checkArray($r_fieldValues['custom'])) { // add to custom @@ -1425,6 +1420,11 @@ class Fields extends Structure // set the custom field file $this->setCustomFieldTypeFile($data, $view_name_list, $view_name_single); } + else + { + // now add to the field set + $field .= $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber); + } } } } @@ -1498,11 +1498,6 @@ class Fields extends Structure // now add to the field set $field .= $this->setField('option', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber); } - elseif (ComponentbuilderHelper::fieldCheck($r_typeName, 'plain')) - { - // now add to the field set - $field .= $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber); - } elseif ($r_typeName === 'subform') { // set nested depth @@ -1542,6 +1537,11 @@ class Fields extends Structure // set the custom field file $this->setCustomFieldTypeFile($data, $view_name_list, $view_name_single); } + else + { + // now add to the field set + $field .= $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber); + } } } } @@ -2862,6 +2862,22 @@ class Fields extends Structure // make sure it is not already been build or if it is prime if (isset($data['custom']) && isset($data['custom']['extends']) && ((isset($data['custom']['prime_php']) && $data['custom']['prime_php'] == 1) || !isset($this->fileContentDynamic['customfield_' . $data['type']]) || !ComponentbuilderHelper::checkArray($this->fileContentDynamic['customfield_' . $data['type']]))) { + // set J prefix + $jprefix = 'J'; + // check if this field has a dot in field type name + if (strpos($data['type'], '.') !== false) + { + // so we have name spacing in custom field type name + $dotTypeArray = explode('.', $data['type']); + // set the J prefix + if (count($dotTypeArray) > 1) + { + $jprefix = strtoupper(array_shift($dotTypeArray)); + } + // update the type name now + $data['type'] = implode('', $dotTypeArray); + $data['custom']['type'] = $data['type']; + } // set tab and break replacements $tabBreak = array( '\t' => $this->_t(1), @@ -2869,6 +2885,7 @@ class Fields extends Structure ); // set the [[[PLACEHOLDER]]] options $replace = array( + $this->bbb . 'JPREFIX' . $this->ddd => $jprefix, $this->bbb . 'TABLE' . $this->ddd => $data['custom']['table'], $this->bbb . 'ID' . $this->ddd => $data['custom']['id'], $this->bbb . 'TEXT' . $this->ddd => $data['custom']['text'], @@ -2901,6 +2918,8 @@ class Fields extends Structure } // start loading the field type $this->fileContentDynamic['customfield_' . $data['type']] = array(); + // JPREFIX <>> + $this->fileContentDynamic['customfield_' . $data['type']][$this->hhh . 'JPREFIX' . $this->hhh] = $jprefix; // Type <<>> $this->fileContentDynamic['customfield_' . $data['type']][$this->hhh . 'Type' . $this->hhh] = ComponentbuilderHelper::safeString($data['custom']['type'], 'F'); // type <<>> diff --git a/admin/helpers/componentbuilder.php b/admin/helpers/componentbuilder.php index e21f8ffdb..4361b6e63 100644 --- a/admin/helpers/componentbuilder.php +++ b/admin/helpers/componentbuilder.php @@ -712,6 +712,48 @@ abstract class ComponentbuilderHelper return self::safeString($string); } + /** + * The type builder switch + **/ + protected static $typeNameBuilder = false; + + /** + * Making field type name safe + * + * @input string The you would like to make safe + * + * @returns string on success + **/ + public static function safeTypeName($string) + { + // get global value + if (self::$typeNameBuilder === false) + { + self::$typeNameBuilder = JComponentHelper::getParams('com_componentbuilder')->get('type_name_builder', 1); + } + // use the new convention + if (2 == self::$typeNameBuilder) + { + // 0nly continue if we have a string + if (self::checkString($string)) + { + // check that the first character is not a number + if (is_numeric(substr($string, 0, 1))) + { + $string = self::replaceNumbers($string); + } + // remove all and keep only characters and numbers and point (TODO just one point) + $string = trim(preg_replace("/[^A-Za-z0-9\.]/", '', $string)); + // best is to return lower (for all string equality in compiler) + return strtolower($string); + } + // not a string + return ''; + } + // use the default (original behaviour/convention) + return self::safeString($string); + } + /* * Get the Array of Existing Validation Rule Names * diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini index 9eb70baf7..d52af6caf 100644 --- a/admin/language/en-GB/en-GB.com_componentbuilder.ini +++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini @@ -3145,6 +3145,7 @@ COM_COMPONENTBUILDER_CONFIG_ADD_MENU_PREFIX_DESCRIPTION="Would you like to add a COM_COMPONENTBUILDER_CONFIG_ADD_MENU_PREFIX_LABEL="Add Menu Prefix" COM_COMPONENTBUILDER_CONFIG_ALMOST_FLAT_LOAD="Almost Flat" COM_COMPONENTBUILDER_CONFIG_ALPHANUMERIC="Alphanumeric" +COM_COMPONENTBUILDER_CONFIG_ALPHANUMERICDOT="Alphanumeric+dot" COM_COMPONENTBUILDER_CONFIG_API_DESCRIPTION="This User will be used to log the API call." COM_COMPONENTBUILDER_CONFIG_API_LABEL="API User" COM_COMPONENTBUILDER_CONFIG_AUTHOR="Author Info" @@ -3508,6 +3509,8 @@ COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_LABEL="Update Cycle" COM_COMPONENTBUILDER_CONFIG_STRING_MANIPULATION="String Manipulation" COM_COMPONENTBUILDER_CONFIG_TLS="TLS" COM_COMPONENTBUILDER_CONFIG_TRUE="True" +COM_COMPONENTBUILDER_CONFIG_TYPE_NAME_BUILDER_DESCRIPTION="The default option only uses alphabetical characters and converts all numbers in field names to the English equivalent like 1 becomes one.
Alphanumeric+dot keeps the numbers unconverted unless it is at the beginning of the field name, and allows for a dot (.) to be used in the type name for namespacing." +COM_COMPONENTBUILDER_CONFIG_TYPE_NAME_BUILDER_LABEL="Field Type Name Builder
(in compiler)" COM_COMPONENTBUILDER_CONFIG_UIKIT_DESC="The Parameters for the uikit are set here.
Uikit is a lightweight and modular front-end framework for developing fast and powerful web interfaces. For more info visit https://getuikit.com/v2/" COM_COMPONENTBUILDER_CONFIG_UIKIT_LABEL="Uikit2 Settings" @@ -5316,7 +5319,6 @@ COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDS="Select the file to import da COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDTYPES="Select the file to import data to fieldtypes." COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_HELP_DOCUMENTS="Select the file to import data to help_documents." COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_JOOMLA_COMPONENTS="Select the file to import data to joomla_components." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_JOOMLA_PLUGINS="Select the file to import data to joomla_plugins." COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LANGUAGES="Select the file to import data to languages." COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LANGUAGE_TRANSLATIONS="Select the file to import data to language_translations." COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LAYOUTS="Select the file to import data to layouts." @@ -5883,10 +5885,6 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE="Joomla Plugins Edit State" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION="Joomla Plugins Edit Version" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins" -COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EXPORT="Joomla Plugins Export" -COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EXPORT_DESC="Allows the users in this group to export export joomla plugins" -COM_COMPONENTBUILDER_JOOMLA_PLUGINS_IMPORT="Joomla Plugins Import" -COM_COMPONENTBUILDER_JOOMLA_PLUGINS_IMPORT_DESC="Allows the users in this group to import import joomla plugins" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_ARCHIVED="%s Joomla Plugins archived." COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_ARCHIVED_1="%s Joomla Plugin archived." COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_CHECKED_IN_0="No Joomla Plugin successfully checked in." @@ -5906,8 +5904,12 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_UNPUBLISHED="%s Joomla Plugins unpub COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_UNPUBLISHED_1="%s Joomla Plugin unpublished." COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU="Joomla Plugins Submenu" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC="Allows the users in this group to submenu of joomla plugin" +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_HEAD="Add Head" +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_HEAD_DESCRIPTION="You can add your own custom header script, combined with the default header script that make the extended class work." +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_HEAD_LABEL="Add Custom Class Header" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS="Class Extends" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS_LABEL="Extends" +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CODE="Code" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CONFIGPARAMS="Config/Params" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CREATED_BY_DESC="The user that created this Joomla Plugin." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CREATED_BY_LABEL="Created By" @@ -5916,7 +5918,6 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CREATED_DATE_LABEL="Created Date" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_DESCRIPTION="Enter custom value if needed" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_HINT="Custom Value Here" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_LABEL="Custom Value" -COM_COMPONENTBUILDER_JOOMLA_PLUGIN_DETAILS="Details" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_EDIT="Editing the Joomla Plugin" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ERROR_UNIQUE_ALIAS="Another Joomla Plugin has the same alias." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD="Field" @@ -5980,6 +5981,9 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP_SAVE_WARNING="Alias already existed so COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP_STATUS="Status" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP_VERSION_DESC="A count of the number of times this Joomla Plugin Group has been revised." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP_VERSION_LABEL="Revision" +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD="Head" +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD_DESCRIPTION="The class head, where JLoader, namespace and use is added, so that class being extended will work." +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD_LABEL="Class Head" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ID="Id" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_JOOMLA_PLUGIN_GROUP="Joomla Plugin Group" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_JOOMLA_PLUGIN_GROUP_LABEL="Joomla Plugin Group" @@ -6003,6 +6007,7 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_HINT="Name Here" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_LABEL="Name" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_MESSAGE="Error! Please add name here." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NEW="A New Joomla Plugin" +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO="No" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_DESCRIPTION="This area is still in beta, and is not ready for use. Things may work, but they are not wired up to the back-end/compiler. You are already seeing it since JCB is being developed in a reverse motion of front-end/GUI to back-end/Compiler approach. We first build the GUI... and then the Back-end, which is not normally how it is done, or so I was told.... But anyway that is how JCB is being build, we get the idea, look at all the relationships and build the tables, and columns, which then map to views and fields (GUI), we then build the functions in the compiler to act upon these new data-sets, and whammm the full functionality/idea becomes stable and ready. So in due time this area will become available for your use, and then this message will go away! (or the whole area will just disappear if it does not work out :)" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_LABEL="Beta Stage" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_LINKED_TO_NOTICE_DESCRIPTION="

Searching the database.
" @@ -6023,8 +6028,14 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS="Joomla Plugin Ru COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Plugin to customise the alias." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_STATUS="Status" +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME="System Name" +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_DESCRIPTION="Used only in the system." +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_HINT="The System Name Here" +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_LABEL="System Name" +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_MESSAGE="Error! Please add some text here." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_VERSION_DESC="A count of the number of times this Joomla Plugin has been revised." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_VERSION_LABEL="Revision" +COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES="Yes" COM_COMPONENTBUILDER_JUST_GET_ALL_SNIPPETS="Just Get All Snippets" COM_COMPONENTBUILDER_KEEP_HISTORY="Keep History" COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS="- Keep Original Access -" diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini b/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini index 23b8a8222..42a278414 100644 --- a/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini +++ b/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini @@ -660,10 +660,6 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE="Joomla Plugins Edit State" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION="Joomla Plugins Edit Version" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins" -COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EXPORT="Joomla Plugins Export" -COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EXPORT_DESC="Allows the users in this group to export export joomla plugins" -COM_COMPONENTBUILDER_JOOMLA_PLUGINS_IMPORT="Joomla Plugins Import" -COM_COMPONENTBUILDER_JOOMLA_PLUGINS_IMPORT_DESC="Allows the users in this group to import import joomla plugins" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU="Joomla Plugins Submenu" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC="Allows the users in this group to submenu of joomla plugin" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS="Joomla Plugin Get Boilerplate Button Access" diff --git a/admin/layouts/fieldtype/fields_fullwidth.php b/admin/layouts/fieldtype/fields_fullwidth.php index 2c946f2bf..ad82e0bd2 100644 --- a/admin/layouts/fieldtype/fields_fullwidth.php +++ b/admin/layouts/fieldtype/fields_fullwidth.php @@ -13,7 +13,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->vxsfields; +$items = $displayData->vxtfields; $user = JFactory::getUser(); $id = $displayData->item->id; // set the edit URL diff --git a/admin/layouts/joomla_plugin/details_above.php b/admin/layouts/joomla_plugin/code_above.php similarity index 94% rename from admin/layouts/joomla_plugin/details_above.php rename to admin/layouts/joomla_plugin/code_above.php index 8e191208e..0b9969524 100644 --- a/admin/layouts/joomla_plugin/details_above.php +++ b/admin/layouts/joomla_plugin/code_above.php @@ -26,9 +26,7 @@ $fields_tab_layout = 'fields_' . $layout_path_array[1]; // get the fields $fields = $displayData->get($fields_tab_layout) ?: array( - 'name', - 'class_extends', - 'joomla_plugin_group' + 'system_name' ); $hiddenFields = $displayData->get('hidden_fields') ?: array(); diff --git a/admin/layouts/joomla_plugin/details_fullwidth.php b/admin/layouts/joomla_plugin/code_fullwidth.php similarity index 97% rename from admin/layouts/joomla_plugin/details_fullwidth.php rename to admin/layouts/joomla_plugin/code_fullwidth.php index 39b8b415a..25d35c80c 100644 --- a/admin/layouts/joomla_plugin/details_fullwidth.php +++ b/admin/layouts/joomla_plugin/code_fullwidth.php @@ -26,6 +26,7 @@ $fields_tab_layout = 'fields_' . $layout_path_array[1]; // get the fields $fields = $displayData->get($fields_tab_layout) ?: array( + 'head', 'main_class_code', 'note_linked_to_notice' ); diff --git a/admin/layouts/joomla_plugin/details_left.php b/admin/layouts/joomla_plugin/code_left.php similarity index 93% rename from admin/layouts/joomla_plugin/details_left.php rename to admin/layouts/joomla_plugin/code_left.php index a1a01c5ee..0b949db63 100644 --- a/admin/layouts/joomla_plugin/details_left.php +++ b/admin/layouts/joomla_plugin/code_left.php @@ -27,6 +27,10 @@ $fields_tab_layout = 'fields_' . $layout_path_array[1]; // get the fields $fields = $displayData->get($fields_tab_layout) ?: array( 'note_beta_stage', + 'name', + 'class_extends', + 'joomla_plugin_group', + 'add_head', 'note_plugin' ); diff --git a/admin/layouts/joomla_plugin/details_right.php b/admin/layouts/joomla_plugin/code_right.php similarity index 100% rename from admin/layouts/joomla_plugin/details_right.php rename to admin/layouts/joomla_plugin/code_right.php diff --git a/admin/layouts/server/linked_components_fullwidth.php b/admin/layouts/server/linked_components_fullwidth.php index 92b0fcb31..5cb30c3e3 100644 --- a/admin/layouts/server/linked_components_fullwidth.php +++ b/admin/layouts/server/linked_components_fullwidth.php @@ -13,7 +13,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->vyclinked_components; +$items = $displayData->vydlinked_components; $user = JFactory::getUser(); $id = $displayData->item->id; // set the edit URL diff --git a/admin/models/ajax.php b/admin/models/ajax.php index 2ef1d3184..68d1351af 100644 --- a/admin/models/ajax.php +++ b/admin/models/ajax.php @@ -255,7 +255,6 @@ class ComponentbuilderModelAjax extends JModelList return ComponentbuilderHelper::getClassCode($id, $type); } - public function getClassCodeIds($id, $type) { if ('property' === $type || 'method' === $type) @@ -268,6 +267,15 @@ class ComponentbuilderModelAjax extends JModelList } return false; } + + public function getClassHeaderCode($id, $type) + { + if ('extends' === $type && ($head = ComponentbuilderHelper::getVar('class_' . $type, $id, 'id', 'head')) !== false && ComponentbuilderHelper::checkString($head)) + { + return base64_decode($head); + } + return false; + } // Used in admin_view diff --git a/admin/models/field.php b/admin/models/field.php index 4ee506d06..26463a098 100644 --- a/admin/models/field.php +++ b/admin/models/field.php @@ -1007,7 +1007,7 @@ class ComponentbuilderModelField extends JModelAdmin } break; case 'type': - $property['value'] = ComponentbuilderHelper::safeString($property['value']); + $property['value'] = ComponentbuilderHelper::safeTypeName($property['value']); break; } // load the property diff --git a/admin/models/fields/joomlaplugins.php b/admin/models/fields/joomlaplugins.php index 09b7a41c9..7f626b7d5 100644 --- a/admin/models/fields/joomlaplugins.php +++ b/admin/models/fields/joomlaplugins.php @@ -40,12 +40,12 @@ class JFormFieldJoomlaplugins extends JFormFieldList // Get the databse object. $db = JFactory::getDBO(); $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name','b.name','c.name'),array('id','plugin_name','class_extends_name','joomla_plugin_group_name'))); + $query->select($db->quoteName(array('a.id','a.system_name','a.name','b.name','c.name'),array('id','plugin_system_name','name','class_extends_name','joomla_plugin_group_name'))); $query->from($db->quoteName('#__componentbuilder_joomla_plugin', 'a')); $query->join('LEFT', $db->quoteName('#__componentbuilder_class_extends', 'b') . ' ON (' . $db->quoteName('a.class_extends') . ' = ' . $db->quoteName('b.id') . ')'); $query->join('LEFT', $db->quoteName('#__componentbuilder_joomla_plugin_group', 'c') . ' ON (' . $db->quoteName('a.joomla_plugin_group') . ' = ' . $db->quoteName('c.id') . ')'); $query->where($db->quoteName('a.published') . ' >= 1'); - $query->order('a.name ASC'); + $query->order('a.system_name ASC'); // Implement View Level Access (if set in table) if (!$user->authorise('core.options', 'com_componentbuilder')) { @@ -65,8 +65,7 @@ class JFormFieldJoomlaplugins extends JFormFieldList foreach($items as $item) { // set a full class name - $select = 'class Plg' . ucfirst($item->joomla_plugin_group_name) . $item->plugin_name . ' extends ' . $item->class_extends_name; - $options[] = JHtml::_('select.option', $item->id, $select); + $options[] = JHtml::_('select.option', $item->id, '( ' . $item->plugin_system_name . ' ) class Plg' . ucfirst($item->joomla_plugin_group_name) . $item->name . ' extends ' . $item->class_extends_name); } } return $options; diff --git a/admin/models/fieldtype.php b/admin/models/fieldtype.php index 04bfa9450..84ebe43eb 100644 --- a/admin/models/fieldtype.php +++ b/admin/models/fieldtype.php @@ -203,7 +203,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getVxsfields() + public function getVxtfields() { // Get the user object. $user = JFactory::getUser(); @@ -285,13 +285,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin foreach ($items as $nr => &$item) { // convert datatype - $item->datatype = $this->selectionTranslationVxsfields($item->datatype, 'datatype'); + $item->datatype = $this->selectionTranslationVxtfields($item->datatype, 'datatype'); // convert indexes - $item->indexes = $this->selectionTranslationVxsfields($item->indexes, 'indexes'); + $item->indexes = $this->selectionTranslationVxtfields($item->indexes, 'indexes'); // convert null_switch - $item->null_switch = $this->selectionTranslationVxsfields($item->null_switch, 'null_switch'); + $item->null_switch = $this->selectionTranslationVxtfields($item->null_switch, 'null_switch'); // convert store - $item->store = $this->selectionTranslationVxsfields($item->store, 'store'); + $item->store = $this->selectionTranslationVxtfields($item->store, 'store'); } } @@ -305,7 +305,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin * * @return translatable string */ - public function selectionTranslationVxsfields($value,$name) + public function selectionTranslationVxtfields($value,$name) { // Array of datatype language strings if ($name === 'datatype') diff --git a/admin/models/forms/admin_view.js b/admin/models/forms/admin_view.js index 14d738498..f251d61ca 100644 --- a/admin/models/forms/admin_view.js +++ b/admin/models/forms/admin_view.js @@ -9,123 +9,123 @@ */ // Some Global Values -jform_vvvvvydvwd_required = false; -jform_vvvvvyevwe_required = false; -jform_vvvvvyivwf_required = false; -jform_vvvvvyivwg_required = false; -jform_vvvvvyivwh_required = false; -jform_vvvvvyivwi_required = false; -jform_vvvvvyivwj_required = false; -jform_vvvvvyivwk_required = false; -jform_vvvvvyivwl_required = false; +jform_vvvvvygvwe_required = false; +jform_vvvvvyhvwf_required = false; +jform_vvvvvylvwg_required = false; +jform_vvvvvylvwh_required = false; +jform_vvvvvylvwi_required = false; +jform_vvvvvylvwj_required = false; +jform_vvvvvylvwk_required = false; +jform_vvvvvylvwl_required = false; +jform_vvvvvylvwm_required = false; // Initial Script jQuery(document).ready(function() { - var add_css_view_vvvvvxd = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - vvvvvxd(add_css_view_vvvvvxd); + var add_css_view_vvvvvxg = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + vvvvvxg(add_css_view_vvvvvxg); - var add_css_views_vvvvvxe = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - vvvvvxe(add_css_views_vvvvvxe); + var add_css_views_vvvvvxh = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + vvvvvxh(add_css_views_vvvvvxh); - var add_javascript_view_file_vvvvvxf = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); - vvvvvxf(add_javascript_view_file_vvvvvxf); + var add_javascript_view_file_vvvvvxi = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); + vvvvvxi(add_javascript_view_file_vvvvvxi); - var add_javascript_views_file_vvvvvxg = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); - vvvvvxg(add_javascript_views_file_vvvvvxg); + var add_javascript_views_file_vvvvvxj = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); + vvvvvxj(add_javascript_views_file_vvvvvxj); - var add_javascript_view_footer_vvvvvxh = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - vvvvvxh(add_javascript_view_footer_vvvvvxh); + var add_javascript_view_footer_vvvvvxk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + vvvvvxk(add_javascript_view_footer_vvvvvxk); - var add_javascript_views_footer_vvvvvxi = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - vvvvvxi(add_javascript_views_footer_vvvvvxi); + var add_javascript_views_footer_vvvvvxl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + vvvvvxl(add_javascript_views_footer_vvvvvxl); - var add_php_ajax_vvvvvxj = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - vvvvvxj(add_php_ajax_vvvvvxj); + var add_php_ajax_vvvvvxm = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + vvvvvxm(add_php_ajax_vvvvvxm); - var add_php_getitem_vvvvvxk = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); - vvvvvxk(add_php_getitem_vvvvvxk); + var add_php_getitem_vvvvvxn = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); + vvvvvxn(add_php_getitem_vvvvvxn); - var add_php_getitems_vvvvvxl = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); - vvvvvxl(add_php_getitems_vvvvvxl); + var add_php_getitems_vvvvvxo = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); + vvvvvxo(add_php_getitems_vvvvvxo); - var add_php_getitems_after_all_vvvvvxm = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val(); - vvvvvxm(add_php_getitems_after_all_vvvvvxm); + var add_php_getitems_after_all_vvvvvxp = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val(); + vvvvvxp(add_php_getitems_after_all_vvvvvxp); - var add_php_getlistquery_vvvvvxn = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - vvvvvxn(add_php_getlistquery_vvvvvxn); + var add_php_getlistquery_vvvvvxq = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + vvvvvxq(add_php_getlistquery_vvvvvxq); - var add_php_getform_vvvvvxo = jQuery("#jform_add_php_getform input[type='radio']:checked").val(); - vvvvvxo(add_php_getform_vvvvvxo); + var add_php_getform_vvvvvxr = jQuery("#jform_add_php_getform input[type='radio']:checked").val(); + vvvvvxr(add_php_getform_vvvvvxr); - var add_php_before_save_vvvvvxp = jQuery("#jform_add_php_before_save input[type='radio']:checked").val(); - vvvvvxp(add_php_before_save_vvvvvxp); + var add_php_before_save_vvvvvxs = jQuery("#jform_add_php_before_save input[type='radio']:checked").val(); + vvvvvxs(add_php_before_save_vvvvvxs); - var add_php_save_vvvvvxq = jQuery("#jform_add_php_save input[type='radio']:checked").val(); - vvvvvxq(add_php_save_vvvvvxq); + var add_php_save_vvvvvxt = jQuery("#jform_add_php_save input[type='radio']:checked").val(); + vvvvvxt(add_php_save_vvvvvxt); - var add_php_postsavehook_vvvvvxr = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); - vvvvvxr(add_php_postsavehook_vvvvvxr); + var add_php_postsavehook_vvvvvxu = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); + vvvvvxu(add_php_postsavehook_vvvvvxu); - var add_php_allowadd_vvvvvxs = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val(); - vvvvvxs(add_php_allowadd_vvvvvxs); + var add_php_allowadd_vvvvvxv = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val(); + vvvvvxv(add_php_allowadd_vvvvvxv); - var add_php_allowedit_vvvvvxt = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); - vvvvvxt(add_php_allowedit_vvvvvxt); + var add_php_allowedit_vvvvvxw = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); + vvvvvxw(add_php_allowedit_vvvvvxw); - var add_php_before_cancel_vvvvvxu = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val(); - vvvvvxu(add_php_before_cancel_vvvvvxu); + var add_php_before_cancel_vvvvvxx = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val(); + vvvvvxx(add_php_before_cancel_vvvvvxx); - var add_php_after_cancel_vvvvvxv = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val(); - vvvvvxv(add_php_after_cancel_vvvvvxv); + var add_php_after_cancel_vvvvvxy = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val(); + vvvvvxy(add_php_after_cancel_vvvvvxy); - var add_php_batchcopy_vvvvvxw = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); - vvvvvxw(add_php_batchcopy_vvvvvxw); + var add_php_batchcopy_vvvvvxz = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); + vvvvvxz(add_php_batchcopy_vvvvvxz); - var add_php_batchmove_vvvvvxx = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); - vvvvvxx(add_php_batchmove_vvvvvxx); + var add_php_batchmove_vvvvvya = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); + vvvvvya(add_php_batchmove_vvvvvya); - var add_php_before_publish_vvvvvxy = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); - vvvvvxy(add_php_before_publish_vvvvvxy); + var add_php_before_publish_vvvvvyb = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); + vvvvvyb(add_php_before_publish_vvvvvyb); - var add_php_after_publish_vvvvvxz = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); - vvvvvxz(add_php_after_publish_vvvvvxz); + var add_php_after_publish_vvvvvyc = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); + vvvvvyc(add_php_after_publish_vvvvvyc); - var add_php_before_delete_vvvvvya = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - vvvvvya(add_php_before_delete_vvvvvya); + var add_php_before_delete_vvvvvyd = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + vvvvvyd(add_php_before_delete_vvvvvyd); - var add_php_after_delete_vvvvvyb = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - vvvvvyb(add_php_after_delete_vvvvvyb); + var add_php_after_delete_vvvvvye = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + vvvvvye(add_php_after_delete_vvvvvye); - var add_php_document_vvvvvyc = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvyc(add_php_document_vvvvvyc); + var add_php_document_vvvvvyf = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvyf(add_php_document_vvvvvyf); - var add_sql_vvvvvyd = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvyd(add_sql_vvvvvyd); - - var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvye(source_vvvvvye,add_sql_vvvvvye); - - var source_vvvvvyg = jQuery("#jform_source input[type='radio']:checked").val(); var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg); + vvvvvyg(add_sql_vvvvvyg); - var add_custom_import_vvvvvyi = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); - vvvvvyi(add_custom_import_vvvvvyi); + var source_vvvvvyh = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvyh = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh); - var add_custom_import_vvvvvyj = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); - vvvvvyj(add_custom_import_vvvvvyj); + var source_vvvvvyj = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvyj = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj); - var add_custom_button_vvvvvyk = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - vvvvvyk(add_custom_button_vvvvvyk); + var add_custom_import_vvvvvyl = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); + vvvvvyl(add_custom_import_vvvvvyl); + + var add_custom_import_vvvvvym = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); + vvvvvym(add_custom_import_vvvvvym); + + var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + vvvvvyn(add_custom_button_vvvvvyn); }); -// the vvvvvxd function -function vvvvvxd(add_css_view_vvvvvxd) +// the vvvvvxg function +function vvvvvxg(add_css_view_vvvvvxg) { // set the function logic - if (add_css_view_vvvvvxd == 1) + if (add_css_view_vvvvvxg == 1) { jQuery('#jform_css_view-lbl').closest('.control-group').show(); } @@ -135,11 +135,11 @@ function vvvvvxd(add_css_view_vvvvvxd) } } -// the vvvvvxe function -function vvvvvxe(add_css_views_vvvvvxe) +// the vvvvvxh function +function vvvvvxh(add_css_views_vvvvvxh) { // set the function logic - if (add_css_views_vvvvvxe == 1) + if (add_css_views_vvvvvxh == 1) { jQuery('#jform_css_views-lbl').closest('.control-group').show(); } @@ -149,11 +149,11 @@ function vvvvvxe(add_css_views_vvvvvxe) } } -// the vvvvvxf function -function vvvvvxf(add_javascript_view_file_vvvvvxf) +// the vvvvvxi function +function vvvvvxi(add_javascript_view_file_vvvvvxi) { // set the function logic - if (add_javascript_view_file_vvvvvxf == 1) + if (add_javascript_view_file_vvvvvxi == 1) { jQuery('#jform_javascript_view_file-lbl').closest('.control-group').show(); } @@ -163,11 +163,11 @@ function vvvvvxf(add_javascript_view_file_vvvvvxf) } } -// the vvvvvxg function -function vvvvvxg(add_javascript_views_file_vvvvvxg) +// the vvvvvxj function +function vvvvvxj(add_javascript_views_file_vvvvvxj) { // set the function logic - if (add_javascript_views_file_vvvvvxg == 1) + if (add_javascript_views_file_vvvvvxj == 1) { jQuery('#jform_javascript_views_file-lbl').closest('.control-group').show(); } @@ -177,11 +177,11 @@ function vvvvvxg(add_javascript_views_file_vvvvvxg) } } -// the vvvvvxh function -function vvvvvxh(add_javascript_view_footer_vvvvvxh) +// the vvvvvxk function +function vvvvvxk(add_javascript_view_footer_vvvvvxk) { // set the function logic - if (add_javascript_view_footer_vvvvvxh == 1) + if (add_javascript_view_footer_vvvvvxk == 1) { jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show(); } @@ -191,11 +191,11 @@ function vvvvvxh(add_javascript_view_footer_vvvvvxh) } } -// the vvvvvxi function -function vvvvvxi(add_javascript_views_footer_vvvvvxi) +// the vvvvvxl function +function vvvvvxl(add_javascript_views_footer_vvvvvxl) { // set the function logic - if (add_javascript_views_footer_vvvvvxi == 1) + if (add_javascript_views_footer_vvvvvxl == 1) { jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show(); } @@ -205,11 +205,11 @@ function vvvvvxi(add_javascript_views_footer_vvvvvxi) } } -// the vvvvvxj function -function vvvvvxj(add_php_ajax_vvvvvxj) +// the vvvvvxm function +function vvvvvxm(add_php_ajax_vvvvvxm) { // set the function logic - if (add_php_ajax_vvvvvxj == 1) + if (add_php_ajax_vvvvvxm == 1) { jQuery('#jform_ajax_input-lbl').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show(); @@ -221,11 +221,11 @@ function vvvvvxj(add_php_ajax_vvvvvxj) } } -// the vvvvvxk function -function vvvvvxk(add_php_getitem_vvvvvxk) +// the vvvvvxn function +function vvvvvxn(add_php_getitem_vvvvvxn) { // set the function logic - if (add_php_getitem_vvvvvxk == 1) + if (add_php_getitem_vvvvvxn == 1) { jQuery('#jform_php_getitem-lbl').closest('.control-group').show(); } @@ -235,11 +235,11 @@ function vvvvvxk(add_php_getitem_vvvvvxk) } } -// the vvvvvxl function -function vvvvvxl(add_php_getitems_vvvvvxl) +// the vvvvvxo function +function vvvvvxo(add_php_getitems_vvvvvxo) { // set the function logic - if (add_php_getitems_vvvvvxl == 1) + if (add_php_getitems_vvvvvxo == 1) { jQuery('#jform_php_getitems-lbl').closest('.control-group').show(); } @@ -249,11 +249,11 @@ function vvvvvxl(add_php_getitems_vvvvvxl) } } -// the vvvvvxm function -function vvvvvxm(add_php_getitems_after_all_vvvvvxm) +// the vvvvvxp function +function vvvvvxp(add_php_getitems_after_all_vvvvvxp) { // set the function logic - if (add_php_getitems_after_all_vvvvvxm == 1) + if (add_php_getitems_after_all_vvvvvxp == 1) { jQuery('#jform_php_getitems_after_all-lbl').closest('.control-group').show(); } @@ -263,11 +263,11 @@ function vvvvvxm(add_php_getitems_after_all_vvvvvxm) } } -// the vvvvvxn function -function vvvvvxn(add_php_getlistquery_vvvvvxn) +// the vvvvvxq function +function vvvvvxq(add_php_getlistquery_vvvvvxq) { // set the function logic - if (add_php_getlistquery_vvvvvxn == 1) + if (add_php_getlistquery_vvvvvxq == 1) { jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show(); } @@ -277,11 +277,11 @@ function vvvvvxn(add_php_getlistquery_vvvvvxn) } } -// the vvvvvxo function -function vvvvvxo(add_php_getform_vvvvvxo) +// the vvvvvxr function +function vvvvvxr(add_php_getform_vvvvvxr) { // set the function logic - if (add_php_getform_vvvvvxo == 1) + if (add_php_getform_vvvvvxr == 1) { jQuery('#jform_php_getform-lbl').closest('.control-group').show(); } @@ -291,11 +291,11 @@ function vvvvvxo(add_php_getform_vvvvvxo) } } -// the vvvvvxp function -function vvvvvxp(add_php_before_save_vvvvvxp) +// the vvvvvxs function +function vvvvvxs(add_php_before_save_vvvvvxs) { // set the function logic - if (add_php_before_save_vvvvvxp == 1) + if (add_php_before_save_vvvvvxs == 1) { jQuery('#jform_php_before_save-lbl').closest('.control-group').show(); } @@ -305,11 +305,11 @@ function vvvvvxp(add_php_before_save_vvvvvxp) } } -// the vvvvvxq function -function vvvvvxq(add_php_save_vvvvvxq) +// the vvvvvxt function +function vvvvvxt(add_php_save_vvvvvxt) { // set the function logic - if (add_php_save_vvvvvxq == 1) + if (add_php_save_vvvvvxt == 1) { jQuery('#jform_php_save-lbl').closest('.control-group').show(); } @@ -319,11 +319,11 @@ function vvvvvxq(add_php_save_vvvvvxq) } } -// the vvvvvxr function -function vvvvvxr(add_php_postsavehook_vvvvvxr) +// the vvvvvxu function +function vvvvvxu(add_php_postsavehook_vvvvvxu) { // set the function logic - if (add_php_postsavehook_vvvvvxr == 1) + if (add_php_postsavehook_vvvvvxu == 1) { jQuery('#jform_php_postsavehook-lbl').closest('.control-group').show(); } @@ -333,11 +333,11 @@ function vvvvvxr(add_php_postsavehook_vvvvvxr) } } -// the vvvvvxs function -function vvvvvxs(add_php_allowadd_vvvvvxs) +// the vvvvvxv function +function vvvvvxv(add_php_allowadd_vvvvvxv) { // set the function logic - if (add_php_allowadd_vvvvvxs == 1) + if (add_php_allowadd_vvvvvxv == 1) { jQuery('#jform_php_allowadd-lbl').closest('.control-group').show(); } @@ -347,11 +347,11 @@ function vvvvvxs(add_php_allowadd_vvvvvxs) } } -// the vvvvvxt function -function vvvvvxt(add_php_allowedit_vvvvvxt) +// the vvvvvxw function +function vvvvvxw(add_php_allowedit_vvvvvxw) { // set the function logic - if (add_php_allowedit_vvvvvxt == 1) + if (add_php_allowedit_vvvvvxw == 1) { jQuery('#jform_php_allowedit-lbl').closest('.control-group').show(); } @@ -361,11 +361,11 @@ function vvvvvxt(add_php_allowedit_vvvvvxt) } } -// the vvvvvxu function -function vvvvvxu(add_php_before_cancel_vvvvvxu) +// the vvvvvxx function +function vvvvvxx(add_php_before_cancel_vvvvvxx) { // set the function logic - if (add_php_before_cancel_vvvvvxu == 1) + if (add_php_before_cancel_vvvvvxx == 1) { jQuery('#jform_php_before_cancel-lbl').closest('.control-group').show(); } @@ -375,11 +375,11 @@ function vvvvvxu(add_php_before_cancel_vvvvvxu) } } -// the vvvvvxv function -function vvvvvxv(add_php_after_cancel_vvvvvxv) +// the vvvvvxy function +function vvvvvxy(add_php_after_cancel_vvvvvxy) { // set the function logic - if (add_php_after_cancel_vvvvvxv == 1) + if (add_php_after_cancel_vvvvvxy == 1) { jQuery('#jform_php_after_cancel-lbl').closest('.control-group').show(); } @@ -389,11 +389,11 @@ function vvvvvxv(add_php_after_cancel_vvvvvxv) } } -// the vvvvvxw function -function vvvvvxw(add_php_batchcopy_vvvvvxw) +// the vvvvvxz function +function vvvvvxz(add_php_batchcopy_vvvvvxz) { // set the function logic - if (add_php_batchcopy_vvvvvxw == 1) + if (add_php_batchcopy_vvvvvxz == 1) { jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show(); } @@ -403,11 +403,11 @@ function vvvvvxw(add_php_batchcopy_vvvvvxw) } } -// the vvvvvxx function -function vvvvvxx(add_php_batchmove_vvvvvxx) +// the vvvvvya function +function vvvvvya(add_php_batchmove_vvvvvya) { // set the function logic - if (add_php_batchmove_vvvvvxx == 1) + if (add_php_batchmove_vvvvvya == 1) { jQuery('#jform_php_batchmove-lbl').closest('.control-group').show(); } @@ -417,11 +417,11 @@ function vvvvvxx(add_php_batchmove_vvvvvxx) } } -// the vvvvvxy function -function vvvvvxy(add_php_before_publish_vvvvvxy) +// the vvvvvyb function +function vvvvvyb(add_php_before_publish_vvvvvyb) { // set the function logic - if (add_php_before_publish_vvvvvxy == 1) + if (add_php_before_publish_vvvvvyb == 1) { jQuery('#jform_php_before_publish-lbl').closest('.control-group').show(); } @@ -431,11 +431,11 @@ function vvvvvxy(add_php_before_publish_vvvvvxy) } } -// the vvvvvxz function -function vvvvvxz(add_php_after_publish_vvvvvxz) +// the vvvvvyc function +function vvvvvyc(add_php_after_publish_vvvvvyc) { // set the function logic - if (add_php_after_publish_vvvvvxz == 1) + if (add_php_after_publish_vvvvvyc == 1) { jQuery('#jform_php_after_publish-lbl').closest('.control-group').show(); } @@ -445,11 +445,11 @@ function vvvvvxz(add_php_after_publish_vvvvvxz) } } -// the vvvvvya function -function vvvvvya(add_php_before_delete_vvvvvya) +// the vvvvvyd function +function vvvvvyd(add_php_before_delete_vvvvvyd) { // set the function logic - if (add_php_before_delete_vvvvvya == 1) + if (add_php_before_delete_vvvvvyd == 1) { jQuery('#jform_php_before_delete-lbl').closest('.control-group').show(); } @@ -459,11 +459,11 @@ function vvvvvya(add_php_before_delete_vvvvvya) } } -// the vvvvvyb function -function vvvvvyb(add_php_after_delete_vvvvvyb) +// the vvvvvye function +function vvvvvye(add_php_after_delete_vvvvvye) { // set the function logic - if (add_php_after_delete_vvvvvyb == 1) + if (add_php_after_delete_vvvvvye == 1) { jQuery('#jform_php_after_delete-lbl').closest('.control-group').show(); } @@ -473,11 +473,11 @@ function vvvvvyb(add_php_after_delete_vvvvvyb) } } -// the vvvvvyc function -function vvvvvyc(add_php_document_vvvvvyc) +// the vvvvvyf function +function vvvvvyf(add_php_document_vvvvvyf) { // set the function logic - if (add_php_document_vvvvvyc == 1) + if (add_php_document_vvvvvyf == 1) { jQuery('#jform_php_document-lbl').closest('.control-group').show(); } @@ -487,75 +487,75 @@ function vvvvvyc(add_php_document_vvvvvyc) } } -// the vvvvvyd function -function vvvvvyd(add_sql_vvvvvyd) +// the vvvvvyg function +function vvvvvyg(add_sql_vvvvvyg) { // set the function logic - if (add_sql_vvvvvyd == 1) + if (add_sql_vvvvvyg == 1) { jQuery('#jform_source').closest('.control-group').show(); // add required attribute to source field - if (jform_vvvvvydvwd_required) + if (jform_vvvvvygvwe_required) { updateFieldRequired('source',0); jQuery('#jform_source').prop('required','required'); jQuery('#jform_source').attr('aria-required',true); jQuery('#jform_source').addClass('required'); - jform_vvvvvydvwd_required = false; + jform_vvvvvygvwe_required = false; } } else { jQuery('#jform_source').closest('.control-group').hide(); // remove required attribute from source field - if (!jform_vvvvvydvwd_required) + if (!jform_vvvvvygvwe_required) { updateFieldRequired('source',1); jQuery('#jform_source').removeAttr('required'); jQuery('#jform_source').removeAttr('aria-required'); jQuery('#jform_source').removeClass('required'); - jform_vvvvvydvwd_required = true; + jform_vvvvvygvwe_required = true; } } } -// the vvvvvye function -function vvvvvye(source_vvvvvye,add_sql_vvvvvye) +// the vvvvvyh function +function vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh) { // set the function logic - if (source_vvvvvye == 2 && add_sql_vvvvvye == 1) + if (source_vvvvvyh == 2 && add_sql_vvvvvyh == 1) { jQuery('#jform_sql').closest('.control-group').show(); // add required attribute to sql field - if (jform_vvvvvyevwe_required) + if (jform_vvvvvyhvwf_required) { updateFieldRequired('sql',0); jQuery('#jform_sql').prop('required','required'); jQuery('#jform_sql').attr('aria-required',true); jQuery('#jform_sql').addClass('required'); - jform_vvvvvyevwe_required = false; + jform_vvvvvyhvwf_required = false; } } else { jQuery('#jform_sql').closest('.control-group').hide(); // remove required attribute from sql field - if (!jform_vvvvvyevwe_required) + if (!jform_vvvvvyhvwf_required) { updateFieldRequired('sql',1); jQuery('#jform_sql').removeAttr('required'); jQuery('#jform_sql').removeAttr('aria-required'); jQuery('#jform_sql').removeClass('required'); - jform_vvvvvyevwe_required = true; + jform_vvvvvyhvwf_required = true; } } } -// the vvvvvyg function -function vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg) +// the vvvvvyj function +function vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj) { // set the function logic - if (source_vvvvvyg == 1 && add_sql_vvvvvyg == 1) + if (source_vvvvvyj == 1 && add_sql_vvvvvyj == 1) { jQuery('#jform_addtables-lbl').closest('.control-group').show(); } @@ -565,165 +565,165 @@ function vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg) } } -// the vvvvvyi function -function vvvvvyi(add_custom_import_vvvvvyi) +// the vvvvvyl function +function vvvvvyl(add_custom_import_vvvvvyl) { // set the function logic - if (add_custom_import_vvvvvyi == 1) + if (add_custom_import_vvvvvyl == 1) { jQuery('#jform_html_import_view').closest('.control-group').show(); // add required attribute to html_import_view field - if (jform_vvvvvyivwf_required) + if (jform_vvvvvylvwg_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_vvvvvyivwf_required = false; + jform_vvvvvylvwg_required = false; } jQuery('.note_advanced_import').closest('.control-group').show(); jQuery('#jform_php_import_display').closest('.control-group').show(); // add required attribute to php_import_display field - if (jform_vvvvvyivwg_required) + if (jform_vvvvvylvwh_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_vvvvvyivwg_required = false; + jform_vvvvvylvwh_required = false; } jQuery('#jform_php_import_ext').closest('.control-group').show(); // add required attribute to php_import_ext field - if (jform_vvvvvyivwh_required) + if (jform_vvvvvylvwi_required) { updateFieldRequired('php_import_ext',0); jQuery('#jform_php_import_ext').prop('required','required'); jQuery('#jform_php_import_ext').attr('aria-required',true); jQuery('#jform_php_import_ext').addClass('required'); - jform_vvvvvyivwh_required = false; + jform_vvvvvylvwi_required = false; } jQuery('#jform_php_import_headers').closest('.control-group').show(); // add required attribute to php_import_headers field - if (jform_vvvvvyivwi_required) + if (jform_vvvvvylvwj_required) { updateFieldRequired('php_import_headers',0); jQuery('#jform_php_import_headers').prop('required','required'); jQuery('#jform_php_import_headers').attr('aria-required',true); jQuery('#jform_php_import_headers').addClass('required'); - jform_vvvvvyivwi_required = false; + jform_vvvvvylvwj_required = false; } jQuery('#jform_php_import').closest('.control-group').show(); // add required attribute to php_import field - if (jform_vvvvvyivwj_required) + if (jform_vvvvvylvwk_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_vvvvvyivwj_required = false; + jform_vvvvvylvwk_required = false; } jQuery('#jform_php_import_save').closest('.control-group').show(); // add required attribute to php_import_save field - if (jform_vvvvvyivwk_required) + if (jform_vvvvvylvwl_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_vvvvvyivwk_required = false; + jform_vvvvvylvwl_required = false; } jQuery('#jform_php_import_setdata').closest('.control-group').show(); // add required attribute to php_import_setdata field - if (jform_vvvvvyivwl_required) + if (jform_vvvvvylvwm_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_vvvvvyivwl_required = false; + jform_vvvvvylvwm_required = false; } } else { jQuery('#jform_html_import_view').closest('.control-group').hide(); // remove required attribute from html_import_view field - if (!jform_vvvvvyivwf_required) + if (!jform_vvvvvylvwg_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_vvvvvyivwf_required = true; + jform_vvvvvylvwg_required = true; } jQuery('.note_advanced_import').closest('.control-group').hide(); jQuery('#jform_php_import_display').closest('.control-group').hide(); // remove required attribute from php_import_display field - if (!jform_vvvvvyivwg_required) + if (!jform_vvvvvylvwh_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_vvvvvyivwg_required = true; + jform_vvvvvylvwh_required = true; } jQuery('#jform_php_import_ext').closest('.control-group').hide(); // remove required attribute from php_import_ext field - if (!jform_vvvvvyivwh_required) + if (!jform_vvvvvylvwi_required) { updateFieldRequired('php_import_ext',1); jQuery('#jform_php_import_ext').removeAttr('required'); jQuery('#jform_php_import_ext').removeAttr('aria-required'); jQuery('#jform_php_import_ext').removeClass('required'); - jform_vvvvvyivwh_required = true; + jform_vvvvvylvwi_required = true; } jQuery('#jform_php_import_headers').closest('.control-group').hide(); // remove required attribute from php_import_headers field - if (!jform_vvvvvyivwi_required) + if (!jform_vvvvvylvwj_required) { updateFieldRequired('php_import_headers',1); jQuery('#jform_php_import_headers').removeAttr('required'); jQuery('#jform_php_import_headers').removeAttr('aria-required'); jQuery('#jform_php_import_headers').removeClass('required'); - jform_vvvvvyivwi_required = true; + jform_vvvvvylvwj_required = true; } jQuery('#jform_php_import').closest('.control-group').hide(); // remove required attribute from php_import field - if (!jform_vvvvvyivwj_required) + if (!jform_vvvvvylvwk_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_vvvvvyivwj_required = true; + jform_vvvvvylvwk_required = true; } jQuery('#jform_php_import_save').closest('.control-group').hide(); // remove required attribute from php_import_save field - if (!jform_vvvvvyivwk_required) + if (!jform_vvvvvylvwl_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_vvvvvyivwk_required = true; + jform_vvvvvylvwl_required = true; } jQuery('#jform_php_import_setdata').closest('.control-group').hide(); // remove required attribute from php_import_setdata field - if (!jform_vvvvvyivwl_required) + if (!jform_vvvvvylvwm_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_vvvvvyivwl_required = true; + jform_vvvvvylvwm_required = true; } } } -// the vvvvvyj function -function vvvvvyj(add_custom_import_vvvvvyj) +// the vvvvvym function +function vvvvvym(add_custom_import_vvvvvym) { // set the function logic - if (add_custom_import_vvvvvyj == 0) + if (add_custom_import_vvvvvym == 0) { jQuery('.note_beginner_import').closest('.control-group').show(); } @@ -733,11 +733,11 @@ function vvvvvyj(add_custom_import_vvvvvyj) } } -// the vvvvvyk function -function vvvvvyk(add_custom_button_vvvvvyk) +// the vvvvvyn function +function vvvvvyn(add_custom_button_vvvvvyn) { // set the function logic - if (add_custom_button_vvvvvyk == 1) + if (add_custom_button_vvvvvyn == 1) { jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_php_controller-lbl').closest('.control-group').show(); diff --git a/admin/models/forms/class_extends.xml b/admin/models/forms/class_extends.xml index 7f418a370..7fa36c691 100644 --- a/admin/models/forms/class_extends.xml +++ b/admin/models/forms/class_extends.xml @@ -127,9 +127,9 @@ label="COM_COMPONENTBUILDER_CLASS_EXTENDS_HEAD_LABEL" description="COM_COMPONENTBUILDER_CLASS_EXTENDS_HEAD_DESCRIPTION" width="100%" - height="450px" + height="100px" cols="15" - rows="30" + rows="10" buttons="no" syntax="php" editor="codemirror|none" diff --git a/admin/models/forms/class_method.js b/admin/models/forms/class_method.js index 3c23c163e..93c07c6a6 100644 --- a/admin/models/forms/class_method.js +++ b/admin/models/forms/class_method.js @@ -9,29 +9,29 @@ */ // Some Global Values -jform_vvvvwaovxe_required = false; +jform_vvvvwarvxf_required = false; // Initial Script jQuery(document).ready(function() { - var extension_type_vvvvwao = jQuery("#jform_extension_type").val(); - vvvvwao(extension_type_vvvvwao); + var extension_type_vvvvwar = jQuery("#jform_extension_type").val(); + vvvvwar(extension_type_vvvvwar); }); -// the vvvvwao function -function vvvvwao(extension_type_vvvvwao) +// the vvvvwar function +function vvvvwar(extension_type_vvvvwar) { - if (isSet(extension_type_vvvvwao) && extension_type_vvvvwao.constructor !== Array) + if (isSet(extension_type_vvvvwar) && extension_type_vvvvwar.constructor !== Array) { - var temp_vvvvwao = extension_type_vvvvwao; - var extension_type_vvvvwao = []; - extension_type_vvvvwao.push(temp_vvvvwao); + var temp_vvvvwar = extension_type_vvvvwar; + var extension_type_vvvvwar = []; + extension_type_vvvvwar.push(temp_vvvvwar); } - else if (!isSet(extension_type_vvvvwao)) + else if (!isSet(extension_type_vvvvwar)) { - var extension_type_vvvvwao = []; + var extension_type_vvvvwar = []; } - var extension_type = extension_type_vvvvwao.some(extension_type_vvvvwao_SomeFunc); + var extension_type = extension_type_vvvvwar.some(extension_type_vvvvwar_SomeFunc); // set this function logic @@ -39,35 +39,35 @@ function vvvvwao(extension_type_vvvvwao) { jQuery('#jform_joomla_plugin_group').closest('.control-group').show(); // add required attribute to joomla_plugin_group field - if (jform_vvvvwaovxe_required) + if (jform_vvvvwarvxf_required) { updateFieldRequired('joomla_plugin_group',0); jQuery('#jform_joomla_plugin_group').prop('required','required'); jQuery('#jform_joomla_plugin_group').attr('aria-required',true); jQuery('#jform_joomla_plugin_group').addClass('required'); - jform_vvvvwaovxe_required = false; + jform_vvvvwarvxf_required = false; } } else { jQuery('#jform_joomla_plugin_group').closest('.control-group').hide(); // remove required attribute from joomla_plugin_group field - if (!jform_vvvvwaovxe_required) + if (!jform_vvvvwarvxf_required) { updateFieldRequired('joomla_plugin_group',1); jQuery('#jform_joomla_plugin_group').removeAttr('required'); jQuery('#jform_joomla_plugin_group').removeAttr('aria-required'); jQuery('#jform_joomla_plugin_group').removeClass('required'); - jform_vvvvwaovxe_required = true; + jform_vvvvwarvxf_required = true; } } } -// the vvvvwao Some function -function extension_type_vvvvwao_SomeFunc(extension_type_vvvvwao) +// the vvvvwar Some function +function extension_type_vvvvwar_SomeFunc(extension_type_vvvvwar) { // set the function logic - if (extension_type_vvvvwao == 'plugins' || extension_type_vvvvwao == 'plugin') + if (extension_type_vvvvwar == 'plugins' || extension_type_vvvvwar == 'plugin') { return true; } diff --git a/admin/models/forms/class_property.js b/admin/models/forms/class_property.js index b3f18db20..71cc40a9b 100644 --- a/admin/models/forms/class_property.js +++ b/admin/models/forms/class_property.js @@ -9,29 +9,29 @@ */ // Some Global Values -jform_vvvvwanvxd_required = false; +jform_vvvvwaqvxe_required = false; // Initial Script jQuery(document).ready(function() { - var extension_type_vvvvwan = jQuery("#jform_extension_type").val(); - vvvvwan(extension_type_vvvvwan); + var extension_type_vvvvwaq = jQuery("#jform_extension_type").val(); + vvvvwaq(extension_type_vvvvwaq); }); -// the vvvvwan function -function vvvvwan(extension_type_vvvvwan) +// the vvvvwaq function +function vvvvwaq(extension_type_vvvvwaq) { - if (isSet(extension_type_vvvvwan) && extension_type_vvvvwan.constructor !== Array) + if (isSet(extension_type_vvvvwaq) && extension_type_vvvvwaq.constructor !== Array) { - var temp_vvvvwan = extension_type_vvvvwan; - var extension_type_vvvvwan = []; - extension_type_vvvvwan.push(temp_vvvvwan); + var temp_vvvvwaq = extension_type_vvvvwaq; + var extension_type_vvvvwaq = []; + extension_type_vvvvwaq.push(temp_vvvvwaq); } - else if (!isSet(extension_type_vvvvwan)) + else if (!isSet(extension_type_vvvvwaq)) { - var extension_type_vvvvwan = []; + var extension_type_vvvvwaq = []; } - var extension_type = extension_type_vvvvwan.some(extension_type_vvvvwan_SomeFunc); + var extension_type = extension_type_vvvvwaq.some(extension_type_vvvvwaq_SomeFunc); // set this function logic @@ -39,35 +39,35 @@ function vvvvwan(extension_type_vvvvwan) { jQuery('#jform_joomla_plugin_group').closest('.control-group').show(); // add required attribute to joomla_plugin_group field - if (jform_vvvvwanvxd_required) + if (jform_vvvvwaqvxe_required) { updateFieldRequired('joomla_plugin_group',0); jQuery('#jform_joomla_plugin_group').prop('required','required'); jQuery('#jform_joomla_plugin_group').attr('aria-required',true); jQuery('#jform_joomla_plugin_group').addClass('required'); - jform_vvvvwanvxd_required = false; + jform_vvvvwaqvxe_required = false; } } else { jQuery('#jform_joomla_plugin_group').closest('.control-group').hide(); // remove required attribute from joomla_plugin_group field - if (!jform_vvvvwanvxd_required) + if (!jform_vvvvwaqvxe_required) { updateFieldRequired('joomla_plugin_group',1); jQuery('#jform_joomla_plugin_group').removeAttr('required'); jQuery('#jform_joomla_plugin_group').removeAttr('aria-required'); jQuery('#jform_joomla_plugin_group').removeClass('required'); - jform_vvvvwanvxd_required = true; + jform_vvvvwaqvxe_required = true; } } } -// the vvvvwan Some function -function extension_type_vvvvwan_SomeFunc(extension_type_vvvvwan) +// the vvvvwaq Some function +function extension_type_vvvvwaq_SomeFunc(extension_type_vvvvwaq) { // set the function logic - if (extension_type_vvvvwan == 'plugins' || extension_type_vvvvwan == 'plugin') + if (extension_type_vvvvwaq == 'plugins' || extension_type_vvvvwaq == 'plugin') { return true; } diff --git a/admin/models/forms/custom_admin_view.js b/admin/models/forms/custom_admin_view.js index e457b475f..ca422ca4e 100644 --- a/admin/models/forms/custom_admin_view.js +++ b/admin/models/forms/custom_admin_view.js @@ -11,42 +11,42 @@ // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvyl = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvyl(add_php_view_vvvvvyl); + var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvyo(add_php_view_vvvvvyo); - var add_php_jview_display_vvvvvym = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - vvvvvym(add_php_jview_display_vvvvvym); + var add_php_jview_display_vvvvvyp = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + vvvvvyp(add_php_jview_display_vvvvvyp); - var add_php_jview_vvvvvyn = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - vvvvvyn(add_php_jview_vvvvvyn); + var add_php_jview_vvvvvyq = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + vvvvvyq(add_php_jview_vvvvvyq); - var add_php_document_vvvvvyo = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvyo(add_php_document_vvvvvyo); + var add_php_document_vvvvvyr = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvyr(add_php_document_vvvvvyr); - var add_css_document_vvvvvyp = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - vvvvvyp(add_css_document_vvvvvyp); + var add_css_document_vvvvvys = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + vvvvvys(add_css_document_vvvvvys); - var add_javascript_file_vvvvvyq = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); - vvvvvyq(add_javascript_file_vvvvvyq); + var add_javascript_file_vvvvvyt = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); + vvvvvyt(add_javascript_file_vvvvvyt); - var add_js_document_vvvvvyr = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - vvvvvyr(add_js_document_vvvvvyr); + var add_js_document_vvvvvyu = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + vvvvvyu(add_js_document_vvvvvyu); - var add_custom_button_vvvvvys = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - vvvvvys(add_custom_button_vvvvvys); + var add_custom_button_vvvvvyv = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + vvvvvyv(add_custom_button_vvvvvyv); - var add_css_vvvvvyt = jQuery("#jform_add_css input[type='radio']:checked").val(); - vvvvvyt(add_css_vvvvvyt); + var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val(); + vvvvvyw(add_css_vvvvvyw); - var add_php_ajax_vvvvvyu = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - vvvvvyu(add_php_ajax_vvvvvyu); + var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + vvvvvyx(add_php_ajax_vvvvvyx); }); -// the vvvvvyl function -function vvvvvyl(add_php_view_vvvvvyl) +// the vvvvvyo function +function vvvvvyo(add_php_view_vvvvvyo) { // set the function logic - if (add_php_view_vvvvvyl == 1) + if (add_php_view_vvvvvyo == 1) { jQuery('#jform_php_view-lbl').closest('.control-group').show(); } @@ -56,11 +56,11 @@ function vvvvvyl(add_php_view_vvvvvyl) } } -// the vvvvvym function -function vvvvvym(add_php_jview_display_vvvvvym) +// the vvvvvyp function +function vvvvvyp(add_php_jview_display_vvvvvyp) { // set the function logic - if (add_php_jview_display_vvvvvym == 1) + if (add_php_jview_display_vvvvvyp == 1) { jQuery('#jform_php_jview_display-lbl').closest('.control-group').show(); } @@ -70,11 +70,11 @@ function vvvvvym(add_php_jview_display_vvvvvym) } } -// the vvvvvyn function -function vvvvvyn(add_php_jview_vvvvvyn) +// the vvvvvyq function +function vvvvvyq(add_php_jview_vvvvvyq) { // set the function logic - if (add_php_jview_vvvvvyn == 1) + if (add_php_jview_vvvvvyq == 1) { jQuery('#jform_php_jview-lbl').closest('.control-group').show(); } @@ -84,11 +84,11 @@ function vvvvvyn(add_php_jview_vvvvvyn) } } -// the vvvvvyo function -function vvvvvyo(add_php_document_vvvvvyo) +// the vvvvvyr function +function vvvvvyr(add_php_document_vvvvvyr) { // set the function logic - if (add_php_document_vvvvvyo == 1) + if (add_php_document_vvvvvyr == 1) { jQuery('#jform_php_document-lbl').closest('.control-group').show(); } @@ -98,11 +98,11 @@ function vvvvvyo(add_php_document_vvvvvyo) } } -// the vvvvvyp function -function vvvvvyp(add_css_document_vvvvvyp) +// the vvvvvys function +function vvvvvys(add_css_document_vvvvvys) { // set the function logic - if (add_css_document_vvvvvyp == 1) + if (add_css_document_vvvvvys == 1) { jQuery('#jform_css_document-lbl').closest('.control-group').show(); } @@ -112,11 +112,11 @@ function vvvvvyp(add_css_document_vvvvvyp) } } -// the vvvvvyq function -function vvvvvyq(add_javascript_file_vvvvvyq) +// the vvvvvyt function +function vvvvvyt(add_javascript_file_vvvvvyt) { // set the function logic - if (add_javascript_file_vvvvvyq == 1) + if (add_javascript_file_vvvvvyt == 1) { jQuery('#jform_javascript_file-lbl').closest('.control-group').show(); } @@ -126,11 +126,11 @@ function vvvvvyq(add_javascript_file_vvvvvyq) } } -// the vvvvvyr function -function vvvvvyr(add_js_document_vvvvvyr) +// the vvvvvyu function +function vvvvvyu(add_js_document_vvvvvyu) { // set the function logic - if (add_js_document_vvvvvyr == 1) + if (add_js_document_vvvvvyu == 1) { jQuery('#jform_js_document-lbl').closest('.control-group').show(); } @@ -140,11 +140,11 @@ function vvvvvyr(add_js_document_vvvvvyr) } } -// the vvvvvys function -function vvvvvys(add_custom_button_vvvvvys) +// the vvvvvyv function +function vvvvvyv(add_custom_button_vvvvvyv) { // set the function logic - if (add_custom_button_vvvvvys == 1) + if (add_custom_button_vvvvvyv == 1) { jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_php_controller-lbl').closest('.control-group').show(); @@ -158,11 +158,11 @@ function vvvvvys(add_custom_button_vvvvvys) } } -// the vvvvvyt function -function vvvvvyt(add_css_vvvvvyt) +// the vvvvvyw function +function vvvvvyw(add_css_vvvvvyw) { // set the function logic - if (add_css_vvvvvyt == 1) + if (add_css_vvvvvyw == 1) { jQuery('#jform_css-lbl').closest('.control-group').show(); } @@ -172,11 +172,11 @@ function vvvvvyt(add_css_vvvvvyt) } } -// the vvvvvyu function -function vvvvvyu(add_php_ajax_vvvvvyu) +// the vvvvvyx function +function vvvvvyx(add_php_ajax_vvvvvyx) { // set the function logic - if (add_php_ajax_vvvvvyu == 1) + if (add_php_ajax_vvvvvyx == 1) { jQuery('#jform_ajax_input-lbl').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show(); diff --git a/admin/models/forms/custom_code.js b/admin/models/forms/custom_code.js index ab700d592..a2c1d6ace 100644 --- a/admin/models/forms/custom_code.js +++ b/admin/models/forms/custom_code.js @@ -9,44 +9,44 @@ */ // Some Global Values -jform_vvvvwajvwz_required = false; -jform_vvvvwakvxa_required = false; -jform_vvvvwakvxb_required = false; -jform_vvvvwakvxc_required = false; +jform_vvvvwamvxa_required = false; +jform_vvvvwanvxb_required = false; +jform_vvvvwanvxc_required = false; +jform_vvvvwanvxd_required = false; // Initial Script jQuery(document).ready(function() { - var target_vvvvwaj = jQuery("#jform_target input[type='radio']:checked").val(); - vvvvwaj(target_vvvvwaj); - - var target_vvvvwak = jQuery("#jform_target input[type='radio']:checked").val(); - vvvvwak(target_vvvvwak); - - var target_vvvvwal = jQuery("#jform_target input[type='radio']:checked").val(); - var type_vvvvwal = jQuery("#jform_type input[type='radio']:checked").val(); - vvvvwal(target_vvvvwal,type_vvvvwal); - - var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val(); var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val(); - vvvvwam(type_vvvvwam,target_vvvvwam); + vvvvwam(target_vvvvwam); + + var target_vvvvwan = jQuery("#jform_target input[type='radio']:checked").val(); + vvvvwan(target_vvvvwan); + + var target_vvvvwao = jQuery("#jform_target input[type='radio']:checked").val(); + var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val(); + vvvvwao(target_vvvvwao,type_vvvvwao); + + var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val(); + var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val(); + vvvvwap(type_vvvvwap,target_vvvvwap); }); -// the vvvvwaj function -function vvvvwaj(target_vvvvwaj) +// the vvvvwam function +function vvvvwam(target_vvvvwam) { // set the function logic - if (target_vvvvwaj == 2) + if (target_vvvvwam == 2) { jQuery('#jform_function_name').closest('.control-group').show(); // add required attribute to function_name field - if (jform_vvvvwajvwz_required) + if (jform_vvvvwamvxa_required) { updateFieldRequired('function_name',0); jQuery('#jform_function_name').prop('required','required'); jQuery('#jform_function_name').attr('aria-required',true); jQuery('#jform_function_name').addClass('required'); - jform_vvvvwajvwz_required = false; + jform_vvvvwamvxa_required = false; } jQuery('.note_jcb_placeholder').closest('.control-group').show(); jQuery('#jform_system_name').closest('.control-group').show(); @@ -55,102 +55,102 @@ function vvvvwaj(target_vvvvwaj) { jQuery('#jform_function_name').closest('.control-group').hide(); // remove required attribute from function_name field - if (!jform_vvvvwajvwz_required) + if (!jform_vvvvwamvxa_required) { updateFieldRequired('function_name',1); jQuery('#jform_function_name').removeAttr('required'); jQuery('#jform_function_name').removeAttr('aria-required'); jQuery('#jform_function_name').removeClass('required'); - jform_vvvvwajvwz_required = true; + jform_vvvvwamvxa_required = true; } jQuery('.note_jcb_placeholder').closest('.control-group').hide(); jQuery('#jform_system_name').closest('.control-group').hide(); } } -// the vvvvwak function -function vvvvwak(target_vvvvwak) +// the vvvvwan function +function vvvvwan(target_vvvvwan) { // set the function logic - if (target_vvvvwak == 1) + if (target_vvvvwan == 1) { jQuery('#jform_component').closest('.control-group').show(); // add required attribute to component field - if (jform_vvvvwakvxa_required) + if (jform_vvvvwanvxb_required) { updateFieldRequired('component',0); jQuery('#jform_component').prop('required','required'); jQuery('#jform_component').attr('aria-required',true); jQuery('#jform_component').addClass('required'); - jform_vvvvwakvxa_required = false; + jform_vvvvwanvxb_required = false; } jQuery('#jform_path').closest('.control-group').show(); // add required attribute to path field - if (jform_vvvvwakvxb_required) + if (jform_vvvvwanvxc_required) { updateFieldRequired('path',0); jQuery('#jform_path').prop('required','required'); jQuery('#jform_path').attr('aria-required',true); jQuery('#jform_path').addClass('required'); - jform_vvvvwakvxb_required = false; + jform_vvvvwanvxc_required = false; } jQuery('#jform_from_line').closest('.control-group').show(); jQuery('#jform_hashtarget').closest('.control-group').show(); jQuery('#jform_to_line').closest('.control-group').show(); jQuery('#jform_type').closest('.control-group').show(); // add required attribute to type field - if (jform_vvvvwakvxc_required) + if (jform_vvvvwanvxd_required) { updateFieldRequired('type',0); jQuery('#jform_type').prop('required','required'); jQuery('#jform_type').attr('aria-required',true); jQuery('#jform_type').addClass('required'); - jform_vvvvwakvxc_required = false; + jform_vvvvwanvxd_required = false; } } else { jQuery('#jform_component').closest('.control-group').hide(); // remove required attribute from component field - if (!jform_vvvvwakvxa_required) + if (!jform_vvvvwanvxb_required) { updateFieldRequired('component',1); jQuery('#jform_component').removeAttr('required'); jQuery('#jform_component').removeAttr('aria-required'); jQuery('#jform_component').removeClass('required'); - jform_vvvvwakvxa_required = true; + jform_vvvvwanvxb_required = true; } jQuery('#jform_path').closest('.control-group').hide(); // remove required attribute from path field - if (!jform_vvvvwakvxb_required) + if (!jform_vvvvwanvxc_required) { updateFieldRequired('path',1); jQuery('#jform_path').removeAttr('required'); jQuery('#jform_path').removeAttr('aria-required'); jQuery('#jform_path').removeClass('required'); - jform_vvvvwakvxb_required = true; + jform_vvvvwanvxc_required = true; } jQuery('#jform_from_line').closest('.control-group').hide(); jQuery('#jform_hashtarget').closest('.control-group').hide(); jQuery('#jform_to_line').closest('.control-group').hide(); jQuery('#jform_type').closest('.control-group').hide(); // remove required attribute from type field - if (!jform_vvvvwakvxc_required) + if (!jform_vvvvwanvxd_required) { updateFieldRequired('type',1); jQuery('#jform_type').removeAttr('required'); jQuery('#jform_type').removeAttr('aria-required'); jQuery('#jform_type').removeClass('required'); - jform_vvvvwakvxc_required = true; + jform_vvvvwanvxd_required = true; } } } -// the vvvvwal function -function vvvvwal(target_vvvvwal,type_vvvvwal) +// the vvvvwao function +function vvvvwao(target_vvvvwao,type_vvvvwao) { // set the function logic - if (target_vvvvwal == 1 && type_vvvvwal == 1) + if (target_vvvvwao == 1 && type_vvvvwao == 1) { jQuery('#jform_hashendtarget').closest('.control-group').show(); jQuery('#jform_to_line').closest('.control-group').show(); @@ -162,11 +162,11 @@ function vvvvwal(target_vvvvwal,type_vvvvwal) } } -// the vvvvwam function -function vvvvwam(type_vvvvwam,target_vvvvwam) +// the vvvvwap function +function vvvvwap(type_vvvvwap,target_vvvvwap) { // set the function logic - if (type_vvvvwam == 1 && target_vvvvwam == 1) + if (type_vvvvwap == 1 && target_vvvvwap == 1) { jQuery('#jform_hashendtarget').closest('.control-group').show(); jQuery('#jform_to_line').closest('.control-group').show(); diff --git a/admin/models/forms/dynamic_get.js b/admin/models/forms/dynamic_get.js index b9eea9c07..afb2548da 100644 --- a/admin/models/forms/dynamic_get.js +++ b/admin/models/forms/dynamic_get.js @@ -9,34 +9,25 @@ */ // Some Global Values -jform_vvvvvzivwm_required = false; -jform_vvvvvzkvwn_required = false; -jform_vvvvvzlvwo_required = false; -jform_vvvvvzmvwp_required = false; -jform_vvvvvznvwq_required = false; -jform_vvvvvzyvwr_required = false; -jform_vvvvvzyvws_required = false; -jform_vvvvwadvwt_required = false; -jform_vvvvwadvwu_required = false; -jform_vvvvwadvwv_required = false; -jform_vvvvwaevww_required = false; -jform_vvvvwafvwx_required = false; -jform_vvvvwagvwy_required = false; +jform_vvvvvzlvwn_required = false; +jform_vvvvvznvwo_required = false; +jform_vvvvvzovwp_required = false; +jform_vvvvvzpvwq_required = false; +jform_vvvvvzqvwr_required = false; +jform_vvvvwabvws_required = false; +jform_vvvvwabvwt_required = false; +jform_vvvvwagvwu_required = false; +jform_vvvvwagvwv_required = false; +jform_vvvvwagvww_required = false; +jform_vvvvwahvwx_required = false; +jform_vvvvwaivwy_required = false; +jform_vvvvwajvwz_required = false; // Initial Script jQuery(document).ready(function() { - var gettype_vvvvvzi = jQuery("#jform_gettype").val(); - vvvvvzi(gettype_vvvvvzi); - - var main_source_vvvvvzj = jQuery("#jform_main_source").val(); - vvvvvzj(main_source_vvvvvzj); - - var main_source_vvvvvzk = jQuery("#jform_main_source").val(); - vvvvvzk(main_source_vvvvvzk); - - var main_source_vvvvvzl = jQuery("#jform_main_source").val(); - vvvvvzl(main_source_vvvvvzl); + var gettype_vvvvvzl = jQuery("#jform_gettype").val(); + vvvvvzl(gettype_vvvvvzl); var main_source_vvvvvzm = jQuery("#jform_main_source").val(); vvvvvzm(main_source_vvvvvzm); @@ -44,77 +35,86 @@ jQuery(document).ready(function() var main_source_vvvvvzn = jQuery("#jform_main_source").val(); vvvvvzn(main_source_vvvvvzn); - var addcalculation_vvvvvzo = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - vvvvvzo(addcalculation_vvvvvzo); + var main_source_vvvvvzo = jQuery("#jform_main_source").val(); + vvvvvzo(main_source_vvvvvzo); - var addcalculation_vvvvvzp = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_vvvvvzp = jQuery("#jform_gettype").val(); - vvvvvzp(addcalculation_vvvvvzp,gettype_vvvvvzp); + var main_source_vvvvvzp = jQuery("#jform_main_source").val(); + vvvvvzp(main_source_vvvvvzp); - var addcalculation_vvvvvzq = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_vvvvvzq = jQuery("#jform_gettype").val(); - vvvvvzq(addcalculation_vvvvvzq,gettype_vvvvvzq); + var main_source_vvvvvzq = jQuery("#jform_main_source").val(); + vvvvvzq(main_source_vvvvvzq); - var main_source_vvvvvzt = jQuery("#jform_main_source").val(); - vvvvvzt(main_source_vvvvvzt); + var addcalculation_vvvvvzr = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + vvvvvzr(addcalculation_vvvvvzr); - var main_source_vvvvvzu = jQuery("#jform_main_source").val(); - vvvvvzu(main_source_vvvvvzu); + var addcalculation_vvvvvzs = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vvvvvzs = jQuery("#jform_gettype").val(); + vvvvvzs(addcalculation_vvvvvzs,gettype_vvvvvzs); - var add_php_before_getitem_vvvvvzv = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_vvvvvzv = jQuery("#jform_gettype").val(); - vvvvvzv(add_php_before_getitem_vvvvvzv,gettype_vvvvvzv); + var addcalculation_vvvvvzt = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vvvvvzt = jQuery("#jform_gettype").val(); + vvvvvzt(addcalculation_vvvvvzt,gettype_vvvvvzt); - var add_php_after_getitem_vvvvvzw = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_vvvvvzw = jQuery("#jform_gettype").val(); - vvvvvzw(add_php_after_getitem_vvvvvzw,gettype_vvvvvzw); + var main_source_vvvvvzw = jQuery("#jform_main_source").val(); + vvvvvzw(main_source_vvvvvzw); + var main_source_vvvvvzx = jQuery("#jform_main_source").val(); + vvvvvzx(main_source_vvvvvzx); + + var add_php_before_getitem_vvvvvzy = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var gettype_vvvvvzy = jQuery("#jform_gettype").val(); - vvvvvzy(gettype_vvvvvzy); + vvvvvzy(add_php_before_getitem_vvvvvzy,gettype_vvvvvzy); - var add_php_getlistquery_vvvvvzz = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var add_php_after_getitem_vvvvvzz = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); var gettype_vvvvvzz = jQuery("#jform_gettype").val(); - vvvvvzz(add_php_getlistquery_vvvvvzz,gettype_vvvvvzz); + vvvvvzz(add_php_after_getitem_vvvvvzz,gettype_vvvvvzz); - var add_php_before_getitems_vvvvwaa = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); - var gettype_vvvvwaa = jQuery("#jform_gettype").val(); - vvvvwaa(add_php_before_getitems_vvvvwaa,gettype_vvvvwaa); - - var add_php_after_getitems_vvvvwab = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var gettype_vvvvwab = jQuery("#jform_gettype").val(); - vvvvwab(add_php_after_getitems_vvvvwab,gettype_vvvvwab); + vvvvwab(gettype_vvvvwab); + var add_php_getlistquery_vvvvwac = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var gettype_vvvvwac = jQuery("#jform_gettype").val(); + vvvvwac(add_php_getlistquery_vvvvwac,gettype_vvvvwac); + + var add_php_before_getitems_vvvvwad = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var gettype_vvvvwad = jQuery("#jform_gettype").val(); - vvvvwad(gettype_vvvvwad); + vvvvwad(add_php_before_getitems_vvvvwad,gettype_vvvvwad); + var add_php_after_getitems_vvvvwae = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var gettype_vvvvwae = jQuery("#jform_gettype").val(); - vvvvwae(gettype_vvvvwae); - - var gettype_vvvvwaf = jQuery("#jform_gettype").val(); - vvvvwaf(gettype_vvvvwaf); + vvvvwae(add_php_after_getitems_vvvvwae,gettype_vvvvwae); var gettype_vvvvwag = jQuery("#jform_gettype").val(); - var add_php_router_parse_vvvvwag = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val(); - vvvvwag(gettype_vvvvwag,add_php_router_parse_vvvvwag); + vvvvwag(gettype_vvvvwag); + + var gettype_vvvvwah = jQuery("#jform_gettype").val(); + vvvvwah(gettype_vvvvwah); var gettype_vvvvwai = jQuery("#jform_gettype").val(); vvvvwai(gettype_vvvvwai); + + var gettype_vvvvwaj = jQuery("#jform_gettype").val(); + var add_php_router_parse_vvvvwaj = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val(); + vvvvwaj(gettype_vvvvwaj,add_php_router_parse_vvvvwaj); + + var gettype_vvvvwal = jQuery("#jform_gettype").val(); + vvvvwal(gettype_vvvvwal); }); -// the vvvvvzi function -function vvvvvzi(gettype_vvvvvzi) +// the vvvvvzl function +function vvvvvzl(gettype_vvvvvzl) { - if (isSet(gettype_vvvvvzi) && gettype_vvvvvzi.constructor !== Array) + if (isSet(gettype_vvvvvzl) && gettype_vvvvvzl.constructor !== Array) { - var temp_vvvvvzi = gettype_vvvvvzi; - var gettype_vvvvvzi = []; - gettype_vvvvvzi.push(temp_vvvvvzi); + var temp_vvvvvzl = gettype_vvvvvzl; + var gettype_vvvvvzl = []; + gettype_vvvvvzl.push(temp_vvvvvzl); } - else if (!isSet(gettype_vvvvvzi)) + else if (!isSet(gettype_vvvvvzl)) { - var gettype_vvvvvzi = []; + var gettype_vvvvvzl = []; } - var gettype = gettype_vvvvvzi.some(gettype_vvvvvzi_SomeFunc); + var gettype = gettype_vvvvvzl.some(gettype_vvvvvzl_SomeFunc); // set this function logic @@ -122,185 +122,35 @@ function vvvvvzi(gettype_vvvvvzi) { jQuery('#jform_getcustom').closest('.control-group').show(); // add required attribute to getcustom field - if (jform_vvvvvzivwm_required) + if (jform_vvvvvzlvwn_required) { updateFieldRequired('getcustom',0); jQuery('#jform_getcustom').prop('required','required'); jQuery('#jform_getcustom').attr('aria-required',true); jQuery('#jform_getcustom').addClass('required'); - jform_vvvvvzivwm_required = false; + jform_vvvvvzlvwn_required = false; } } else { jQuery('#jform_getcustom').closest('.control-group').hide(); // remove required attribute from getcustom field - if (!jform_vvvvvzivwm_required) + if (!jform_vvvvvzlvwn_required) { updateFieldRequired('getcustom',1); jQuery('#jform_getcustom').removeAttr('required'); jQuery('#jform_getcustom').removeAttr('aria-required'); jQuery('#jform_getcustom').removeClass('required'); - jform_vvvvvzivwm_required = true; - } - } -} - -// the vvvvvzi Some function -function gettype_vvvvvzi_SomeFunc(gettype_vvvvvzi) -{ - // set the function logic - if (gettype_vvvvvzi == 3 || gettype_vvvvvzi == 4) - { - return true; - } - return false; -} - -// the vvvvvzj function -function vvvvvzj(main_source_vvvvvzj) -{ - if (isSet(main_source_vvvvvzj) && main_source_vvvvvzj.constructor !== Array) - { - var temp_vvvvvzj = main_source_vvvvvzj; - var main_source_vvvvvzj = []; - main_source_vvvvvzj.push(temp_vvvvvzj); - } - else if (!isSet(main_source_vvvvvzj)) - { - var main_source_vvvvvzj = []; - } - var main_source = main_source_vvvvvzj.some(main_source_vvvvvzj_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_select_all').closest('.control-group').show(); - } - else - { - jQuery('#jform_select_all').closest('.control-group').hide(); - } -} - -// the vvvvvzj Some function -function main_source_vvvvvzj_SomeFunc(main_source_vvvvvzj) -{ - // set the function logic - if (main_source_vvvvvzj == 1 || main_source_vvvvvzj == 2) - { - return true; - } - return false; -} - -// the vvvvvzk function -function vvvvvzk(main_source_vvvvvzk) -{ - if (isSet(main_source_vvvvvzk) && main_source_vvvvvzk.constructor !== Array) - { - var temp_vvvvvzk = main_source_vvvvvzk; - var main_source_vvvvvzk = []; - main_source_vvvvvzk.push(temp_vvvvvzk); - } - else if (!isSet(main_source_vvvvvzk)) - { - var main_source_vvvvvzk = []; - } - var main_source = main_source_vvvvvzk.some(main_source_vvvvvzk_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_view_table_main').closest('.control-group').show(); - // add required attribute to view_table_main field - if (jform_vvvvvzkvwn_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_vvvvvzkvwn_required = false; - } - } - else - { - jQuery('#jform_view_table_main').closest('.control-group').hide(); - // remove required attribute from view_table_main field - if (!jform_vvvvvzkvwn_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_vvvvvzkvwn_required = true; - } - } -} - -// the vvvvvzk Some function -function main_source_vvvvvzk_SomeFunc(main_source_vvvvvzk) -{ - // set the function logic - if (main_source_vvvvvzk == 1) - { - return true; - } - return false; -} - -// the vvvvvzl function -function vvvvvzl(main_source_vvvvvzl) -{ - if (isSet(main_source_vvvvvzl) && main_source_vvvvvzl.constructor !== Array) - { - var temp_vvvvvzl = main_source_vvvvvzl; - var main_source_vvvvvzl = []; - main_source_vvvvvzl.push(temp_vvvvvzl); - } - else if (!isSet(main_source_vvvvvzl)) - { - var main_source_vvvvvzl = []; - } - var main_source = main_source_vvvvvzl.some(main_source_vvvvvzl_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_view_selection').closest('.control-group').show(); - // add required attribute to view_selection field - if (jform_vvvvvzlvwo_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_vvvvvzlvwo_required = false; - } - } - else - { - jQuery('#jform_view_selection').closest('.control-group').hide(); - // remove required attribute from view_selection field - if (!jform_vvvvvzlvwo_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_vvvvvzlvwo_required = true; + jform_vvvvvzlvwn_required = true; } } } // the vvvvvzl Some function -function main_source_vvvvvzl_SomeFunc(main_source_vvvvvzl) +function gettype_vvvvvzl_SomeFunc(gettype_vvvvvzl) { // set the function logic - if (main_source_vvvvvzl == 1) + if (gettype_vvvvvzl == 3 || gettype_vvvvvzl == 4) { return true; } @@ -326,29 +176,11 @@ function vvvvvzm(main_source_vvvvvzm) // set this function logic if (main_source) { - jQuery('#jform_db_table_main').closest('.control-group').show(); - // add required attribute to db_table_main field - if (jform_vvvvvzmvwp_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_vvvvvzmvwp_required = false; - } + jQuery('#jform_select_all').closest('.control-group').show(); } else { - jQuery('#jform_db_table_main').closest('.control-group').hide(); - // remove required attribute from db_table_main field - if (!jform_vvvvvzmvwp_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_vvvvvzmvwp_required = true; - } + jQuery('#jform_select_all').closest('.control-group').hide(); } } @@ -356,7 +188,7 @@ function vvvvvzm(main_source_vvvvvzm) function main_source_vvvvvzm_SomeFunc(main_source_vvvvvzm) { // set the function logic - if (main_source_vvvvvzm == 2) + if (main_source_vvvvvzm == 1 || main_source_vvvvvzm == 2) { return true; } @@ -382,28 +214,28 @@ function vvvvvzn(main_source_vvvvvzn) // set this function logic if (main_source) { - jQuery('#jform_db_selection').closest('.control-group').show(); - // add required attribute to db_selection field - if (jform_vvvvvznvwq_required) + jQuery('#jform_view_table_main').closest('.control-group').show(); + // add required attribute to view_table_main field + if (jform_vvvvvznvwo_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_vvvvvznvwq_required = false; + 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_vvvvvznvwo_required = false; } } else { - jQuery('#jform_db_selection').closest('.control-group').hide(); - // remove required attribute from db_selection field - if (!jform_vvvvvznvwq_required) + jQuery('#jform_view_table_main').closest('.control-group').hide(); + // remove required attribute from view_table_main field + if (!jform_vvvvvznvwo_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_vvvvvznvwq_required = true; + 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_vvvvvznvwo_required = true; } } } @@ -412,7 +244,7 @@ function vvvvvzn(main_source_vvvvvzn) function main_source_vvvvvzn_SomeFunc(main_source_vvvvvzn) { // set the function logic - if (main_source_vvvvvzn == 2) + if (main_source_vvvvvzn == 1) { return true; } @@ -420,10 +252,178 @@ function main_source_vvvvvzn_SomeFunc(main_source_vvvvvzn) } // the vvvvvzo function -function vvvvvzo(addcalculation_vvvvvzo) +function vvvvvzo(main_source_vvvvvzo) +{ + if (isSet(main_source_vvvvvzo) && main_source_vvvvvzo.constructor !== Array) + { + var temp_vvvvvzo = main_source_vvvvvzo; + var main_source_vvvvvzo = []; + main_source_vvvvvzo.push(temp_vvvvvzo); + } + else if (!isSet(main_source_vvvvvzo)) + { + var main_source_vvvvvzo = []; + } + var main_source = main_source_vvvvvzo.some(main_source_vvvvvzo_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_view_selection').closest('.control-group').show(); + // add required attribute to view_selection field + if (jform_vvvvvzovwp_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_vvvvvzovwp_required = false; + } + } + else + { + jQuery('#jform_view_selection').closest('.control-group').hide(); + // remove required attribute from view_selection field + if (!jform_vvvvvzovwp_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_vvvvvzovwp_required = true; + } + } +} + +// the vvvvvzo Some function +function main_source_vvvvvzo_SomeFunc(main_source_vvvvvzo) { // set the function logic - if (addcalculation_vvvvvzo == 1) + if (main_source_vvvvvzo == 1) + { + return true; + } + return false; +} + +// the vvvvvzp function +function vvvvvzp(main_source_vvvvvzp) +{ + if (isSet(main_source_vvvvvzp) && main_source_vvvvvzp.constructor !== Array) + { + var temp_vvvvvzp = main_source_vvvvvzp; + var main_source_vvvvvzp = []; + main_source_vvvvvzp.push(temp_vvvvvzp); + } + else if (!isSet(main_source_vvvvvzp)) + { + var main_source_vvvvvzp = []; + } + var main_source = main_source_vvvvvzp.some(main_source_vvvvvzp_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_db_table_main').closest('.control-group').show(); + // add required attribute to db_table_main field + if (jform_vvvvvzpvwq_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_vvvvvzpvwq_required = false; + } + } + else + { + jQuery('#jform_db_table_main').closest('.control-group').hide(); + // remove required attribute from db_table_main field + if (!jform_vvvvvzpvwq_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_vvvvvzpvwq_required = true; + } + } +} + +// the vvvvvzp Some function +function main_source_vvvvvzp_SomeFunc(main_source_vvvvvzp) +{ + // set the function logic + if (main_source_vvvvvzp == 2) + { + return true; + } + return false; +} + +// the vvvvvzq function +function vvvvvzq(main_source_vvvvvzq) +{ + if (isSet(main_source_vvvvvzq) && main_source_vvvvvzq.constructor !== Array) + { + var temp_vvvvvzq = main_source_vvvvvzq; + var main_source_vvvvvzq = []; + main_source_vvvvvzq.push(temp_vvvvvzq); + } + else if (!isSet(main_source_vvvvvzq)) + { + var main_source_vvvvvzq = []; + } + var main_source = main_source_vvvvvzq.some(main_source_vvvvvzq_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_db_selection').closest('.control-group').show(); + // add required attribute to db_selection field + if (jform_vvvvvzqvwr_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_vvvvvzqvwr_required = false; + } + } + else + { + jQuery('#jform_db_selection').closest('.control-group').hide(); + // remove required attribute from db_selection field + if (!jform_vvvvvzqvwr_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_vvvvvzqvwr_required = true; + } + } +} + +// the vvvvvzq Some function +function main_source_vvvvvzq_SomeFunc(main_source_vvvvvzq) +{ + // set the function logic + if (main_source_vvvvvzq == 2) + { + return true; + } + return false; +} + +// the vvvvvzr function +function vvvvvzr(addcalculation_vvvvvzr) +{ + // set the function logic + if (addcalculation_vvvvvzr == 1) { jQuery('#jform_php_calculation-lbl').closest('.control-group').show(); } @@ -433,32 +433,32 @@ function vvvvvzo(addcalculation_vvvvvzo) } } -// the vvvvvzp function -function vvvvvzp(addcalculation_vvvvvzp,gettype_vvvvvzp) +// the vvvvvzs function +function vvvvvzs(addcalculation_vvvvvzs,gettype_vvvvvzs) { - if (isSet(addcalculation_vvvvvzp) && addcalculation_vvvvvzp.constructor !== Array) + if (isSet(addcalculation_vvvvvzs) && addcalculation_vvvvvzs.constructor !== Array) { - var temp_vvvvvzp = addcalculation_vvvvvzp; - var addcalculation_vvvvvzp = []; - addcalculation_vvvvvzp.push(temp_vvvvvzp); + var temp_vvvvvzs = addcalculation_vvvvvzs; + var addcalculation_vvvvvzs = []; + addcalculation_vvvvvzs.push(temp_vvvvvzs); } - else if (!isSet(addcalculation_vvvvvzp)) + else if (!isSet(addcalculation_vvvvvzs)) { - var addcalculation_vvvvvzp = []; + var addcalculation_vvvvvzs = []; } - var addcalculation = addcalculation_vvvvvzp.some(addcalculation_vvvvvzp_SomeFunc); + var addcalculation = addcalculation_vvvvvzs.some(addcalculation_vvvvvzs_SomeFunc); - if (isSet(gettype_vvvvvzp) && gettype_vvvvvzp.constructor !== Array) + if (isSet(gettype_vvvvvzs) && gettype_vvvvvzs.constructor !== Array) { - var temp_vvvvvzp = gettype_vvvvvzp; - var gettype_vvvvvzp = []; - gettype_vvvvvzp.push(temp_vvvvvzp); + var temp_vvvvvzs = gettype_vvvvvzs; + var gettype_vvvvvzs = []; + gettype_vvvvvzs.push(temp_vvvvvzs); } - else if (!isSet(gettype_vvvvvzp)) + else if (!isSet(gettype_vvvvvzs)) { - var gettype_vvvvvzp = []; + var gettype_vvvvvzs = []; } - var gettype = gettype_vvvvvzp.some(gettype_vvvvvzp_SomeFunc); + var gettype = gettype_vvvvvzs.some(gettype_vvvvvzs_SomeFunc); // set this function logic @@ -472,54 +472,54 @@ function vvvvvzp(addcalculation_vvvvvzp,gettype_vvvvvzp) } } -// the vvvvvzp Some function -function addcalculation_vvvvvzp_SomeFunc(addcalculation_vvvvvzp) +// the vvvvvzs Some function +function addcalculation_vvvvvzs_SomeFunc(addcalculation_vvvvvzs) { // set the function logic - if (addcalculation_vvvvvzp == 1) + if (addcalculation_vvvvvzs == 1) { return true; } return false; } -// the vvvvvzp Some function -function gettype_vvvvvzp_SomeFunc(gettype_vvvvvzp) +// the vvvvvzs Some function +function gettype_vvvvvzs_SomeFunc(gettype_vvvvvzs) { // set the function logic - if (gettype_vvvvvzp == 1 || gettype_vvvvvzp == 3) + if (gettype_vvvvvzs == 1 || gettype_vvvvvzs == 3) { return true; } return false; } -// the vvvvvzq function -function vvvvvzq(addcalculation_vvvvvzq,gettype_vvvvvzq) +// the vvvvvzt function +function vvvvvzt(addcalculation_vvvvvzt,gettype_vvvvvzt) { - if (isSet(addcalculation_vvvvvzq) && addcalculation_vvvvvzq.constructor !== Array) + if (isSet(addcalculation_vvvvvzt) && addcalculation_vvvvvzt.constructor !== Array) { - var temp_vvvvvzq = addcalculation_vvvvvzq; - var addcalculation_vvvvvzq = []; - addcalculation_vvvvvzq.push(temp_vvvvvzq); + var temp_vvvvvzt = addcalculation_vvvvvzt; + var addcalculation_vvvvvzt = []; + addcalculation_vvvvvzt.push(temp_vvvvvzt); } - else if (!isSet(addcalculation_vvvvvzq)) + else if (!isSet(addcalculation_vvvvvzt)) { - var addcalculation_vvvvvzq = []; + var addcalculation_vvvvvzt = []; } - var addcalculation = addcalculation_vvvvvzq.some(addcalculation_vvvvvzq_SomeFunc); + var addcalculation = addcalculation_vvvvvzt.some(addcalculation_vvvvvzt_SomeFunc); - if (isSet(gettype_vvvvvzq) && gettype_vvvvvzq.constructor !== Array) + if (isSet(gettype_vvvvvzt) && gettype_vvvvvzt.constructor !== Array) { - var temp_vvvvvzq = gettype_vvvvvzq; - var gettype_vvvvvzq = []; - gettype_vvvvvzq.push(temp_vvvvvzq); + var temp_vvvvvzt = gettype_vvvvvzt; + var gettype_vvvvvzt = []; + gettype_vvvvvzt.push(temp_vvvvvzt); } - else if (!isSet(gettype_vvvvvzq)) + else if (!isSet(gettype_vvvvvzt)) { - var gettype_vvvvvzq = []; + var gettype_vvvvvzt = []; } - var gettype = gettype_vvvvvzq.some(gettype_vvvvvzq_SomeFunc); + var gettype = gettype_vvvvvzt.some(gettype_vvvvvzt_SomeFunc); // set this function logic @@ -533,42 +533,42 @@ function vvvvvzq(addcalculation_vvvvvzq,gettype_vvvvvzq) } } -// the vvvvvzq Some function -function addcalculation_vvvvvzq_SomeFunc(addcalculation_vvvvvzq) +// the vvvvvzt Some function +function addcalculation_vvvvvzt_SomeFunc(addcalculation_vvvvvzt) { // set the function logic - if (addcalculation_vvvvvzq == 1) + if (addcalculation_vvvvvzt == 1) { return true; } return false; } -// the vvvvvzq Some function -function gettype_vvvvvzq_SomeFunc(gettype_vvvvvzq) +// the vvvvvzt Some function +function gettype_vvvvvzt_SomeFunc(gettype_vvvvvzt) { // set the function logic - if (gettype_vvvvvzq == 2 || gettype_vvvvvzq == 4) + if (gettype_vvvvvzt == 2 || gettype_vvvvvzt == 4) { return true; } return false; } -// the vvvvvzt function -function vvvvvzt(main_source_vvvvvzt) +// the vvvvvzw function +function vvvvvzw(main_source_vvvvvzw) { - if (isSet(main_source_vvvvvzt) && main_source_vvvvvzt.constructor !== Array) + if (isSet(main_source_vvvvvzw) && main_source_vvvvvzw.constructor !== Array) { - var temp_vvvvvzt = main_source_vvvvvzt; - var main_source_vvvvvzt = []; - main_source_vvvvvzt.push(temp_vvvvvzt); + var temp_vvvvvzw = main_source_vvvvvzw; + var main_source_vvvvvzw = []; + main_source_vvvvvzw.push(temp_vvvvvzw); } - else if (!isSet(main_source_vvvvvzt)) + else if (!isSet(main_source_vvvvvzw)) { - var main_source_vvvvvzt = []; + var main_source_vvvvvzw = []; } - var main_source = main_source_vvvvvzt.some(main_source_vvvvvzt_SomeFunc); + var main_source = main_source_vvvvvzw.some(main_source_vvvvvzw_SomeFunc); // set this function logic @@ -582,31 +582,31 @@ function vvvvvzt(main_source_vvvvvzt) } } -// the vvvvvzt Some function -function main_source_vvvvvzt_SomeFunc(main_source_vvvvvzt) +// the vvvvvzw Some function +function main_source_vvvvvzw_SomeFunc(main_source_vvvvvzw) { // set the function logic - if (main_source_vvvvvzt == 3) + if (main_source_vvvvvzw == 3) { return true; } return false; } -// the vvvvvzu function -function vvvvvzu(main_source_vvvvvzu) +// the vvvvvzx function +function vvvvvzx(main_source_vvvvvzx) { - if (isSet(main_source_vvvvvzu) && main_source_vvvvvzu.constructor !== Array) + if (isSet(main_source_vvvvvzx) && main_source_vvvvvzx.constructor !== Array) { - var temp_vvvvvzu = main_source_vvvvvzu; - var main_source_vvvvvzu = []; - main_source_vvvvvzu.push(temp_vvvvvzu); + var temp_vvvvvzx = main_source_vvvvvzx; + var main_source_vvvvvzx = []; + main_source_vvvvvzx.push(temp_vvvvvzx); } - else if (!isSet(main_source_vvvvvzu)) + else if (!isSet(main_source_vvvvvzx)) { - var main_source_vvvvvzu = []; + var main_source_vvvvvzx = []; } - var main_source = main_source_vvvvvzu.some(main_source_vvvvvzu_SomeFunc); + var main_source = main_source_vvvvvzx.some(main_source_vvvvvzx_SomeFunc); // set this function logic @@ -632,133 +632,11 @@ function vvvvvzu(main_source_vvvvvzu) } } -// the vvvvvzu Some function -function main_source_vvvvvzu_SomeFunc(main_source_vvvvvzu) +// the vvvvvzx Some function +function main_source_vvvvvzx_SomeFunc(main_source_vvvvvzx) { // set the function logic - if (main_source_vvvvvzu == 1 || main_source_vvvvvzu == 2) - { - return true; - } - return false; -} - -// the vvvvvzv function -function vvvvvzv(add_php_before_getitem_vvvvvzv,gettype_vvvvvzv) -{ - if (isSet(add_php_before_getitem_vvvvvzv) && add_php_before_getitem_vvvvvzv.constructor !== Array) - { - var temp_vvvvvzv = add_php_before_getitem_vvvvvzv; - var add_php_before_getitem_vvvvvzv = []; - add_php_before_getitem_vvvvvzv.push(temp_vvvvvzv); - } - else if (!isSet(add_php_before_getitem_vvvvvzv)) - { - var add_php_before_getitem_vvvvvzv = []; - } - var add_php_before_getitem = add_php_before_getitem_vvvvvzv.some(add_php_before_getitem_vvvvvzv_SomeFunc); - - if (isSet(gettype_vvvvvzv) && gettype_vvvvvzv.constructor !== Array) - { - var temp_vvvvvzv = gettype_vvvvvzv; - var gettype_vvvvvzv = []; - gettype_vvvvvzv.push(temp_vvvvvzv); - } - else if (!isSet(gettype_vvvvvzv)) - { - var gettype_vvvvvzv = []; - } - var gettype = gettype_vvvvvzv.some(gettype_vvvvvzv_SomeFunc); - - - // set this function logic - if (add_php_before_getitem && gettype) - { - jQuery('#jform_php_before_getitem-lbl').closest('.control-group').show(); - } - else - { - jQuery('#jform_php_before_getitem-lbl').closest('.control-group').hide(); - } -} - -// the vvvvvzv Some function -function add_php_before_getitem_vvvvvzv_SomeFunc(add_php_before_getitem_vvvvvzv) -{ - // set the function logic - if (add_php_before_getitem_vvvvvzv == 1) - { - return true; - } - return false; -} - -// the vvvvvzv Some function -function gettype_vvvvvzv_SomeFunc(gettype_vvvvvzv) -{ - // set the function logic - if (gettype_vvvvvzv == 1 || gettype_vvvvvzv == 3) - { - return true; - } - return false; -} - -// the vvvvvzw function -function vvvvvzw(add_php_after_getitem_vvvvvzw,gettype_vvvvvzw) -{ - if (isSet(add_php_after_getitem_vvvvvzw) && add_php_after_getitem_vvvvvzw.constructor !== Array) - { - var temp_vvvvvzw = add_php_after_getitem_vvvvvzw; - var add_php_after_getitem_vvvvvzw = []; - add_php_after_getitem_vvvvvzw.push(temp_vvvvvzw); - } - else if (!isSet(add_php_after_getitem_vvvvvzw)) - { - var add_php_after_getitem_vvvvvzw = []; - } - var add_php_after_getitem = add_php_after_getitem_vvvvvzw.some(add_php_after_getitem_vvvvvzw_SomeFunc); - - if (isSet(gettype_vvvvvzw) && gettype_vvvvvzw.constructor !== Array) - { - var temp_vvvvvzw = gettype_vvvvvzw; - var gettype_vvvvvzw = []; - gettype_vvvvvzw.push(temp_vvvvvzw); - } - else if (!isSet(gettype_vvvvvzw)) - { - var gettype_vvvvvzw = []; - } - var gettype = gettype_vvvvvzw.some(gettype_vvvvvzw_SomeFunc); - - - // set this function logic - if (add_php_after_getitem && gettype) - { - jQuery('#jform_php_after_getitem-lbl').closest('.control-group').show(); - } - else - { - jQuery('#jform_php_after_getitem-lbl').closest('.control-group').hide(); - } -} - -// the vvvvvzw Some function -function add_php_after_getitem_vvvvvzw_SomeFunc(add_php_after_getitem_vvvvvzw) -{ - // set the function logic - if (add_php_after_getitem_vvvvvzw == 1) - { - return true; - } - return false; -} - -// the vvvvvzw Some function -function gettype_vvvvvzw_SomeFunc(gettype_vvvvvzw) -{ - // set the function logic - if (gettype_vvvvvzw == 1 || gettype_vvvvvzw == 3) + if (main_source_vvvvvzx == 1 || main_source_vvvvvzx == 2) { return true; } @@ -766,8 +644,20 @@ function gettype_vvvvvzw_SomeFunc(gettype_vvvvvzw) } // the vvvvvzy function -function vvvvvzy(gettype_vvvvvzy) +function vvvvvzy(add_php_before_getitem_vvvvvzy,gettype_vvvvvzy) { + if (isSet(add_php_before_getitem_vvvvvzy) && add_php_before_getitem_vvvvvzy.constructor !== Array) + { + var temp_vvvvvzy = add_php_before_getitem_vvvvvzy; + var add_php_before_getitem_vvvvvzy = []; + add_php_before_getitem_vvvvvzy.push(temp_vvvvvzy); + } + else if (!isSet(add_php_before_getitem_vvvvvzy)) + { + var add_php_before_getitem_vvvvvzy = []; + } + var add_php_before_getitem = add_php_before_getitem_vvvvvzy.some(add_php_before_getitem_vvvvvzy_SomeFunc); + if (isSet(gettype_vvvvvzy) && gettype_vvvvvzy.constructor !== Array) { var temp_vvvvvzy = gettype_vvvvvzy; @@ -782,54 +672,27 @@ function vvvvvzy(gettype_vvvvvzy) // set this function logic - if (gettype) + if (add_php_before_getitem && gettype) { - jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); - // add required attribute to add_php_after_getitem field - if (jform_vvvvvzyvwr_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_vvvvvzyvwr_required = false; - } - jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); - // add required attribute to add_php_before_getitem field - if (jform_vvvvvzyvws_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_vvvvvzyvws_required = false; - } + jQuery('#jform_php_before_getitem-lbl').closest('.control-group').show(); } else { - jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); - // remove required attribute from add_php_after_getitem field - if (!jform_vvvvvzyvwr_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_vvvvvzyvwr_required = true; - } - jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); - // remove required attribute from add_php_before_getitem field - if (!jform_vvvvvzyvws_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_vvvvvzyvws_required = true; - } + jQuery('#jform_php_before_getitem-lbl').closest('.control-group').hide(); } } +// the vvvvvzy Some function +function add_php_before_getitem_vvvvvzy_SomeFunc(add_php_before_getitem_vvvvvzy) +{ + // set the function logic + if (add_php_before_getitem_vvvvvzy == 1) + { + return true; + } + return false; +} + // the vvvvvzy Some function function gettype_vvvvvzy_SomeFunc(gettype_vvvvvzy) { @@ -842,19 +705,19 @@ function gettype_vvvvvzy_SomeFunc(gettype_vvvvvzy) } // the vvvvvzz function -function vvvvvzz(add_php_getlistquery_vvvvvzz,gettype_vvvvvzz) +function vvvvvzz(add_php_after_getitem_vvvvvzz,gettype_vvvvvzz) { - if (isSet(add_php_getlistquery_vvvvvzz) && add_php_getlistquery_vvvvvzz.constructor !== Array) + if (isSet(add_php_after_getitem_vvvvvzz) && add_php_after_getitem_vvvvvzz.constructor !== Array) { - var temp_vvvvvzz = add_php_getlistquery_vvvvvzz; - var add_php_getlistquery_vvvvvzz = []; - add_php_getlistquery_vvvvvzz.push(temp_vvvvvzz); + var temp_vvvvvzz = add_php_after_getitem_vvvvvzz; + var add_php_after_getitem_vvvvvzz = []; + add_php_after_getitem_vvvvvzz.push(temp_vvvvvzz); } - else if (!isSet(add_php_getlistquery_vvvvvzz)) + else if (!isSet(add_php_after_getitem_vvvvvzz)) { - var add_php_getlistquery_vvvvvzz = []; + var add_php_after_getitem_vvvvvzz = []; } - var add_php_getlistquery = add_php_getlistquery_vvvvvzz.some(add_php_getlistquery_vvvvvzz_SomeFunc); + var add_php_after_getitem = add_php_after_getitem_vvvvvzz.some(add_php_after_getitem_vvvvvzz_SomeFunc); if (isSet(gettype_vvvvvzz) && gettype_vvvvvzz.constructor !== Array) { @@ -870,21 +733,21 @@ function vvvvvzz(add_php_getlistquery_vvvvvzz,gettype_vvvvvzz) // set this function logic - if (add_php_getlistquery && gettype) + if (add_php_after_getitem && gettype) { - jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show(); + jQuery('#jform_php_after_getitem-lbl').closest('.control-group').show(); } else { - jQuery('#jform_php_getlistquery-lbl').closest('.control-group').hide(); + jQuery('#jform_php_after_getitem-lbl').closest('.control-group').hide(); } } // the vvvvvzz Some function -function add_php_getlistquery_vvvvvzz_SomeFunc(add_php_getlistquery_vvvvvzz) +function add_php_after_getitem_vvvvvzz_SomeFunc(add_php_after_getitem_vvvvvzz) { // set the function logic - if (add_php_getlistquery_vvvvvzz == 1) + if (add_php_after_getitem_vvvvvzz == 1) { return true; } @@ -895,68 +758,7 @@ function add_php_getlistquery_vvvvvzz_SomeFunc(add_php_getlistquery_vvvvvzz) function gettype_vvvvvzz_SomeFunc(gettype_vvvvvzz) { // set the function logic - if (gettype_vvvvvzz == 2 || gettype_vvvvvzz == 4) - { - return true; - } - return false; -} - -// the vvvvwaa function -function vvvvwaa(add_php_before_getitems_vvvvwaa,gettype_vvvvwaa) -{ - if (isSet(add_php_before_getitems_vvvvwaa) && add_php_before_getitems_vvvvwaa.constructor !== Array) - { - var temp_vvvvwaa = add_php_before_getitems_vvvvwaa; - var add_php_before_getitems_vvvvwaa = []; - add_php_before_getitems_vvvvwaa.push(temp_vvvvwaa); - } - else if (!isSet(add_php_before_getitems_vvvvwaa)) - { - var add_php_before_getitems_vvvvwaa = []; - } - var add_php_before_getitems = add_php_before_getitems_vvvvwaa.some(add_php_before_getitems_vvvvwaa_SomeFunc); - - if (isSet(gettype_vvvvwaa) && gettype_vvvvwaa.constructor !== Array) - { - var temp_vvvvwaa = gettype_vvvvwaa; - var gettype_vvvvwaa = []; - gettype_vvvvwaa.push(temp_vvvvwaa); - } - else if (!isSet(gettype_vvvvwaa)) - { - var gettype_vvvvwaa = []; - } - var gettype = gettype_vvvvwaa.some(gettype_vvvvwaa_SomeFunc); - - - // set this function logic - if (add_php_before_getitems && gettype) - { - jQuery('#jform_php_before_getitems-lbl').closest('.control-group').show(); - } - else - { - jQuery('#jform_php_before_getitems-lbl').closest('.control-group').hide(); - } -} - -// the vvvvwaa Some function -function add_php_before_getitems_vvvvwaa_SomeFunc(add_php_before_getitems_vvvvwaa) -{ - // set the function logic - if (add_php_before_getitems_vvvvwaa == 1) - { - return true; - } - return false; -} - -// the vvvvwaa Some function -function gettype_vvvvwaa_SomeFunc(gettype_vvvvwaa) -{ - // set the function logic - if (gettype_vvvvwaa == 2 || gettype_vvvvwaa == 4) + if (gettype_vvvvvzz == 1 || gettype_vvvvvzz == 3) { return true; } @@ -964,20 +766,8 @@ function gettype_vvvvwaa_SomeFunc(gettype_vvvvwaa) } // the vvvvwab function -function vvvvwab(add_php_after_getitems_vvvvwab,gettype_vvvvwab) +function vvvvwab(gettype_vvvvwab) { - if (isSet(add_php_after_getitems_vvvvwab) && add_php_after_getitems_vvvvwab.constructor !== Array) - { - var temp_vvvvwab = add_php_after_getitems_vvvvwab; - var add_php_after_getitems_vvvvwab = []; - add_php_after_getitems_vvvvwab.push(temp_vvvvwab); - } - else if (!isSet(add_php_after_getitems_vvvvwab)) - { - var add_php_after_getitems_vvvvwab = []; - } - var add_php_after_getitems = add_php_after_getitems_vvvvwab.some(add_php_after_getitems_vvvvwab_SomeFunc); - if (isSet(gettype_vvvvwab) && gettype_vvvvwab.constructor !== Array) { var temp_vvvvwab = gettype_vvvvwab; @@ -992,32 +782,120 @@ function vvvvwab(add_php_after_getitems_vvvvwab,gettype_vvvvwab) // set this function logic - if (add_php_after_getitems && gettype) + if (gettype) { - jQuery('#jform_php_after_getitems-lbl').closest('.control-group').show(); + jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); + // add required attribute to add_php_after_getitem field + if (jform_vvvvwabvws_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_vvvvwabvws_required = false; + } + jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); + // add required attribute to add_php_before_getitem field + if (jform_vvvvwabvwt_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_vvvvwabvwt_required = false; + } } else { - jQuery('#jform_php_after_getitems-lbl').closest('.control-group').hide(); + jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); + // remove required attribute from add_php_after_getitem field + if (!jform_vvvvwabvws_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_vvvvwabvws_required = true; + } + jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); + // remove required attribute from add_php_before_getitem field + if (!jform_vvvvwabvwt_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_vvvvwabvwt_required = true; + } } } -// the vvvvwab Some function -function add_php_after_getitems_vvvvwab_SomeFunc(add_php_after_getitems_vvvvwab) -{ - // set the function logic - if (add_php_after_getitems_vvvvwab == 1) - { - return true; - } - return false; -} - // the vvvvwab Some function function gettype_vvvvwab_SomeFunc(gettype_vvvvwab) { // set the function logic - if (gettype_vvvvwab == 2 || gettype_vvvvwab == 4) + if (gettype_vvvvwab == 1 || gettype_vvvvwab == 3) + { + return true; + } + return false; +} + +// the vvvvwac function +function vvvvwac(add_php_getlistquery_vvvvwac,gettype_vvvvwac) +{ + if (isSet(add_php_getlistquery_vvvvwac) && add_php_getlistquery_vvvvwac.constructor !== Array) + { + var temp_vvvvwac = add_php_getlistquery_vvvvwac; + var add_php_getlistquery_vvvvwac = []; + add_php_getlistquery_vvvvwac.push(temp_vvvvwac); + } + else if (!isSet(add_php_getlistquery_vvvvwac)) + { + var add_php_getlistquery_vvvvwac = []; + } + var add_php_getlistquery = add_php_getlistquery_vvvvwac.some(add_php_getlistquery_vvvvwac_SomeFunc); + + if (isSet(gettype_vvvvwac) && gettype_vvvvwac.constructor !== Array) + { + var temp_vvvvwac = gettype_vvvvwac; + var gettype_vvvvwac = []; + gettype_vvvvwac.push(temp_vvvvwac); + } + else if (!isSet(gettype_vvvvwac)) + { + var gettype_vvvvwac = []; + } + var gettype = gettype_vvvvwac.some(gettype_vvvvwac_SomeFunc); + + + // set this function logic + if (add_php_getlistquery && gettype) + { + jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show(); + } + else + { + jQuery('#jform_php_getlistquery-lbl').closest('.control-group').hide(); + } +} + +// the vvvvwac Some function +function add_php_getlistquery_vvvvwac_SomeFunc(add_php_getlistquery_vvvvwac) +{ + // set the function logic + if (add_php_getlistquery_vvvvwac == 1) + { + return true; + } + return false; +} + +// the vvvvwac Some function +function gettype_vvvvwac_SomeFunc(gettype_vvvvwac) +{ + // set the function logic + if (gettype_vvvvwac == 2 || gettype_vvvvwac == 4) { return true; } @@ -1025,8 +903,20 @@ function gettype_vvvvwab_SomeFunc(gettype_vvvvwab) } // the vvvvwad function -function vvvvwad(gettype_vvvvwad) +function vvvvwad(add_php_before_getitems_vvvvwad,gettype_vvvvwad) { + if (isSet(add_php_before_getitems_vvvvwad) && add_php_before_getitems_vvvvwad.constructor !== Array) + { + var temp_vvvvwad = add_php_before_getitems_vvvvwad; + var add_php_before_getitems_vvvvwad = []; + add_php_before_getitems_vvvvwad.push(temp_vvvvwad); + } + else if (!isSet(add_php_before_getitems_vvvvwad)) + { + var add_php_before_getitems_vvvvwad = []; + } + var add_php_before_getitems = add_php_before_getitems_vvvvwad.some(add_php_before_getitems_vvvvwad_SomeFunc); + if (isSet(gettype_vvvvwad) && gettype_vvvvwad.constructor !== Array) { var temp_vvvvwad = gettype_vvvvwad; @@ -1041,74 +931,27 @@ function vvvvwad(gettype_vvvvwad) // set this function logic - if (gettype) + if (add_php_before_getitems && gettype) { - jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); - // add required attribute to add_php_after_getitems field - if (jform_vvvvwadvwt_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_vvvvwadvwt_required = false; - } - jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); - // add required attribute to add_php_before_getitems field - if (jform_vvvvwadvwu_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_vvvvwadvwu_required = false; - } - jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); - // add required attribute to add_php_getlistquery field - if (jform_vvvvwadvwv_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_vvvvwadvwv_required = false; - } + jQuery('#jform_php_before_getitems-lbl').closest('.control-group').show(); } else { - jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); - // remove required attribute from add_php_after_getitems field - if (!jform_vvvvwadvwt_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_vvvvwadvwt_required = true; - } - jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); - // remove required attribute from add_php_before_getitems field - if (!jform_vvvvwadvwu_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_vvvvwadvwu_required = true; - } - jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); - // remove required attribute from add_php_getlistquery field - if (!jform_vvvvwadvwv_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_vvvvwadvwv_required = true; - } + jQuery('#jform_php_before_getitems-lbl').closest('.control-group').hide(); } } +// the vvvvwad Some function +function add_php_before_getitems_vvvvwad_SomeFunc(add_php_before_getitems_vvvvwad) +{ + // set the function logic + if (add_php_before_getitems_vvvvwad == 1) + { + return true; + } + return false; +} + // the vvvvwad Some function function gettype_vvvvwad_SomeFunc(gettype_vvvvwad) { @@ -1121,8 +964,20 @@ function gettype_vvvvwad_SomeFunc(gettype_vvvvwad) } // the vvvvwae function -function vvvvwae(gettype_vvvvwae) +function vvvvwae(add_php_after_getitems_vvvvwae,gettype_vvvvwae) { + if (isSet(add_php_after_getitems_vvvvwae) && add_php_after_getitems_vvvvwae.constructor !== Array) + { + var temp_vvvvwae = add_php_after_getitems_vvvvwae; + var add_php_after_getitems_vvvvwae = []; + add_php_after_getitems_vvvvwae.push(temp_vvvvwae); + } + else if (!isSet(add_php_after_getitems_vvvvwae)) + { + var add_php_after_getitems_vvvvwae = []; + } + var add_php_after_getitems = add_php_after_getitems_vvvvwae.some(add_php_after_getitems_vvvvwae_SomeFunc); + if (isSet(gettype_vvvvwae) && gettype_vvvvwae.constructor !== Array) { var temp_vvvvwae = gettype_vvvvwae; @@ -1137,95 +992,32 @@ function vvvvwae(gettype_vvvvwae) // set this function logic - if (gettype) + if (add_php_after_getitems && gettype) { - jQuery('#jform_pagination').closest('.control-group').show(); - // add required attribute to pagination field - if (jform_vvvvwaevww_required) - { - updateFieldRequired('pagination',0); - jQuery('#jform_pagination').prop('required','required'); - jQuery('#jform_pagination').attr('aria-required',true); - jQuery('#jform_pagination').addClass('required'); - jform_vvvvwaevww_required = false; - } + jQuery('#jform_php_after_getitems-lbl').closest('.control-group').show(); } else { - jQuery('#jform_pagination').closest('.control-group').hide(); - // remove required attribute from pagination field - if (!jform_vvvvwaevww_required) - { - updateFieldRequired('pagination',1); - jQuery('#jform_pagination').removeAttr('required'); - jQuery('#jform_pagination').removeAttr('aria-required'); - jQuery('#jform_pagination').removeClass('required'); - jform_vvvvwaevww_required = true; - } + jQuery('#jform_php_after_getitems-lbl').closest('.control-group').hide(); } } // the vvvvwae Some function -function gettype_vvvvwae_SomeFunc(gettype_vvvvwae) +function add_php_after_getitems_vvvvwae_SomeFunc(add_php_after_getitems_vvvvwae) { // set the function logic - if (gettype_vvvvwae == 2) + if (add_php_after_getitems_vvvvwae == 1) { return true; } return false; } -// the vvvvwaf function -function vvvvwaf(gettype_vvvvwaf) -{ - if (isSet(gettype_vvvvwaf) && gettype_vvvvwaf.constructor !== Array) - { - var temp_vvvvwaf = gettype_vvvvwaf; - var gettype_vvvvwaf = []; - gettype_vvvvwaf.push(temp_vvvvwaf); - } - else if (!isSet(gettype_vvvvwaf)) - { - var gettype_vvvvwaf = []; - } - var gettype = gettype_vvvvwaf.some(gettype_vvvvwaf_SomeFunc); - - - // set this function logic - if (gettype) - { - jQuery('#jform_add_php_router_parse').closest('.control-group').show(); - // add required attribute to add_php_router_parse field - if (jform_vvvvwafvwx_required) - { - updateFieldRequired('add_php_router_parse',0); - jQuery('#jform_add_php_router_parse').prop('required','required'); - jQuery('#jform_add_php_router_parse').attr('aria-required',true); - jQuery('#jform_add_php_router_parse').addClass('required'); - jform_vvvvwafvwx_required = false; - } - } - else - { - jQuery('#jform_add_php_router_parse').closest('.control-group').hide(); - // remove required attribute from add_php_router_parse field - if (!jform_vvvvwafvwx_required) - { - updateFieldRequired('add_php_router_parse',1); - jQuery('#jform_add_php_router_parse').removeAttr('required'); - jQuery('#jform_add_php_router_parse').removeAttr('aria-required'); - jQuery('#jform_add_php_router_parse').removeClass('required'); - jform_vvvvwafvwx_required = true; - } - } -} - -// the vvvvwaf Some function -function gettype_vvvvwaf_SomeFunc(gettype_vvvvwaf) +// the vvvvwae Some function +function gettype_vvvvwae_SomeFunc(gettype_vvvvwae) { // set the function logic - if (gettype_vvvvwaf == 1 || gettype_vvvvwaf == 2) + if (gettype_vvvvwae == 2 || gettype_vvvvwae == 4) { return true; } @@ -1233,7 +1025,7 @@ function gettype_vvvvwaf_SomeFunc(gettype_vvvvwaf) } // the vvvvwag function -function vvvvwag(gettype_vvvvwag,add_php_router_parse_vvvvwag) +function vvvvwag(gettype_vvvvwag) { if (isSet(gettype_vvvvwag) && gettype_vvvvwag.constructor !== Array) { @@ -1247,44 +1039,72 @@ function vvvvwag(gettype_vvvvwag,add_php_router_parse_vvvvwag) } var gettype = gettype_vvvvwag.some(gettype_vvvvwag_SomeFunc); - if (isSet(add_php_router_parse_vvvvwag) && add_php_router_parse_vvvvwag.constructor !== Array) - { - var temp_vvvvwag = add_php_router_parse_vvvvwag; - var add_php_router_parse_vvvvwag = []; - add_php_router_parse_vvvvwag.push(temp_vvvvwag); - } - else if (!isSet(add_php_router_parse_vvvvwag)) - { - var add_php_router_parse_vvvvwag = []; - } - var add_php_router_parse = add_php_router_parse_vvvvwag.some(add_php_router_parse_vvvvwag_SomeFunc); - // set this function logic - if (gettype && add_php_router_parse) + if (gettype) { - jQuery('#jform_php_router_parse').closest('.control-group').show(); - // add required attribute to php_router_parse field - if (jform_vvvvwagvwy_required) + jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); + // add required attribute to add_php_after_getitems field + if (jform_vvvvwagvwu_required) { - updateFieldRequired('php_router_parse',0); - jQuery('#jform_php_router_parse').prop('required','required'); - jQuery('#jform_php_router_parse').attr('aria-required',true); - jQuery('#jform_php_router_parse').addClass('required'); - jform_vvvvwagvwy_required = false; + 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_vvvvwagvwu_required = false; + } + jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); + // add required attribute to add_php_before_getitems field + if (jform_vvvvwagvwv_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_vvvvwagvwv_required = false; + } + jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); + // add required attribute to add_php_getlistquery field + if (jform_vvvvwagvww_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_vvvvwagvww_required = false; } } else { - jQuery('#jform_php_router_parse').closest('.control-group').hide(); - // remove required attribute from php_router_parse field - if (!jform_vvvvwagvwy_required) + jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); + // remove required attribute from add_php_after_getitems field + if (!jform_vvvvwagvwu_required) { - updateFieldRequired('php_router_parse',1); - jQuery('#jform_php_router_parse').removeAttr('required'); - jQuery('#jform_php_router_parse').removeAttr('aria-required'); - jQuery('#jform_php_router_parse').removeClass('required'); - jform_vvvvwagvwy_required = true; + 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_vvvvwagvwu_required = true; + } + jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); + // remove required attribute from add_php_before_getitems field + if (!jform_vvvvwagvwv_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_vvvvwagvwv_required = true; + } + jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); + // remove required attribute from add_php_getlistquery field + if (!jform_vvvvwagvww_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_vvvvwagvww_required = true; } } } @@ -1293,18 +1113,63 @@ function vvvvwag(gettype_vvvvwag,add_php_router_parse_vvvvwag) function gettype_vvvvwag_SomeFunc(gettype_vvvvwag) { // set the function logic - if (gettype_vvvvwag == 1 || gettype_vvvvwag == 2) + if (gettype_vvvvwag == 2 || gettype_vvvvwag == 4) { return true; } return false; } -// the vvvvwag Some function -function add_php_router_parse_vvvvwag_SomeFunc(add_php_router_parse_vvvvwag) +// the vvvvwah function +function vvvvwah(gettype_vvvvwah) +{ + if (isSet(gettype_vvvvwah) && gettype_vvvvwah.constructor !== Array) + { + var temp_vvvvwah = gettype_vvvvwah; + var gettype_vvvvwah = []; + gettype_vvvvwah.push(temp_vvvvwah); + } + else if (!isSet(gettype_vvvvwah)) + { + var gettype_vvvvwah = []; + } + var gettype = gettype_vvvvwah.some(gettype_vvvvwah_SomeFunc); + + + // set this function logic + if (gettype) + { + jQuery('#jform_pagination').closest('.control-group').show(); + // add required attribute to pagination field + if (jform_vvvvwahvwx_required) + { + updateFieldRequired('pagination',0); + jQuery('#jform_pagination').prop('required','required'); + jQuery('#jform_pagination').attr('aria-required',true); + jQuery('#jform_pagination').addClass('required'); + jform_vvvvwahvwx_required = false; + } + } + else + { + jQuery('#jform_pagination').closest('.control-group').hide(); + // remove required attribute from pagination field + if (!jform_vvvvwahvwx_required) + { + updateFieldRequired('pagination',1); + jQuery('#jform_pagination').removeAttr('required'); + jQuery('#jform_pagination').removeAttr('aria-required'); + jQuery('#jform_pagination').removeClass('required'); + jform_vvvvwahvwx_required = true; + } + } +} + +// the vvvvwah Some function +function gettype_vvvvwah_SomeFunc(gettype_vvvvwah) { // set the function logic - if (add_php_router_parse_vvvvwag == 1) + if (gettype_vvvvwah == 2) { return true; } @@ -1327,6 +1192,141 @@ function vvvvwai(gettype_vvvvwai) var gettype = gettype_vvvvwai.some(gettype_vvvvwai_SomeFunc); + // set this function logic + if (gettype) + { + jQuery('#jform_add_php_router_parse').closest('.control-group').show(); + // add required attribute to add_php_router_parse field + if (jform_vvvvwaivwy_required) + { + updateFieldRequired('add_php_router_parse',0); + jQuery('#jform_add_php_router_parse').prop('required','required'); + jQuery('#jform_add_php_router_parse').attr('aria-required',true); + jQuery('#jform_add_php_router_parse').addClass('required'); + jform_vvvvwaivwy_required = false; + } + } + else + { + jQuery('#jform_add_php_router_parse').closest('.control-group').hide(); + // remove required attribute from add_php_router_parse field + if (!jform_vvvvwaivwy_required) + { + updateFieldRequired('add_php_router_parse',1); + jQuery('#jform_add_php_router_parse').removeAttr('required'); + jQuery('#jform_add_php_router_parse').removeAttr('aria-required'); + jQuery('#jform_add_php_router_parse').removeClass('required'); + jform_vvvvwaivwy_required = true; + } + } +} + +// the vvvvwai Some function +function gettype_vvvvwai_SomeFunc(gettype_vvvvwai) +{ + // set the function logic + if (gettype_vvvvwai == 1 || gettype_vvvvwai == 2) + { + return true; + } + return false; +} + +// the vvvvwaj function +function vvvvwaj(gettype_vvvvwaj,add_php_router_parse_vvvvwaj) +{ + if (isSet(gettype_vvvvwaj) && gettype_vvvvwaj.constructor !== Array) + { + var temp_vvvvwaj = gettype_vvvvwaj; + var gettype_vvvvwaj = []; + gettype_vvvvwaj.push(temp_vvvvwaj); + } + else if (!isSet(gettype_vvvvwaj)) + { + var gettype_vvvvwaj = []; + } + var gettype = gettype_vvvvwaj.some(gettype_vvvvwaj_SomeFunc); + + if (isSet(add_php_router_parse_vvvvwaj) && add_php_router_parse_vvvvwaj.constructor !== Array) + { + var temp_vvvvwaj = add_php_router_parse_vvvvwaj; + var add_php_router_parse_vvvvwaj = []; + add_php_router_parse_vvvvwaj.push(temp_vvvvwaj); + } + else if (!isSet(add_php_router_parse_vvvvwaj)) + { + var add_php_router_parse_vvvvwaj = []; + } + var add_php_router_parse = add_php_router_parse_vvvvwaj.some(add_php_router_parse_vvvvwaj_SomeFunc); + + + // set this function logic + if (gettype && add_php_router_parse) + { + jQuery('#jform_php_router_parse').closest('.control-group').show(); + // add required attribute to php_router_parse field + if (jform_vvvvwajvwz_required) + { + updateFieldRequired('php_router_parse',0); + jQuery('#jform_php_router_parse').prop('required','required'); + jQuery('#jform_php_router_parse').attr('aria-required',true); + jQuery('#jform_php_router_parse').addClass('required'); + jform_vvvvwajvwz_required = false; + } + } + else + { + jQuery('#jform_php_router_parse').closest('.control-group').hide(); + // remove required attribute from php_router_parse field + if (!jform_vvvvwajvwz_required) + { + updateFieldRequired('php_router_parse',1); + jQuery('#jform_php_router_parse').removeAttr('required'); + jQuery('#jform_php_router_parse').removeAttr('aria-required'); + jQuery('#jform_php_router_parse').removeClass('required'); + jform_vvvvwajvwz_required = true; + } + } +} + +// the vvvvwaj Some function +function gettype_vvvvwaj_SomeFunc(gettype_vvvvwaj) +{ + // set the function logic + if (gettype_vvvvwaj == 1 || gettype_vvvvwaj == 2) + { + return true; + } + return false; +} + +// the vvvvwaj Some function +function add_php_router_parse_vvvvwaj_SomeFunc(add_php_router_parse_vvvvwaj) +{ + // set the function logic + if (add_php_router_parse_vvvvwaj == 1) + { + return true; + } + return false; +} + +// the vvvvwal function +function vvvvwal(gettype_vvvvwal) +{ + if (isSet(gettype_vvvvwal) && gettype_vvvvwal.constructor !== Array) + { + var temp_vvvvwal = gettype_vvvvwal; + var gettype_vvvvwal = []; + gettype_vvvvwal.push(temp_vvvvwal); + } + else if (!isSet(gettype_vvvvwal)) + { + var gettype_vvvvwal = []; + } + var gettype = gettype_vvvvwal.some(gettype_vvvvwal_SomeFunc); + + // set this function logic if (gettype) { @@ -1338,11 +1338,11 @@ function vvvvwai(gettype_vvvvwai) } } -// the vvvvwai Some function -function gettype_vvvvwai_SomeFunc(gettype_vvvvwai) +// the vvvvwal Some function +function gettype_vvvvwal_SomeFunc(gettype_vvvvwal) { // set the function logic - if (gettype_vvvvwai == 1) + if (gettype_vvvvwal == 1) { return true; } diff --git a/admin/models/forms/field.js b/admin/models/forms/field.js index 9aa9a6970..6ae2f6468 100644 --- a/admin/models/forms/field.js +++ b/admin/models/forms/field.js @@ -9,57 +9,57 @@ */ // Some Global Values -jform_vvvvwaxvxh_required = false; -jform_vvvvwayvxi_required = false; -jform_vvvvwazvxj_required = false; -jform_vvvvwbavxk_required = false; +jform_vvvvwbavxi_required = false; +jform_vvvvwbbvxj_required = false; +jform_vvvvwbcvxk_required = false; +jform_vvvvwbdvxl_required = false; // Initial Script jQuery(document).ready(function() { - var datalenght_vvvvwax = jQuery("#jform_datalenght").val(); - vvvvwax(datalenght_vvvvwax); + var datalenght_vvvvwba = jQuery("#jform_datalenght").val(); + vvvvwba(datalenght_vvvvwba); - var datadefault_vvvvway = jQuery("#jform_datadefault").val(); - vvvvway(datadefault_vvvvway); + var datadefault_vvvvwbb = jQuery("#jform_datadefault").val(); + vvvvwbb(datadefault_vvvvwbb); - var datatype_vvvvwaz = jQuery("#jform_datatype").val(); - vvvvwaz(datatype_vvvvwaz); + var datatype_vvvvwbc = jQuery("#jform_datatype").val(); + vvvvwbc(datatype_vvvvwbc); - var datatype_vvvvwba = jQuery("#jform_datatype").val(); - vvvvwba(datatype_vvvvwba); + var datatype_vvvvwbd = jQuery("#jform_datatype").val(); + vvvvwbd(datatype_vvvvwbd); - var store_vvvvwbb = jQuery("#jform_store").val(); - var datatype_vvvvwbb = jQuery("#jform_datatype").val(); - vvvvwbb(store_vvvvwbb,datatype_vvvvwbb); + var store_vvvvwbe = jQuery("#jform_store").val(); + var datatype_vvvvwbe = jQuery("#jform_datatype").val(); + vvvvwbe(store_vvvvwbe,datatype_vvvvwbe); - var add_css_view_vvvvwbd = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - vvvvwbd(add_css_view_vvvvwbd); + var add_css_view_vvvvwbg = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + vvvvwbg(add_css_view_vvvvwbg); - var add_css_views_vvvvwbe = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - vvvvwbe(add_css_views_vvvvwbe); + var add_css_views_vvvvwbh = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + vvvvwbh(add_css_views_vvvvwbh); - var add_javascript_view_footer_vvvvwbf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - vvvvwbf(add_javascript_view_footer_vvvvwbf); + var add_javascript_view_footer_vvvvwbi = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + vvvvwbi(add_javascript_view_footer_vvvvwbi); - var add_javascript_views_footer_vvvvwbg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - vvvvwbg(add_javascript_views_footer_vvvvwbg); + var add_javascript_views_footer_vvvvwbj = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + vvvvwbj(add_javascript_views_footer_vvvvwbj); }); -// the vvvvwax function -function vvvvwax(datalenght_vvvvwax) +// the vvvvwba function +function vvvvwba(datalenght_vvvvwba) { - if (isSet(datalenght_vvvvwax) && datalenght_vvvvwax.constructor !== Array) + if (isSet(datalenght_vvvvwba) && datalenght_vvvvwba.constructor !== Array) { - var temp_vvvvwax = datalenght_vvvvwax; - var datalenght_vvvvwax = []; - datalenght_vvvvwax.push(temp_vvvvwax); + var temp_vvvvwba = datalenght_vvvvwba; + var datalenght_vvvvwba = []; + datalenght_vvvvwba.push(temp_vvvvwba); } - else if (!isSet(datalenght_vvvvwax)) + else if (!isSet(datalenght_vvvvwba)) { - var datalenght_vvvvwax = []; + var datalenght_vvvvwba = []; } - var datalenght = datalenght_vvvvwax.some(datalenght_vvvvwax_SomeFunc); + var datalenght = datalenght_vvvvwba.some(datalenght_vvvvwba_SomeFunc); // set this function logic @@ -67,55 +67,55 @@ function vvvvwax(datalenght_vvvvwax) { jQuery('#jform_datalenght_other').closest('.control-group').show(); // add required attribute to datalenght_other field - if (jform_vvvvwaxvxh_required) + if (jform_vvvvwbavxi_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_vvvvwaxvxh_required = false; + jform_vvvvwbavxi_required = false; } } else { jQuery('#jform_datalenght_other').closest('.control-group').hide(); // remove required attribute from datalenght_other field - if (!jform_vvvvwaxvxh_required) + if (!jform_vvvvwbavxi_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_vvvvwaxvxh_required = true; + jform_vvvvwbavxi_required = true; } } } -// the vvvvwax Some function -function datalenght_vvvvwax_SomeFunc(datalenght_vvvvwax) +// the vvvvwba Some function +function datalenght_vvvvwba_SomeFunc(datalenght_vvvvwba) { // set the function logic - if (datalenght_vvvvwax == 'Other') + if (datalenght_vvvvwba == 'Other') { return true; } return false; } -// the vvvvway function -function vvvvway(datadefault_vvvvway) +// the vvvvwbb function +function vvvvwbb(datadefault_vvvvwbb) { - if (isSet(datadefault_vvvvway) && datadefault_vvvvway.constructor !== Array) + if (isSet(datadefault_vvvvwbb) && datadefault_vvvvwbb.constructor !== Array) { - var temp_vvvvway = datadefault_vvvvway; - var datadefault_vvvvway = []; - datadefault_vvvvway.push(temp_vvvvway); + var temp_vvvvwbb = datadefault_vvvvwbb; + var datadefault_vvvvwbb = []; + datadefault_vvvvwbb.push(temp_vvvvwbb); } - else if (!isSet(datadefault_vvvvway)) + else if (!isSet(datadefault_vvvvwbb)) { - var datadefault_vvvvway = []; + var datadefault_vvvvwbb = []; } - var datadefault = datadefault_vvvvway.some(datadefault_vvvvway_SomeFunc); + var datadefault = datadefault_vvvvwbb.some(datadefault_vvvvwbb_SomeFunc); // set this function logic @@ -123,55 +123,55 @@ function vvvvway(datadefault_vvvvway) { jQuery('#jform_datadefault_other').closest('.control-group').show(); // add required attribute to datadefault_other field - if (jform_vvvvwayvxi_required) + if (jform_vvvvwbbvxj_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_vvvvwayvxi_required = false; + jform_vvvvwbbvxj_required = false; } } else { jQuery('#jform_datadefault_other').closest('.control-group').hide(); // remove required attribute from datadefault_other field - if (!jform_vvvvwayvxi_required) + if (!jform_vvvvwbbvxj_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_vvvvwayvxi_required = true; + jform_vvvvwbbvxj_required = true; } } } -// the vvvvway Some function -function datadefault_vvvvway_SomeFunc(datadefault_vvvvway) +// the vvvvwbb Some function +function datadefault_vvvvwbb_SomeFunc(datadefault_vvvvwbb) { // set the function logic - if (datadefault_vvvvway == 'Other') + if (datadefault_vvvvwbb == 'Other') { return true; } return false; } -// the vvvvwaz function -function vvvvwaz(datatype_vvvvwaz) +// the vvvvwbc function +function vvvvwbc(datatype_vvvvwbc) { - if (isSet(datatype_vvvvwaz) && datatype_vvvvwaz.constructor !== Array) + if (isSet(datatype_vvvvwbc) && datatype_vvvvwbc.constructor !== Array) { - var temp_vvvvwaz = datatype_vvvvwaz; - var datatype_vvvvwaz = []; - datatype_vvvvwaz.push(temp_vvvvwaz); + var temp_vvvvwbc = datatype_vvvvwbc; + var datatype_vvvvwbc = []; + datatype_vvvvwbc.push(temp_vvvvwbc); } - else if (!isSet(datatype_vvvvwaz)) + else if (!isSet(datatype_vvvvwbc)) { - var datatype_vvvvwaz = []; + var datatype_vvvvwbc = []; } - var datatype = datatype_vvvvwaz.some(datatype_vvvvwaz_SomeFunc); + var datatype = datatype_vvvvwbc.some(datatype_vvvvwbc_SomeFunc); // set this function logic @@ -181,13 +181,13 @@ function vvvvwaz(datatype_vvvvwaz) jQuery('#jform_datalenght').closest('.control-group').show(); jQuery('#jform_indexes').closest('.control-group').show(); // add required attribute to indexes field - if (jform_vvvvwazvxj_required) + if (jform_vvvvwbcvxk_required) { updateFieldRequired('indexes',0); jQuery('#jform_indexes').prop('required','required'); jQuery('#jform_indexes').attr('aria-required',true); jQuery('#jform_indexes').addClass('required'); - jform_vvvvwazvxj_required = false; + jform_vvvvwbcvxk_required = false; } } else @@ -196,42 +196,42 @@ function vvvvwaz(datatype_vvvvwaz) jQuery('#jform_datalenght').closest('.control-group').hide(); jQuery('#jform_indexes').closest('.control-group').hide(); // remove required attribute from indexes field - if (!jform_vvvvwazvxj_required) + if (!jform_vvvvwbcvxk_required) { updateFieldRequired('indexes',1); jQuery('#jform_indexes').removeAttr('required'); jQuery('#jform_indexes').removeAttr('aria-required'); jQuery('#jform_indexes').removeClass('required'); - jform_vvvvwazvxj_required = true; + jform_vvvvwbcvxk_required = true; } } } -// the vvvvwaz Some function -function datatype_vvvvwaz_SomeFunc(datatype_vvvvwaz) +// the vvvvwbc Some function +function datatype_vvvvwbc_SomeFunc(datatype_vvvvwbc) { // set the function logic - if (datatype_vvvvwaz == 'CHAR' || datatype_vvvvwaz == 'VARCHAR' || datatype_vvvvwaz == 'DATETIME' || datatype_vvvvwaz == 'DATE' || datatype_vvvvwaz == 'TIME' || datatype_vvvvwaz == 'INT' || datatype_vvvvwaz == 'TINYINT' || datatype_vvvvwaz == 'BIGINT' || datatype_vvvvwaz == 'FLOAT' || datatype_vvvvwaz == 'DECIMAL' || datatype_vvvvwaz == 'DOUBLE') + if (datatype_vvvvwbc == 'CHAR' || datatype_vvvvwbc == 'VARCHAR' || datatype_vvvvwbc == 'DATETIME' || datatype_vvvvwbc == 'DATE' || datatype_vvvvwbc == 'TIME' || datatype_vvvvwbc == 'INT' || datatype_vvvvwbc == 'TINYINT' || datatype_vvvvwbc == 'BIGINT' || datatype_vvvvwbc == 'FLOAT' || datatype_vvvvwbc == 'DECIMAL' || datatype_vvvvwbc == 'DOUBLE') { return true; } return false; } -// the vvvvwba function -function vvvvwba(datatype_vvvvwba) +// the vvvvwbd function +function vvvvwbd(datatype_vvvvwbd) { - if (isSet(datatype_vvvvwba) && datatype_vvvvwba.constructor !== Array) + if (isSet(datatype_vvvvwbd) && datatype_vvvvwbd.constructor !== Array) { - var temp_vvvvwba = datatype_vvvvwba; - var datatype_vvvvwba = []; - datatype_vvvvwba.push(temp_vvvvwba); + var temp_vvvvwbd = datatype_vvvvwbd; + var datatype_vvvvwbd = []; + datatype_vvvvwbd.push(temp_vvvvwbd); } - else if (!isSet(datatype_vvvvwba)) + else if (!isSet(datatype_vvvvwbd)) { - var datatype_vvvvwba = []; + var datatype_vvvvwbd = []; } - var datatype = datatype_vvvvwba.some(datatype_vvvvwba_SomeFunc); + var datatype = datatype_vvvvwbd.some(datatype_vvvvwbd_SomeFunc); // set this function logic @@ -239,67 +239,67 @@ function vvvvwba(datatype_vvvvwba) { jQuery('#jform_store').closest('.control-group').show(); // add required attribute to store field - if (jform_vvvvwbavxk_required) + if (jform_vvvvwbdvxl_required) { updateFieldRequired('store',0); jQuery('#jform_store').prop('required','required'); jQuery('#jform_store').attr('aria-required',true); jQuery('#jform_store').addClass('required'); - jform_vvvvwbavxk_required = false; + jform_vvvvwbdvxl_required = false; } } else { jQuery('#jform_store').closest('.control-group').hide(); // remove required attribute from store field - if (!jform_vvvvwbavxk_required) + if (!jform_vvvvwbdvxl_required) { updateFieldRequired('store',1); jQuery('#jform_store').removeAttr('required'); jQuery('#jform_store').removeAttr('aria-required'); jQuery('#jform_store').removeClass('required'); - jform_vvvvwbavxk_required = true; + jform_vvvvwbdvxl_required = true; } } } -// the vvvvwba Some function -function datatype_vvvvwba_SomeFunc(datatype_vvvvwba) +// the vvvvwbd Some function +function datatype_vvvvwbd_SomeFunc(datatype_vvvvwbd) { // set the function logic - if (datatype_vvvvwba == 'CHAR' || datatype_vvvvwba == 'VARCHAR' || datatype_vvvvwba == 'TEXT' || datatype_vvvvwba == 'MEDIUMTEXT' || datatype_vvvvwba == 'LONGTEXT' || datatype_vvvvwba == 'BLOB' || datatype_vvvvwba == 'TINYBLOB' || datatype_vvvvwba == 'MEDIUMBLOB' || datatype_vvvvwba == 'LONGBLOB') + if (datatype_vvvvwbd == 'CHAR' || datatype_vvvvwbd == 'VARCHAR' || datatype_vvvvwbd == 'TEXT' || datatype_vvvvwbd == 'MEDIUMTEXT' || datatype_vvvvwbd == 'LONGTEXT' || datatype_vvvvwbd == 'BLOB' || datatype_vvvvwbd == 'TINYBLOB' || datatype_vvvvwbd == 'MEDIUMBLOB' || datatype_vvvvwbd == 'LONGBLOB') { return true; } return false; } -// the vvvvwbb function -function vvvvwbb(store_vvvvwbb,datatype_vvvvwbb) +// the vvvvwbe function +function vvvvwbe(store_vvvvwbe,datatype_vvvvwbe) { - if (isSet(store_vvvvwbb) && store_vvvvwbb.constructor !== Array) + if (isSet(store_vvvvwbe) && store_vvvvwbe.constructor !== Array) { - var temp_vvvvwbb = store_vvvvwbb; - var store_vvvvwbb = []; - store_vvvvwbb.push(temp_vvvvwbb); + var temp_vvvvwbe = store_vvvvwbe; + var store_vvvvwbe = []; + store_vvvvwbe.push(temp_vvvvwbe); } - else if (!isSet(store_vvvvwbb)) + else if (!isSet(store_vvvvwbe)) { - var store_vvvvwbb = []; + var store_vvvvwbe = []; } - var store = store_vvvvwbb.some(store_vvvvwbb_SomeFunc); + var store = store_vvvvwbe.some(store_vvvvwbe_SomeFunc); - if (isSet(datatype_vvvvwbb) && datatype_vvvvwbb.constructor !== Array) + if (isSet(datatype_vvvvwbe) && datatype_vvvvwbe.constructor !== Array) { - var temp_vvvvwbb = datatype_vvvvwbb; - var datatype_vvvvwbb = []; - datatype_vvvvwbb.push(temp_vvvvwbb); + var temp_vvvvwbe = datatype_vvvvwbe; + var datatype_vvvvwbe = []; + datatype_vvvvwbe.push(temp_vvvvwbe); } - else if (!isSet(datatype_vvvvwbb)) + else if (!isSet(datatype_vvvvwbe)) { - var datatype_vvvvwbb = []; + var datatype_vvvvwbe = []; } - var datatype = datatype_vvvvwbb.some(datatype_vvvvwbb_SomeFunc); + var datatype = datatype_vvvvwbe.some(datatype_vvvvwbe_SomeFunc); // set this function logic @@ -313,33 +313,33 @@ function vvvvwbb(store_vvvvwbb,datatype_vvvvwbb) } } -// the vvvvwbb Some function -function store_vvvvwbb_SomeFunc(store_vvvvwbb) +// the vvvvwbe Some function +function store_vvvvwbe_SomeFunc(store_vvvvwbe) { // set the function logic - if (store_vvvvwbb == 4) + if (store_vvvvwbe == 4) { return true; } return false; } -// the vvvvwbb Some function -function datatype_vvvvwbb_SomeFunc(datatype_vvvvwbb) +// the vvvvwbe Some function +function datatype_vvvvwbe_SomeFunc(datatype_vvvvwbe) { // set the function logic - if (datatype_vvvvwbb == 'CHAR' || datatype_vvvvwbb == 'VARCHAR' || datatype_vvvvwbb == 'TEXT' || datatype_vvvvwbb == 'MEDIUMTEXT' || datatype_vvvvwbb == 'LONGTEXT' || datatype_vvvvwbb == 'BLOB' || datatype_vvvvwbb == 'TINYBLOB' || datatype_vvvvwbb == 'MEDIUMBLOB' || datatype_vvvvwbb == 'LONGBLOB') + if (datatype_vvvvwbe == 'CHAR' || datatype_vvvvwbe == 'VARCHAR' || datatype_vvvvwbe == 'TEXT' || datatype_vvvvwbe == 'MEDIUMTEXT' || datatype_vvvvwbe == 'LONGTEXT' || datatype_vvvvwbe == 'BLOB' || datatype_vvvvwbe == 'TINYBLOB' || datatype_vvvvwbe == 'MEDIUMBLOB' || datatype_vvvvwbe == 'LONGBLOB') { return true; } return false; } -// the vvvvwbd function -function vvvvwbd(add_css_view_vvvvwbd) +// the vvvvwbg function +function vvvvwbg(add_css_view_vvvvwbg) { // set the function logic - if (add_css_view_vvvvwbd == 1) + if (add_css_view_vvvvwbg == 1) { jQuery('#jform_css_view-lbl').closest('.control-group').show(); } @@ -349,11 +349,11 @@ function vvvvwbd(add_css_view_vvvvwbd) } } -// the vvvvwbe function -function vvvvwbe(add_css_views_vvvvwbe) +// the vvvvwbh function +function vvvvwbh(add_css_views_vvvvwbh) { // set the function logic - if (add_css_views_vvvvwbe == 1) + if (add_css_views_vvvvwbh == 1) { jQuery('#jform_css_views-lbl').closest('.control-group').show(); } @@ -363,11 +363,11 @@ function vvvvwbe(add_css_views_vvvvwbe) } } -// the vvvvwbf function -function vvvvwbf(add_javascript_view_footer_vvvvwbf) +// the vvvvwbi function +function vvvvwbi(add_javascript_view_footer_vvvvwbi) { // set the function logic - if (add_javascript_view_footer_vvvvwbf == 1) + if (add_javascript_view_footer_vvvvwbi == 1) { jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show(); } @@ -377,11 +377,11 @@ function vvvvwbf(add_javascript_view_footer_vvvvwbf) } } -// the vvvvwbg function -function vvvvwbg(add_javascript_views_footer_vvvvwbg) +// the vvvvwbj function +function vvvvwbj(add_javascript_views_footer_vvvvwbj) { // set the function logic - if (add_javascript_views_footer_vvvvwbg == 1) + if (add_javascript_views_footer_vvvvwbj == 1) { jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show(); } diff --git a/admin/models/forms/fieldtype.js b/admin/models/forms/fieldtype.js index 27bb8c29a..31671ac67 100644 --- a/admin/models/forms/fieldtype.js +++ b/admin/models/forms/fieldtype.js @@ -9,82 +9,82 @@ */ // Some Global Values -jform_vvvvwbhvxl_required = false; -jform_vvvvwbjvxm_required = false; -jform_vvvvwblvxn_required = false; -jform_vvvvwbmvxo_required = false; -jform_vvvvwbnvxp_required = false; -jform_vvvvwbsvxq_required = false; -jform_vvvvwbsvxr_required = false; +jform_vvvvwbkvxm_required = false; +jform_vvvvwbmvxn_required = false; +jform_vvvvwbovxo_required = false; +jform_vvvvwbpvxp_required = false; +jform_vvvvwbqvxq_required = false; +jform_vvvvwbvvxr_required = false; +jform_vvvvwbvvxs_required = false; // Initial Script jQuery(document).ready(function() { - var datalenght_vvvvwbh = jQuery("#jform_datalenght").val(); - var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val(); - vvvvwbh(datalenght_vvvvwbh,has_defaults_vvvvwbh); - - var datadefault_vvvvwbj = jQuery("#jform_datadefault").val(); - var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val(); - vvvvwbj(datadefault_vvvvwbj,has_defaults_vvvvwbj); - - var datatype_vvvvwbl = jQuery("#jform_datatype").val(); - var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val(); - vvvvwbl(datatype_vvvvwbl,has_defaults_vvvvwbl); + var datalenght_vvvvwbk = jQuery("#jform_datalenght").val(); + var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val(); + vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk); + var datadefault_vvvvwbm = jQuery("#jform_datadefault").val(); var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val(); - var datatype_vvvvwbm = jQuery("#jform_datatype").val(); - vvvvwbm(has_defaults_vvvvwbm,datatype_vvvvwbm); + vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm); - var datatype_vvvvwbn = jQuery("#jform_datatype").val(); - var has_defaults_vvvvwbn = jQuery("#jform_has_defaults input[type='radio']:checked").val(); - vvvvwbn(datatype_vvvvwbn,has_defaults_vvvvwbn); + var datatype_vvvvwbo = jQuery("#jform_datatype").val(); + var has_defaults_vvvvwbo = jQuery("#jform_has_defaults input[type='radio']:checked").val(); + vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo); - var store_vvvvwbp = jQuery("#jform_store").val(); - var datatype_vvvvwbp = jQuery("#jform_datatype").val(); var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val(); - vvvvwbp(store_vvvvwbp,datatype_vvvvwbp,has_defaults_vvvvwbp); + var datatype_vvvvwbp = jQuery("#jform_datatype").val(); + vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp); var datatype_vvvvwbq = jQuery("#jform_datatype").val(); - var store_vvvvwbq = jQuery("#jform_store").val(); var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val(); - vvvvwbq(datatype_vvvvwbq,store_vvvvwbq,has_defaults_vvvvwbq); - - var has_defaults_vvvvwbr = jQuery("#jform_has_defaults input[type='radio']:checked").val(); - var store_vvvvwbr = jQuery("#jform_store").val(); - var datatype_vvvvwbr = jQuery("#jform_datatype").val(); - vvvvwbr(has_defaults_vvvvwbr,store_vvvvwbr,datatype_vvvvwbr); + vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq); + var store_vvvvwbs = jQuery("#jform_store").val(); + var datatype_vvvvwbs = jQuery("#jform_datatype").val(); var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val(); - vvvvwbs(has_defaults_vvvvwbs); + vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs); + + var datatype_vvvvwbt = jQuery("#jform_datatype").val(); + var store_vvvvwbt = jQuery("#jform_store").val(); + var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val(); + vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt); + + var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val(); + var store_vvvvwbu = jQuery("#jform_store").val(); + var datatype_vvvvwbu = jQuery("#jform_datatype").val(); + vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu); + + var has_defaults_vvvvwbv = jQuery("#jform_has_defaults input[type='radio']:checked").val(); + vvvvwbv(has_defaults_vvvvwbv); }); -// the vvvvwbh function -function vvvvwbh(datalenght_vvvvwbh,has_defaults_vvvvwbh) +// the vvvvwbk function +function vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk) { - if (isSet(datalenght_vvvvwbh) && datalenght_vvvvwbh.constructor !== Array) + if (isSet(datalenght_vvvvwbk) && datalenght_vvvvwbk.constructor !== Array) { - var temp_vvvvwbh = datalenght_vvvvwbh; - var datalenght_vvvvwbh = []; - datalenght_vvvvwbh.push(temp_vvvvwbh); + var temp_vvvvwbk = datalenght_vvvvwbk; + var datalenght_vvvvwbk = []; + datalenght_vvvvwbk.push(temp_vvvvwbk); } - else if (!isSet(datalenght_vvvvwbh)) + else if (!isSet(datalenght_vvvvwbk)) { - var datalenght_vvvvwbh = []; + var datalenght_vvvvwbk = []; } - var datalenght = datalenght_vvvvwbh.some(datalenght_vvvvwbh_SomeFunc); + var datalenght = datalenght_vvvvwbk.some(datalenght_vvvvwbk_SomeFunc); - if (isSet(has_defaults_vvvvwbh) && has_defaults_vvvvwbh.constructor !== Array) + if (isSet(has_defaults_vvvvwbk) && has_defaults_vvvvwbk.constructor !== Array) { - var temp_vvvvwbh = has_defaults_vvvvwbh; - var has_defaults_vvvvwbh = []; - has_defaults_vvvvwbh.push(temp_vvvvwbh); + var temp_vvvvwbk = has_defaults_vvvvwbk; + var has_defaults_vvvvwbk = []; + has_defaults_vvvvwbk.push(temp_vvvvwbk); } - else if (!isSet(has_defaults_vvvvwbh)) + else if (!isSet(has_defaults_vvvvwbk)) { - var has_defaults_vvvvwbh = []; + var has_defaults_vvvvwbk = []; } - var has_defaults = has_defaults_vvvvwbh.some(has_defaults_vvvvwbh_SomeFunc); + var has_defaults = has_defaults_vvvvwbk.some(has_defaults_vvvvwbk_SomeFunc); // set this function logic @@ -92,208 +92,46 @@ function vvvvwbh(datalenght_vvvvwbh,has_defaults_vvvvwbh) { jQuery('#jform_datalenght_other').closest('.control-group').show(); // add required attribute to datalenght_other field - if (jform_vvvvwbhvxl_required) + if (jform_vvvvwbkvxm_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_vvvvwbhvxl_required = false; + jform_vvvvwbkvxm_required = false; } } else { jQuery('#jform_datalenght_other').closest('.control-group').hide(); // remove required attribute from datalenght_other field - if (!jform_vvvvwbhvxl_required) + if (!jform_vvvvwbkvxm_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_vvvvwbhvxl_required = true; + jform_vvvvwbkvxm_required = true; } } } -// the vvvvwbh Some function -function datalenght_vvvvwbh_SomeFunc(datalenght_vvvvwbh) +// the vvvvwbk Some function +function datalenght_vvvvwbk_SomeFunc(datalenght_vvvvwbk) { // set the function logic - if (datalenght_vvvvwbh == 'Other') + if (datalenght_vvvvwbk == 'Other') { return true; } return false; } -// the vvvvwbh Some function -function has_defaults_vvvvwbh_SomeFunc(has_defaults_vvvvwbh) +// the vvvvwbk Some function +function has_defaults_vvvvwbk_SomeFunc(has_defaults_vvvvwbk) { // set the function logic - if (has_defaults_vvvvwbh == 1) - { - return true; - } - return false; -} - -// the vvvvwbj function -function vvvvwbj(datadefault_vvvvwbj,has_defaults_vvvvwbj) -{ - if (isSet(datadefault_vvvvwbj) && datadefault_vvvvwbj.constructor !== Array) - { - var temp_vvvvwbj = datadefault_vvvvwbj; - var datadefault_vvvvwbj = []; - datadefault_vvvvwbj.push(temp_vvvvwbj); - } - else if (!isSet(datadefault_vvvvwbj)) - { - var datadefault_vvvvwbj = []; - } - var datadefault = datadefault_vvvvwbj.some(datadefault_vvvvwbj_SomeFunc); - - if (isSet(has_defaults_vvvvwbj) && has_defaults_vvvvwbj.constructor !== Array) - { - var temp_vvvvwbj = has_defaults_vvvvwbj; - var has_defaults_vvvvwbj = []; - has_defaults_vvvvwbj.push(temp_vvvvwbj); - } - else if (!isSet(has_defaults_vvvvwbj)) - { - var has_defaults_vvvvwbj = []; - } - var has_defaults = has_defaults_vvvvwbj.some(has_defaults_vvvvwbj_SomeFunc); - - - // set this function logic - if (datadefault && has_defaults) - { - jQuery('#jform_datadefault_other').closest('.control-group').show(); - // add required attribute to datadefault_other field - if (jform_vvvvwbjvxm_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_vvvvwbjvxm_required = false; - } - } - else - { - jQuery('#jform_datadefault_other').closest('.control-group').hide(); - // remove required attribute from datadefault_other field - if (!jform_vvvvwbjvxm_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_vvvvwbjvxm_required = true; - } - } -} - -// the vvvvwbj Some function -function datadefault_vvvvwbj_SomeFunc(datadefault_vvvvwbj) -{ - // set the function logic - if (datadefault_vvvvwbj == 'Other') - { - return true; - } - return false; -} - -// the vvvvwbj Some function -function has_defaults_vvvvwbj_SomeFunc(has_defaults_vvvvwbj) -{ - // set the function logic - if (has_defaults_vvvvwbj == 1) - { - return true; - } - return false; -} - -// the vvvvwbl function -function vvvvwbl(datatype_vvvvwbl,has_defaults_vvvvwbl) -{ - if (isSet(datatype_vvvvwbl) && datatype_vvvvwbl.constructor !== Array) - { - var temp_vvvvwbl = datatype_vvvvwbl; - var datatype_vvvvwbl = []; - datatype_vvvvwbl.push(temp_vvvvwbl); - } - else if (!isSet(datatype_vvvvwbl)) - { - var datatype_vvvvwbl = []; - } - var datatype = datatype_vvvvwbl.some(datatype_vvvvwbl_SomeFunc); - - if (isSet(has_defaults_vvvvwbl) && has_defaults_vvvvwbl.constructor !== Array) - { - var temp_vvvvwbl = has_defaults_vvvvwbl; - var has_defaults_vvvvwbl = []; - has_defaults_vvvvwbl.push(temp_vvvvwbl); - } - else if (!isSet(has_defaults_vvvvwbl)) - { - var has_defaults_vvvvwbl = []; - } - var has_defaults = has_defaults_vvvvwbl.some(has_defaults_vvvvwbl_SomeFunc); - - - // set this function logic - if (datatype && has_defaults) - { - jQuery('#jform_datadefault').closest('.control-group').show(); - jQuery('#jform_datalenght').closest('.control-group').show(); - jQuery('#jform_indexes').closest('.control-group').show(); - // add required attribute to indexes field - if (jform_vvvvwblvxn_required) - { - updateFieldRequired('indexes',0); - jQuery('#jform_indexes').prop('required','required'); - jQuery('#jform_indexes').attr('aria-required',true); - jQuery('#jform_indexes').addClass('required'); - jform_vvvvwblvxn_required = false; - } - } - else - { - jQuery('#jform_datadefault').closest('.control-group').hide(); - jQuery('#jform_datalenght').closest('.control-group').hide(); - jQuery('#jform_indexes').closest('.control-group').hide(); - // remove required attribute from indexes field - if (!jform_vvvvwblvxn_required) - { - updateFieldRequired('indexes',1); - jQuery('#jform_indexes').removeAttr('required'); - jQuery('#jform_indexes').removeAttr('aria-required'); - jQuery('#jform_indexes').removeClass('required'); - jform_vvvvwblvxn_required = true; - } - } -} - -// the vvvvwbl Some function -function datatype_vvvvwbl_SomeFunc(datatype_vvvvwbl) -{ - // set the function logic - if (datatype_vvvvwbl == 'CHAR' || datatype_vvvvwbl == 'VARCHAR' || datatype_vvvvwbl == 'DATETIME' || datatype_vvvvwbl == 'DATE' || datatype_vvvvwbl == 'TIME' || datatype_vvvvwbl == 'INT' || datatype_vvvvwbl == 'TINYINT' || datatype_vvvvwbl == 'BIGINT' || datatype_vvvvwbl == 'FLOAT' || datatype_vvvvwbl == 'DECIMAL' || datatype_vvvvwbl == 'DOUBLE') - { - return true; - } - return false; -} - -// the vvvvwbl Some function -function has_defaults_vvvvwbl_SomeFunc(has_defaults_vvvvwbl) -{ - // set the function logic - if (has_defaults_vvvvwbl == 1) + if (has_defaults_vvvvwbk == 1) { return true; } @@ -301,8 +139,20 @@ function has_defaults_vvvvwbl_SomeFunc(has_defaults_vvvvwbl) } // the vvvvwbm function -function vvvvwbm(has_defaults_vvvvwbm,datatype_vvvvwbm) +function vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm) { + if (isSet(datadefault_vvvvwbm) && datadefault_vvvvwbm.constructor !== Array) + { + var temp_vvvvwbm = datadefault_vvvvwbm; + var datadefault_vvvvwbm = []; + datadefault_vvvvwbm.push(temp_vvvvwbm); + } + else if (!isSet(datadefault_vvvvwbm)) + { + var datadefault_vvvvwbm = []; + } + var datadefault = datadefault_vvvvwbm.some(datadefault_vvvvwbm_SomeFunc); + if (isSet(has_defaults_vvvvwbm) && has_defaults_vvvvwbm.constructor !== Array) { var temp_vvvvwbm = has_defaults_vvvvwbm; @@ -315,52 +165,47 @@ function vvvvwbm(has_defaults_vvvvwbm,datatype_vvvvwbm) } var has_defaults = has_defaults_vvvvwbm.some(has_defaults_vvvvwbm_SomeFunc); - if (isSet(datatype_vvvvwbm) && datatype_vvvvwbm.constructor !== Array) - { - var temp_vvvvwbm = datatype_vvvvwbm; - var datatype_vvvvwbm = []; - datatype_vvvvwbm.push(temp_vvvvwbm); - } - else if (!isSet(datatype_vvvvwbm)) - { - var datatype_vvvvwbm = []; - } - var datatype = datatype_vvvvwbm.some(datatype_vvvvwbm_SomeFunc); - // set this function logic - if (has_defaults && datatype) + if (datadefault && has_defaults) { - jQuery('#jform_datadefault').closest('.control-group').show(); - jQuery('#jform_datalenght').closest('.control-group').show(); - jQuery('#jform_indexes').closest('.control-group').show(); - // add required attribute to indexes field - if (jform_vvvvwbmvxo_required) + jQuery('#jform_datadefault_other').closest('.control-group').show(); + // add required attribute to datadefault_other field + if (jform_vvvvwbmvxn_required) { - updateFieldRequired('indexes',0); - jQuery('#jform_indexes').prop('required','required'); - jQuery('#jform_indexes').attr('aria-required',true); - jQuery('#jform_indexes').addClass('required'); - jform_vvvvwbmvxo_required = false; + 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_vvvvwbmvxn_required = false; } } else { - jQuery('#jform_datadefault').closest('.control-group').hide(); - jQuery('#jform_datalenght').closest('.control-group').hide(); - jQuery('#jform_indexes').closest('.control-group').hide(); - // remove required attribute from indexes field - if (!jform_vvvvwbmvxo_required) + jQuery('#jform_datadefault_other').closest('.control-group').hide(); + // remove required attribute from datadefault_other field + if (!jform_vvvvwbmvxn_required) { - updateFieldRequired('indexes',1); - jQuery('#jform_indexes').removeAttr('required'); - jQuery('#jform_indexes').removeAttr('aria-required'); - jQuery('#jform_indexes').removeClass('required'); - jform_vvvvwbmvxo_required = true; + updateFieldRequired('datadefault_other',1); + jQuery('#jform_datadefault_other').removeAttr('required'); + jQuery('#jform_datadefault_other').removeAttr('aria-required'); + jQuery('#jform_datadefault_other').removeClass('required'); + jform_vvvvwbmvxn_required = true; } } } +// the vvvvwbm Some function +function datadefault_vvvvwbm_SomeFunc(datadefault_vvvvwbm) +{ + // set the function logic + if (datadefault_vvvvwbm == 'Other') + { + return true; + } + return false; +} + // the vvvvwbm Some function function has_defaults_vvvvwbm_SomeFunc(has_defaults_vvvvwbm) { @@ -372,90 +217,83 @@ function has_defaults_vvvvwbm_SomeFunc(has_defaults_vvvvwbm) return false; } -// the vvvvwbm Some function -function datatype_vvvvwbm_SomeFunc(datatype_vvvvwbm) +// the vvvvwbo function +function vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo) { - // set the function logic - if (datatype_vvvvwbm == 'CHAR' || datatype_vvvvwbm == 'VARCHAR' || datatype_vvvvwbm == 'DATETIME' || datatype_vvvvwbm == 'DATE' || datatype_vvvvwbm == 'TIME' || datatype_vvvvwbm == 'INT' || datatype_vvvvwbm == 'TINYINT' || datatype_vvvvwbm == 'BIGINT' || datatype_vvvvwbm == 'FLOAT' || datatype_vvvvwbm == 'DECIMAL' || datatype_vvvvwbm == 'DOUBLE') + if (isSet(datatype_vvvvwbo) && datatype_vvvvwbo.constructor !== Array) { - return true; + var temp_vvvvwbo = datatype_vvvvwbo; + var datatype_vvvvwbo = []; + datatype_vvvvwbo.push(temp_vvvvwbo); } - return false; -} + else if (!isSet(datatype_vvvvwbo)) + { + var datatype_vvvvwbo = []; + } + var datatype = datatype_vvvvwbo.some(datatype_vvvvwbo_SomeFunc); -// the vvvvwbn function -function vvvvwbn(datatype_vvvvwbn,has_defaults_vvvvwbn) -{ - if (isSet(datatype_vvvvwbn) && datatype_vvvvwbn.constructor !== Array) + if (isSet(has_defaults_vvvvwbo) && has_defaults_vvvvwbo.constructor !== Array) { - var temp_vvvvwbn = datatype_vvvvwbn; - var datatype_vvvvwbn = []; - datatype_vvvvwbn.push(temp_vvvvwbn); + var temp_vvvvwbo = has_defaults_vvvvwbo; + var has_defaults_vvvvwbo = []; + has_defaults_vvvvwbo.push(temp_vvvvwbo); } - else if (!isSet(datatype_vvvvwbn)) + else if (!isSet(has_defaults_vvvvwbo)) { - var datatype_vvvvwbn = []; + var has_defaults_vvvvwbo = []; } - var datatype = datatype_vvvvwbn.some(datatype_vvvvwbn_SomeFunc); - - if (isSet(has_defaults_vvvvwbn) && has_defaults_vvvvwbn.constructor !== Array) - { - var temp_vvvvwbn = has_defaults_vvvvwbn; - var has_defaults_vvvvwbn = []; - has_defaults_vvvvwbn.push(temp_vvvvwbn); - } - else if (!isSet(has_defaults_vvvvwbn)) - { - var has_defaults_vvvvwbn = []; - } - var has_defaults = has_defaults_vvvvwbn.some(has_defaults_vvvvwbn_SomeFunc); + var has_defaults = has_defaults_vvvvwbo.some(has_defaults_vvvvwbo_SomeFunc); // set this function logic if (datatype && has_defaults) { - jQuery('#jform_store').closest('.control-group').show(); - // add required attribute to store field - if (jform_vvvvwbnvxp_required) + jQuery('#jform_datadefault').closest('.control-group').show(); + jQuery('#jform_datalenght').closest('.control-group').show(); + jQuery('#jform_indexes').closest('.control-group').show(); + // add required attribute to indexes field + if (jform_vvvvwbovxo_required) { - updateFieldRequired('store',0); - jQuery('#jform_store').prop('required','required'); - jQuery('#jform_store').attr('aria-required',true); - jQuery('#jform_store').addClass('required'); - jform_vvvvwbnvxp_required = false; + updateFieldRequired('indexes',0); + jQuery('#jform_indexes').prop('required','required'); + jQuery('#jform_indexes').attr('aria-required',true); + jQuery('#jform_indexes').addClass('required'); + jform_vvvvwbovxo_required = false; } } else { - jQuery('#jform_store').closest('.control-group').hide(); - // remove required attribute from store field - if (!jform_vvvvwbnvxp_required) + jQuery('#jform_datadefault').closest('.control-group').hide(); + jQuery('#jform_datalenght').closest('.control-group').hide(); + jQuery('#jform_indexes').closest('.control-group').hide(); + // remove required attribute from indexes field + if (!jform_vvvvwbovxo_required) { - updateFieldRequired('store',1); - jQuery('#jform_store').removeAttr('required'); - jQuery('#jform_store').removeAttr('aria-required'); - jQuery('#jform_store').removeClass('required'); - jform_vvvvwbnvxp_required = true; + updateFieldRequired('indexes',1); + jQuery('#jform_indexes').removeAttr('required'); + jQuery('#jform_indexes').removeAttr('aria-required'); + jQuery('#jform_indexes').removeClass('required'); + jform_vvvvwbovxo_required = true; } } } -// the vvvvwbn Some function -function datatype_vvvvwbn_SomeFunc(datatype_vvvvwbn) +// the vvvvwbo Some function +function datatype_vvvvwbo_SomeFunc(datatype_vvvvwbo) { // set the function logic - if (datatype_vvvvwbn == 'CHAR' || datatype_vvvvwbn == 'VARCHAR' || datatype_vvvvwbn == 'TEXT' || datatype_vvvvwbn == 'MEDIUMTEXT' || datatype_vvvvwbn == 'LONGTEXT' || datatype_vvvvwbn == 'BLOB' || datatype_vvvvwbn == 'TINYBLOB' || datatype_vvvvwbn == 'MEDIUMBLOB' || datatype_vvvvwbn == 'LONGBLOB') + if (datatype_vvvvwbo == 'CHAR' || datatype_vvvvwbo == 'VARCHAR' || datatype_vvvvwbo == 'DATETIME' || datatype_vvvvwbo == 'DATE' || datatype_vvvvwbo == 'TIME' || datatype_vvvvwbo == 'INT' || datatype_vvvvwbo == 'TINYINT' || datatype_vvvvwbo == 'BIGINT' || datatype_vvvvwbo == 'FLOAT' || datatype_vvvvwbo == 'DECIMAL' || datatype_vvvvwbo == 'DOUBLE') { return true; } return false; } -// the vvvvwbn Some function -function has_defaults_vvvvwbn_SomeFunc(has_defaults_vvvvwbn) +// the vvvvwbo Some function +function has_defaults_vvvvwbo_SomeFunc(has_defaults_vvvvwbo) { // set the function logic - if (has_defaults_vvvvwbn == 1) + if (has_defaults_vvvvwbo == 1) { return true; } @@ -463,19 +301,19 @@ function has_defaults_vvvvwbn_SomeFunc(has_defaults_vvvvwbn) } // the vvvvwbp function -function vvvvwbp(store_vvvvwbp,datatype_vvvvwbp,has_defaults_vvvvwbp) +function vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp) { - if (isSet(store_vvvvwbp) && store_vvvvwbp.constructor !== Array) + if (isSet(has_defaults_vvvvwbp) && has_defaults_vvvvwbp.constructor !== Array) { - var temp_vvvvwbp = store_vvvvwbp; - var store_vvvvwbp = []; - store_vvvvwbp.push(temp_vvvvwbp); + var temp_vvvvwbp = has_defaults_vvvvwbp; + var has_defaults_vvvvwbp = []; + has_defaults_vvvvwbp.push(temp_vvvvwbp); } - else if (!isSet(store_vvvvwbp)) + else if (!isSet(has_defaults_vvvvwbp)) { - var store_vvvvwbp = []; + var has_defaults_vvvvwbp = []; } - var store = store_vvvvwbp.some(store_vvvvwbp_SomeFunc); + var has_defaults = has_defaults_vvvvwbp.some(has_defaults_vvvvwbp_SomeFunc); if (isSet(datatype_vvvvwbp) && datatype_vvvvwbp.constructor !== Array) { @@ -489,52 +327,40 @@ function vvvvwbp(store_vvvvwbp,datatype_vvvvwbp,has_defaults_vvvvwbp) } var datatype = datatype_vvvvwbp.some(datatype_vvvvwbp_SomeFunc); - if (isSet(has_defaults_vvvvwbp) && has_defaults_vvvvwbp.constructor !== Array) - { - var temp_vvvvwbp = has_defaults_vvvvwbp; - var has_defaults_vvvvwbp = []; - has_defaults_vvvvwbp.push(temp_vvvvwbp); - } - else if (!isSet(has_defaults_vvvvwbp)) - { - var has_defaults_vvvvwbp = []; - } - var has_defaults = has_defaults_vvvvwbp.some(has_defaults_vvvvwbp_SomeFunc); - // set this function logic - if (store && datatype && has_defaults) + if (has_defaults && datatype) { - jQuery('.note_whmcs_encryption').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(); + // add required attribute to indexes field + if (jform_vvvvwbpvxp_required) + { + updateFieldRequired('indexes',0); + jQuery('#jform_indexes').prop('required','required'); + jQuery('#jform_indexes').attr('aria-required',true); + jQuery('#jform_indexes').addClass('required'); + jform_vvvvwbpvxp_required = false; + } } else { - jQuery('.note_whmcs_encryption').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(); + // remove required attribute from indexes field + if (!jform_vvvvwbpvxp_required) + { + updateFieldRequired('indexes',1); + jQuery('#jform_indexes').removeAttr('required'); + jQuery('#jform_indexes').removeAttr('aria-required'); + jQuery('#jform_indexes').removeClass('required'); + jform_vvvvwbpvxp_required = true; + } } } -// the vvvvwbp Some function -function store_vvvvwbp_SomeFunc(store_vvvvwbp) -{ - // set the function logic - if (store_vvvvwbp == 4) - { - return true; - } - return false; -} - -// the vvvvwbp Some function -function datatype_vvvvwbp_SomeFunc(datatype_vvvvwbp) -{ - // set the function logic - if (datatype_vvvvwbp == 'CHAR' || datatype_vvvvwbp == 'VARCHAR' || datatype_vvvvwbp == 'TEXT' || datatype_vvvvwbp == 'MEDIUMTEXT' || datatype_vvvvwbp == 'LONGTEXT' || datatype_vvvvwbp == 'BLOB' || datatype_vvvvwbp == 'TINYBLOB' || datatype_vvvvwbp == 'MEDIUMBLOB' || datatype_vvvvwbp == 'LONGBLOB') - { - return true; - } - return false; -} - // the vvvvwbp Some function function has_defaults_vvvvwbp_SomeFunc(has_defaults_vvvvwbp) { @@ -546,8 +372,19 @@ function has_defaults_vvvvwbp_SomeFunc(has_defaults_vvvvwbp) return false; } +// the vvvvwbp Some function +function datatype_vvvvwbp_SomeFunc(datatype_vvvvwbp) +{ + // set the function logic + if (datatype_vvvvwbp == 'CHAR' || datatype_vvvvwbp == 'VARCHAR' || datatype_vvvvwbp == 'DATETIME' || datatype_vvvvwbp == 'DATE' || datatype_vvvvwbp == 'TIME' || datatype_vvvvwbp == 'INT' || datatype_vvvvwbp == 'TINYINT' || datatype_vvvvwbp == 'BIGINT' || datatype_vvvvwbp == 'FLOAT' || datatype_vvvvwbp == 'DECIMAL' || datatype_vvvvwbp == 'DOUBLE') + { + return true; + } + return false; +} + // the vvvvwbq function -function vvvvwbq(datatype_vvvvwbq,store_vvvvwbq,has_defaults_vvvvwbq) +function vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq) { if (isSet(datatype_vvvvwbq) && datatype_vvvvwbq.constructor !== Array) { @@ -561,18 +398,6 @@ function vvvvwbq(datatype_vvvvwbq,store_vvvvwbq,has_defaults_vvvvwbq) } var datatype = datatype_vvvvwbq.some(datatype_vvvvwbq_SomeFunc); - if (isSet(store_vvvvwbq) && store_vvvvwbq.constructor !== Array) - { - var temp_vvvvwbq = store_vvvvwbq; - var store_vvvvwbq = []; - store_vvvvwbq.push(temp_vvvvwbq); - } - else if (!isSet(store_vvvvwbq)) - { - var store_vvvvwbq = []; - } - var store = store_vvvvwbq.some(store_vvvvwbq_SomeFunc); - if (isSet(has_defaults_vvvvwbq) && has_defaults_vvvvwbq.constructor !== Array) { var temp_vvvvwbq = has_defaults_vvvvwbq; @@ -587,13 +412,31 @@ function vvvvwbq(datatype_vvvvwbq,store_vvvvwbq,has_defaults_vvvvwbq) // set this function logic - if (datatype && store && has_defaults) + if (datatype && has_defaults) { - jQuery('.note_whmcs_encryption').closest('.control-group').show(); + jQuery('#jform_store').closest('.control-group').show(); + // add required attribute to store field + if (jform_vvvvwbqvxq_required) + { + updateFieldRequired('store',0); + jQuery('#jform_store').prop('required','required'); + jQuery('#jform_store').attr('aria-required',true); + jQuery('#jform_store').addClass('required'); + jform_vvvvwbqvxq_required = false; + } } else { - jQuery('.note_whmcs_encryption').closest('.control-group').hide(); + jQuery('#jform_store').closest('.control-group').hide(); + // remove required attribute from store field + if (!jform_vvvvwbqvxq_required) + { + updateFieldRequired('store',1); + jQuery('#jform_store').removeAttr('required'); + jQuery('#jform_store').removeAttr('aria-required'); + jQuery('#jform_store').removeClass('required'); + jform_vvvvwbqvxq_required = true; + } } } @@ -608,17 +451,6 @@ function datatype_vvvvwbq_SomeFunc(datatype_vvvvwbq) return false; } -// the vvvvwbq Some function -function store_vvvvwbq_SomeFunc(store_vvvvwbq) -{ - // set the function logic - if (store_vvvvwbq == 4) - { - return true; - } - return false; -} - // the vvvvwbq Some function function has_defaults_vvvvwbq_SomeFunc(has_defaults_vvvvwbq) { @@ -630,44 +462,212 @@ function has_defaults_vvvvwbq_SomeFunc(has_defaults_vvvvwbq) return false; } -// the vvvvwbr function -function vvvvwbr(has_defaults_vvvvwbr,store_vvvvwbr,datatype_vvvvwbr) +// the vvvvwbs function +function vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs) { - if (isSet(has_defaults_vvvvwbr) && has_defaults_vvvvwbr.constructor !== Array) + if (isSet(store_vvvvwbs) && store_vvvvwbs.constructor !== Array) { - var temp_vvvvwbr = has_defaults_vvvvwbr; - var has_defaults_vvvvwbr = []; - has_defaults_vvvvwbr.push(temp_vvvvwbr); + var temp_vvvvwbs = store_vvvvwbs; + var store_vvvvwbs = []; + store_vvvvwbs.push(temp_vvvvwbs); } - else if (!isSet(has_defaults_vvvvwbr)) + else if (!isSet(store_vvvvwbs)) { - var has_defaults_vvvvwbr = []; + var store_vvvvwbs = []; } - var has_defaults = has_defaults_vvvvwbr.some(has_defaults_vvvvwbr_SomeFunc); + var store = store_vvvvwbs.some(store_vvvvwbs_SomeFunc); - if (isSet(store_vvvvwbr) && store_vvvvwbr.constructor !== Array) + if (isSet(datatype_vvvvwbs) && datatype_vvvvwbs.constructor !== Array) { - var temp_vvvvwbr = store_vvvvwbr; - var store_vvvvwbr = []; - store_vvvvwbr.push(temp_vvvvwbr); + var temp_vvvvwbs = datatype_vvvvwbs; + var datatype_vvvvwbs = []; + datatype_vvvvwbs.push(temp_vvvvwbs); } - else if (!isSet(store_vvvvwbr)) + else if (!isSet(datatype_vvvvwbs)) { - var store_vvvvwbr = []; + var datatype_vvvvwbs = []; } - var store = store_vvvvwbr.some(store_vvvvwbr_SomeFunc); + var datatype = datatype_vvvvwbs.some(datatype_vvvvwbs_SomeFunc); - if (isSet(datatype_vvvvwbr) && datatype_vvvvwbr.constructor !== Array) + if (isSet(has_defaults_vvvvwbs) && has_defaults_vvvvwbs.constructor !== Array) { - var temp_vvvvwbr = datatype_vvvvwbr; - var datatype_vvvvwbr = []; - datatype_vvvvwbr.push(temp_vvvvwbr); + var temp_vvvvwbs = has_defaults_vvvvwbs; + var has_defaults_vvvvwbs = []; + has_defaults_vvvvwbs.push(temp_vvvvwbs); } - else if (!isSet(datatype_vvvvwbr)) + else if (!isSet(has_defaults_vvvvwbs)) { - var datatype_vvvvwbr = []; + var has_defaults_vvvvwbs = []; } - var datatype = datatype_vvvvwbr.some(datatype_vvvvwbr_SomeFunc); + var has_defaults = has_defaults_vvvvwbs.some(has_defaults_vvvvwbs_SomeFunc); + + + // set this function logic + if (store && datatype && has_defaults) + { + jQuery('.note_whmcs_encryption').closest('.control-group').show(); + } + else + { + jQuery('.note_whmcs_encryption').closest('.control-group').hide(); + } +} + +// the vvvvwbs Some function +function store_vvvvwbs_SomeFunc(store_vvvvwbs) +{ + // set the function logic + if (store_vvvvwbs == 4) + { + return true; + } + return false; +} + +// the vvvvwbs Some function +function datatype_vvvvwbs_SomeFunc(datatype_vvvvwbs) +{ + // set the function logic + if (datatype_vvvvwbs == 'CHAR' || datatype_vvvvwbs == 'VARCHAR' || datatype_vvvvwbs == 'TEXT' || datatype_vvvvwbs == 'MEDIUMTEXT' || datatype_vvvvwbs == 'LONGTEXT' || datatype_vvvvwbs == 'BLOB' || datatype_vvvvwbs == 'TINYBLOB' || datatype_vvvvwbs == 'MEDIUMBLOB' || datatype_vvvvwbs == 'LONGBLOB') + { + return true; + } + return false; +} + +// the vvvvwbs Some function +function has_defaults_vvvvwbs_SomeFunc(has_defaults_vvvvwbs) +{ + // set the function logic + if (has_defaults_vvvvwbs == 1) + { + return true; + } + return false; +} + +// the vvvvwbt function +function vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt) +{ + if (isSet(datatype_vvvvwbt) && datatype_vvvvwbt.constructor !== Array) + { + var temp_vvvvwbt = datatype_vvvvwbt; + var datatype_vvvvwbt = []; + datatype_vvvvwbt.push(temp_vvvvwbt); + } + else if (!isSet(datatype_vvvvwbt)) + { + var datatype_vvvvwbt = []; + } + var datatype = datatype_vvvvwbt.some(datatype_vvvvwbt_SomeFunc); + + if (isSet(store_vvvvwbt) && store_vvvvwbt.constructor !== Array) + { + var temp_vvvvwbt = store_vvvvwbt; + var store_vvvvwbt = []; + store_vvvvwbt.push(temp_vvvvwbt); + } + else if (!isSet(store_vvvvwbt)) + { + var store_vvvvwbt = []; + } + var store = store_vvvvwbt.some(store_vvvvwbt_SomeFunc); + + if (isSet(has_defaults_vvvvwbt) && has_defaults_vvvvwbt.constructor !== Array) + { + var temp_vvvvwbt = has_defaults_vvvvwbt; + var has_defaults_vvvvwbt = []; + has_defaults_vvvvwbt.push(temp_vvvvwbt); + } + else if (!isSet(has_defaults_vvvvwbt)) + { + var has_defaults_vvvvwbt = []; + } + var has_defaults = has_defaults_vvvvwbt.some(has_defaults_vvvvwbt_SomeFunc); + + + // set this function logic + if (datatype && store && has_defaults) + { + jQuery('.note_whmcs_encryption').closest('.control-group').show(); + } + else + { + jQuery('.note_whmcs_encryption').closest('.control-group').hide(); + } +} + +// the vvvvwbt Some function +function datatype_vvvvwbt_SomeFunc(datatype_vvvvwbt) +{ + // set the function logic + if (datatype_vvvvwbt == 'CHAR' || datatype_vvvvwbt == 'VARCHAR' || datatype_vvvvwbt == 'TEXT' || datatype_vvvvwbt == 'MEDIUMTEXT' || datatype_vvvvwbt == 'LONGTEXT' || datatype_vvvvwbt == 'BLOB' || datatype_vvvvwbt == 'TINYBLOB' || datatype_vvvvwbt == 'MEDIUMBLOB' || datatype_vvvvwbt == 'LONGBLOB') + { + return true; + } + return false; +} + +// the vvvvwbt Some function +function store_vvvvwbt_SomeFunc(store_vvvvwbt) +{ + // set the function logic + if (store_vvvvwbt == 4) + { + return true; + } + return false; +} + +// the vvvvwbt Some function +function has_defaults_vvvvwbt_SomeFunc(has_defaults_vvvvwbt) +{ + // set the function logic + if (has_defaults_vvvvwbt == 1) + { + return true; + } + return false; +} + +// the vvvvwbu function +function vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu) +{ + if (isSet(has_defaults_vvvvwbu) && has_defaults_vvvvwbu.constructor !== Array) + { + var temp_vvvvwbu = has_defaults_vvvvwbu; + var has_defaults_vvvvwbu = []; + has_defaults_vvvvwbu.push(temp_vvvvwbu); + } + else if (!isSet(has_defaults_vvvvwbu)) + { + var has_defaults_vvvvwbu = []; + } + var has_defaults = has_defaults_vvvvwbu.some(has_defaults_vvvvwbu_SomeFunc); + + if (isSet(store_vvvvwbu) && store_vvvvwbu.constructor !== Array) + { + var temp_vvvvwbu = store_vvvvwbu; + var store_vvvvwbu = []; + store_vvvvwbu.push(temp_vvvvwbu); + } + else if (!isSet(store_vvvvwbu)) + { + var store_vvvvwbu = []; + } + var store = store_vvvvwbu.some(store_vvvvwbu_SomeFunc); + + if (isSet(datatype_vvvvwbu) && datatype_vvvvwbu.constructor !== Array) + { + var temp_vvvvwbu = datatype_vvvvwbu; + var datatype_vvvvwbu = []; + datatype_vvvvwbu.push(temp_vvvvwbu); + } + else if (!isSet(datatype_vvvvwbu)) + { + var datatype_vvvvwbu = []; + } + var datatype = datatype_vvvvwbu.some(datatype_vvvvwbu_SomeFunc); // set this function logic @@ -681,87 +681,87 @@ function vvvvwbr(has_defaults_vvvvwbr,store_vvvvwbr,datatype_vvvvwbr) } } -// the vvvvwbr Some function -function has_defaults_vvvvwbr_SomeFunc(has_defaults_vvvvwbr) +// the vvvvwbu Some function +function has_defaults_vvvvwbu_SomeFunc(has_defaults_vvvvwbu) { // set the function logic - if (has_defaults_vvvvwbr == 1) + if (has_defaults_vvvvwbu == 1) { return true; } return false; } -// the vvvvwbr Some function -function store_vvvvwbr_SomeFunc(store_vvvvwbr) +// the vvvvwbu Some function +function store_vvvvwbu_SomeFunc(store_vvvvwbu) { // set the function logic - if (store_vvvvwbr == 4) + if (store_vvvvwbu == 4) { return true; } return false; } -// the vvvvwbr Some function -function datatype_vvvvwbr_SomeFunc(datatype_vvvvwbr) +// the vvvvwbu Some function +function datatype_vvvvwbu_SomeFunc(datatype_vvvvwbu) { // set the function logic - if (datatype_vvvvwbr == 'CHAR' || datatype_vvvvwbr == 'VARCHAR' || datatype_vvvvwbr == 'TEXT' || datatype_vvvvwbr == 'MEDIUMTEXT' || datatype_vvvvwbr == 'LONGTEXT' || datatype_vvvvwbr == 'BLOB' || datatype_vvvvwbr == 'TINYBLOB' || datatype_vvvvwbr == 'MEDIUMBLOB' || datatype_vvvvwbr == 'LONGBLOB') + if (datatype_vvvvwbu == 'CHAR' || datatype_vvvvwbu == 'VARCHAR' || datatype_vvvvwbu == 'TEXT' || datatype_vvvvwbu == 'MEDIUMTEXT' || datatype_vvvvwbu == 'LONGTEXT' || datatype_vvvvwbu == 'BLOB' || datatype_vvvvwbu == 'TINYBLOB' || datatype_vvvvwbu == 'MEDIUMBLOB' || datatype_vvvvwbu == 'LONGBLOB') { return true; } return false; } -// the vvvvwbs function -function vvvvwbs(has_defaults_vvvvwbs) +// the vvvvwbv function +function vvvvwbv(has_defaults_vvvvwbv) { // set the function logic - if (has_defaults_vvvvwbs == 1) + if (has_defaults_vvvvwbv == 1) { jQuery('#jform_datatype').closest('.control-group').show(); // add required attribute to datatype field - if (jform_vvvvwbsvxq_required) + if (jform_vvvvwbvvxr_required) { updateFieldRequired('datatype',0); jQuery('#jform_datatype').prop('required','required'); jQuery('#jform_datatype').attr('aria-required',true); jQuery('#jform_datatype').addClass('required'); - jform_vvvvwbsvxq_required = false; + jform_vvvvwbvvxr_required = false; } jQuery('#jform_null_switch').closest('.control-group').show(); // add required attribute to null_switch field - if (jform_vvvvwbsvxr_required) + if (jform_vvvvwbvvxs_required) { updateFieldRequired('null_switch',0); jQuery('#jform_null_switch').prop('required','required'); jQuery('#jform_null_switch').attr('aria-required',true); jQuery('#jform_null_switch').addClass('required'); - jform_vvvvwbsvxr_required = false; + jform_vvvvwbvvxs_required = false; } } else { jQuery('#jform_datatype').closest('.control-group').hide(); // remove required attribute from datatype field - if (!jform_vvvvwbsvxq_required) + if (!jform_vvvvwbvvxr_required) { updateFieldRequired('datatype',1); jQuery('#jform_datatype').removeAttr('required'); jQuery('#jform_datatype').removeAttr('aria-required'); jQuery('#jform_datatype').removeClass('required'); - jform_vvvvwbsvxq_required = true; + jform_vvvvwbvvxr_required = true; } jQuery('#jform_null_switch').closest('.control-group').hide(); // remove required attribute from null_switch field - if (!jform_vvvvwbsvxr_required) + if (!jform_vvvvwbvvxs_required) { updateFieldRequired('null_switch',1); jQuery('#jform_null_switch').removeAttr('required'); jQuery('#jform_null_switch').removeAttr('aria-required'); jQuery('#jform_null_switch').removeClass('required'); - jform_vvvvwbsvxr_required = true; + jform_vvvvwbvvxs_required = true; } } } diff --git a/admin/models/forms/help_document.js b/admin/models/forms/help_document.js index 70dc34927..78daca80f 100644 --- a/admin/models/forms/help_document.js +++ b/admin/models/forms/help_document.js @@ -9,112 +9,112 @@ */ // Some Global Values -jform_vvvvwcdvyd_required = false; -jform_vvvvwcevye_required = false; -jform_vvvvwcfvyf_required = false; -jform_vvvvwcgvyg_required = false; -jform_vvvvwcivyh_required = false; +jform_vvvvwcgvye_required = false; +jform_vvvvwchvyf_required = false; +jform_vvvvwcivyg_required = false; +jform_vvvvwcjvyh_required = false; +jform_vvvvwclvyi_required = false; // Initial Script jQuery(document).ready(function() { - var location_vvvvwcd = jQuery("#jform_location input[type='radio']:checked").val(); - vvvvwcd(location_vvvvwcd); + var location_vvvvwcg = jQuery("#jform_location input[type='radio']:checked").val(); + vvvvwcg(location_vvvvwcg); - var location_vvvvwce = jQuery("#jform_location input[type='radio']:checked").val(); - vvvvwce(location_vvvvwce); + var location_vvvvwch = jQuery("#jform_location input[type='radio']:checked").val(); + vvvvwch(location_vvvvwch); - var type_vvvvwcf = jQuery("#jform_type").val(); - vvvvwcf(type_vvvvwcf); + var type_vvvvwci = jQuery("#jform_type").val(); + vvvvwci(type_vvvvwci); - var type_vvvvwcg = jQuery("#jform_type").val(); - vvvvwcg(type_vvvvwcg); + var type_vvvvwcj = jQuery("#jform_type").val(); + vvvvwcj(type_vvvvwcj); - var type_vvvvwch = jQuery("#jform_type").val(); - vvvvwch(type_vvvvwch); + var type_vvvvwck = jQuery("#jform_type").val(); + vvvvwck(type_vvvvwck); - var target_vvvvwci = jQuery("#jform_target input[type='radio']:checked").val(); - vvvvwci(target_vvvvwci); + var target_vvvvwcl = jQuery("#jform_target input[type='radio']:checked").val(); + vvvvwcl(target_vvvvwcl); }); -// the vvvvwcd function -function vvvvwcd(location_vvvvwcd) +// the vvvvwcg function +function vvvvwcg(location_vvvvwcg) { // set the function logic - if (location_vvvvwcd == 1) + if (location_vvvvwcg == 1) { jQuery('#jform_admin_view').closest('.control-group').show(); // add required attribute to admin_view field - if (jform_vvvvwcdvyd_required) + if (jform_vvvvwcgvye_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_vvvvwcdvyd_required = false; + jform_vvvvwcgvye_required = false; } } else { jQuery('#jform_admin_view').closest('.control-group').hide(); // remove required attribute from admin_view field - if (!jform_vvvvwcdvyd_required) + if (!jform_vvvvwcgvye_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_vvvvwcdvyd_required = true; + jform_vvvvwcgvye_required = true; } } } -// the vvvvwce function -function vvvvwce(location_vvvvwce) +// the vvvvwch function +function vvvvwch(location_vvvvwch) { // set the function logic - if (location_vvvvwce == 2) + if (location_vvvvwch == 2) { jQuery('#jform_site_view').closest('.control-group').show(); // add required attribute to site_view field - if (jform_vvvvwcevye_required) + if (jform_vvvvwchvyf_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_vvvvwcevye_required = false; + jform_vvvvwchvyf_required = false; } } else { jQuery('#jform_site_view').closest('.control-group').hide(); // remove required attribute from site_view field - if (!jform_vvvvwcevye_required) + if (!jform_vvvvwchvyf_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_vvvvwcevye_required = true; + jform_vvvvwchvyf_required = true; } } } -// the vvvvwcf function -function vvvvwcf(type_vvvvwcf) +// the vvvvwci function +function vvvvwci(type_vvvvwci) { - if (isSet(type_vvvvwcf) && type_vvvvwcf.constructor !== Array) + if (isSet(type_vvvvwci) && type_vvvvwci.constructor !== Array) { - var temp_vvvvwcf = type_vvvvwcf; - var type_vvvvwcf = []; - type_vvvvwcf.push(temp_vvvvwcf); + var temp_vvvvwci = type_vvvvwci; + var type_vvvvwci = []; + type_vvvvwci.push(temp_vvvvwci); } - else if (!isSet(type_vvvvwcf)) + else if (!isSet(type_vvvvwci)) { - var type_vvvvwcf = []; + var type_vvvvwci = []; } - var type = type_vvvvwcf.some(type_vvvvwcf_SomeFunc); + var type = type_vvvvwci.some(type_vvvvwci_SomeFunc); // set this function logic @@ -122,55 +122,55 @@ function vvvvwcf(type_vvvvwcf) { jQuery('#jform_url').closest('.control-group').show(); // add required attribute to url field - if (jform_vvvvwcfvyf_required) + if (jform_vvvvwcivyg_required) { updateFieldRequired('url',0); jQuery('#jform_url').prop('required','required'); jQuery('#jform_url').attr('aria-required',true); jQuery('#jform_url').addClass('required'); - jform_vvvvwcfvyf_required = false; + jform_vvvvwcivyg_required = false; } } else { jQuery('#jform_url').closest('.control-group').hide(); // remove required attribute from url field - if (!jform_vvvvwcfvyf_required) + if (!jform_vvvvwcivyg_required) { updateFieldRequired('url',1); jQuery('#jform_url').removeAttr('required'); jQuery('#jform_url').removeAttr('aria-required'); jQuery('#jform_url').removeClass('required'); - jform_vvvvwcfvyf_required = true; + jform_vvvvwcivyg_required = true; } } } -// the vvvvwcf Some function -function type_vvvvwcf_SomeFunc(type_vvvvwcf) +// the vvvvwci Some function +function type_vvvvwci_SomeFunc(type_vvvvwci) { // set the function logic - if (type_vvvvwcf == 3) + if (type_vvvvwci == 3) { return true; } return false; } -// the vvvvwcg function -function vvvvwcg(type_vvvvwcg) +// the vvvvwcj function +function vvvvwcj(type_vvvvwcj) { - if (isSet(type_vvvvwcg) && type_vvvvwcg.constructor !== Array) + if (isSet(type_vvvvwcj) && type_vvvvwcj.constructor !== Array) { - var temp_vvvvwcg = type_vvvvwcg; - var type_vvvvwcg = []; - type_vvvvwcg.push(temp_vvvvwcg); + var temp_vvvvwcj = type_vvvvwcj; + var type_vvvvwcj = []; + type_vvvvwcj.push(temp_vvvvwcj); } - else if (!isSet(type_vvvvwcg)) + else if (!isSet(type_vvvvwcj)) { - var type_vvvvwcg = []; + var type_vvvvwcj = []; } - var type = type_vvvvwcg.some(type_vvvvwcg_SomeFunc); + var type = type_vvvvwcj.some(type_vvvvwcj_SomeFunc); // set this function logic @@ -178,55 +178,55 @@ function vvvvwcg(type_vvvvwcg) { jQuery('#jform_article').closest('.control-group').show(); // add required attribute to article field - if (jform_vvvvwcgvyg_required) + if (jform_vvvvwcjvyh_required) { updateFieldRequired('article',0); jQuery('#jform_article').prop('required','required'); jQuery('#jform_article').attr('aria-required',true); jQuery('#jform_article').addClass('required'); - jform_vvvvwcgvyg_required = false; + jform_vvvvwcjvyh_required = false; } } else { jQuery('#jform_article').closest('.control-group').hide(); // remove required attribute from article field - if (!jform_vvvvwcgvyg_required) + if (!jform_vvvvwcjvyh_required) { updateFieldRequired('article',1); jQuery('#jform_article').removeAttr('required'); jQuery('#jform_article').removeAttr('aria-required'); jQuery('#jform_article').removeClass('required'); - jform_vvvvwcgvyg_required = true; + jform_vvvvwcjvyh_required = true; } } } -// the vvvvwcg Some function -function type_vvvvwcg_SomeFunc(type_vvvvwcg) +// the vvvvwcj Some function +function type_vvvvwcj_SomeFunc(type_vvvvwcj) { // set the function logic - if (type_vvvvwcg == 1) + if (type_vvvvwcj == 1) { return true; } return false; } -// the vvvvwch function -function vvvvwch(type_vvvvwch) +// the vvvvwck function +function vvvvwck(type_vvvvwck) { - if (isSet(type_vvvvwch) && type_vvvvwch.constructor !== Array) + if (isSet(type_vvvvwck) && type_vvvvwck.constructor !== Array) { - var temp_vvvvwch = type_vvvvwch; - var type_vvvvwch = []; - type_vvvvwch.push(temp_vvvvwch); + var temp_vvvvwck = type_vvvvwck; + var type_vvvvwck = []; + type_vvvvwck.push(temp_vvvvwck); } - else if (!isSet(type_vvvvwch)) + else if (!isSet(type_vvvvwck)) { - var type_vvvvwch = []; + var type_vvvvwck = []; } - var type = type_vvvvwch.some(type_vvvvwch_SomeFunc); + var type = type_vvvvwck.some(type_vvvvwck_SomeFunc); // set this function logic @@ -240,45 +240,45 @@ function vvvvwch(type_vvvvwch) } } -// the vvvvwch Some function -function type_vvvvwch_SomeFunc(type_vvvvwch) +// the vvvvwck Some function +function type_vvvvwck_SomeFunc(type_vvvvwck) { // set the function logic - if (type_vvvvwch == 2) + if (type_vvvvwck == 2) { return true; } return false; } -// the vvvvwci function -function vvvvwci(target_vvvvwci) +// the vvvvwcl function +function vvvvwcl(target_vvvvwcl) { // set the function logic - if (target_vvvvwci == 1) + if (target_vvvvwcl == 1) { jQuery('#jform_groups').closest('.control-group').show(); // add required attribute to groups field - if (jform_vvvvwcivyh_required) + if (jform_vvvvwclvyi_required) { updateFieldRequired('groups',0); jQuery('#jform_groups').prop('required','required'); jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_groups').addClass('required'); - jform_vvvvwcivyh_required = false; + jform_vvvvwclvyi_required = false; } } else { jQuery('#jform_groups').closest('.control-group').hide(); // remove required attribute from groups field - if (!jform_vvvvwcivyh_required) + if (!jform_vvvvwclvyi_required) { updateFieldRequired('groups',1); jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeClass('required'); - jform_vvvvwcivyh_required = true; + jform_vvvvwclvyi_required = true; } } } diff --git a/admin/models/forms/joomla_plugin.js b/admin/models/forms/joomla_plugin.js index 3ede6f498..b1af96344 100644 --- a/admin/models/forms/joomla_plugin.js +++ b/admin/models/forms/joomla_plugin.js @@ -8,6 +8,9 @@ * @license GNU General Public License version 2 or later; see LICENSE.txt */ +// Some Global Values +jform_vvvvvxevwd_required = false; + // Initial Script jQuery(document).ready(function() { @@ -18,6 +21,13 @@ jQuery(document).ready(function() var joomla_plugin_group_vvvvvxc = jQuery("#jform_joomla_plugin_group").val(); var class_extends_vvvvvxc = jQuery("#jform_class_extends").val(); vvvvvxc(joomla_plugin_group_vvvvvxc,class_extends_vvvvvxc); + + var class_extends_vvvvvxd = jQuery("#jform_class_extends").val(); + vvvvvxd(class_extends_vvvvvxd); + + var add_head_vvvvvxe = jQuery("#jform_add_head input[type='radio']:checked").val(); + var class_extends_vvvvvxe = jQuery("#jform_class_extends").val(); + vvvvvxe(add_head_vvvvvxe,class_extends_vvvvvxe); }); // the vvvvvxb function @@ -150,6 +160,150 @@ function class_extends_vvvvvxc_SomeFunc(class_extends_vvvvvxc) return false; } +// the vvvvvxd function +function vvvvvxd(class_extends_vvvvvxd) +{ + if (isSet(class_extends_vvvvvxd) && class_extends_vvvvvxd.constructor !== Array) + { + var temp_vvvvvxd = class_extends_vvvvvxd; + var class_extends_vvvvvxd = []; + class_extends_vvvvvxd.push(temp_vvvvvxd); + } + else if (!isSet(class_extends_vvvvvxd)) + { + var class_extends_vvvvvxd = []; + } + var class_extends = class_extends_vvvvvxd.some(class_extends_vvvvvxd_SomeFunc); + + + // set this function logic + if (class_extends) + { + jQuery('#jform_add_head').closest('.control-group').show(); + } + else + { + jQuery('#jform_add_head').closest('.control-group').hide(); + } +} + +// the vvvvvxd Some function +function class_extends_vvvvvxd_SomeFunc(class_extends_vvvvvxd) +{ + // set the function logic + if (isSet(class_extends_vvvvvxd)) + { + return true; + } + return false; +} + +// the vvvvvxe function +function vvvvvxe(add_head_vvvvvxe,class_extends_vvvvvxe) +{ + if (isSet(add_head_vvvvvxe) && add_head_vvvvvxe.constructor !== Array) + { + var temp_vvvvvxe = add_head_vvvvvxe; + var add_head_vvvvvxe = []; + add_head_vvvvvxe.push(temp_vvvvvxe); + } + else if (!isSet(add_head_vvvvvxe)) + { + var add_head_vvvvvxe = []; + } + var add_head = add_head_vvvvvxe.some(add_head_vvvvvxe_SomeFunc); + + if (isSet(class_extends_vvvvvxe) && class_extends_vvvvvxe.constructor !== Array) + { + var temp_vvvvvxe = class_extends_vvvvvxe; + var class_extends_vvvvvxe = []; + class_extends_vvvvvxe.push(temp_vvvvvxe); + } + else if (!isSet(class_extends_vvvvvxe)) + { + var class_extends_vvvvvxe = []; + } + var class_extends = class_extends_vvvvvxe.some(class_extends_vvvvvxe_SomeFunc); + + + // set this function logic + if (add_head && class_extends) + { + jQuery('#jform_head-lbl').closest('.control-group').show(); + // add required attribute to head field + if (jform_vvvvvxevwd_required) + { + updateFieldRequired('head',0); + jQuery('#jform_head').prop('required','required'); + jQuery('#jform_head').attr('aria-required',true); + jQuery('#jform_head').addClass('required'); + jform_vvvvvxevwd_required = false; + } + } + else + { + jQuery('#jform_head-lbl').closest('.control-group').hide(); + // remove required attribute from head field + if (!jform_vvvvvxevwd_required) + { + updateFieldRequired('head',1); + jQuery('#jform_head').removeAttr('required'); + jQuery('#jform_head').removeAttr('aria-required'); + jQuery('#jform_head').removeClass('required'); + jform_vvvvvxevwd_required = true; + } + } +} + +// the vvvvvxe Some function +function add_head_vvvvvxe_SomeFunc(add_head_vvvvvxe) +{ + // set the function logic + if (add_head_vvvvvxe == 1) + { + return true; + } + return false; +} + +// the vvvvvxe Some function +function class_extends_vvvvvxe_SomeFunc(class_extends_vvvvvxe) +{ + // set the function logic + if (isSet(class_extends_vvvvvxe)) + { + return true; + } + return false; +} + +// update required fields +function updateFieldRequired(name,status) +{ + var not_required = jQuery('#jform_not_required').val(); + + if(status == 1) + { + if (isSet(not_required) && not_required != 0) + { + not_required = not_required+','+name; + } + else + { + not_required = ','+name; + } + } + else + { + if (isSet(not_required) && not_required != 0) + { + not_required = not_required.replace(','+name,''); + } + } + + jQuery('#jform_not_required').val(not_required); +} + // the isSet function function isSet(val) { @@ -165,15 +319,8 @@ jQuery(document).ready(function() // get the linked details getLinked(); // load the active array values - buildSelectionArray('property'); - buildSelectionArray('method'); - // set joomla_plugin_group Array - selectionArray['joomla_plugin_group'] = {}; - jQuery("#jform_joomla_plugin_group option").each(function() { - var key = jQuery(this).val(); - var text = jQuery(this).text(); - selectionArray['joomla_plugin_group'][key] = text; - }); + buildSelectionMemory('property'); + buildSelectionMemory('method'); // load the active selection array values getClassCodeIds('joomla_plugin_group', 'jform_class_extends', false); getClassCodeIds('property', 'jform_joomla_plugin_group', false); @@ -184,6 +331,23 @@ jQuery(document).ready(function() rowWatcher(); }); +// set selection the options +selectionMemory = {'property':{},'method':{}}; +selectionActiveArray = {'property':{},'method':{}}; +selectedIdRemoved = {'property':'not','method':'not'}; + +function buildSelectionMemory(type) { + var i; + for (i = 0; i < 70; i++) { + // build ID + var id_check = 'jform_'+type+'_selection'+'__'+type+'_selection'+i+'__'+type; + // set memory + if (jQuery("#"+id_check).length) { + selectionMemory[type][id_check] = jQuery("#"+id_check+" option:selected").val(); + } + } +} + function getClassStuff_server(id, type, callingName){ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax."+callingName+"&format=json&raw=true"); if(token.length > 0 && id > 0 && type.length > 0){ @@ -198,6 +362,30 @@ function getClassStuff_server(id, type, callingName){ }); } +function getClassHeaderCode(){ + // now get the values + var value = jQuery("#jform_class_extends option:selected").val(); + var add_value = jQuery("#jform_add_head input[type='radio']:checked").val(); + if (add_value == 1 && value > 0){ + // we first check local memory + var _result = jQuery.jStorage.get('extends_header_'+value, null); + if (_result) { + // now set the code + addCodeToEditor(_result, "jform_head", false); + } else { + // now get the code + getClassStuff_server(value, 'extends', 'getClassHeaderCode').done(function(result) { + if(result){ + // now set the code + addCodeToEditor(result, "jform_head", false); + // add result to local memory + jQuery.jStorage.set('extends_header_'+value, result, {TTL: expire}); + } + }); + } + } +} + function getClassCodeIds(type, target_field, reset_all){ // now get the value var value = jQuery('#'+target_field).val(); @@ -207,7 +395,7 @@ function getClassCodeIds(type, target_field, reset_all){ // reset the selection selectionActiveArray[type] = {}; // update the active array - jQuery.each( result, function(i, prop) { + jQuery.each(result, function(i, prop) { selectionActiveArray[type][prop] = selectionArray[type][prop]; }); // update the active field selection @@ -276,6 +464,7 @@ function resetAll(type) { } } Joomla.editors.instances['jform_main_class_code'].setValue(''); + selectionMemory = {'property':{},'method':{}}; } function getClassCode(field, type){ @@ -283,6 +472,31 @@ function getClassCode(field, type){ var id = jQuery(field).attr('id'); // now get the value var value = jQuery('#' + id).val(); + // check if we have a memory for this field, if true remove code of old selection and clear memory + if (selectionMemory[type].hasOwnProperty(id) && selectionMemory[type][id] > 0) { + // the old id to remove + var old_value = selectionMemory[type][id]; + // remove the code // we first check local memory + var _result = jQuery.jStorage.get('code_4_'+type+'_'+old_value, null); + if (_result) { + // now remove the code + if (removeCodeFromEditor(_result)) { + selectionMemory[type][id] = 0; + } + } else { + // now get the code + getClassStuff_server(old_value, type, 'getClassCode').done(function(result) { + if(result){ + // now remove the code + if (removeCodeFromEditor(result)) { + selectionMemory[type][id] = 0; + } + // add result to local memory + jQuery.jStorage.set('code_4_'+type+'_'+old_value, result, {TTL: expire}); + } + }); + } + } if (propertyIsSet(value, id, type)) { // reset the selection jQuery('#'+id).val(''); @@ -294,69 +508,81 @@ function getClassCode(field, type){ selectedIdRemoved[type] = id; // do a dynamic update (to remove what was already used) selectionDynamicUpdate(type); - // now get the code - getClassStuff_server(value, type, 'getClassCode').done(function(result) { - if(result){ - if (Joomla.editors.instances.hasOwnProperty("jform_main_class_code")) { - var old_result = Joomla.editors.instances['jform_main_class_code'].getValue(); - if (old_result.length > 0) { - // make sure not to load the same string twice - if (old_result.indexOf(result) !== -1) { - // reset the selection - jQuery('#'+id).val(''); - jQuery('#'+id).trigger("liszt:updated"); - // give out a notice - jQuery.UIkit.notify({message: Joomla.JText._('COM_COMPONENTBUILDER_ALREADY_SELECTED_TRY_ANOTHER'), timeout: 5000, status: 'warning', pos: 'top-center'}); - } else { - Joomla.editors.instances['jform_main_class_code'].setValue(old_result + "\n\n" + result); - } - } else { - Joomla.editors.instances['jform_main_class_code'].setValue(result); - } - } else { - var old_result = jQuery('textarea#jform_main_class_code').val(); - if (old_result.length > 0) { - // make sure not to load the same string twice - if (old_result.indexOf(result) !== -1) { - // reset the selection - jQuery('#'+id).val(''); - jQuery('#'+id).trigger("liszt:updated"); - // give out a notice - jQuery.UIkit.notify({message: Joomla.JText._('COM_COMPONENTBUILDER_ALREADY_SELECTED_TRY_ANOTHER'), timeout: 5000, status: 'warning', pos: 'top-center'}); - } else { - jQuery('textarea#jform_main_class_code').val(old_result + "\n\n" + result); - } - } else { - jQuery('textarea#jform_main_class_code').val(result); - } - } + // we first check local memory + var _result = jQuery.jStorage.get('code_4_'+type+'_'+value, null); + if (_result) { + // now set the code + if (addCodeToEditor(_result, "jform_main_class_code", true)) { + selectionMemory[type][id] = value; } - }); + } else { + // now get the code + getClassStuff_server(value, type, 'getClassCode').done(function(result) { + if(result){ + // now set the code + if (addCodeToEditor(result, "jform_main_class_code", true)) { + selectionMemory[type][id] = value; + } + // add result to local memory + jQuery.jStorage.set('code_4_'+type+'_'+value, result, {TTL: expire}); + } + }); + } } } -// set selection the options -selectionArray = {'property':{},'method':{}}; -selectionActiveArray = {'property':{},'method':{}}; -selectedIdRemoved = {'property':'not','method':'not'}; -justonce = {'property':1,'method':1}; - -function buildSelectionArray(type) { - var i; - for (i = 0; i < 10; i++) { - // build ID - var id_check = 'jform_'+type+'_selection'+'__'+type+'_selection'+i+'__'+type; - // first check if Id is on page as that not the same as the one currently calling - if (justonce[type] == 1 && jQuery("#"+id_check).length) { - // set buckets - jQuery("#"+id_check+" option").each(function() { - var key = jQuery(this).val(); - var text = jQuery(this).text(); - selectionArray[type][key] = text; - }); - justonce[type]++; +function addCodeToEditor(code_string, editor_id, merge){ + if (Joomla.editors.instances.hasOwnProperty(editor_id)) { + var old_code_string = Joomla.editors.instances[editor_id].getValue(); + if (merge && old_code_string.length > 0) { + // make sure not to load the same string twice + if (old_code_string.indexOf(code_string) == -1) { + Joomla.editors.instances[editor_id].setValue(old_code_string + "\n\n" + code_string); + return true; + } + } else { + Joomla.editors.instances[editor_id].setValue(code_string); + return true; + } + } else { + var old_code_string = jQuery('textarea#'+editor_id).val(); + if (merge && old_code_string.length > 0) { + // make sure not to load the same string twice + if (old_code_string.indexOf(code_string) == -1) { + jQuery('textarea#'+editor_id).val(old_code_string + "\n\n" + code_string); + return true; + } + } else { + jQuery('textarea#'+editor_id).val(code_string); + return true; } } + return false; +} + +function removeCodeFromEditor(code_string){ + if (Joomla.editors.instances.hasOwnProperty("jform_main_class_code")) { + var old_code_string = Joomla.editors.instances['jform_main_class_code'].getValue(); + if (old_code_string.length > 0) { + // make sure not to load the same string twice + if (old_code_string.indexOf(code_string) !== -1) { + // remove the code + Joomla.editors.instances['jform_main_class_code'].setValue(old_code_string.replace(code_string+"\n\n",'').replace("\n\n"+code_string,'').replace(code_string,'')); + return true; + } + } + } else { + var old_code_string = jQuery('textarea#jform_main_class_code').val(); + if (old_code_string.length > 0) { + // make sure not to load the same string twice + if (old_code_string.indexOf(code_string) !== -1) { + // remove the code + jQuery('textarea#jform_main_class_code').val(old_code_string.replace(code_string+"\n\n",'').replace("\n\n"+code_string,'').replace(code_string,'')); + return true; + } + } + } + return false; } function selectionDynamicUpdate(type) { @@ -379,8 +605,6 @@ function selectionDynamicUpdate(type) { jQuery("#"+id_check).find('option').remove().end(); } } - // trigger chosen on the list fields - // jQuery('.'+type+'_selection_list').chosen({"disable_search_threshold":10,"search_contains":true,"allow_single_deselect":true,"placeholder_text_multiple":Joomla.JText._("COM_COMPONENTBUILDER_TYPE_OR_SELECT_SOME_OPTIONS"),"placeholder_text_single":Joomla.JText._("COM_COMPONENTBUILDER_SELECT_A_PROPERTY"),"no_results_text":Joomla.JText._("COM_COMPONENTBUILDER_NO_RESULTS_MATCH")}); // now build the list to keep jQuery.each( selectionActiveArray[type], function( prop, name ) { if (!selectionSelectedArray.hasOwnProperty(prop)) { @@ -416,29 +640,28 @@ function rowWatcher() { selectionDynamicUpdate(type_call); // also remove from code var valid_value = jQuery(row.innerHTML).find('#' + valid_call + ' option:selected').val(); - getClassStuff_server(valid_value, type_call, 'getClassCode').done(function(result) { - if(result){ - if (Joomla.editors.instances.hasOwnProperty("jform_main_class_code")) { - var old_result = Joomla.editors.instances['jform_main_class_code'].getValue(); - if (old_result.length > 0) { - // make sure not to load the same string twice - if (old_result.indexOf(result) !== -1) { - // remove the code - Joomla.editors.instances['jform_main_class_code'].setValue(old_result.replace(result+"\n\n",'').replace("\n\n"+result,'').replace(result,'')); - } - } - } else { - var old_result = jQuery('textarea#jform_main_class_code').val(); - if (old_result.length > 0) { - // make sure not to load the same string twice - if (old_result.indexOf(result) !== -1) { - // remove the code - jQuery('textarea#jform_main_class_code').val(old_result.replace(result+"\n\n",'').replace("\n\n"+result,'').replace(result,'')); - } - } - } + if (valid_value === '') { + valid_value = selectionMemory[type_call][valid_call]; + } + // remove the code // we first check local memory + var _result = jQuery.jStorage.get('code_4_'+type_call+'_'+valid_value, null); + if (_result) { + // now remove the code + if (removeCodeFromEditor(_result)) { + selectionMemory[type_call][valid_call] = 0; } - }); + } else { + // now get the code + getClassStuff_server(valid_value, type_call, 'getClassCode').done(function(result) { + if(result){ + if (removeCodeFromEditor(result)) { + selectionMemory[type_call][valid_call] = 0;; + } + // add result to local memory + jQuery.jStorage.set('code_4_'+type_call+'_'+valid_value, result, {TTL: expire}); + } + }); + } } }); jQuery(document).on('subform-row-add', function(event, row){ diff --git a/admin/models/forms/joomla_plugin.xml b/admin/models/forms/joomla_plugin.xml index faa14c014..e36c0067d 100644 --- a/admin/models/forms/joomla_plugin.xml +++ b/admin/models/forms/joomla_plugin.xml @@ -85,21 +85,19 @@ filter="unset" /> - + + + + + + + + + + + diff --git a/admin/models/forms/layout.js b/admin/models/forms/layout.js index f676d5719..e9704ab08 100644 --- a/admin/models/forms/layout.js +++ b/admin/models/forms/layout.js @@ -11,15 +11,15 @@ // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvzh = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvzh(add_php_view_vvvvvzh); + var add_php_view_vvvvvzk = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvzk(add_php_view_vvvvvzk); }); -// the vvvvvzh function -function vvvvvzh(add_php_view_vvvvvzh) +// the vvvvvzk function +function vvvvvzk(add_php_view_vvvvvzk) { // set the function logic - if (add_php_view_vvvvvzh == 1) + if (add_php_view_vvvvvzk == 1) { jQuery('#jform_php_view-lbl').closest('.control-group').show(); } diff --git a/admin/models/forms/library.js b/admin/models/forms/library.js index 653d0d802..a7cf65e70 100644 --- a/admin/models/forms/library.js +++ b/admin/models/forms/library.js @@ -9,21 +9,12 @@ */ // Some Global Values -jform_vvvvwaqvxf_required = false; -jform_vvvvwawvxg_required = false; +jform_vvvvwatvxg_required = false; +jform_vvvvwazvxh_required = false; // Initial Script jQuery(document).ready(function() { - var how_vvvvwap = jQuery("#jform_how").val(); - vvvvwap(how_vvvvwap); - - var how_vvvvwaq = jQuery("#jform_how").val(); - vvvvwaq(how_vvvvwaq); - - var how_vvvvwar = jQuery("#jform_how").val(); - vvvvwar(how_vvvvwar); - var how_vvvvwas = jQuery("#jform_how").val(); vvvvwas(how_vvvvwas); @@ -36,142 +27,19 @@ jQuery(document).ready(function() var how_vvvvwav = jQuery("#jform_how").val(); vvvvwav(how_vvvvwav); - var type_vvvvwaw = jQuery("#jform_type input[type='radio']:checked").val(); - vvvvwaw(type_vvvvwaw); + var how_vvvvwaw = jQuery("#jform_how").val(); + vvvvwaw(how_vvvvwaw); + + var how_vvvvwax = jQuery("#jform_how").val(); + vvvvwax(how_vvvvwax); + + var how_vvvvway = jQuery("#jform_how").val(); + vvvvway(how_vvvvway); + + var type_vvvvwaz = jQuery("#jform_type input[type='radio']:checked").val(); + vvvvwaz(type_vvvvwaz); }); -// the vvvvwap function -function vvvvwap(how_vvvvwap) -{ - if (isSet(how_vvvvwap) && how_vvvvwap.constructor !== Array) - { - var temp_vvvvwap = how_vvvvwap; - var how_vvvvwap = []; - how_vvvvwap.push(temp_vvvvwap); - } - else if (!isSet(how_vvvvwap)) - { - var how_vvvvwap = []; - } - var how = how_vvvvwap.some(how_vvvvwap_SomeFunc); - - - // set this function logic - if (how) - { - jQuery('#jform_addconditions-lbl').closest('.control-group').show(); - } - else - { - jQuery('#jform_addconditions-lbl').closest('.control-group').hide(); - } -} - -// the vvvvwap Some function -function how_vvvvwap_SomeFunc(how_vvvvwap) -{ - // set the function logic - if (how_vvvvwap == 2) - { - return true; - } - return false; -} - -// the vvvvwaq function -function vvvvwaq(how_vvvvwaq) -{ - if (isSet(how_vvvvwaq) && how_vvvvwaq.constructor !== Array) - { - var temp_vvvvwaq = how_vvvvwaq; - var how_vvvvwaq = []; - how_vvvvwaq.push(temp_vvvvwaq); - } - else if (!isSet(how_vvvvwaq)) - { - var how_vvvvwaq = []; - } - var how = how_vvvvwaq.some(how_vvvvwaq_SomeFunc); - - - // set this function logic - if (how) - { - jQuery('#jform_php_setdocument').closest('.control-group').show(); - // add required attribute to php_setdocument field - if (jform_vvvvwaqvxf_required) - { - updateFieldRequired('php_setdocument',0); - jQuery('#jform_php_setdocument').prop('required','required'); - jQuery('#jform_php_setdocument').attr('aria-required',true); - jQuery('#jform_php_setdocument').addClass('required'); - jform_vvvvwaqvxf_required = false; - } - } - else - { - jQuery('#jform_php_setdocument').closest('.control-group').hide(); - // remove required attribute from php_setdocument field - if (!jform_vvvvwaqvxf_required) - { - updateFieldRequired('php_setdocument',1); - jQuery('#jform_php_setdocument').removeAttr('required'); - jQuery('#jform_php_setdocument').removeAttr('aria-required'); - jQuery('#jform_php_setdocument').removeClass('required'); - jform_vvvvwaqvxf_required = true; - } - } -} - -// the vvvvwaq Some function -function how_vvvvwaq_SomeFunc(how_vvvvwaq) -{ - // set the function logic - if (how_vvvvwaq == 3) - { - return true; - } - return false; -} - -// the vvvvwar function -function vvvvwar(how_vvvvwar) -{ - if (isSet(how_vvvvwar) && how_vvvvwar.constructor !== Array) - { - var temp_vvvvwar = how_vvvvwar; - var how_vvvvwar = []; - how_vvvvwar.push(temp_vvvvwar); - } - else if (!isSet(how_vvvvwar)) - { - var how_vvvvwar = []; - } - var how = how_vvvvwar.some(how_vvvvwar_SomeFunc); - - - // set this function logic - if (how) - { - jQuery('.note_display_library_config').closest('.control-group').show(); - } - else - { - jQuery('.note_display_library_config').closest('.control-group').hide(); - } -} - -// the vvvvwar Some function -function how_vvvvwar_SomeFunc(how_vvvvwar) -{ - // set the function logic - if (how_vvvvwar == 2 || how_vvvvwar == 3) - { - return true; - } - return false; -} - // the vvvvwas function function vvvvwas(how_vvvvwas) { @@ -191,11 +59,11 @@ function vvvvwas(how_vvvvwas) // set this function logic if (how) { - jQuery('.note_display_library_files_folders_urls').closest('.control-group').show(); + jQuery('#jform_addconditions-lbl').closest('.control-group').show(); } else { - jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide(); + jQuery('#jform_addconditions-lbl').closest('.control-group').hide(); } } @@ -203,7 +71,7 @@ function vvvvwas(how_vvvvwas) function how_vvvvwas_SomeFunc(how_vvvvwas) { // set the function logic - if (how_vvvvwas == 1 || how_vvvvwas == 2 || how_vvvvwas == 3) + if (how_vvvvwas == 2) { return true; } @@ -229,15 +97,29 @@ function vvvvwat(how_vvvvwat) // set this function logic if (how) { - jQuery('.note_no_behaviour_one').closest('.control-group').show(); - jQuery('.note_no_behaviour_three').closest('.control-group').show(); - jQuery('.note_no_behaviour_two').closest('.control-group').show(); + jQuery('#jform_php_setdocument').closest('.control-group').show(); + // add required attribute to php_setdocument field + if (jform_vvvvwatvxg_required) + { + updateFieldRequired('php_setdocument',0); + jQuery('#jform_php_setdocument').prop('required','required'); + jQuery('#jform_php_setdocument').attr('aria-required',true); + jQuery('#jform_php_setdocument').addClass('required'); + jform_vvvvwatvxg_required = false; + } } else { - jQuery('.note_no_behaviour_one').closest('.control-group').hide(); - jQuery('.note_no_behaviour_three').closest('.control-group').hide(); - jQuery('.note_no_behaviour_two').closest('.control-group').hide(); + jQuery('#jform_php_setdocument').closest('.control-group').hide(); + // remove required attribute from php_setdocument field + if (!jform_vvvvwatvxg_required) + { + updateFieldRequired('php_setdocument',1); + jQuery('#jform_php_setdocument').removeAttr('required'); + jQuery('#jform_php_setdocument').removeAttr('aria-required'); + jQuery('#jform_php_setdocument').removeClass('required'); + jform_vvvvwatvxg_required = true; + } } } @@ -245,7 +127,7 @@ function vvvvwat(how_vvvvwat) function how_vvvvwat_SomeFunc(how_vvvvwat) { // set the function logic - if (how_vvvvwat == 0) + if (how_vvvvwat == 3) { return true; } @@ -271,13 +153,11 @@ function vvvvwau(how_vvvvwau) // set this function logic if (how) { - jQuery('.note_yes_behaviour_one').closest('.control-group').show(); - jQuery('.note_yes_behaviour_two').closest('.control-group').show(); + jQuery('.note_display_library_config').closest('.control-group').show(); } else { - jQuery('.note_yes_behaviour_one').closest('.control-group').hide(); - jQuery('.note_yes_behaviour_two').closest('.control-group').hide(); + jQuery('.note_display_library_config').closest('.control-group').hide(); } } @@ -285,7 +165,7 @@ function vvvvwau(how_vvvvwau) function how_vvvvwau_SomeFunc(how_vvvvwau) { // set the function logic - if (how_vvvvwau == 1) + if (how_vvvvwau == 2 || how_vvvvwau == 3) { return true; } @@ -308,6 +188,126 @@ function vvvvwav(how_vvvvwav) var how = how_vvvvwav.some(how_vvvvwav_SomeFunc); + // set this function logic + if (how) + { + jQuery('.note_display_library_files_folders_urls').closest('.control-group').show(); + } + else + { + jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide(); + } +} + +// the vvvvwav Some function +function how_vvvvwav_SomeFunc(how_vvvvwav) +{ + // set the function logic + if (how_vvvvwav == 1 || how_vvvvwav == 2 || how_vvvvwav == 3) + { + return true; + } + return false; +} + +// the vvvvwaw function +function vvvvwaw(how_vvvvwaw) +{ + if (isSet(how_vvvvwaw) && how_vvvvwaw.constructor !== Array) + { + var temp_vvvvwaw = how_vvvvwaw; + var how_vvvvwaw = []; + how_vvvvwaw.push(temp_vvvvwaw); + } + else if (!isSet(how_vvvvwaw)) + { + var how_vvvvwaw = []; + } + var how = how_vvvvwaw.some(how_vvvvwaw_SomeFunc); + + + // set this function logic + if (how) + { + jQuery('.note_no_behaviour_one').closest('.control-group').show(); + jQuery('.note_no_behaviour_three').closest('.control-group').show(); + jQuery('.note_no_behaviour_two').closest('.control-group').show(); + } + else + { + jQuery('.note_no_behaviour_one').closest('.control-group').hide(); + jQuery('.note_no_behaviour_three').closest('.control-group').hide(); + jQuery('.note_no_behaviour_two').closest('.control-group').hide(); + } +} + +// the vvvvwaw Some function +function how_vvvvwaw_SomeFunc(how_vvvvwaw) +{ + // set the function logic + if (how_vvvvwaw == 0) + { + return true; + } + return false; +} + +// the vvvvwax function +function vvvvwax(how_vvvvwax) +{ + if (isSet(how_vvvvwax) && how_vvvvwax.constructor !== Array) + { + var temp_vvvvwax = how_vvvvwax; + var how_vvvvwax = []; + how_vvvvwax.push(temp_vvvvwax); + } + else if (!isSet(how_vvvvwax)) + { + var how_vvvvwax = []; + } + var how = how_vvvvwax.some(how_vvvvwax_SomeFunc); + + + // set this function logic + if (how) + { + jQuery('.note_yes_behaviour_one').closest('.control-group').show(); + jQuery('.note_yes_behaviour_two').closest('.control-group').show(); + } + else + { + jQuery('.note_yes_behaviour_one').closest('.control-group').hide(); + jQuery('.note_yes_behaviour_two').closest('.control-group').hide(); + } +} + +// the vvvvwax Some function +function how_vvvvwax_SomeFunc(how_vvvvwax) +{ + // set the function logic + if (how_vvvvwax == 1) + { + return true; + } + return false; +} + +// the vvvvway function +function vvvvway(how_vvvvway) +{ + if (isSet(how_vvvvway) && how_vvvvway.constructor !== Array) + { + var temp_vvvvway = how_vvvvway; + var how_vvvvway = []; + how_vvvvway.push(temp_vvvvway); + } + else if (!isSet(how_vvvvway)) + { + var how_vvvvway = []; + } + var how = how_vvvvway.some(how_vvvvway_SomeFunc); + + // set this function logic if (how) { @@ -323,45 +323,45 @@ function vvvvwav(how_vvvvwav) } } -// the vvvvwav Some function -function how_vvvvwav_SomeFunc(how_vvvvwav) +// the vvvvway Some function +function how_vvvvway_SomeFunc(how_vvvvway) { // set the function logic - if (how_vvvvwav == 4) + if (how_vvvvway == 4) { return true; } return false; } -// the vvvvwaw function -function vvvvwaw(type_vvvvwaw) +// the vvvvwaz function +function vvvvwaz(type_vvvvwaz) { // set the function logic - if (type_vvvvwaw == 2) + if (type_vvvvwaz == 2) { jQuery('#jform_libraries').closest('.control-group').show(); // add required attribute to libraries field - if (jform_vvvvwawvxg_required) + if (jform_vvvvwazvxh_required) { updateFieldRequired('libraries',0); jQuery('#jform_libraries').prop('required','required'); jQuery('#jform_libraries').attr('aria-required',true); jQuery('#jform_libraries').addClass('required'); - jform_vvvvwawvxg_required = false; + jform_vvvvwazvxh_required = false; } } else { jQuery('#jform_libraries').closest('.control-group').hide(); // remove required attribute from libraries field - if (!jform_vvvvwawvxg_required) + if (!jform_vvvvwazvxh_required) { updateFieldRequired('libraries',1); jQuery('#jform_libraries').removeAttr('required'); jQuery('#jform_libraries').removeAttr('aria-required'); jQuery('#jform_libraries').removeClass('required'); - jform_vvvvwawvxg_required = true; + jform_vvvvwazvxh_required = true; } } } diff --git a/admin/models/forms/server.js b/admin/models/forms/server.js index a85edeee0..0a2d48ce3 100644 --- a/admin/models/forms/server.js +++ b/admin/models/forms/server.js @@ -9,56 +9,56 @@ */ // Some Global Values -jform_vvvvwbtvxt_required = false; -jform_vvvvwbtvxu_required = false; -jform_vvvvwbtvxv_required = false; -jform_vvvvwbtvxw_required = false; -jform_vvvvwbtvxx_required = false; -jform_vvvvwbuvxy_required = false; -jform_vvvvwbvvxz_required = false; -jform_vvvvwbxvya_required = false; -jform_vvvvwbzvyb_required = false; +jform_vvvvwbwvxu_required = false; +jform_vvvvwbwvxv_required = false; +jform_vvvvwbwvxw_required = false; +jform_vvvvwbwvxx_required = false; +jform_vvvvwbwvxy_required = false; +jform_vvvvwbxvxz_required = false; +jform_vvvvwbyvya_required = false; +jform_vvvvwcavyb_required = false; +jform_vvvvwccvyc_required = false; // Initial Script jQuery(document).ready(function() { - var protocol_vvvvwbt = jQuery("#jform_protocol").val(); - vvvvwbt(protocol_vvvvwbt); - - var protocol_vvvvwbu = jQuery("#jform_protocol").val(); - vvvvwbu(protocol_vvvvwbu); - - var protocol_vvvvwbv = jQuery("#jform_protocol").val(); - var authentication_vvvvwbv = jQuery("#jform_authentication").val(); - vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv); + var protocol_vvvvwbw = jQuery("#jform_protocol").val(); + vvvvwbw(protocol_vvvvwbw); var protocol_vvvvwbx = jQuery("#jform_protocol").val(); - var authentication_vvvvwbx = jQuery("#jform_authentication").val(); - vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx); + vvvvwbx(protocol_vvvvwbx); - var protocol_vvvvwbz = jQuery("#jform_protocol").val(); - var authentication_vvvvwbz = jQuery("#jform_authentication").val(); - vvvvwbz(protocol_vvvvwbz,authentication_vvvvwbz); + var protocol_vvvvwby = jQuery("#jform_protocol").val(); + var authentication_vvvvwby = jQuery("#jform_authentication").val(); + vvvvwby(protocol_vvvvwby,authentication_vvvvwby); - var protocol_vvvvwcb = jQuery("#jform_protocol").val(); - var authentication_vvvvwcb = jQuery("#jform_authentication").val(); - vvvvwcb(protocol_vvvvwcb,authentication_vvvvwcb); + var protocol_vvvvwca = jQuery("#jform_protocol").val(); + var authentication_vvvvwca = jQuery("#jform_authentication").val(); + vvvvwca(protocol_vvvvwca,authentication_vvvvwca); + + var protocol_vvvvwcc = jQuery("#jform_protocol").val(); + var authentication_vvvvwcc = jQuery("#jform_authentication").val(); + vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc); + + var protocol_vvvvwce = jQuery("#jform_protocol").val(); + var authentication_vvvvwce = jQuery("#jform_authentication").val(); + vvvvwce(protocol_vvvvwce,authentication_vvvvwce); }); -// the vvvvwbt function -function vvvvwbt(protocol_vvvvwbt) +// the vvvvwbw function +function vvvvwbw(protocol_vvvvwbw) { - if (isSet(protocol_vvvvwbt) && protocol_vvvvwbt.constructor !== Array) + if (isSet(protocol_vvvvwbw) && protocol_vvvvwbw.constructor !== Array) { - var temp_vvvvwbt = protocol_vvvvwbt; - var protocol_vvvvwbt = []; - protocol_vvvvwbt.push(temp_vvvvwbt); + var temp_vvvvwbw = protocol_vvvvwbw; + var protocol_vvvvwbw = []; + protocol_vvvvwbw.push(temp_vvvvwbw); } - else if (!isSet(protocol_vvvvwbt)) + else if (!isSet(protocol_vvvvwbw)) { - var protocol_vvvvwbt = []; + var protocol_vvvvwbw = []; } - var protocol = protocol_vvvvwbt.some(protocol_vvvvwbt_SomeFunc); + var protocol = protocol_vvvvwbw.some(protocol_vvvvwbw_SomeFunc); // set this function logic @@ -66,254 +66,117 @@ function vvvvwbt(protocol_vvvvwbt) { jQuery('#jform_authentication').closest('.control-group').show(); // add required attribute to authentication field - if (jform_vvvvwbtvxt_required) + if (jform_vvvvwbwvxu_required) { updateFieldRequired('authentication',0); jQuery('#jform_authentication').prop('required','required'); jQuery('#jform_authentication').attr('aria-required',true); jQuery('#jform_authentication').addClass('required'); - jform_vvvvwbtvxt_required = false; + jform_vvvvwbwvxu_required = false; } jQuery('#jform_host').closest('.control-group').show(); // add required attribute to host field - if (jform_vvvvwbtvxu_required) + if (jform_vvvvwbwvxv_required) { updateFieldRequired('host',0); jQuery('#jform_host').prop('required','required'); jQuery('#jform_host').attr('aria-required',true); jQuery('#jform_host').addClass('required'); - jform_vvvvwbtvxu_required = false; + jform_vvvvwbwvxv_required = false; } jQuery('#jform_port').closest('.control-group').show(); // add required attribute to port field - if (jform_vvvvwbtvxv_required) + if (jform_vvvvwbwvxw_required) { updateFieldRequired('port',0); jQuery('#jform_port').prop('required','required'); jQuery('#jform_port').attr('aria-required',true); jQuery('#jform_port').addClass('required'); - jform_vvvvwbtvxv_required = false; + jform_vvvvwbwvxw_required = false; } jQuery('#jform_path').closest('.control-group').show(); // add required attribute to path field - if (jform_vvvvwbtvxw_required) + if (jform_vvvvwbwvxx_required) { updateFieldRequired('path',0); jQuery('#jform_path').prop('required','required'); jQuery('#jform_path').attr('aria-required',true); jQuery('#jform_path').addClass('required'); - jform_vvvvwbtvxw_required = false; + jform_vvvvwbwvxx_required = false; } jQuery('.note_ssh_security').closest('.control-group').show(); jQuery('#jform_username').closest('.control-group').show(); // add required attribute to username field - if (jform_vvvvwbtvxx_required) + if (jform_vvvvwbwvxy_required) { updateFieldRequired('username',0); jQuery('#jform_username').prop('required','required'); jQuery('#jform_username').attr('aria-required',true); jQuery('#jform_username').addClass('required'); - jform_vvvvwbtvxx_required = false; + jform_vvvvwbwvxy_required = false; } } else { jQuery('#jform_authentication').closest('.control-group').hide(); // remove required attribute from authentication field - if (!jform_vvvvwbtvxt_required) + if (!jform_vvvvwbwvxu_required) { updateFieldRequired('authentication',1); jQuery('#jform_authentication').removeAttr('required'); jQuery('#jform_authentication').removeAttr('aria-required'); jQuery('#jform_authentication').removeClass('required'); - jform_vvvvwbtvxt_required = true; + jform_vvvvwbwvxu_required = true; } jQuery('#jform_host').closest('.control-group').hide(); // remove required attribute from host field - if (!jform_vvvvwbtvxu_required) + if (!jform_vvvvwbwvxv_required) { updateFieldRequired('host',1); jQuery('#jform_host').removeAttr('required'); jQuery('#jform_host').removeAttr('aria-required'); jQuery('#jform_host').removeClass('required'); - jform_vvvvwbtvxu_required = true; + jform_vvvvwbwvxv_required = true; } jQuery('#jform_port').closest('.control-group').hide(); // remove required attribute from port field - if (!jform_vvvvwbtvxv_required) + if (!jform_vvvvwbwvxw_required) { updateFieldRequired('port',1); jQuery('#jform_port').removeAttr('required'); jQuery('#jform_port').removeAttr('aria-required'); jQuery('#jform_port').removeClass('required'); - jform_vvvvwbtvxv_required = true; + jform_vvvvwbwvxw_required = true; } jQuery('#jform_path').closest('.control-group').hide(); // remove required attribute from path field - if (!jform_vvvvwbtvxw_required) + if (!jform_vvvvwbwvxx_required) { updateFieldRequired('path',1); jQuery('#jform_path').removeAttr('required'); jQuery('#jform_path').removeAttr('aria-required'); jQuery('#jform_path').removeClass('required'); - jform_vvvvwbtvxw_required = true; + jform_vvvvwbwvxx_required = true; } jQuery('.note_ssh_security').closest('.control-group').hide(); jQuery('#jform_username').closest('.control-group').hide(); // remove required attribute from username field - if (!jform_vvvvwbtvxx_required) + if (!jform_vvvvwbwvxy_required) { updateFieldRequired('username',1); jQuery('#jform_username').removeAttr('required'); jQuery('#jform_username').removeAttr('aria-required'); jQuery('#jform_username').removeClass('required'); - jform_vvvvwbtvxx_required = true; + jform_vvvvwbwvxy_required = true; } } } -// the vvvvwbt Some function -function protocol_vvvvwbt_SomeFunc(protocol_vvvvwbt) +// the vvvvwbw Some function +function protocol_vvvvwbw_SomeFunc(protocol_vvvvwbw) { // set the function logic - if (protocol_vvvvwbt == 2) - { - return true; - } - return false; -} - -// the vvvvwbu function -function vvvvwbu(protocol_vvvvwbu) -{ - if (isSet(protocol_vvvvwbu) && protocol_vvvvwbu.constructor !== Array) - { - var temp_vvvvwbu = protocol_vvvvwbu; - var protocol_vvvvwbu = []; - protocol_vvvvwbu.push(temp_vvvvwbu); - } - else if (!isSet(protocol_vvvvwbu)) - { - var protocol_vvvvwbu = []; - } - var protocol = protocol_vvvvwbu.some(protocol_vvvvwbu_SomeFunc); - - - // set this function logic - if (protocol) - { - jQuery('.note_ftp_signature').closest('.control-group').show(); - jQuery('#jform_signature').closest('.control-group').show(); - // add required attribute to signature field - if (jform_vvvvwbuvxy_required) - { - updateFieldRequired('signature',0); - jQuery('#jform_signature').prop('required','required'); - jQuery('#jform_signature').attr('aria-required',true); - jQuery('#jform_signature').addClass('required'); - jform_vvvvwbuvxy_required = false; - } - } - else - { - jQuery('.note_ftp_signature').closest('.control-group').hide(); - jQuery('#jform_signature').closest('.control-group').hide(); - // remove required attribute from signature field - if (!jform_vvvvwbuvxy_required) - { - updateFieldRequired('signature',1); - jQuery('#jform_signature').removeAttr('required'); - jQuery('#jform_signature').removeAttr('aria-required'); - jQuery('#jform_signature').removeClass('required'); - jform_vvvvwbuvxy_required = true; - } - } -} - -// the vvvvwbu Some function -function protocol_vvvvwbu_SomeFunc(protocol_vvvvwbu) -{ - // set the function logic - if (protocol_vvvvwbu == 1) - { - return true; - } - return false; -} - -// the vvvvwbv function -function vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv) -{ - if (isSet(protocol_vvvvwbv) && protocol_vvvvwbv.constructor !== Array) - { - var temp_vvvvwbv = protocol_vvvvwbv; - var protocol_vvvvwbv = []; - protocol_vvvvwbv.push(temp_vvvvwbv); - } - else if (!isSet(protocol_vvvvwbv)) - { - var protocol_vvvvwbv = []; - } - var protocol = protocol_vvvvwbv.some(protocol_vvvvwbv_SomeFunc); - - if (isSet(authentication_vvvvwbv) && authentication_vvvvwbv.constructor !== Array) - { - var temp_vvvvwbv = authentication_vvvvwbv; - var authentication_vvvvwbv = []; - authentication_vvvvwbv.push(temp_vvvvwbv); - } - else if (!isSet(authentication_vvvvwbv)) - { - var authentication_vvvvwbv = []; - } - var authentication = authentication_vvvvwbv.some(authentication_vvvvwbv_SomeFunc); - - - // set this function logic - if (protocol && authentication) - { - jQuery('#jform_password').closest('.control-group').show(); - // add required attribute to password field - if (jform_vvvvwbvvxz_required) - { - updateFieldRequired('password',0); - jQuery('#jform_password').prop('required','required'); - jQuery('#jform_password').attr('aria-required',true); - jQuery('#jform_password').addClass('required'); - jform_vvvvwbvvxz_required = false; - } - } - else - { - jQuery('#jform_password').closest('.control-group').hide(); - // remove required attribute from password field - if (!jform_vvvvwbvvxz_required) - { - updateFieldRequired('password',1); - jQuery('#jform_password').removeAttr('required'); - jQuery('#jform_password').removeAttr('aria-required'); - jQuery('#jform_password').removeClass('required'); - jform_vvvvwbvvxz_required = true; - } - } -} - -// the vvvvwbv Some function -function protocol_vvvvwbv_SomeFunc(protocol_vvvvwbv) -{ - // set the function logic - if (protocol_vvvvwbv == 2) - { - return true; - } - return false; -} - -// the vvvvwbv Some function -function authentication_vvvvwbv_SomeFunc(authentication_vvvvwbv) -{ - // set the function logic - if (authentication_vvvvwbv == 1 || authentication_vvvvwbv == 3 || authentication_vvvvwbv == 5) + if (protocol_vvvvwbw == 2) { return true; } @@ -321,7 +184,7 @@ function authentication_vvvvwbv_SomeFunc(authentication_vvvvwbv) } // the vvvvwbx function -function vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx) +function vvvvwbx(protocol_vvvvwbx) { if (isSet(protocol_vvvvwbx) && protocol_vvvvwbx.constructor !== Array) { @@ -335,44 +198,34 @@ function vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx) } var protocol = protocol_vvvvwbx.some(protocol_vvvvwbx_SomeFunc); - if (isSet(authentication_vvvvwbx) && authentication_vvvvwbx.constructor !== Array) - { - var temp_vvvvwbx = authentication_vvvvwbx; - var authentication_vvvvwbx = []; - authentication_vvvvwbx.push(temp_vvvvwbx); - } - else if (!isSet(authentication_vvvvwbx)) - { - var authentication_vvvvwbx = []; - } - var authentication = authentication_vvvvwbx.some(authentication_vvvvwbx_SomeFunc); - // set this function logic - if (protocol && authentication) + if (protocol) { - jQuery('#jform_private').closest('.control-group').show(); - // add required attribute to private field - if (jform_vvvvwbxvya_required) + jQuery('.note_ftp_signature').closest('.control-group').show(); + jQuery('#jform_signature').closest('.control-group').show(); + // add required attribute to signature field + if (jform_vvvvwbxvxz_required) { - updateFieldRequired('private',0); - jQuery('#jform_private').prop('required','required'); - jQuery('#jform_private').attr('aria-required',true); - jQuery('#jform_private').addClass('required'); - jform_vvvvwbxvya_required = false; + updateFieldRequired('signature',0); + jQuery('#jform_signature').prop('required','required'); + jQuery('#jform_signature').attr('aria-required',true); + jQuery('#jform_signature').addClass('required'); + jform_vvvvwbxvxz_required = false; } } else { - jQuery('#jform_private').closest('.control-group').hide(); - // remove required attribute from private field - if (!jform_vvvvwbxvya_required) + jQuery('.note_ftp_signature').closest('.control-group').hide(); + jQuery('#jform_signature').closest('.control-group').hide(); + // remove required attribute from signature field + if (!jform_vvvvwbxvxz_required) { - updateFieldRequired('private',1); - jQuery('#jform_private').removeAttr('required'); - jQuery('#jform_private').removeAttr('aria-required'); - jQuery('#jform_private').removeClass('required'); - jform_vvvvwbxvya_required = true; + updateFieldRequired('signature',1); + jQuery('#jform_signature').removeAttr('required'); + jQuery('#jform_signature').removeAttr('aria-required'); + jQuery('#jform_signature').removeClass('required'); + jform_vvvvwbxvxz_required = true; } } } @@ -381,50 +234,197 @@ function vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx) function protocol_vvvvwbx_SomeFunc(protocol_vvvvwbx) { // set the function logic - if (protocol_vvvvwbx == 2) + if (protocol_vvvvwbx == 1) { return true; } return false; } -// the vvvvwbx Some function -function authentication_vvvvwbx_SomeFunc(authentication_vvvvwbx) +// the vvvvwby function +function vvvvwby(protocol_vvvvwby,authentication_vvvvwby) +{ + if (isSet(protocol_vvvvwby) && protocol_vvvvwby.constructor !== Array) + { + var temp_vvvvwby = protocol_vvvvwby; + var protocol_vvvvwby = []; + protocol_vvvvwby.push(temp_vvvvwby); + } + else if (!isSet(protocol_vvvvwby)) + { + var protocol_vvvvwby = []; + } + var protocol = protocol_vvvvwby.some(protocol_vvvvwby_SomeFunc); + + if (isSet(authentication_vvvvwby) && authentication_vvvvwby.constructor !== Array) + { + var temp_vvvvwby = authentication_vvvvwby; + var authentication_vvvvwby = []; + authentication_vvvvwby.push(temp_vvvvwby); + } + else if (!isSet(authentication_vvvvwby)) + { + var authentication_vvvvwby = []; + } + var authentication = authentication_vvvvwby.some(authentication_vvvvwby_SomeFunc); + + + // set this function logic + if (protocol && authentication) + { + jQuery('#jform_password').closest('.control-group').show(); + // add required attribute to password field + if (jform_vvvvwbyvya_required) + { + updateFieldRequired('password',0); + jQuery('#jform_password').prop('required','required'); + jQuery('#jform_password').attr('aria-required',true); + jQuery('#jform_password').addClass('required'); + jform_vvvvwbyvya_required = false; + } + } + else + { + jQuery('#jform_password').closest('.control-group').hide(); + // remove required attribute from password field + if (!jform_vvvvwbyvya_required) + { + updateFieldRequired('password',1); + jQuery('#jform_password').removeAttr('required'); + jQuery('#jform_password').removeAttr('aria-required'); + jQuery('#jform_password').removeClass('required'); + jform_vvvvwbyvya_required = true; + } + } +} + +// the vvvvwby Some function +function protocol_vvvvwby_SomeFunc(protocol_vvvvwby) { // set the function logic - if (authentication_vvvvwbx == 2 || authentication_vvvvwbx == 3) + if (protocol_vvvvwby == 2) { return true; } return false; } -// the vvvvwbz function -function vvvvwbz(protocol_vvvvwbz,authentication_vvvvwbz) +// the vvvvwby Some function +function authentication_vvvvwby_SomeFunc(authentication_vvvvwby) { - if (isSet(protocol_vvvvwbz) && protocol_vvvvwbz.constructor !== Array) + // set the function logic + if (authentication_vvvvwby == 1 || authentication_vvvvwby == 3 || authentication_vvvvwby == 5) { - var temp_vvvvwbz = protocol_vvvvwbz; - var protocol_vvvvwbz = []; - protocol_vvvvwbz.push(temp_vvvvwbz); + return true; } - else if (!isSet(protocol_vvvvwbz)) - { - var protocol_vvvvwbz = []; - } - var protocol = protocol_vvvvwbz.some(protocol_vvvvwbz_SomeFunc); + return false; +} - if (isSet(authentication_vvvvwbz) && authentication_vvvvwbz.constructor !== Array) +// the vvvvwca function +function vvvvwca(protocol_vvvvwca,authentication_vvvvwca) +{ + if (isSet(protocol_vvvvwca) && protocol_vvvvwca.constructor !== Array) { - var temp_vvvvwbz = authentication_vvvvwbz; - var authentication_vvvvwbz = []; - authentication_vvvvwbz.push(temp_vvvvwbz); + var temp_vvvvwca = protocol_vvvvwca; + var protocol_vvvvwca = []; + protocol_vvvvwca.push(temp_vvvvwca); } - else if (!isSet(authentication_vvvvwbz)) + else if (!isSet(protocol_vvvvwca)) { - var authentication_vvvvwbz = []; + var protocol_vvvvwca = []; } - var authentication = authentication_vvvvwbz.some(authentication_vvvvwbz_SomeFunc); + var protocol = protocol_vvvvwca.some(protocol_vvvvwca_SomeFunc); + + if (isSet(authentication_vvvvwca) && authentication_vvvvwca.constructor !== Array) + { + var temp_vvvvwca = authentication_vvvvwca; + var authentication_vvvvwca = []; + authentication_vvvvwca.push(temp_vvvvwca); + } + else if (!isSet(authentication_vvvvwca)) + { + var authentication_vvvvwca = []; + } + var authentication = authentication_vvvvwca.some(authentication_vvvvwca_SomeFunc); + + + // set this function logic + if (protocol && authentication) + { + jQuery('#jform_private').closest('.control-group').show(); + // add required attribute to private field + if (jform_vvvvwcavyb_required) + { + updateFieldRequired('private',0); + jQuery('#jform_private').prop('required','required'); + jQuery('#jform_private').attr('aria-required',true); + jQuery('#jform_private').addClass('required'); + jform_vvvvwcavyb_required = false; + } + } + else + { + jQuery('#jform_private').closest('.control-group').hide(); + // remove required attribute from private field + if (!jform_vvvvwcavyb_required) + { + updateFieldRequired('private',1); + jQuery('#jform_private').removeAttr('required'); + jQuery('#jform_private').removeAttr('aria-required'); + jQuery('#jform_private').removeClass('required'); + jform_vvvvwcavyb_required = true; + } + } +} + +// the vvvvwca Some function +function protocol_vvvvwca_SomeFunc(protocol_vvvvwca) +{ + // set the function logic + if (protocol_vvvvwca == 2) + { + return true; + } + return false; +} + +// the vvvvwca Some function +function authentication_vvvvwca_SomeFunc(authentication_vvvvwca) +{ + // set the function logic + if (authentication_vvvvwca == 2 || authentication_vvvvwca == 3) + { + return true; + } + return false; +} + +// the vvvvwcc function +function vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc) +{ + if (isSet(protocol_vvvvwcc) && protocol_vvvvwcc.constructor !== Array) + { + var temp_vvvvwcc = protocol_vvvvwcc; + var protocol_vvvvwcc = []; + protocol_vvvvwcc.push(temp_vvvvwcc); + } + else if (!isSet(protocol_vvvvwcc)) + { + var protocol_vvvvwcc = []; + } + var protocol = protocol_vvvvwcc.some(protocol_vvvvwcc_SomeFunc); + + if (isSet(authentication_vvvvwcc) && authentication_vvvvwcc.constructor !== Array) + { + var temp_vvvvwcc = authentication_vvvvwcc; + var authentication_vvvvwcc = []; + authentication_vvvvwcc.push(temp_vvvvwcc); + } + else if (!isSet(authentication_vvvvwcc)) + { + var authentication_vvvvwcc = []; + } + var authentication = authentication_vvvvwcc.some(authentication_vvvvwcc_SomeFunc); // set this function logic @@ -432,78 +432,78 @@ function vvvvwbz(protocol_vvvvwbz,authentication_vvvvwbz) { jQuery('#jform_private_key').closest('.control-group').show(); // add required attribute to private_key field - if (jform_vvvvwbzvyb_required) + if (jform_vvvvwccvyc_required) { updateFieldRequired('private_key',0); jQuery('#jform_private_key').prop('required','required'); jQuery('#jform_private_key').attr('aria-required',true); jQuery('#jform_private_key').addClass('required'); - jform_vvvvwbzvyb_required = false; + jform_vvvvwccvyc_required = false; } } else { jQuery('#jform_private_key').closest('.control-group').hide(); // remove required attribute from private_key field - if (!jform_vvvvwbzvyb_required) + if (!jform_vvvvwccvyc_required) { updateFieldRequired('private_key',1); jQuery('#jform_private_key').removeAttr('required'); jQuery('#jform_private_key').removeAttr('aria-required'); jQuery('#jform_private_key').removeClass('required'); - jform_vvvvwbzvyb_required = true; + jform_vvvvwccvyc_required = true; } } } -// the vvvvwbz Some function -function protocol_vvvvwbz_SomeFunc(protocol_vvvvwbz) +// the vvvvwcc Some function +function protocol_vvvvwcc_SomeFunc(protocol_vvvvwcc) { // set the function logic - if (protocol_vvvvwbz == 2) + if (protocol_vvvvwcc == 2) { return true; } return false; } -// the vvvvwbz Some function -function authentication_vvvvwbz_SomeFunc(authentication_vvvvwbz) +// the vvvvwcc Some function +function authentication_vvvvwcc_SomeFunc(authentication_vvvvwcc) { // set the function logic - if (authentication_vvvvwbz == 4 || authentication_vvvvwbz == 5) + if (authentication_vvvvwcc == 4 || authentication_vvvvwcc == 5) { return true; } return false; } -// the vvvvwcb function -function vvvvwcb(protocol_vvvvwcb,authentication_vvvvwcb) +// the vvvvwce function +function vvvvwce(protocol_vvvvwce,authentication_vvvvwce) { - if (isSet(protocol_vvvvwcb) && protocol_vvvvwcb.constructor !== Array) + if (isSet(protocol_vvvvwce) && protocol_vvvvwce.constructor !== Array) { - var temp_vvvvwcb = protocol_vvvvwcb; - var protocol_vvvvwcb = []; - protocol_vvvvwcb.push(temp_vvvvwcb); + var temp_vvvvwce = protocol_vvvvwce; + var protocol_vvvvwce = []; + protocol_vvvvwce.push(temp_vvvvwce); } - else if (!isSet(protocol_vvvvwcb)) + else if (!isSet(protocol_vvvvwce)) { - var protocol_vvvvwcb = []; + var protocol_vvvvwce = []; } - var protocol = protocol_vvvvwcb.some(protocol_vvvvwcb_SomeFunc); + var protocol = protocol_vvvvwce.some(protocol_vvvvwce_SomeFunc); - if (isSet(authentication_vvvvwcb) && authentication_vvvvwcb.constructor !== Array) + if (isSet(authentication_vvvvwce) && authentication_vvvvwce.constructor !== Array) { - var temp_vvvvwcb = authentication_vvvvwcb; - var authentication_vvvvwcb = []; - authentication_vvvvwcb.push(temp_vvvvwcb); + var temp_vvvvwce = authentication_vvvvwce; + var authentication_vvvvwce = []; + authentication_vvvvwce.push(temp_vvvvwce); } - else if (!isSet(authentication_vvvvwcb)) + else if (!isSet(authentication_vvvvwce)) { - var authentication_vvvvwcb = []; + var authentication_vvvvwce = []; } - var authentication = authentication_vvvvwcb.some(authentication_vvvvwcb_SomeFunc); + var authentication = authentication_vvvvwce.some(authentication_vvvvwce_SomeFunc); // set this function logic @@ -517,22 +517,22 @@ function vvvvwcb(protocol_vvvvwcb,authentication_vvvvwcb) } } -// the vvvvwcb Some function -function protocol_vvvvwcb_SomeFunc(protocol_vvvvwcb) +// the vvvvwce Some function +function protocol_vvvvwce_SomeFunc(protocol_vvvvwce) { // set the function logic - if (protocol_vvvvwcb == 2) + if (protocol_vvvvwce == 2) { return true; } return false; } -// the vvvvwcb Some function -function authentication_vvvvwcb_SomeFunc(authentication_vvvvwcb) +// the vvvvwce Some function +function authentication_vvvvwce_SomeFunc(authentication_vvvvwce) { // set the function logic - if (authentication_vvvvwcb == 2 || authentication_vvvvwcb == 3 || authentication_vvvvwcb == 4 || authentication_vvvvwcb == 5) + if (authentication_vvvvwce == 2 || authentication_vvvvwce == 3 || authentication_vvvvwce == 4 || authentication_vvvvwce == 5) { return true; } diff --git a/admin/models/forms/site_view.js b/admin/models/forms/site_view.js index b80ccbaf8..a628bfb2a 100644 --- a/admin/models/forms/site_view.js +++ b/admin/models/forms/site_view.js @@ -11,45 +11,45 @@ // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvyv = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvyv(add_php_view_vvvvvyv); + var add_php_view_vvvvvyy = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvyy(add_php_view_vvvvvyy); - var add_php_jview_display_vvvvvyw = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - vvvvvyw(add_php_jview_display_vvvvvyw); + var add_php_jview_display_vvvvvyz = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + vvvvvyz(add_php_jview_display_vvvvvyz); - var add_php_jview_vvvvvyx = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - vvvvvyx(add_php_jview_vvvvvyx); + var add_php_jview_vvvvvza = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + vvvvvza(add_php_jview_vvvvvza); - var add_php_document_vvvvvyy = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvyy(add_php_document_vvvvvyy); + var add_php_document_vvvvvzb = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvzb(add_php_document_vvvvvzb); - var add_css_document_vvvvvyz = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - vvvvvyz(add_css_document_vvvvvyz); + var add_css_document_vvvvvzc = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + vvvvvzc(add_css_document_vvvvvzc); - var add_javascript_file_vvvvvza = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); - vvvvvza(add_javascript_file_vvvvvza); + var add_javascript_file_vvvvvzd = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); + vvvvvzd(add_javascript_file_vvvvvzd); - var add_js_document_vvvvvzb = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - vvvvvzb(add_js_document_vvvvvzb); + var add_js_document_vvvvvze = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + vvvvvze(add_js_document_vvvvvze); - var add_css_vvvvvzc = jQuery("#jform_add_css input[type='radio']:checked").val(); - vvvvvzc(add_css_vvvvvzc); + var add_css_vvvvvzf = jQuery("#jform_add_css input[type='radio']:checked").val(); + vvvvvzf(add_css_vvvvvzf); - var add_php_ajax_vvvvvzd = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - vvvvvzd(add_php_ajax_vvvvvzd); + var add_php_ajax_vvvvvzg = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + vvvvvzg(add_php_ajax_vvvvvzg); - var add_custom_button_vvvvvze = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - vvvvvze(add_custom_button_vvvvvze); + var add_custom_button_vvvvvzh = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + vvvvvzh(add_custom_button_vvvvvzh); - var button_position_vvvvvzf = jQuery("#jform_button_position").val(); - vvvvvzf(button_position_vvvvvzf); + var button_position_vvvvvzi = jQuery("#jform_button_position").val(); + vvvvvzi(button_position_vvvvvzi); }); -// the vvvvvyv function -function vvvvvyv(add_php_view_vvvvvyv) +// the vvvvvyy function +function vvvvvyy(add_php_view_vvvvvyy) { // set the function logic - if (add_php_view_vvvvvyv == 1) + if (add_php_view_vvvvvyy == 1) { jQuery('#jform_php_view-lbl').closest('.control-group').show(); } @@ -59,11 +59,11 @@ function vvvvvyv(add_php_view_vvvvvyv) } } -// the vvvvvyw function -function vvvvvyw(add_php_jview_display_vvvvvyw) +// the vvvvvyz function +function vvvvvyz(add_php_jview_display_vvvvvyz) { // set the function logic - if (add_php_jview_display_vvvvvyw == 1) + if (add_php_jview_display_vvvvvyz == 1) { jQuery('#jform_php_jview_display-lbl').closest('.control-group').show(); } @@ -73,11 +73,11 @@ function vvvvvyw(add_php_jview_display_vvvvvyw) } } -// the vvvvvyx function -function vvvvvyx(add_php_jview_vvvvvyx) +// the vvvvvza function +function vvvvvza(add_php_jview_vvvvvza) { // set the function logic - if (add_php_jview_vvvvvyx == 1) + if (add_php_jview_vvvvvza == 1) { jQuery('#jform_php_jview-lbl').closest('.control-group').show(); } @@ -87,11 +87,11 @@ function vvvvvyx(add_php_jview_vvvvvyx) } } -// the vvvvvyy function -function vvvvvyy(add_php_document_vvvvvyy) +// the vvvvvzb function +function vvvvvzb(add_php_document_vvvvvzb) { // set the function logic - if (add_php_document_vvvvvyy == 1) + if (add_php_document_vvvvvzb == 1) { jQuery('#jform_php_document-lbl').closest('.control-group').show(); } @@ -101,11 +101,11 @@ function vvvvvyy(add_php_document_vvvvvyy) } } -// the vvvvvyz function -function vvvvvyz(add_css_document_vvvvvyz) +// the vvvvvzc function +function vvvvvzc(add_css_document_vvvvvzc) { // set the function logic - if (add_css_document_vvvvvyz == 1) + if (add_css_document_vvvvvzc == 1) { jQuery('#jform_css_document-lbl').closest('.control-group').show(); } @@ -115,11 +115,11 @@ function vvvvvyz(add_css_document_vvvvvyz) } } -// the vvvvvza function -function vvvvvza(add_javascript_file_vvvvvza) +// the vvvvvzd function +function vvvvvzd(add_javascript_file_vvvvvzd) { // set the function logic - if (add_javascript_file_vvvvvza == 1) + if (add_javascript_file_vvvvvzd == 1) { jQuery('#jform_javascript_file-lbl').closest('.control-group').show(); } @@ -129,11 +129,11 @@ function vvvvvza(add_javascript_file_vvvvvza) } } -// the vvvvvzb function -function vvvvvzb(add_js_document_vvvvvzb) +// the vvvvvze function +function vvvvvze(add_js_document_vvvvvze) { // set the function logic - if (add_js_document_vvvvvzb == 1) + if (add_js_document_vvvvvze == 1) { jQuery('#jform_js_document-lbl').closest('.control-group').show(); } @@ -143,11 +143,11 @@ function vvvvvzb(add_js_document_vvvvvzb) } } -// the vvvvvzc function -function vvvvvzc(add_css_vvvvvzc) +// the vvvvvzf function +function vvvvvzf(add_css_vvvvvzf) { // set the function logic - if (add_css_vvvvvzc == 1) + if (add_css_vvvvvzf == 1) { jQuery('#jform_css-lbl').closest('.control-group').show(); } @@ -157,11 +157,11 @@ function vvvvvzc(add_css_vvvvvzc) } } -// the vvvvvzd function -function vvvvvzd(add_php_ajax_vvvvvzd) +// the vvvvvzg function +function vvvvvzg(add_php_ajax_vvvvvzg) { // set the function logic - if (add_php_ajax_vvvvvzd == 1) + if (add_php_ajax_vvvvvzg == 1) { jQuery('#jform_ajax_input-lbl').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show(); @@ -173,11 +173,11 @@ function vvvvvzd(add_php_ajax_vvvvvzd) } } -// the vvvvvze function -function vvvvvze(add_custom_button_vvvvvze) +// the vvvvvzh function +function vvvvvzh(add_custom_button_vvvvvzh) { // set the function logic - if (add_custom_button_vvvvvze == 1) + if (add_custom_button_vvvvvzh == 1) { jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_php_controller-lbl').closest('.control-group').show(); @@ -191,20 +191,20 @@ function vvvvvze(add_custom_button_vvvvvze) } } -// the vvvvvzf function -function vvvvvzf(button_position_vvvvvzf) +// the vvvvvzi function +function vvvvvzi(button_position_vvvvvzi) { - if (isSet(button_position_vvvvvzf) && button_position_vvvvvzf.constructor !== Array) + if (isSet(button_position_vvvvvzi) && button_position_vvvvvzi.constructor !== Array) { - var temp_vvvvvzf = button_position_vvvvvzf; - var button_position_vvvvvzf = []; - button_position_vvvvvzf.push(temp_vvvvvzf); + var temp_vvvvvzi = button_position_vvvvvzi; + var button_position_vvvvvzi = []; + button_position_vvvvvzi.push(temp_vvvvvzi); } - else if (!isSet(button_position_vvvvvzf)) + else if (!isSet(button_position_vvvvvzi)) { - var button_position_vvvvvzf = []; + var button_position_vvvvvzi = []; } - var button_position = button_position_vvvvvzf.some(button_position_vvvvvzf_SomeFunc); + var button_position = button_position_vvvvvzi.some(button_position_vvvvvzi_SomeFunc); // set this function logic @@ -218,11 +218,11 @@ function vvvvvzf(button_position_vvvvvzf) } } -// the vvvvvzf Some function -function button_position_vvvvvzf_SomeFunc(button_position_vvvvvzf) +// the vvvvvzi Some function +function button_position_vvvvvzi_SomeFunc(button_position_vvvvvzi) { // set the function logic - if (button_position_vvvvvzf == 5) + if (button_position_vvvvvzi == 5) { return true; } diff --git a/admin/models/forms/template.js b/admin/models/forms/template.js index 863bc2eb5..6f1c5bbd2 100644 --- a/admin/models/forms/template.js +++ b/admin/models/forms/template.js @@ -11,15 +11,15 @@ // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvzg = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvzg(add_php_view_vvvvvzg); + var add_php_view_vvvvvzj = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvzj(add_php_view_vvvvvzj); }); -// the vvvvvzg function -function vvvvvzg(add_php_view_vvvvvzg) +// the vvvvvzj function +function vvvvvzj(add_php_view_vvvvvzj) { // set the function logic - if (add_php_view_vvvvvzg == 1) + if (add_php_view_vvvvvzj == 1) { jQuery('#jform_php_view-lbl').closest('.control-group').show(); } diff --git a/admin/models/import_joomla_components.php b/admin/models/import_joomla_components.php index 8923b3cee..6b3d2ab63 100644 --- a/admin/models/import_joomla_components.php +++ b/admin/models/import_joomla_components.php @@ -698,12 +698,12 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy } // the array of tables to store $tables = array( - 'validation_rule', 'fieldtype', 'field', 'admin_view', 'snippet', 'dynamic_get', 'custom_admin_view', 'site_view', - 'template', 'layout', 'joomla_component', 'language', 'language_translation', 'custom_code', 'placeholder', + 'validation_rule','class_extends', 'fieldtype', 'field', 'admin_view', 'snippet', 'dynamic_get', 'custom_admin_view', 'site_view','joomla_plugin_group', + 'template', 'layout', 'joomla_component', 'language', 'language_translation', 'custom_code', 'placeholder','class_property','class_method','joomla_plugin', 'admin_fields', 'admin_fields_conditions', 'admin_fields_relations', 'admin_custom_tabs', 'component_admin_views', 'component_site_views', 'component_custom_admin_views', 'component_updates', 'component_mysql_tweaks', 'component_custom_admin_menus', 'component_config', 'component_dashboard', 'component_files_folders', - 'component_placeholders' + 'component_placeholders','component_plugins' ); // get prefix $prefix = $this->_db->getPrefix(); @@ -2065,6 +2065,21 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy $item = $this->setNewID($item, 'joomla_component', 'joomla_component', $type); } break; + case 'component_plugins': + // diverged id already updated + if (!$diverged) + { + // update the joomla_component ID where needed + $item = $this->setNewID($item, 'joomla_component', 'joomla_component', $type); + } + // subform fields to target + $updaterT = array( + // subformfield => array( field => type_value ) + 'addjoomla_plugins' => array('plugin' => 'joomla_plugin') + ); + // update the subform ids + $this->updateSubformsIDs($item, 'component_plugins', $updaterT); + break; case 'component_files_folders': // diverged id already updated if (!$diverged) @@ -2859,6 +2874,7 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy case 'component_config': case 'component_dashboard': case 'component_placeholders': + case 'component_plugins': case 'component_files_folders': // get by joomla_component (since there should only be one of each component) $getter = array('joomla_component'); diff --git a/admin/models/joomla_plugin.php b/admin/models/joomla_plugin.php index 4db61d5fd..dd5a1e279 100644 --- a/admin/models/joomla_plugin.php +++ b/admin/models/joomla_plugin.php @@ -25,9 +25,13 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin * @var array */ protected $tabLayoutFields = array( - 'details' => array( + 'code' => array( 'left' => array( 'note_beta_stage', + 'name', + 'class_extends', + 'joomla_plugin_group', + 'add_head', 'note_plugin' ), 'right' => array( @@ -35,13 +39,12 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin 'method_selection' ), 'fullwidth' => array( + 'head', 'main_class_code', 'note_linked_to_notice' ), 'above' => array( - 'name', - 'class_extends', - 'joomla_plugin_group' + 'system_name' ) ), 'configparams' => array( @@ -131,6 +134,12 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin $item->main_class_code = base64_decode($item->main_class_code); } + if (!empty($item->head)) + { + // base64 Decode head. + $item->head = base64_decode($item->head); + } + if (!empty($item->fields)) { // Convert the fields field to an array. @@ -461,6 +470,42 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin return $data; } + /** + * Method to validate the form data. + * + * @param JForm $form The form to validate against. + * @param array $data The data to validate. + * @param string $group The name of the field group to validate. + * + * @return mixed Array of filtered data if valid, false otherwise. + * + * @see JFormRule + * @see JFilterInput + * @since 12.2 + */ + public function validate($form, $data, $group = null) + { + // check if the not_required field is set + if (ComponentbuilderHelper::checkString($data['not_required'])) + { + $requiredFields = (array) explode(',',(string) $data['not_required']); + $requiredFields = array_unique($requiredFields); + // now change the required field attributes value + foreach ($requiredFields as $requiredField) + { + // make sure there is a string value + if (ComponentbuilderHelper::checkString($requiredField)) + { + // change to false + $form->setFieldAttribute($requiredField, 'required', 'false'); + // also clear the data set + $data[$requiredField] = ''; + } + } + } + return parent::validate($form, $data, $group); + } + /** * Method to get the unique fields of this table. * @@ -685,9 +730,9 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin } // Only for strings - if (ComponentbuilderHelper::checkString($this->table->name) && !is_numeric($this->table->name)) + if (ComponentbuilderHelper::checkString($this->table->system_name) && !is_numeric($this->table->system_name)) { - $this->table->name = $this->generateUniqe('name',$this->table->name); + $this->table->system_name = $this->generateUniqe('system_name',$this->table->system_name); } // insert all set values @@ -933,6 +978,12 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin if (isset($data['main_class_code'])) { $data['main_class_code'] = base64_encode($data['main_class_code']); + } + + // Set the head string to base64 string. + if (isset($data['head'])) + { + $data['head'] = base64_encode($data['head']); } // Set the Params Items to data diff --git a/admin/models/joomla_plugins.php b/admin/models/joomla_plugins.php index 01f4819a7..791e31ed4 100644 --- a/admin/models/joomla_plugins.php +++ b/admin/models/joomla_plugins.php @@ -27,7 +27,7 @@ class ComponentbuilderModelJoomla_plugins extends JModelList 'a.ordering','ordering', 'a.created_by','created_by', 'a.modified_by','modified_by', - 'a.name','name', + 'a.system_name','system_name', 'a.class_extends','class_extends', 'a.joomla_plugin_group','joomla_plugin_group' ); @@ -237,8 +237,8 @@ class ComponentbuilderModelJoomla_plugins extends JModelList { $this->context .= '.' . $layout; } - $name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name'); - $this->setState('filter.name', $name); + $system_name = $this->getUserStateFromRequest($this->context . '.filter.system_name', 'filter_system_name'); + $this->setState('filter.system_name', $system_name); $class_extends = $this->getUserStateFromRequest($this->context . '.filter.class_extends', 'filter_class_extends'); $this->setState('filter.class_extends', $class_extends); @@ -363,15 +363,10 @@ class ComponentbuilderModelJoomla_plugins extends JModelList else { $search = $db->quote('%' . $db->escape($search) . '%'); - $query->where('(a.name LIKE '.$search.' OR a.class_extends LIKE '.$search.' OR g.name LIKE '.$search.' OR a.joomla_plugin_group LIKE '.$search.' OR h.name LIKE '.$search.')'); + $query->where('(a.system_name LIKE '.$search.' OR a.class_extends LIKE '.$search.' OR g.name LIKE '.$search.' OR a.joomla_plugin_group LIKE '.$search.' OR h.name LIKE '.$search.' OR a.name LIKE '.$search.')'); } } - // Filter by Name. - if ($name = $this->getState('filter.name')) - { - $query->where('a.name = ' . $db->quote($db->escape($name))); - } // Filter by class_extends. if ($class_extends = $this->getState('filter.class_extends')) { @@ -392,106 +387,6 @@ class ComponentbuilderModelJoomla_plugins extends JModelList } return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Set a value to know this is exporting method. - $_export = true; - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_joomla_plugin table - $query->from($db->quoteName('#__componentbuilder_joomla_plugin', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - foreach ($items as $nr => &$item) - { - $access = (JFactory::getUser()->authorise('joomla_plugin.access', 'com_componentbuilder.joomla_plugin.' . (int) $item->id) && JFactory::getUser()->authorise('joomla_plugin.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // decode main_class_code - $item->main_class_code = base64_decode($item->main_class_code); - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_joomla_plugin"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; } /** @@ -509,7 +404,7 @@ class ComponentbuilderModelJoomla_plugins extends JModelList $id .= ':' . $this->getState('filter.ordering'); $id .= ':' . $this->getState('filter.created_by'); $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.name'); + $id .= ':' . $this->getState('filter.system_name'); $id .= ':' . $this->getState('filter.class_extends'); $id .= ':' . $this->getState('filter.joomla_plugin_group'); diff --git a/admin/models/rules/int.php b/admin/models/rules/int.php index 3d2e83c69..fa06a94b2 100644 --- a/admin/models/rules/int.php +++ b/admin/models/rules/int.php @@ -21,5 +21,36 @@ use Joomla\Registry\Registry; */ class JFormRuleInt extends FormRule { + /** + * Method to test that an integer value was added. + * + * @param \SimpleXMLElement $element The SimpleXMLElement object representing the `` tag for the form field object. + * @param mixed $value The form field value to validate. + * @param string $group The field name group control value. This acts as an array container for the field. + * For example if the field has name="foo" and the group value is set to "bar" then the + * full field name would end up being "bar[foo]". + * @param Registry $input An optional Registry object with the entire data set to validate against the entire form. + * @param Form $form The form object for which the field is being tested. + * + * @return boolean True if the value is valid integer, false otherwise. + * + */ + public function test(\SimpleXMLElement $element, $value, $group = null, Registry $input = null, Form $form = null) + { + // Check if the field is required. + $required = ((string) $element['required'] == 'true' || (string) $element['required'] == 'required'); + // If the value is empty and the field is not required return True. + if (($value === '' || $value === null) && ! $required) + { + return true; + } + + // now validate the value to be an integer + // we need to validate a string with the integer in it + // since this is how Joomla passes the value to the test method + // so we use type coercion along with is_numeric + return is_numeric($value) && is_int(+$value); + // if you have a better idea... lets hear it. + } } diff --git a/admin/models/server.php b/admin/models/server.php index 4438ef7bc..f03f0c9f1 100644 --- a/admin/models/server.php +++ b/admin/models/server.php @@ -189,7 +189,7 @@ class ComponentbuilderModelServer extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getVyclinked_components() + public function getVydlinked_components() { // Get the user object. $user = JFactory::getUser(); diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql index 267554887..cec82291e 100644 --- a/admin/sql/install.mysql.utf8.sql +++ b/admin/sql/install.mysql.utf8.sql @@ -144,13 +144,16 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` ( CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', + `add_head` TINYINT(1) NOT NULL DEFAULT 0, `class_extends` INT(11) NOT NULL DEFAULT 0, `fields` TEXT NOT NULL, + `head` TEXT NOT NULL, `joomla_plugin_group` INT(11) NOT NULL DEFAULT 0, `main_class_code` MEDIUMTEXT NOT NULL, `method_selection` TEXT NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT '', `property_selection` TEXT NOT NULL, + `system_name` VARCHAR(255) NOT NULL DEFAULT '', `params` text NOT NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, @@ -169,9 +172,10 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin` ( KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`), - KEY `idx_name` (`name`), + KEY `idx_system_name` (`system_name`), KEY `idx_class_extends` (`class_extends`), - KEY `idx_joomla_plugin_group` (`joomla_plugin_group`) + KEY `idx_joomla_plugin_group` (`joomla_plugin_group`), + KEY `idx_name` (`name`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` ( diff --git a/admin/sql/updates/mysql/2.9.33.sql b/admin/sql/updates/mysql/2.9.33.sql new file mode 100644 index 000000000..8d911f995 --- /dev/null +++ b/admin/sql/updates/mysql/2.9.33.sql @@ -0,0 +1,5 @@ +ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_head` TINYINT(1) NOT NULL DEFAULT 0 AFTER `asset_id`; + +ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `head` TEXT NOT NULL AFTER `fields`; + +ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `system_name` VARCHAR(255) NOT NULL DEFAULT '' AFTER `property_selection`; diff --git a/admin/views/admin_view/tmpl/edit.php b/admin/views/admin_view/tmpl/edit.php index 4b255e138..91f6b8857 100644 --- a/admin/views/admin_view/tmpl/edit.php +++ b/admin/views/admin_view/tmpl/edit.php @@ -208,521 +208,521 @@ $componentParams = $this->params; // will be removed just use $this->params inst