Resolved gh-418 by adding an on before cancel custom script area to the admin view.

This commit is contained in:
Llewellyn van der Merwe 2019-06-12 22:06:19 +02:00
parent c8b5993219
commit eae13dff06
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
45 changed files with 3943 additions and 3813 deletions

View File

@ -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! 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.18) 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.19) 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) > 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) + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 11th June, 2019 + *Last Build*: 12th June, 2019
+ *Version*: 2.9.18 + *Version*: 2.9.19
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **206602** + *Line count*: **206728**
+ *Field count*: **1136** + *Field count*: **1138**
+ *File count*: **1344** + *File count*: **1345**
+ *Folder count*: **209** + *Folder count*: **209**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com). > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).

View File

@ -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! 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.18) 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.19) 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) > 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) + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 11th June, 2019 + *Last Build*: 12th June, 2019
+ *Version*: 2.9.18 + *Version*: 2.9.19
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **206602** + *Line count*: **206728**
+ *Field count*: **1136** + *Field count*: **1138**
+ *File count*: **1344** + *File count*: **1345**
+ *Folder count*: **209** + *Folder count*: **209**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com). > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).

View File

@ -141,7 +141,7 @@ class ###Component###Controller###View### extends JControllerForm
$this->refid = $this->input->get('refid', 0, 'int'); $this->refid = $this->input->get('refid', 0, 'int');
// Check if there is a return value // Check if there is a return value
$return = $this->input->get('return', null, 'base64'); $return = $this->input->get('return', null, 'base64');###JCONTROLLERFORM_BEFORECANCEL###
$cancel = parent::cancel($key); $cancel = parent::cancel($key);

View File

@ -2046,7 +2046,7 @@ class Get
} }
} }
// add_php // add_php
$addArrayP = array('php_getitem', 'php_before_save', 'php_save', 'php_getform', 'php_postsavehook', 'php_getitems', 'php_getitems_after_all', 'php_getlistquery', 'php_allowadd', 'php_allowedit', 'php_before_delete', 'php_after_delete', 'php_before_publish', 'php_after_publish', 'php_batchcopy', 'php_batchmove', 'php_document'); $addArrayP = array('php_getitem', 'php_before_save', 'php_save', 'php_getform', 'php_postsavehook', 'php_getitems', 'php_getitems_after_all', 'php_getlistquery', 'php_allowadd', 'php_allowedit', 'php_before_cancel', 'php_before_delete', 'php_after_delete', 'php_before_publish', 'php_after_publish', 'php_batchcopy', 'php_batchmove', 'php_document');
foreach ($addArrayP as $scripter) foreach ($addArrayP as $scripter)
{ {
if (isset($view->{'add_' . $scripter}) && $view->{'add_' . $scripter} == 1) if (isset($view->{'add_' . $scripter}) && $view->{'add_' . $scripter} == 1)

View File

@ -527,9 +527,13 @@ class Infusion extends Interpretation
// BATCH_ONCLICK_CANCEL_SCRIPT <<<DYNAMIC>>> // BATCH_ONCLICK_CANCEL_SCRIPT <<<DYNAMIC>>>
$this->fileContentDynamic[$viewName_list][$this->hhh . 'BATCH_ONCLICK_CANCEL_SCRIPT' . $this->hhh] = ''; // TODO <-- must still be build $this->fileContentDynamic[$viewName_list][$this->hhh . 'BATCH_ONCLICK_CANCEL_SCRIPT' . $this->hhh] = ''; // TODO <-- must still be build
// JCONTROLLERFORM_ALLOWADD <<<DYNAMIC>>> // JCONTROLLERFORM_ALLOWADD <<<DYNAMIC>>>
$this->fileContentDynamic[$viewName_single][$this->hhh . 'JCONTROLLERFORM_ALLOWADD' . $this->hhh] = $this->setJcontrollerAllowAdd($viewName_single, $viewName_list); $this->fileContentDynamic[$viewName_single][$this->hhh . 'JCONTROLLERFORM_ALLOWADD' . $this->hhh] = $this->setJcontrollerAllowAdd($viewName_single, $viewName_list);
// JCONTROLLERFORM_BEFORECANCEL <<<DYNAMIC>>>
$this->fileContentDynamic[$viewName_single][$this->hhh . 'JCONTROLLERFORM_BEFORECANCEL' . $this->hhh] = $this->getCustomScriptBuilder('php_before_cancel', $viewName_single, PHP_EOL, null, null, '');
// JCONTROLLERFORM_ALLOWEDIT <<<DYNAMIC>>> // JCONTROLLERFORM_ALLOWEDIT <<<DYNAMIC>>>
$this->fileContentDynamic[$viewName_single][$this->hhh . 'JCONTROLLERFORM_ALLOWEDIT' . $this->hhh] = $this->setJcontrollerAllowEdit($viewName_single, $viewName_list); $this->fileContentDynamic[$viewName_single][$this->hhh . 'JCONTROLLERFORM_ALLOWEDIT' . $this->hhh] = $this->setJcontrollerAllowEdit($viewName_single, $viewName_list);

View File

@ -496,7 +496,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_NEW_NEW_CLOSE_BUTTON="Add New + New & Close
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE="Add Php After Delete" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE="Add Php After Delete"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL="Add PHP (script - after delete)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL="Add PHP (script - after delete)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH="Add Php After Publish" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH="Add Php After Publish"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH_LABEL="Add PHP (script - after publish)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH_LABEL="Add PHP (script - after state change)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AJAX="Add Php Ajax" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AJAX="Add Php Ajax"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AJAX_LABEL="Add PHP (AJAX)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AJAX_LABEL="Add PHP (AJAX)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWADD="Add Php Allowadd" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWADD="Add Php Allowadd"
@ -507,10 +507,12 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY="Add Php Batchcopy"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL="Add PHP (batchCopy Method)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL="Add PHP (batchCopy Method)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE="Add Php Batchmove" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE="Add Php Batchmove"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL="Add PHP (batchMove Method)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL="Add PHP (batchMove Method)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_CANCEL="Add Php Before Cancel"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_CANCEL_LABEL="Add PHP (script - before cancel)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE="Add Php Before Delete" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE="Add Php Before Delete"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL="Add PHP (script - before delete)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL="Add PHP (script - before delete)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_PUBLISH="Add Php Before Publish" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_PUBLISH="Add Php Before Publish"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_PUBLISH_LABEL="Add PHP (script - before publish)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_PUBLISH_LABEL="Add PHP (script - before state change)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_SAVE="Add Php Before Save" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_SAVE="Add Php Before Save"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_SAVE_LABEL="Add PHP (save Method - before data modeling)" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_SAVE_LABEL="Add PHP (save Method - before data modeling)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT="Add Php Document" COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT="Add Php Document"
@ -990,6 +992,9 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL="PHP batchCopy Method<br /><
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE="Php Batchmove" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE="Php Batchmove"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION="Add PHP Here that should run in the batchMove Method. Do not add the php tags." COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION="Add PHP Here that should run in the batchMove Method. Do not add the php tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL="PHP batchMove Method<br /><small>submitted values are in $values, id's are in $pks</small>" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL="PHP batchMove Method<br /><small>submitted values are in $values, id's are in $pks</small>"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_CANCEL="Php Before Cancel"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_CANCEL_DESCRIPTION="Add PHP Here that should run in the Cancel Method before cancel. Do not add the php tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_CANCEL_LABEL="PHP Cancel Method before<br /><small>(string) $key is the name of the primary key of the URL variable.</small>"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE="Php Before Delete" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE="Php Before Delete"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION="Add PHP Here that should run in the delete Method before items are deleted. Do not add the php tags." COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION="Add PHP Here that should run in the delete Method before items are deleted. Do not add the php tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL="PHP delete Method<br /><small>Target (array) $pks is an array of record primary keys.</small>" COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL="PHP delete Method<br /><small>Target (array) $pks is an array of record primary keys.</small>"

View File

@ -38,6 +38,8 @@ $fields = $displayData->get('fields') ?: array(
'php_allowadd', 'php_allowadd',
'add_php_allowedit', 'add_php_allowedit',
'php_allowedit', 'php_allowedit',
'add_php_before_cancel',
'php_before_cancel',
'add_php_batchcopy', 'add_php_batchcopy',
'php_batchcopy', 'php_batchcopy',
'add_php_batchmove', 'add_php_batchmove',

View File

@ -13,7 +13,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->wapfields; $items = $displayData->waqfields;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
// set the edit URL // set the edit URL

View File

@ -13,7 +13,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->wazlinked_components; $items = $displayData->wbalinked_components;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
// set the edit URL // set the edit URL

View File

@ -86,12 +86,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->metadata = $registry->toArray(); $item->metadata = $registry->toArray();
} }
if (!empty($item->php_import_headers))
{
// base64 Decode php_import_headers.
$item->php_import_headers = base64_decode($item->php_import_headers);
}
if (!empty($item->html_import_view)) if (!empty($item->html_import_view))
{ {
// base64 Decode html_import_view. // base64 Decode html_import_view.
@ -104,10 +98,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_import_save = base64_decode($item->php_import_save); $item->php_import_save = base64_decode($item->php_import_save);
} }
if (!empty($item->php_getitems)) if (!empty($item->php_import_headers))
{ {
// base64 Decode php_getitems. // base64 Decode php_import_headers.
$item->php_getitems = base64_decode($item->php_getitems); $item->php_import_headers = base64_decode($item->php_import_headers);
} }
if (!empty($item->php_getitems_after_all)) if (!empty($item->php_getitems_after_all))
@ -182,42 +176,48 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->javascript_view_footer = base64_decode($item->javascript_view_footer); $item->javascript_view_footer = base64_decode($item->javascript_view_footer);
} }
if (!empty($item->php_before_cancel))
{
// base64 Decode php_before_cancel.
$item->php_before_cancel = base64_decode($item->php_before_cancel);
}
if (!empty($item->php_batchcopy)) if (!empty($item->php_batchcopy))
{ {
// base64 Decode php_batchcopy. // base64 Decode php_batchcopy.
$item->php_batchcopy = base64_decode($item->php_batchcopy); $item->php_batchcopy = base64_decode($item->php_batchcopy);
} }
if (!empty($item->php_batchmove))
{
// base64 Decode php_batchmove.
$item->php_batchmove = base64_decode($item->php_batchmove);
}
if (!empty($item->javascript_views_file)) if (!empty($item->javascript_views_file))
{ {
// base64 Decode javascript_views_file. // base64 Decode javascript_views_file.
$item->javascript_views_file = base64_decode($item->javascript_views_file); $item->javascript_views_file = base64_decode($item->javascript_views_file);
} }
if (!empty($item->php_batchmove))
{
// base64 Decode php_batchmove.
$item->php_batchmove = base64_decode($item->php_batchmove);
}
if (!empty($item->php_before_publish)) if (!empty($item->php_before_publish))
{ {
// base64 Decode php_before_publish. // base64 Decode php_before_publish.
$item->php_before_publish = base64_decode($item->php_before_publish); $item->php_before_publish = base64_decode($item->php_before_publish);
} }
if (!empty($item->php_after_publish))
{
// base64 Decode php_after_publish.
$item->php_after_publish = base64_decode($item->php_after_publish);
}
if (!empty($item->javascript_views_footer)) if (!empty($item->javascript_views_footer))
{ {
// base64 Decode javascript_views_footer. // base64 Decode javascript_views_footer.
$item->javascript_views_footer = base64_decode($item->javascript_views_footer); $item->javascript_views_footer = base64_decode($item->javascript_views_footer);
} }
if (!empty($item->php_after_publish))
{
// base64 Decode php_after_publish.
$item->php_after_publish = base64_decode($item->php_after_publish);
}
if (!empty($item->php_before_delete)) if (!empty($item->php_before_delete))
{ {
// base64 Decode php_before_delete. // base64 Decode php_before_delete.
@ -230,18 +230,18 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_after_delete = base64_decode($item->php_after_delete); $item->php_after_delete = base64_decode($item->php_after_delete);
} }
if (!empty($item->php_document))
{
// base64 Decode php_document.
$item->php_document = base64_decode($item->php_document);
}
if (!empty($item->php_controller)) if (!empty($item->php_controller))
{ {
// base64 Decode php_controller. // base64 Decode php_controller.
$item->php_controller = base64_decode($item->php_controller); $item->php_controller = base64_decode($item->php_controller);
} }
if (!empty($item->php_document))
{
// base64 Decode php_document.
$item->php_document = base64_decode($item->php_document);
}
if (!empty($item->php_model)) if (!empty($item->php_model))
{ {
// base64 Decode php_model. // base64 Decode php_model.
@ -284,30 +284,28 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_import = base64_decode($item->php_import); $item->php_import = base64_decode($item->php_import);
} }
if (!empty($item->php_import_setdata))
{
// base64 Decode php_import_setdata.
$item->php_import_setdata = base64_decode($item->php_import_setdata);
}
if (!empty($item->php_getitem)) if (!empty($item->php_getitem))
{ {
// base64 Decode php_getitem. // base64 Decode php_getitem.
$item->php_getitem = base64_decode($item->php_getitem); $item->php_getitem = base64_decode($item->php_getitem);
} }
if (!empty($item->php_import_setdata))
{
// base64 Decode php_import_setdata.
$item->php_import_setdata = base64_decode($item->php_import_setdata);
}
if (!empty($item->php_import_ext)) if (!empty($item->php_import_ext))
{ {
// base64 Decode php_import_ext. // base64 Decode php_import_ext.
$item->php_import_ext = base64_decode($item->php_import_ext); $item->php_import_ext = base64_decode($item->php_import_ext);
} }
if (!empty($item->addtables)) if (!empty($item->php_getitems))
{ {
// Convert the addtables field to an array. // base64 Decode php_getitems.
$addtables = new Registry; $item->php_getitems = base64_decode($item->php_getitems);
$addtables->loadString($item->addtables);
$item->addtables = $addtables->toArray();
} }
if (!empty($item->addpermissions)) if (!empty($item->addpermissions))
@ -334,6 +332,14 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->addlinked_views = $addlinked_views->toArray(); $item->addlinked_views = $addlinked_views->toArray();
} }
if (!empty($item->addtables))
{
// Convert the addtables field to an array.
$addtables = new Registry;
$addtables->loadString($item->addtables);
$item->addtables = $addtables->toArray();
}
if (!empty($item->alias_builder)) if (!empty($item->alias_builder))
{ {
// Convert the alias_builder field to an array. // Convert the alias_builder field to an array.
@ -1238,19 +1244,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['system_name'] = $data['name_single']; $data['system_name'] = $data['name_single'];
} }
// Set the addtables items to data.
if (isset($data['addtables']) && is_array($data['addtables']))
{
$addtables = new JRegistry;
$addtables->loadArray($data['addtables']);
$data['addtables'] = (string) $addtables;
}
elseif (!isset($data['addtables']))
{
// Set the empty addtables to data
$data['addtables'] = '';
}
// Set the addpermissions items to data. // Set the addpermissions items to data.
if (isset($data['addpermissions']) && is_array($data['addpermissions'])) if (isset($data['addpermissions']) && is_array($data['addpermissions']))
{ {
@ -1290,6 +1283,19 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['addlinked_views'] = ''; $data['addlinked_views'] = '';
} }
// Set the addtables items to data.
if (isset($data['addtables']) && is_array($data['addtables']))
{
$addtables = new JRegistry;
$addtables->loadArray($data['addtables']);
$data['addtables'] = (string) $addtables;
}
elseif (!isset($data['addtables']))
{
// Set the empty addtables to data
$data['addtables'] = '';
}
// Set the alias_builder items to data. // Set the alias_builder items to data.
if (isset($data['alias_builder']) && is_array($data['alias_builder'])) if (isset($data['alias_builder']) && is_array($data['alias_builder']))
{ {
@ -1329,12 +1335,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['ajax_input'] = ''; $data['ajax_input'] = '';
} }
// Set the php_import_headers string to base64 string.
if (isset($data['php_import_headers']))
{
$data['php_import_headers'] = base64_encode($data['php_import_headers']);
}
// Set the html_import_view string to base64 string. // Set the html_import_view string to base64 string.
if (isset($data['html_import_view'])) if (isset($data['html_import_view']))
{ {
@ -1347,10 +1347,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_import_save'] = base64_encode($data['php_import_save']); $data['php_import_save'] = base64_encode($data['php_import_save']);
} }
// Set the php_getitems string to base64 string. // Set the php_import_headers string to base64 string.
if (isset($data['php_getitems'])) if (isset($data['php_import_headers']))
{ {
$data['php_getitems'] = base64_encode($data['php_getitems']); $data['php_import_headers'] = base64_encode($data['php_import_headers']);
} }
// Set the php_getitems_after_all string to base64 string. // Set the php_getitems_after_all string to base64 string.
@ -1425,42 +1425,48 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['javascript_view_footer'] = base64_encode($data['javascript_view_footer']); $data['javascript_view_footer'] = base64_encode($data['javascript_view_footer']);
} }
// Set the php_before_cancel string to base64 string.
if (isset($data['php_before_cancel']))
{
$data['php_before_cancel'] = base64_encode($data['php_before_cancel']);
}
// Set the php_batchcopy string to base64 string. // Set the php_batchcopy string to base64 string.
if (isset($data['php_batchcopy'])) if (isset($data['php_batchcopy']))
{ {
$data['php_batchcopy'] = base64_encode($data['php_batchcopy']); $data['php_batchcopy'] = base64_encode($data['php_batchcopy']);
} }
// Set the php_batchmove string to base64 string.
if (isset($data['php_batchmove']))
{
$data['php_batchmove'] = base64_encode($data['php_batchmove']);
}
// Set the javascript_views_file string to base64 string. // Set the javascript_views_file string to base64 string.
if (isset($data['javascript_views_file'])) if (isset($data['javascript_views_file']))
{ {
$data['javascript_views_file'] = base64_encode($data['javascript_views_file']); $data['javascript_views_file'] = base64_encode($data['javascript_views_file']);
} }
// Set the php_batchmove string to base64 string.
if (isset($data['php_batchmove']))
{
$data['php_batchmove'] = base64_encode($data['php_batchmove']);
}
// Set the php_before_publish string to base64 string. // Set the php_before_publish string to base64 string.
if (isset($data['php_before_publish'])) if (isset($data['php_before_publish']))
{ {
$data['php_before_publish'] = base64_encode($data['php_before_publish']); $data['php_before_publish'] = base64_encode($data['php_before_publish']);
} }
// Set the php_after_publish string to base64 string.
if (isset($data['php_after_publish']))
{
$data['php_after_publish'] = base64_encode($data['php_after_publish']);
}
// Set the javascript_views_footer string to base64 string. // Set the javascript_views_footer string to base64 string.
if (isset($data['javascript_views_footer'])) if (isset($data['javascript_views_footer']))
{ {
$data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']); $data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']);
} }
// Set the php_after_publish string to base64 string.
if (isset($data['php_after_publish']))
{
$data['php_after_publish'] = base64_encode($data['php_after_publish']);
}
// Set the php_before_delete string to base64 string. // Set the php_before_delete string to base64 string.
if (isset($data['php_before_delete'])) if (isset($data['php_before_delete']))
{ {
@ -1473,18 +1479,18 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_after_delete'] = base64_encode($data['php_after_delete']); $data['php_after_delete'] = base64_encode($data['php_after_delete']);
} }
// Set the php_document string to base64 string.
if (isset($data['php_document']))
{
$data['php_document'] = base64_encode($data['php_document']);
}
// Set the php_controller string to base64 string. // Set the php_controller string to base64 string.
if (isset($data['php_controller'])) if (isset($data['php_controller']))
{ {
$data['php_controller'] = base64_encode($data['php_controller']); $data['php_controller'] = base64_encode($data['php_controller']);
} }
// Set the php_document string to base64 string.
if (isset($data['php_document']))
{
$data['php_document'] = base64_encode($data['php_document']);
}
// Set the php_model string to base64 string. // Set the php_model string to base64 string.
if (isset($data['php_model'])) if (isset($data['php_model']))
{ {
@ -1527,24 +1533,30 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_import'] = base64_encode($data['php_import']); $data['php_import'] = base64_encode($data['php_import']);
} }
// Set the php_import_setdata string to base64 string.
if (isset($data['php_import_setdata']))
{
$data['php_import_setdata'] = base64_encode($data['php_import_setdata']);
}
// Set the php_getitem string to base64 string. // Set the php_getitem string to base64 string.
if (isset($data['php_getitem'])) if (isset($data['php_getitem']))
{ {
$data['php_getitem'] = base64_encode($data['php_getitem']); $data['php_getitem'] = base64_encode($data['php_getitem']);
} }
// Set the php_import_setdata string to base64 string.
if (isset($data['php_import_setdata']))
{
$data['php_import_setdata'] = base64_encode($data['php_import_setdata']);
}
// Set the php_import_ext string to base64 string. // Set the php_import_ext string to base64 string.
if (isset($data['php_import_ext'])) if (isset($data['php_import_ext']))
{ {
$data['php_import_ext'] = base64_encode($data['php_import_ext']); $data['php_import_ext'] = base64_encode($data['php_import_ext']);
} }
// Set the php_getitems string to base64 string.
if (isset($data['php_getitems']))
{
$data['php_getitems'] = base64_encode($data['php_getitems']);
}
// Set the Params Items to data // Set the Params Items to data
if (isset($data['params']) && is_array($data['params'])) if (isset($data['params']) && is_array($data['params']))
{ {

View File

@ -376,14 +376,12 @@ class ComponentbuilderModelAdmin_views extends JModelList
continue; continue;
} }
// decode php_import_headers
$item->php_import_headers = base64_decode($item->php_import_headers);
// decode html_import_view // decode html_import_view
$item->html_import_view = base64_decode($item->html_import_view); $item->html_import_view = base64_decode($item->html_import_view);
// decode php_import_save // decode php_import_save
$item->php_import_save = base64_decode($item->php_import_save); $item->php_import_save = base64_decode($item->php_import_save);
// decode php_getitems // decode php_import_headers
$item->php_getitems = base64_decode($item->php_getitems); $item->php_import_headers = base64_decode($item->php_import_headers);
// decode php_getitems_after_all // decode php_getitems_after_all
$item->php_getitems_after_all = base64_decode($item->php_getitems_after_all); $item->php_getitems_after_all = base64_decode($item->php_getitems_after_all);
// decode php_getlistquery // decode php_getlistquery
@ -408,26 +406,28 @@ class ComponentbuilderModelAdmin_views extends JModelList
$item->php_allowedit = base64_decode($item->php_allowedit); $item->php_allowedit = base64_decode($item->php_allowedit);
// decode javascript_view_footer // decode javascript_view_footer
$item->javascript_view_footer = base64_decode($item->javascript_view_footer); $item->javascript_view_footer = base64_decode($item->javascript_view_footer);
// decode php_before_cancel
$item->php_before_cancel = base64_decode($item->php_before_cancel);
// decode php_batchcopy // decode php_batchcopy
$item->php_batchcopy = base64_decode($item->php_batchcopy); $item->php_batchcopy = base64_decode($item->php_batchcopy);
// decode php_batchmove
$item->php_batchmove = base64_decode($item->php_batchmove);
// decode javascript_views_file // decode javascript_views_file
$item->javascript_views_file = base64_decode($item->javascript_views_file); $item->javascript_views_file = base64_decode($item->javascript_views_file);
// decode php_batchmove
$item->php_batchmove = base64_decode($item->php_batchmove);
// decode php_before_publish // decode php_before_publish
$item->php_before_publish = base64_decode($item->php_before_publish); $item->php_before_publish = base64_decode($item->php_before_publish);
// decode php_after_publish
$item->php_after_publish = base64_decode($item->php_after_publish);
// decode javascript_views_footer // decode javascript_views_footer
$item->javascript_views_footer = base64_decode($item->javascript_views_footer); $item->javascript_views_footer = base64_decode($item->javascript_views_footer);
// decode php_after_publish
$item->php_after_publish = base64_decode($item->php_after_publish);
// decode php_before_delete // decode php_before_delete
$item->php_before_delete = base64_decode($item->php_before_delete); $item->php_before_delete = base64_decode($item->php_before_delete);
// decode php_after_delete // decode php_after_delete
$item->php_after_delete = base64_decode($item->php_after_delete); $item->php_after_delete = base64_decode($item->php_after_delete);
// decode php_document
$item->php_document = base64_decode($item->php_document);
// decode php_controller // decode php_controller
$item->php_controller = base64_decode($item->php_controller); $item->php_controller = base64_decode($item->php_controller);
// decode php_document
$item->php_document = base64_decode($item->php_document);
// decode php_model // decode php_model
$item->php_model = base64_decode($item->php_model); $item->php_model = base64_decode($item->php_model);
// decode php_controller_list // decode php_controller_list
@ -442,12 +442,14 @@ class ComponentbuilderModelAdmin_views extends JModelList
$item->php_import_display = base64_decode($item->php_import_display); $item->php_import_display = base64_decode($item->php_import_display);
// decode php_import // decode php_import
$item->php_import = base64_decode($item->php_import); $item->php_import = base64_decode($item->php_import);
// decode php_import_setdata
$item->php_import_setdata = base64_decode($item->php_import_setdata);
// decode php_getitem // decode php_getitem
$item->php_getitem = base64_decode($item->php_getitem); $item->php_getitem = base64_decode($item->php_getitem);
// decode php_import_setdata
$item->php_import_setdata = base64_decode($item->php_import_setdata);
// decode php_import_ext // decode php_import_ext
$item->php_import_ext = base64_decode($item->php_import_ext); $item->php_import_ext = base64_decode($item->php_import_ext);
// decode php_getitems
$item->php_getitems = base64_decode($item->php_getitems);
// unset the values we don't want exported. // unset the values we don't want exported.
unset($item->asset_id); unset($item->asset_id);
unset($item->checked_out); unset($item->checked_out);

View File

@ -155,7 +155,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getWapfields() public function getWaqfields()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -237,13 +237,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// convert datatype // convert datatype
$item->datatype = $this->selectionTranslationWapfields($item->datatype, 'datatype'); $item->datatype = $this->selectionTranslationWaqfields($item->datatype, 'datatype');
// convert indexes // convert indexes
$item->indexes = $this->selectionTranslationWapfields($item->indexes, 'indexes'); $item->indexes = $this->selectionTranslationWaqfields($item->indexes, 'indexes');
// convert null_switch // convert null_switch
$item->null_switch = $this->selectionTranslationWapfields($item->null_switch, 'null_switch'); $item->null_switch = $this->selectionTranslationWaqfields($item->null_switch, 'null_switch');
// convert store // convert store
$item->store = $this->selectionTranslationWapfields($item->store, 'store'); $item->store = $this->selectionTranslationWaqfields($item->store, 'store');
} }
} }
@ -257,7 +257,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationWapfields($value,$name) public function selectionTranslationWaqfields($value,$name)
{ {
// Array of datatype language strings // Array of datatype language strings
if ($name === 'datatype') if ($name === 'datatype')

View File

@ -35,17 +35,18 @@ jform_vvvvvxxvxn_required = false;
jform_vvvvvxyvxo_required = false; jform_vvvvvxyvxo_required = false;
jform_vvvvvxzvxp_required = false; jform_vvvvvxzvxp_required = false;
jform_vvvvvyavxq_required = false; jform_vvvvvyavxq_required = false;
jform_vvvvvyevxr_required = false; jform_vvvvvybvxr_required = false;
jform_vvvvvyevxs_required = false; jform_vvvvvyfvxs_required = false;
jform_vvvvvyevxt_required = false; jform_vvvvvyfvxt_required = false;
jform_vvvvvyevxu_required = false; jform_vvvvvyfvxu_required = false;
jform_vvvvvyevxv_required = false; jform_vvvvvyfvxv_required = false;
jform_vvvvvyevxw_required = false; jform_vvvvvyfvxw_required = false;
jform_vvvvvyevxx_required = false; jform_vvvvvyfvxx_required = false;
jform_vvvvvygvxy_required = false; jform_vvvvvyfvxy_required = false;
jform_vvvvvygvxz_required = false; jform_vvvvvyhvxz_required = false;
jform_vvvvvygvya_required = false; jform_vvvvvyhvya_required = false;
jform_vvvvvygvyb_required = false; jform_vvvvvyhvyb_required = false;
jform_vvvvvyhvyc_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
@ -101,46 +102,49 @@ jQuery(document).ready(function()
var add_php_allowedit_vvvvvxr = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); var add_php_allowedit_vvvvvxr = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxr(add_php_allowedit_vvvvvxr); vvvvvxr(add_php_allowedit_vvvvvxr);
var add_php_batchcopy_vvvvvxs = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); var add_php_before_cancel_vvvvvxs = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
vvvvvxs(add_php_batchcopy_vvvvvxs); vvvvvxs(add_php_before_cancel_vvvvvxs);
var add_php_batchmove_vvvvvxt = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); var add_php_batchcopy_vvvvvxt = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxt(add_php_batchmove_vvvvvxt); vvvvvxt(add_php_batchcopy_vvvvvxt);
var add_php_before_publish_vvvvvxu = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); var add_php_batchmove_vvvvvxu = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxu(add_php_before_publish_vvvvvxu); vvvvvxu(add_php_batchmove_vvvvvxu);
var add_php_after_publish_vvvvvxv = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); var add_php_before_publish_vvvvvxv = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxv(add_php_after_publish_vvvvvxv); vvvvvxv(add_php_before_publish_vvvvvxv);
var add_php_before_delete_vvvvvxw = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); var add_php_after_publish_vvvvvxw = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxw(add_php_before_delete_vvvvvxw); vvvvvxw(add_php_after_publish_vvvvvxw);
var add_php_after_delete_vvvvvxx = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); var add_php_before_delete_vvvvvxx = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxx(add_php_after_delete_vvvvvxx); vvvvvxx(add_php_before_delete_vvvvvxx);
var add_php_document_vvvvvxy = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_after_delete_vvvvvxy = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxy(add_php_document_vvvvvxy); vvvvvxy(add_php_after_delete_vvvvvxy);
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_php_document_vvvvvxz = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxz(add_sql_vvvvvxz); vvvvvxz(add_php_document_vvvvvxz);
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya); vvvvvya(add_sql_vvvvvya);
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val(); var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc); vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
var add_custom_import_vvvvvye = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var source_vvvvvyd = jQuery("#jform_source input[type='radio']:checked").val();
vvvvvye(add_custom_import_vvvvvye); var add_sql_vvvvvyd = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyd(source_vvvvvyd,add_sql_vvvvvyd);
var add_custom_import_vvvvvyf = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var add_custom_import_vvvvvyf = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyf(add_custom_import_vvvvvyf); vvvvvyf(add_custom_import_vvvvvyf);
var add_custom_button_vvvvvyg = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_import_vvvvvyg = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyg(add_custom_button_vvvvvyg); vvvvvyg(add_custom_import_vvvvvyg);
var add_custom_button_vvvvvyh = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyh(add_custom_button_vvvvvyh);
}); });
// the vvvvvxb function // the vvvvvxb function
@ -690,298 +694,330 @@ function vvvvvxr(add_php_allowedit_vvvvvxr)
} }
// the vvvvvxs function // the vvvvvxs function
function vvvvvxs(add_php_batchcopy_vvvvvxs) function vvvvvxs(add_php_before_cancel_vvvvvxs)
{ {
// set the function logic // set the function logic
if (add_php_batchcopy_vvvvvxs == 1) if (add_php_before_cancel_vvvvvxs == 1)
{ {
jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show(); jQuery('#jform_php_before_cancel-lbl').closest('.control-group').show();
// add required attribute to php_batchcopy field // add required attribute to php_before_cancel field
if (jform_vvvvvxsvxi_required) if (jform_vvvvvxsvxi_required)
{ {
updateFieldRequired('php_batchcopy',0); updateFieldRequired('php_before_cancel',0);
jQuery('#jform_php_batchcopy').prop('required','required'); jQuery('#jform_php_before_cancel').prop('required','required');
jQuery('#jform_php_batchcopy').attr('aria-required',true); jQuery('#jform_php_before_cancel').attr('aria-required',true);
jQuery('#jform_php_batchcopy').addClass('required'); jQuery('#jform_php_before_cancel').addClass('required');
jform_vvvvvxsvxi_required = false; jform_vvvvvxsvxi_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_batchcopy-lbl').closest('.control-group').hide(); jQuery('#jform_php_before_cancel-lbl').closest('.control-group').hide();
// remove required attribute from php_batchcopy field // remove required attribute from php_before_cancel field
if (!jform_vvvvvxsvxi_required) if (!jform_vvvvvxsvxi_required)
{ {
updateFieldRequired('php_batchcopy',1); updateFieldRequired('php_before_cancel',1);
jQuery('#jform_php_batchcopy').removeAttr('required'); jQuery('#jform_php_before_cancel').removeAttr('required');
jQuery('#jform_php_batchcopy').removeAttr('aria-required'); jQuery('#jform_php_before_cancel').removeAttr('aria-required');
jQuery('#jform_php_batchcopy').removeClass('required'); jQuery('#jform_php_before_cancel').removeClass('required');
jform_vvvvvxsvxi_required = true; jform_vvvvvxsvxi_required = true;
} }
} }
} }
// the vvvvvxt function // the vvvvvxt function
function vvvvvxt(add_php_batchmove_vvvvvxt) function vvvvvxt(add_php_batchcopy_vvvvvxt)
{ {
// set the function logic // set the function logic
if (add_php_batchmove_vvvvvxt == 1) if (add_php_batchcopy_vvvvvxt == 1)
{ {
jQuery('#jform_php_batchmove-lbl').closest('.control-group').show(); jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show();
// add required attribute to php_batchmove field // add required attribute to php_batchcopy field
if (jform_vvvvvxtvxj_required) if (jform_vvvvvxtvxj_required)
{ {
updateFieldRequired('php_batchmove',0); updateFieldRequired('php_batchcopy',0);
jQuery('#jform_php_batchmove').prop('required','required'); jQuery('#jform_php_batchcopy').prop('required','required');
jQuery('#jform_php_batchmove').attr('aria-required',true); jQuery('#jform_php_batchcopy').attr('aria-required',true);
jQuery('#jform_php_batchmove').addClass('required'); jQuery('#jform_php_batchcopy').addClass('required');
jform_vvvvvxtvxj_required = false; jform_vvvvvxtvxj_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_batchmove-lbl').closest('.control-group').hide(); jQuery('#jform_php_batchcopy-lbl').closest('.control-group').hide();
// remove required attribute from php_batchmove field // remove required attribute from php_batchcopy field
if (!jform_vvvvvxtvxj_required) if (!jform_vvvvvxtvxj_required)
{ {
updateFieldRequired('php_batchmove',1); updateFieldRequired('php_batchcopy',1);
jQuery('#jform_php_batchmove').removeAttr('required'); jQuery('#jform_php_batchcopy').removeAttr('required');
jQuery('#jform_php_batchmove').removeAttr('aria-required'); jQuery('#jform_php_batchcopy').removeAttr('aria-required');
jQuery('#jform_php_batchmove').removeClass('required'); jQuery('#jform_php_batchcopy').removeClass('required');
jform_vvvvvxtvxj_required = true; jform_vvvvvxtvxj_required = true;
} }
} }
} }
// the vvvvvxu function // the vvvvvxu function
function vvvvvxu(add_php_before_publish_vvvvvxu) function vvvvvxu(add_php_batchmove_vvvvvxu)
{ {
// set the function logic // set the function logic
if (add_php_before_publish_vvvvvxu == 1) if (add_php_batchmove_vvvvvxu == 1)
{ {
jQuery('#jform_php_before_publish-lbl').closest('.control-group').show(); jQuery('#jform_php_batchmove-lbl').closest('.control-group').show();
// add required attribute to php_before_publish field // add required attribute to php_batchmove field
if (jform_vvvvvxuvxk_required) if (jform_vvvvvxuvxk_required)
{ {
updateFieldRequired('php_before_publish',0); updateFieldRequired('php_batchmove',0);
jQuery('#jform_php_before_publish').prop('required','required'); jQuery('#jform_php_batchmove').prop('required','required');
jQuery('#jform_php_before_publish').attr('aria-required',true); jQuery('#jform_php_batchmove').attr('aria-required',true);
jQuery('#jform_php_before_publish').addClass('required'); jQuery('#jform_php_batchmove').addClass('required');
jform_vvvvvxuvxk_required = false; jform_vvvvvxuvxk_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_before_publish-lbl').closest('.control-group').hide(); jQuery('#jform_php_batchmove-lbl').closest('.control-group').hide();
// remove required attribute from php_before_publish field // remove required attribute from php_batchmove field
if (!jform_vvvvvxuvxk_required) if (!jform_vvvvvxuvxk_required)
{ {
updateFieldRequired('php_before_publish',1); updateFieldRequired('php_batchmove',1);
jQuery('#jform_php_before_publish').removeAttr('required'); jQuery('#jform_php_batchmove').removeAttr('required');
jQuery('#jform_php_before_publish').removeAttr('aria-required'); jQuery('#jform_php_batchmove').removeAttr('aria-required');
jQuery('#jform_php_before_publish').removeClass('required'); jQuery('#jform_php_batchmove').removeClass('required');
jform_vvvvvxuvxk_required = true; jform_vvvvvxuvxk_required = true;
} }
} }
} }
// the vvvvvxv function // the vvvvvxv function
function vvvvvxv(add_php_after_publish_vvvvvxv) function vvvvvxv(add_php_before_publish_vvvvvxv)
{ {
// set the function logic // set the function logic
if (add_php_after_publish_vvvvvxv == 1) if (add_php_before_publish_vvvvvxv == 1)
{ {
jQuery('#jform_php_after_publish-lbl').closest('.control-group').show(); jQuery('#jform_php_before_publish-lbl').closest('.control-group').show();
// add required attribute to php_after_publish field // add required attribute to php_before_publish field
if (jform_vvvvvxvvxl_required) if (jform_vvvvvxvvxl_required)
{ {
updateFieldRequired('php_after_publish',0); updateFieldRequired('php_before_publish',0);
jQuery('#jform_php_after_publish').prop('required','required'); jQuery('#jform_php_before_publish').prop('required','required');
jQuery('#jform_php_after_publish').attr('aria-required',true); jQuery('#jform_php_before_publish').attr('aria-required',true);
jQuery('#jform_php_after_publish').addClass('required'); jQuery('#jform_php_before_publish').addClass('required');
jform_vvvvvxvvxl_required = false; jform_vvvvvxvvxl_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_after_publish-lbl').closest('.control-group').hide(); jQuery('#jform_php_before_publish-lbl').closest('.control-group').hide();
// remove required attribute from php_after_publish field // remove required attribute from php_before_publish field
if (!jform_vvvvvxvvxl_required) if (!jform_vvvvvxvvxl_required)
{ {
updateFieldRequired('php_after_publish',1); updateFieldRequired('php_before_publish',1);
jQuery('#jform_php_after_publish').removeAttr('required'); jQuery('#jform_php_before_publish').removeAttr('required');
jQuery('#jform_php_after_publish').removeAttr('aria-required'); jQuery('#jform_php_before_publish').removeAttr('aria-required');
jQuery('#jform_php_after_publish').removeClass('required'); jQuery('#jform_php_before_publish').removeClass('required');
jform_vvvvvxvvxl_required = true; jform_vvvvvxvvxl_required = true;
} }
} }
} }
// the vvvvvxw function // the vvvvvxw function
function vvvvvxw(add_php_before_delete_vvvvvxw) function vvvvvxw(add_php_after_publish_vvvvvxw)
{ {
// set the function logic // set the function logic
if (add_php_before_delete_vvvvvxw == 1) if (add_php_after_publish_vvvvvxw == 1)
{ {
jQuery('#jform_php_before_delete-lbl').closest('.control-group').show(); jQuery('#jform_php_after_publish-lbl').closest('.control-group').show();
// add required attribute to php_before_delete field // add required attribute to php_after_publish field
if (jform_vvvvvxwvxm_required) if (jform_vvvvvxwvxm_required)
{ {
updateFieldRequired('php_before_delete',0); updateFieldRequired('php_after_publish',0);
jQuery('#jform_php_before_delete').prop('required','required'); jQuery('#jform_php_after_publish').prop('required','required');
jQuery('#jform_php_before_delete').attr('aria-required',true); jQuery('#jform_php_after_publish').attr('aria-required',true);
jQuery('#jform_php_before_delete').addClass('required'); jQuery('#jform_php_after_publish').addClass('required');
jform_vvvvvxwvxm_required = false; jform_vvvvvxwvxm_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_before_delete-lbl').closest('.control-group').hide(); jQuery('#jform_php_after_publish-lbl').closest('.control-group').hide();
// remove required attribute from php_before_delete field // remove required attribute from php_after_publish field
if (!jform_vvvvvxwvxm_required) if (!jform_vvvvvxwvxm_required)
{ {
updateFieldRequired('php_before_delete',1); updateFieldRequired('php_after_publish',1);
jQuery('#jform_php_before_delete').removeAttr('required'); jQuery('#jform_php_after_publish').removeAttr('required');
jQuery('#jform_php_before_delete').removeAttr('aria-required'); jQuery('#jform_php_after_publish').removeAttr('aria-required');
jQuery('#jform_php_before_delete').removeClass('required'); jQuery('#jform_php_after_publish').removeClass('required');
jform_vvvvvxwvxm_required = true; jform_vvvvvxwvxm_required = true;
} }
} }
} }
// the vvvvvxx function // the vvvvvxx function
function vvvvvxx(add_php_after_delete_vvvvvxx) function vvvvvxx(add_php_before_delete_vvvvvxx)
{ {
// set the function logic // set the function logic
if (add_php_after_delete_vvvvvxx == 1) if (add_php_before_delete_vvvvvxx == 1)
{ {
jQuery('#jform_php_after_delete-lbl').closest('.control-group').show(); jQuery('#jform_php_before_delete-lbl').closest('.control-group').show();
// add required attribute to php_after_delete field // add required attribute to php_before_delete field
if (jform_vvvvvxxvxn_required) if (jform_vvvvvxxvxn_required)
{ {
updateFieldRequired('php_after_delete',0); updateFieldRequired('php_before_delete',0);
jQuery('#jform_php_after_delete').prop('required','required'); jQuery('#jform_php_before_delete').prop('required','required');
jQuery('#jform_php_after_delete').attr('aria-required',true); jQuery('#jform_php_before_delete').attr('aria-required',true);
jQuery('#jform_php_after_delete').addClass('required'); jQuery('#jform_php_before_delete').addClass('required');
jform_vvvvvxxvxn_required = false; jform_vvvvvxxvxn_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_after_delete-lbl').closest('.control-group').hide(); jQuery('#jform_php_before_delete-lbl').closest('.control-group').hide();
// remove required attribute from php_after_delete field // remove required attribute from php_before_delete field
if (!jform_vvvvvxxvxn_required) if (!jform_vvvvvxxvxn_required)
{ {
updateFieldRequired('php_after_delete',1); updateFieldRequired('php_before_delete',1);
jQuery('#jform_php_after_delete').removeAttr('required'); jQuery('#jform_php_before_delete').removeAttr('required');
jQuery('#jform_php_after_delete').removeAttr('aria-required'); jQuery('#jform_php_before_delete').removeAttr('aria-required');
jQuery('#jform_php_after_delete').removeClass('required'); jQuery('#jform_php_before_delete').removeClass('required');
jform_vvvvvxxvxn_required = true; jform_vvvvvxxvxn_required = true;
} }
} }
} }
// the vvvvvxy function // the vvvvvxy function
function vvvvvxy(add_php_document_vvvvvxy) function vvvvvxy(add_php_after_delete_vvvvvxy)
{ {
// set the function logic // set the function logic
if (add_php_document_vvvvvxy == 1) if (add_php_after_delete_vvvvvxy == 1)
{ {
jQuery('#jform_php_document-lbl').closest('.control-group').show(); jQuery('#jform_php_after_delete-lbl').closest('.control-group').show();
// add required attribute to php_document field // add required attribute to php_after_delete field
if (jform_vvvvvxyvxo_required) if (jform_vvvvvxyvxo_required)
{ {
updateFieldRequired('php_document',0); updateFieldRequired('php_after_delete',0);
jQuery('#jform_php_document').prop('required','required'); jQuery('#jform_php_after_delete').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true); jQuery('#jform_php_after_delete').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required'); jQuery('#jform_php_after_delete').addClass('required');
jform_vvvvvxyvxo_required = false; jform_vvvvvxyvxo_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_document-lbl').closest('.control-group').hide(); jQuery('#jform_php_after_delete-lbl').closest('.control-group').hide();
// remove required attribute from php_document field // remove required attribute from php_after_delete field
if (!jform_vvvvvxyvxo_required) if (!jform_vvvvvxyvxo_required)
{ {
updateFieldRequired('php_document',1); updateFieldRequired('php_after_delete',1);
jQuery('#jform_php_document').removeAttr('required'); jQuery('#jform_php_after_delete').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required'); jQuery('#jform_php_after_delete').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required'); jQuery('#jform_php_after_delete').removeClass('required');
jform_vvvvvxyvxo_required = true; jform_vvvvvxyvxo_required = true;
} }
} }
} }
// the vvvvvxz function // the vvvvvxz function
function vvvvvxz(add_sql_vvvvvxz) function vvvvvxz(add_php_document_vvvvvxz)
{ {
// set the function logic // set the function logic
if (add_sql_vvvvvxz == 1) if (add_php_document_vvvvvxz == 1)
{ {
jQuery('#jform_source').closest('.control-group').show(); jQuery('#jform_php_document-lbl').closest('.control-group').show();
// add required attribute to source field // add required attribute to php_document field
if (jform_vvvvvxzvxp_required) if (jform_vvvvvxzvxp_required)
{ {
updateFieldRequired('source',0); updateFieldRequired('php_document',0);
jQuery('#jform_source').prop('required','required'); jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_source').attr('aria-required',true); jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_source').addClass('required'); jQuery('#jform_php_document').addClass('required');
jform_vvvvvxzvxp_required = false; jform_vvvvvxzvxp_required = false;
} }
} }
else else
{ {
jQuery('#jform_source').closest('.control-group').hide(); jQuery('#jform_php_document-lbl').closest('.control-group').hide();
// remove required attribute from source field // remove required attribute from php_document field
if (!jform_vvvvvxzvxp_required) if (!jform_vvvvvxzvxp_required)
{ {
updateFieldRequired('source',1); updateFieldRequired('php_document',1);
jQuery('#jform_source').removeAttr('required'); jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_source').removeAttr('aria-required'); jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_source').removeClass('required'); jQuery('#jform_php_document').removeClass('required');
jform_vvvvvxzvxp_required = true; jform_vvvvvxzvxp_required = true;
} }
} }
} }
// the vvvvvya function // the vvvvvya function
function vvvvvya(source_vvvvvya,add_sql_vvvvvya) function vvvvvya(add_sql_vvvvvya)
{ {
// set the function logic // set the function logic
if (source_vvvvvya == 2 && add_sql_vvvvvya == 1) if (add_sql_vvvvvya == 1)
{
jQuery('#jform_source').closest('.control-group').show();
// add required attribute to source field
if (jform_vvvvvyavxq_required)
{
updateFieldRequired('source',0);
jQuery('#jform_source').prop('required','required');
jQuery('#jform_source').attr('aria-required',true);
jQuery('#jform_source').addClass('required');
jform_vvvvvyavxq_required = false;
}
}
else
{
jQuery('#jform_source').closest('.control-group').hide();
// remove required attribute from source field
if (!jform_vvvvvyavxq_required)
{
updateFieldRequired('source',1);
jQuery('#jform_source').removeAttr('required');
jQuery('#jform_source').removeAttr('aria-required');
jQuery('#jform_source').removeClass('required');
jform_vvvvvyavxq_required = true;
}
}
}
// the vvvvvyb function
function vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb)
{
// set the function logic
if (source_vvvvvyb == 2 && add_sql_vvvvvyb == 1)
{ {
jQuery('#jform_sql').closest('.control-group').show(); jQuery('#jform_sql').closest('.control-group').show();
// add required attribute to sql field // add required attribute to sql field
if (jform_vvvvvyavxq_required) if (jform_vvvvvybvxr_required)
{ {
updateFieldRequired('sql',0); updateFieldRequired('sql',0);
jQuery('#jform_sql').prop('required','required'); jQuery('#jform_sql').prop('required','required');
jQuery('#jform_sql').attr('aria-required',true); jQuery('#jform_sql').attr('aria-required',true);
jQuery('#jform_sql').addClass('required'); jQuery('#jform_sql').addClass('required');
jform_vvvvvyavxq_required = false; jform_vvvvvybvxr_required = false;
} }
} }
else else
{ {
jQuery('#jform_sql').closest('.control-group').hide(); jQuery('#jform_sql').closest('.control-group').hide();
// remove required attribute from sql field // remove required attribute from sql field
if (!jform_vvvvvyavxq_required) if (!jform_vvvvvybvxr_required)
{ {
updateFieldRequired('sql',1); updateFieldRequired('sql',1);
jQuery('#jform_sql').removeAttr('required'); jQuery('#jform_sql').removeAttr('required');
jQuery('#jform_sql').removeAttr('aria-required'); jQuery('#jform_sql').removeAttr('aria-required');
jQuery('#jform_sql').removeClass('required'); jQuery('#jform_sql').removeClass('required');
jform_vvvvvyavxq_required = true; jform_vvvvvybvxr_required = true;
} }
} }
} }
// the vvvvvyc function // the vvvvvyd function
function vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc) function vvvvvyd(source_vvvvvyd,add_sql_vvvvvyd)
{ {
// set the function logic // set the function logic
if (source_vvvvvyc == 1 && add_sql_vvvvvyc == 1) if (source_vvvvvyd == 1 && add_sql_vvvvvyd == 1)
{ {
jQuery('#jform_addtables-lbl').closest('.control-group').show(); jQuery('#jform_addtables-lbl').closest('.control-group').show();
} }
@ -991,165 +1027,165 @@ function vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc)
} }
} }
// the vvvvvye function // the vvvvvyf function
function vvvvvye(add_custom_import_vvvvvye) function vvvvvyf(add_custom_import_vvvvvyf)
{ {
// set the function logic // set the function logic
if (add_custom_import_vvvvvye == 1) if (add_custom_import_vvvvvyf == 1)
{ {
jQuery('#jform_html_import_view').closest('.control-group').show(); jQuery('#jform_html_import_view').closest('.control-group').show();
// add required attribute to html_import_view field // add required attribute to html_import_view field
if (jform_vvvvvyevxr_required) if (jform_vvvvvyfvxs_required)
{ {
updateFieldRequired('html_import_view',0); updateFieldRequired('html_import_view',0);
jQuery('#jform_html_import_view').prop('required','required'); jQuery('#jform_html_import_view').prop('required','required');
jQuery('#jform_html_import_view').attr('aria-required',true); jQuery('#jform_html_import_view').attr('aria-required',true);
jQuery('#jform_html_import_view').addClass('required'); jQuery('#jform_html_import_view').addClass('required');
jform_vvvvvyevxr_required = false; jform_vvvvvyfvxs_required = false;
} }
jQuery('.note_advanced_import').closest('.control-group').show(); jQuery('.note_advanced_import').closest('.control-group').show();
jQuery('#jform_php_import_display').closest('.control-group').show(); jQuery('#jform_php_import_display').closest('.control-group').show();
// add required attribute to php_import_display field // add required attribute to php_import_display field
if (jform_vvvvvyevxs_required) if (jform_vvvvvyfvxt_required)
{ {
updateFieldRequired('php_import_display',0); updateFieldRequired('php_import_display',0);
jQuery('#jform_php_import_display').prop('required','required'); jQuery('#jform_php_import_display').prop('required','required');
jQuery('#jform_php_import_display').attr('aria-required',true); jQuery('#jform_php_import_display').attr('aria-required',true);
jQuery('#jform_php_import_display').addClass('required'); jQuery('#jform_php_import_display').addClass('required');
jform_vvvvvyevxs_required = false; jform_vvvvvyfvxt_required = false;
} }
jQuery('#jform_php_import_ext').closest('.control-group').show(); jQuery('#jform_php_import_ext').closest('.control-group').show();
// add required attribute to php_import_ext field // add required attribute to php_import_ext field
if (jform_vvvvvyevxt_required) if (jform_vvvvvyfvxu_required)
{ {
updateFieldRequired('php_import_ext',0); updateFieldRequired('php_import_ext',0);
jQuery('#jform_php_import_ext').prop('required','required'); jQuery('#jform_php_import_ext').prop('required','required');
jQuery('#jform_php_import_ext').attr('aria-required',true); jQuery('#jform_php_import_ext').attr('aria-required',true);
jQuery('#jform_php_import_ext').addClass('required'); jQuery('#jform_php_import_ext').addClass('required');
jform_vvvvvyevxt_required = false; jform_vvvvvyfvxu_required = false;
} }
jQuery('#jform_php_import_headers').closest('.control-group').show(); jQuery('#jform_php_import_headers').closest('.control-group').show();
// add required attribute to php_import_headers field // add required attribute to php_import_headers field
if (jform_vvvvvyevxu_required) if (jform_vvvvvyfvxv_required)
{ {
updateFieldRequired('php_import_headers',0); updateFieldRequired('php_import_headers',0);
jQuery('#jform_php_import_headers').prop('required','required'); jQuery('#jform_php_import_headers').prop('required','required');
jQuery('#jform_php_import_headers').attr('aria-required',true); jQuery('#jform_php_import_headers').attr('aria-required',true);
jQuery('#jform_php_import_headers').addClass('required'); jQuery('#jform_php_import_headers').addClass('required');
jform_vvvvvyevxu_required = false; jform_vvvvvyfvxv_required = false;
} }
jQuery('#jform_php_import').closest('.control-group').show(); jQuery('#jform_php_import').closest('.control-group').show();
// add required attribute to php_import field // add required attribute to php_import field
if (jform_vvvvvyevxv_required) if (jform_vvvvvyfvxw_required)
{ {
updateFieldRequired('php_import',0); updateFieldRequired('php_import',0);
jQuery('#jform_php_import').prop('required','required'); jQuery('#jform_php_import').prop('required','required');
jQuery('#jform_php_import').attr('aria-required',true); jQuery('#jform_php_import').attr('aria-required',true);
jQuery('#jform_php_import').addClass('required'); jQuery('#jform_php_import').addClass('required');
jform_vvvvvyevxv_required = false; jform_vvvvvyfvxw_required = false;
} }
jQuery('#jform_php_import_save').closest('.control-group').show(); jQuery('#jform_php_import_save').closest('.control-group').show();
// add required attribute to php_import_save field // add required attribute to php_import_save field
if (jform_vvvvvyevxw_required) if (jform_vvvvvyfvxx_required)
{ {
updateFieldRequired('php_import_save',0); updateFieldRequired('php_import_save',0);
jQuery('#jform_php_import_save').prop('required','required'); jQuery('#jform_php_import_save').prop('required','required');
jQuery('#jform_php_import_save').attr('aria-required',true); jQuery('#jform_php_import_save').attr('aria-required',true);
jQuery('#jform_php_import_save').addClass('required'); jQuery('#jform_php_import_save').addClass('required');
jform_vvvvvyevxw_required = false; jform_vvvvvyfvxx_required = false;
} }
jQuery('#jform_php_import_setdata').closest('.control-group').show(); jQuery('#jform_php_import_setdata').closest('.control-group').show();
// add required attribute to php_import_setdata field // add required attribute to php_import_setdata field
if (jform_vvvvvyevxx_required) if (jform_vvvvvyfvxy_required)
{ {
updateFieldRequired('php_import_setdata',0); updateFieldRequired('php_import_setdata',0);
jQuery('#jform_php_import_setdata').prop('required','required'); jQuery('#jform_php_import_setdata').prop('required','required');
jQuery('#jform_php_import_setdata').attr('aria-required',true); jQuery('#jform_php_import_setdata').attr('aria-required',true);
jQuery('#jform_php_import_setdata').addClass('required'); jQuery('#jform_php_import_setdata').addClass('required');
jform_vvvvvyevxx_required = false; jform_vvvvvyfvxy_required = false;
} }
} }
else else
{ {
jQuery('#jform_html_import_view').closest('.control-group').hide(); jQuery('#jform_html_import_view').closest('.control-group').hide();
// remove required attribute from html_import_view field // remove required attribute from html_import_view field
if (!jform_vvvvvyevxr_required) if (!jform_vvvvvyfvxs_required)
{ {
updateFieldRequired('html_import_view',1); updateFieldRequired('html_import_view',1);
jQuery('#jform_html_import_view').removeAttr('required'); jQuery('#jform_html_import_view').removeAttr('required');
jQuery('#jform_html_import_view').removeAttr('aria-required'); jQuery('#jform_html_import_view').removeAttr('aria-required');
jQuery('#jform_html_import_view').removeClass('required'); jQuery('#jform_html_import_view').removeClass('required');
jform_vvvvvyevxr_required = true; jform_vvvvvyfvxs_required = true;
} }
jQuery('.note_advanced_import').closest('.control-group').hide(); jQuery('.note_advanced_import').closest('.control-group').hide();
jQuery('#jform_php_import_display').closest('.control-group').hide(); jQuery('#jform_php_import_display').closest('.control-group').hide();
// remove required attribute from php_import_display field // remove required attribute from php_import_display field
if (!jform_vvvvvyevxs_required) if (!jform_vvvvvyfvxt_required)
{ {
updateFieldRequired('php_import_display',1); updateFieldRequired('php_import_display',1);
jQuery('#jform_php_import_display').removeAttr('required'); jQuery('#jform_php_import_display').removeAttr('required');
jQuery('#jform_php_import_display').removeAttr('aria-required'); jQuery('#jform_php_import_display').removeAttr('aria-required');
jQuery('#jform_php_import_display').removeClass('required'); jQuery('#jform_php_import_display').removeClass('required');
jform_vvvvvyevxs_required = true; jform_vvvvvyfvxt_required = true;
} }
jQuery('#jform_php_import_ext').closest('.control-group').hide(); jQuery('#jform_php_import_ext').closest('.control-group').hide();
// remove required attribute from php_import_ext field // remove required attribute from php_import_ext field
if (!jform_vvvvvyevxt_required) if (!jform_vvvvvyfvxu_required)
{ {
updateFieldRequired('php_import_ext',1); updateFieldRequired('php_import_ext',1);
jQuery('#jform_php_import_ext').removeAttr('required'); jQuery('#jform_php_import_ext').removeAttr('required');
jQuery('#jform_php_import_ext').removeAttr('aria-required'); jQuery('#jform_php_import_ext').removeAttr('aria-required');
jQuery('#jform_php_import_ext').removeClass('required'); jQuery('#jform_php_import_ext').removeClass('required');
jform_vvvvvyevxt_required = true; jform_vvvvvyfvxu_required = true;
} }
jQuery('#jform_php_import_headers').closest('.control-group').hide(); jQuery('#jform_php_import_headers').closest('.control-group').hide();
// remove required attribute from php_import_headers field // remove required attribute from php_import_headers field
if (!jform_vvvvvyevxu_required) if (!jform_vvvvvyfvxv_required)
{ {
updateFieldRequired('php_import_headers',1); updateFieldRequired('php_import_headers',1);
jQuery('#jform_php_import_headers').removeAttr('required'); jQuery('#jform_php_import_headers').removeAttr('required');
jQuery('#jform_php_import_headers').removeAttr('aria-required'); jQuery('#jform_php_import_headers').removeAttr('aria-required');
jQuery('#jform_php_import_headers').removeClass('required'); jQuery('#jform_php_import_headers').removeClass('required');
jform_vvvvvyevxu_required = true; jform_vvvvvyfvxv_required = true;
} }
jQuery('#jform_php_import').closest('.control-group').hide(); jQuery('#jform_php_import').closest('.control-group').hide();
// remove required attribute from php_import field // remove required attribute from php_import field
if (!jform_vvvvvyevxv_required) if (!jform_vvvvvyfvxw_required)
{ {
updateFieldRequired('php_import',1); updateFieldRequired('php_import',1);
jQuery('#jform_php_import').removeAttr('required'); jQuery('#jform_php_import').removeAttr('required');
jQuery('#jform_php_import').removeAttr('aria-required'); jQuery('#jform_php_import').removeAttr('aria-required');
jQuery('#jform_php_import').removeClass('required'); jQuery('#jform_php_import').removeClass('required');
jform_vvvvvyevxv_required = true; jform_vvvvvyfvxw_required = true;
} }
jQuery('#jform_php_import_save').closest('.control-group').hide(); jQuery('#jform_php_import_save').closest('.control-group').hide();
// remove required attribute from php_import_save field // remove required attribute from php_import_save field
if (!jform_vvvvvyevxw_required) if (!jform_vvvvvyfvxx_required)
{ {
updateFieldRequired('php_import_save',1); updateFieldRequired('php_import_save',1);
jQuery('#jform_php_import_save').removeAttr('required'); jQuery('#jform_php_import_save').removeAttr('required');
jQuery('#jform_php_import_save').removeAttr('aria-required'); jQuery('#jform_php_import_save').removeAttr('aria-required');
jQuery('#jform_php_import_save').removeClass('required'); jQuery('#jform_php_import_save').removeClass('required');
jform_vvvvvyevxw_required = true; jform_vvvvvyfvxx_required = true;
} }
jQuery('#jform_php_import_setdata').closest('.control-group').hide(); jQuery('#jform_php_import_setdata').closest('.control-group').hide();
// remove required attribute from php_import_setdata field // remove required attribute from php_import_setdata field
if (!jform_vvvvvyevxx_required) if (!jform_vvvvvyfvxy_required)
{ {
updateFieldRequired('php_import_setdata',1); updateFieldRequired('php_import_setdata',1);
jQuery('#jform_php_import_setdata').removeAttr('required'); jQuery('#jform_php_import_setdata').removeAttr('required');
jQuery('#jform_php_import_setdata').removeAttr('aria-required'); jQuery('#jform_php_import_setdata').removeAttr('aria-required');
jQuery('#jform_php_import_setdata').removeClass('required'); jQuery('#jform_php_import_setdata').removeClass('required');
jform_vvvvvyevxx_required = true; jform_vvvvvyfvxy_required = true;
} }
} }
} }
// the vvvvvyf function // the vvvvvyg function
function vvvvvyf(add_custom_import_vvvvvyf) function vvvvvyg(add_custom_import_vvvvvyg)
{ {
// set the function logic // set the function logic
if (add_custom_import_vvvvvyf == 0) if (add_custom_import_vvvvvyg == 0)
{ {
jQuery('.note_beginner_import').closest('.control-group').show(); jQuery('.note_beginner_import').closest('.control-group').show();
} }
@ -1159,52 +1195,52 @@ function vvvvvyf(add_custom_import_vvvvvyf)
} }
} }
// the vvvvvyg function // the vvvvvyh function
function vvvvvyg(add_custom_button_vvvvvyg) function vvvvvyh(add_custom_button_vvvvvyh)
{ {
// set the function logic // set the function logic
if (add_custom_button_vvvvvyg == 1) if (add_custom_button_vvvvvyh == 1)
{ {
jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_custom_button-lbl').closest('.control-group').show();
jQuery('#jform_php_controller-lbl').closest('.control-group').show(); jQuery('#jform_php_controller-lbl').closest('.control-group').show();
// add required attribute to php_controller field // add required attribute to php_controller field
if (jform_vvvvvygvxy_required) if (jform_vvvvvyhvxz_required)
{ {
updateFieldRequired('php_controller',0); updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required'); jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true); jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required'); jQuery('#jform_php_controller').addClass('required');
jform_vvvvvygvxy_required = false; jform_vvvvvyhvxz_required = false;
} }
jQuery('#jform_php_controller_list-lbl').closest('.control-group').show(); jQuery('#jform_php_controller_list-lbl').closest('.control-group').show();
// add required attribute to php_controller_list field // add required attribute to php_controller_list field
if (jform_vvvvvygvxz_required) if (jform_vvvvvyhvya_required)
{ {
updateFieldRequired('php_controller_list',0); updateFieldRequired('php_controller_list',0);
jQuery('#jform_php_controller_list').prop('required','required'); jQuery('#jform_php_controller_list').prop('required','required');
jQuery('#jform_php_controller_list').attr('aria-required',true); jQuery('#jform_php_controller_list').attr('aria-required',true);
jQuery('#jform_php_controller_list').addClass('required'); jQuery('#jform_php_controller_list').addClass('required');
jform_vvvvvygvxz_required = false; jform_vvvvvyhvya_required = false;
} }
jQuery('#jform_php_model-lbl').closest('.control-group').show(); jQuery('#jform_php_model-lbl').closest('.control-group').show();
// add required attribute to php_model field // add required attribute to php_model field
if (jform_vvvvvygvya_required) if (jform_vvvvvyhvyb_required)
{ {
updateFieldRequired('php_model',0); updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required'); jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true); jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required'); jQuery('#jform_php_model').addClass('required');
jform_vvvvvygvya_required = false; jform_vvvvvyhvyb_required = false;
} }
jQuery('#jform_php_model_list-lbl').closest('.control-group').show(); jQuery('#jform_php_model_list-lbl').closest('.control-group').show();
// add required attribute to php_model_list field // add required attribute to php_model_list field
if (jform_vvvvvygvyb_required) if (jform_vvvvvyhvyc_required)
{ {
updateFieldRequired('php_model_list',0); updateFieldRequired('php_model_list',0);
jQuery('#jform_php_model_list').prop('required','required'); jQuery('#jform_php_model_list').prop('required','required');
jQuery('#jform_php_model_list').attr('aria-required',true); jQuery('#jform_php_model_list').attr('aria-required',true);
jQuery('#jform_php_model_list').addClass('required'); jQuery('#jform_php_model_list').addClass('required');
jform_vvvvvygvyb_required = false; jform_vvvvvyhvyc_required = false;
} }
} }
else else
@ -1212,43 +1248,43 @@ function vvvvvyg(add_custom_button_vvvvvyg)
jQuery('#jform_custom_button-lbl').closest('.control-group').hide(); jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
jQuery('#jform_php_controller-lbl').closest('.control-group').hide(); jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
// remove required attribute from php_controller field // remove required attribute from php_controller field
if (!jform_vvvvvygvxy_required) if (!jform_vvvvvyhvxz_required)
{ {
updateFieldRequired('php_controller',1); updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required'); jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required'); jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required'); jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvygvxy_required = true; jform_vvvvvyhvxz_required = true;
} }
jQuery('#jform_php_controller_list-lbl').closest('.control-group').hide(); jQuery('#jform_php_controller_list-lbl').closest('.control-group').hide();
// remove required attribute from php_controller_list field // remove required attribute from php_controller_list field
if (!jform_vvvvvygvxz_required) if (!jform_vvvvvyhvya_required)
{ {
updateFieldRequired('php_controller_list',1); updateFieldRequired('php_controller_list',1);
jQuery('#jform_php_controller_list').removeAttr('required'); jQuery('#jform_php_controller_list').removeAttr('required');
jQuery('#jform_php_controller_list').removeAttr('aria-required'); jQuery('#jform_php_controller_list').removeAttr('aria-required');
jQuery('#jform_php_controller_list').removeClass('required'); jQuery('#jform_php_controller_list').removeClass('required');
jform_vvvvvygvxz_required = true; jform_vvvvvyhvya_required = true;
} }
jQuery('#jform_php_model-lbl').closest('.control-group').hide(); jQuery('#jform_php_model-lbl').closest('.control-group').hide();
// remove required attribute from php_model field // remove required attribute from php_model field
if (!jform_vvvvvygvya_required) if (!jform_vvvvvyhvyb_required)
{ {
updateFieldRequired('php_model',1); updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required'); jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required'); jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required'); jQuery('#jform_php_model').removeClass('required');
jform_vvvvvygvya_required = true; jform_vvvvvyhvyb_required = true;
} }
jQuery('#jform_php_model_list-lbl').closest('.control-group').hide(); jQuery('#jform_php_model_list-lbl').closest('.control-group').hide();
// remove required attribute from php_model_list field // remove required attribute from php_model_list field
if (!jform_vvvvvygvyb_required) if (!jform_vvvvvyhvyc_required)
{ {
updateFieldRequired('php_model_list',1); updateFieldRequired('php_model_list',1);
jQuery('#jform_php_model_list').removeAttr('required'); jQuery('#jform_php_model_list').removeAttr('required');
jQuery('#jform_php_model_list').removeAttr('aria-required'); jQuery('#jform_php_model_list').removeAttr('aria-required');
jQuery('#jform_php_model_list').removeClass('required'); jQuery('#jform_php_model_list').removeClass('required');
jform_vvvvvygvyb_required = true; jform_vvvvvyhvyc_required = true;
} }
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,6 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvvyhvyc_required = false;
jform_vvvvvyivyd_required = false; jform_vvvvvyivyd_required = false;
jform_vvvvvyjvye_required = false; jform_vvvvvyjvye_required = false;
jform_vvvvvykvyf_required = false; jform_vvvvvykvyf_required = false;
@ -17,294 +16,295 @@ jform_vvvvvylvyg_required = false;
jform_vvvvvymvyh_required = false; jform_vvvvvymvyh_required = false;
jform_vvvvvynvyi_required = false; jform_vvvvvynvyi_required = false;
jform_vvvvvyovyj_required = false; jform_vvvvvyovyj_required = false;
jform_vvvvvyovyk_required = false; jform_vvvvvypvyk_required = false;
jform_vvvvvypvyl_required = false; jform_vvvvvypvyl_required = false;
jform_vvvvvyqvym_required = false; jform_vvvvvyqvym_required = false;
jform_vvvvvyrvyn_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvyh = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyi = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyh(add_php_view_vvvvvyh); vvvvvyi(add_php_view_vvvvvyi);
var add_php_jview_display_vvvvvyi = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyj = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyi(add_php_jview_display_vvvvvyi); vvvvvyj(add_php_jview_display_vvvvvyj);
var add_php_jview_vvvvvyj = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyk = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyj(add_php_jview_vvvvvyj); vvvvvyk(add_php_jview_vvvvvyk);
var add_php_document_vvvvvyk = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyl = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyk(add_php_document_vvvvvyk); vvvvvyl(add_php_document_vvvvvyl);
var add_css_document_vvvvvyl = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvym = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyl(add_css_document_vvvvvyl); vvvvvym(add_css_document_vvvvvym);
var add_javascript_file_vvvvvym = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvyn = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvym(add_javascript_file_vvvvvym); vvvvvyn(add_javascript_file_vvvvvyn);
var add_js_document_vvvvvyn = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyo = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyn(add_js_document_vvvvvyn); vvvvvyo(add_js_document_vvvvvyo);
var add_custom_button_vvvvvyo = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyp = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyo(add_custom_button_vvvvvyo); vvvvvyp(add_custom_button_vvvvvyp);
var add_css_vvvvvyp = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyq = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyp(add_css_vvvvvyp); vvvvvyq(add_css_vvvvvyq);
var add_php_ajax_vvvvvyq = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvyr = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyq(add_php_ajax_vvvvvyq); vvvvvyr(add_php_ajax_vvvvvyr);
}); });
// the vvvvvyh function // the vvvvvyi function
function vvvvvyh(add_php_view_vvvvvyh) function vvvvvyi(add_php_view_vvvvvyi)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvyh == 1) if (add_php_view_vvvvvyi == 1)
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').show(); jQuery('#jform_php_view-lbl').closest('.control-group').show();
// add required attribute to php_view field // add required attribute to php_view field
if (jform_vvvvvyhvyc_required) if (jform_vvvvvyivyd_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvyhvyc_required = false; jform_vvvvvyivyd_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').hide(); jQuery('#jform_php_view-lbl').closest('.control-group').hide();
// remove required attribute from php_view field // remove required attribute from php_view field
if (!jform_vvvvvyhvyc_required) if (!jform_vvvvvyivyd_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvyhvyc_required = true;
}
}
}
// the vvvvvyi function
function vvvvvyi(add_php_jview_display_vvvvvyi)
{
// set the function logic
if (add_php_jview_display_vvvvvyi == 1)
{
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
// add required attribute to php_jview_display field
if (jform_vvvvvyivyd_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvyivyd_required = false;
}
}
else
{
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
// remove required attribute from php_jview_display field
if (!jform_vvvvvyivyd_required)
{
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvyivyd_required = true; jform_vvvvvyivyd_required = true;
} }
} }
} }
// the vvvvvyj function // the vvvvvyj function
function vvvvvyj(add_php_jview_vvvvvyj) function vvvvvyj(add_php_jview_display_vvvvvyj)
{ {
// set the function logic // set the function logic
if (add_php_jview_vvvvvyj == 1) if (add_php_jview_display_vvvvvyj == 1)
{ {
jQuery('#jform_php_jview-lbl').closest('.control-group').show(); jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
// add required attribute to php_jview field // add required attribute to php_jview_display field
if (jform_vvvvvyjvye_required) if (jform_vvvvvyjvye_required)
{ {
updateFieldRequired('php_jview',0); updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview').prop('required','required'); jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true); jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required'); jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvyjvye_required = false; jform_vvvvvyjvye_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview-lbl').closest('.control-group').hide(); jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
// remove required attribute from php_jview field // remove required attribute from php_jview_display field
if (!jform_vvvvvyjvye_required) if (!jform_vvvvvyjvye_required)
{ {
updateFieldRequired('php_jview',1); updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview').removeAttr('required'); jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required'); jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required'); jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvyjvye_required = true; jform_vvvvvyjvye_required = true;
} }
} }
} }
// the vvvvvyk function // the vvvvvyk function
function vvvvvyk(add_php_document_vvvvvyk) function vvvvvyk(add_php_jview_vvvvvyk)
{ {
// set the function logic // set the function logic
if (add_php_document_vvvvvyk == 1) if (add_php_jview_vvvvvyk == 1)
{ {
jQuery('#jform_php_document-lbl').closest('.control-group').show(); jQuery('#jform_php_jview-lbl').closest('.control-group').show();
// add required attribute to php_document field // add required attribute to php_jview field
if (jform_vvvvvykvyf_required) if (jform_vvvvvykvyf_required)
{ {
updateFieldRequired('php_document',0); updateFieldRequired('php_jview',0);
jQuery('#jform_php_document').prop('required','required'); jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true); jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required'); jQuery('#jform_php_jview').addClass('required');
jform_vvvvvykvyf_required = false; jform_vvvvvykvyf_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_document-lbl').closest('.control-group').hide(); jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
// remove required attribute from php_document field // remove required attribute from php_jview field
if (!jform_vvvvvykvyf_required) if (!jform_vvvvvykvyf_required)
{ {
updateFieldRequired('php_document',1); updateFieldRequired('php_jview',1);
jQuery('#jform_php_document').removeAttr('required'); jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required'); jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required'); jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvykvyf_required = true; jform_vvvvvykvyf_required = true;
} }
} }
} }
// the vvvvvyl function // the vvvvvyl function
function vvvvvyl(add_css_document_vvvvvyl) function vvvvvyl(add_php_document_vvvvvyl)
{ {
// set the function logic // set the function logic
if (add_css_document_vvvvvyl == 1) if (add_php_document_vvvvvyl == 1)
{ {
jQuery('#jform_css_document-lbl').closest('.control-group').show(); jQuery('#jform_php_document-lbl').closest('.control-group').show();
// add required attribute to css_document field // add required attribute to php_document field
if (jform_vvvvvylvyg_required) if (jform_vvvvvylvyg_required)
{ {
updateFieldRequired('css_document',0); updateFieldRequired('php_document',0);
jQuery('#jform_css_document').prop('required','required'); jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true); jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required'); jQuery('#jform_php_document').addClass('required');
jform_vvvvvylvyg_required = false; jform_vvvvvylvyg_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_document-lbl').closest('.control-group').hide(); jQuery('#jform_php_document-lbl').closest('.control-group').hide();
// remove required attribute from css_document field // remove required attribute from php_document field
if (!jform_vvvvvylvyg_required) if (!jform_vvvvvylvyg_required)
{ {
updateFieldRequired('css_document',1); updateFieldRequired('php_document',1);
jQuery('#jform_css_document').removeAttr('required'); jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required'); jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required'); jQuery('#jform_php_document').removeClass('required');
jform_vvvvvylvyg_required = true; jform_vvvvvylvyg_required = true;
} }
} }
} }
// the vvvvvym function // the vvvvvym function
function vvvvvym(add_javascript_file_vvvvvym) function vvvvvym(add_css_document_vvvvvym)
{ {
// set the function logic // set the function logic
if (add_javascript_file_vvvvvym == 1) if (add_css_document_vvvvvym == 1)
{ {
jQuery('#jform_javascript_file-lbl').closest('.control-group').show(); jQuery('#jform_css_document-lbl').closest('.control-group').show();
// add required attribute to javascript_file field // add required attribute to css_document field
if (jform_vvvvvymvyh_required) if (jform_vvvvvymvyh_required)
{ {
updateFieldRequired('javascript_file',0); updateFieldRequired('css_document',0);
jQuery('#jform_javascript_file').prop('required','required'); jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_javascript_file').attr('aria-required',true); jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_javascript_file').addClass('required'); jQuery('#jform_css_document').addClass('required');
jform_vvvvvymvyh_required = false; jform_vvvvvymvyh_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide(); jQuery('#jform_css_document-lbl').closest('.control-group').hide();
// remove required attribute from javascript_file field // remove required attribute from css_document field
if (!jform_vvvvvymvyh_required) if (!jform_vvvvvymvyh_required)
{ {
updateFieldRequired('javascript_file',1); updateFieldRequired('css_document',1);
jQuery('#jform_javascript_file').removeAttr('required'); jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_javascript_file').removeAttr('aria-required'); jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_javascript_file').removeClass('required'); jQuery('#jform_css_document').removeClass('required');
jform_vvvvvymvyh_required = true; jform_vvvvvymvyh_required = true;
} }
} }
} }
// the vvvvvyn function // the vvvvvyn function
function vvvvvyn(add_js_document_vvvvvyn) function vvvvvyn(add_javascript_file_vvvvvyn)
{ {
// set the function logic // set the function logic
if (add_js_document_vvvvvyn == 1) if (add_javascript_file_vvvvvyn == 1)
{ {
jQuery('#jform_js_document-lbl').closest('.control-group').show(); jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
// add required attribute to js_document field // add required attribute to javascript_file field
if (jform_vvvvvynvyi_required) if (jform_vvvvvynvyi_required)
{ {
updateFieldRequired('js_document',0); updateFieldRequired('javascript_file',0);
jQuery('#jform_js_document').prop('required','required'); jQuery('#jform_javascript_file').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true); jQuery('#jform_javascript_file').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required'); jQuery('#jform_javascript_file').addClass('required');
jform_vvvvvynvyi_required = false; jform_vvvvvynvyi_required = false;
} }
} }
else else
{ {
jQuery('#jform_js_document-lbl').closest('.control-group').hide(); jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
// remove required attribute from js_document field // remove required attribute from javascript_file field
if (!jform_vvvvvynvyi_required) if (!jform_vvvvvynvyi_required)
{ {
updateFieldRequired('js_document',1); updateFieldRequired('javascript_file',1);
jQuery('#jform_js_document').removeAttr('required'); jQuery('#jform_javascript_file').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required'); jQuery('#jform_javascript_file').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required'); jQuery('#jform_javascript_file').removeClass('required');
jform_vvvvvynvyi_required = true; jform_vvvvvynvyi_required = true;
} }
} }
} }
// the vvvvvyo function // the vvvvvyo function
function vvvvvyo(add_custom_button_vvvvvyo) function vvvvvyo(add_js_document_vvvvvyo)
{ {
// set the function logic // set the function logic
if (add_custom_button_vvvvvyo == 1) if (add_js_document_vvvvvyo == 1)
{
jQuery('#jform_js_document-lbl').closest('.control-group').show();
// add required attribute to js_document field
if (jform_vvvvvyovyj_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
jform_vvvvvyovyj_required = false;
}
}
else
{
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
// remove required attribute from js_document field
if (!jform_vvvvvyovyj_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
jform_vvvvvyovyj_required = true;
}
}
}
// the vvvvvyp function
function vvvvvyp(add_custom_button_vvvvvyp)
{
// set the function logic
if (add_custom_button_vvvvvyp == 1)
{ {
jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_custom_button-lbl').closest('.control-group').show();
jQuery('#jform_php_controller-lbl').closest('.control-group').show(); jQuery('#jform_php_controller-lbl').closest('.control-group').show();
// add required attribute to php_controller field // add required attribute to php_controller field
if (jform_vvvvvyovyj_required) if (jform_vvvvvypvyk_required)
{ {
updateFieldRequired('php_controller',0); updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required'); jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true); jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required'); jQuery('#jform_php_controller').addClass('required');
jform_vvvvvyovyj_required = false; jform_vvvvvypvyk_required = false;
} }
jQuery('#jform_php_model-lbl').closest('.control-group').show(); jQuery('#jform_php_model-lbl').closest('.control-group').show();
// add required attribute to php_model field // add required attribute to php_model field
if (jform_vvvvvyovyk_required) if (jform_vvvvvypvyl_required)
{ {
updateFieldRequired('php_model',0); updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required'); jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true); jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required'); jQuery('#jform_php_model').addClass('required');
jform_vvvvvyovyk_required = false; jform_vvvvvypvyl_required = false;
} }
} }
else else
@ -312,75 +312,75 @@ function vvvvvyo(add_custom_button_vvvvvyo)
jQuery('#jform_custom_button-lbl').closest('.control-group').hide(); jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
jQuery('#jform_php_controller-lbl').closest('.control-group').hide(); jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
// remove required attribute from php_controller field // remove required attribute from php_controller field
if (!jform_vvvvvyovyj_required) if (!jform_vvvvvypvyk_required)
{ {
updateFieldRequired('php_controller',1); updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required'); jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required'); jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required'); jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvyovyj_required = true; jform_vvvvvypvyk_required = true;
} }
jQuery('#jform_php_model-lbl').closest('.control-group').hide(); jQuery('#jform_php_model-lbl').closest('.control-group').hide();
// remove required attribute from php_model field // remove required attribute from php_model field
if (!jform_vvvvvyovyk_required) if (!jform_vvvvvypvyl_required)
{ {
updateFieldRequired('php_model',1); updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required'); jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required'); jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required'); jQuery('#jform_php_model').removeClass('required');
jform_vvvvvyovyk_required = true;
}
}
}
// the vvvvvyp function
function vvvvvyp(add_css_vvvvvyp)
{
// set the function logic
if (add_css_vvvvvyp == 1)
{
jQuery('#jform_css-lbl').closest('.control-group').show();
// add required attribute to css field
if (jform_vvvvvypvyl_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvypvyl_required = false;
}
}
else
{
jQuery('#jform_css-lbl').closest('.control-group').hide();
// remove required attribute from css field
if (!jform_vvvvvypvyl_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvypvyl_required = true; jform_vvvvvypvyl_required = true;
} }
} }
} }
// the vvvvvyq function // the vvvvvyq function
function vvvvvyq(add_php_ajax_vvvvvyq) function vvvvvyq(add_css_vvvvvyq)
{ {
// set the function logic // set the function logic
if (add_php_ajax_vvvvvyq == 1) if (add_css_vvvvvyq == 1)
{
jQuery('#jform_css-lbl').closest('.control-group').show();
// add required attribute to css field
if (jform_vvvvvyqvym_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvyqvym_required = false;
}
}
else
{
jQuery('#jform_css-lbl').closest('.control-group').hide();
// remove required attribute from css field
if (!jform_vvvvvyqvym_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvyqvym_required = true;
}
}
}
// the vvvvvyr function
function vvvvvyr(add_php_ajax_vvvvvyr)
{
// set the function logic
if (add_php_ajax_vvvvvyr == 1)
{ {
jQuery('#jform_ajax_input-lbl').closest('.control-group').show(); jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
// add required attribute to php_ajaxmethod field // add required attribute to php_ajaxmethod field
if (jform_vvvvvyqvym_required) if (jform_vvvvvyrvyn_required)
{ {
updateFieldRequired('php_ajaxmethod',0); updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required'); jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true); jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required'); jQuery('#jform_php_ajaxmethod').addClass('required');
jform_vvvvvyqvym_required = false; jform_vvvvvyrvyn_required = false;
} }
} }
else else
@ -388,13 +388,13 @@ function vvvvvyq(add_php_ajax_vvvvvyq)
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide(); jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
// remove required attribute from php_ajaxmethod field // remove required attribute from php_ajaxmethod field
if (!jform_vvvvvyqvym_required) if (!jform_vvvvvyrvyn_required)
{ {
updateFieldRequired('php_ajaxmethod',1); updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required'); jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required'); jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required'); jQuery('#jform_php_ajaxmethod').removeClass('required');
jform_vvvvvyqvym_required = true; jform_vvvvvyrvyn_required = true;
} }
} }
} }

View File

@ -9,44 +9,44 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwafvzu_required = false;
jform_vvvvwagvzv_required = false; jform_vvvvwagvzv_required = false;
jform_vvvvwagvzw_required = false; jform_vvvvwahvzw_required = false;
jform_vvvvwagvzx_required = false; jform_vvvvwahvzx_required = false;
jform_vvvvwahvzy_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var target_vvvvwaf = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaf(target_vvvvwaf);
var target_vvvvwag = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwag = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwag(target_vvvvwag); vvvvwag(target_vvvvwag);
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val(); vvvvwah(target_vvvvwah);
vvvvwah(target_vvvvwah,type_vvvvwah);
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwai(type_vvvvwai,target_vvvvwai); var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwai(target_vvvvwai,type_vvvvwai);
var type_vvvvwaj = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwaj = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaj(type_vvvvwaj,target_vvvvwaj);
}); });
// the vvvvwaf function // the vvvvwag function
function vvvvwaf(target_vvvvwaf) function vvvvwag(target_vvvvwag)
{ {
// set the function logic // set the function logic
if (target_vvvvwaf == 2) if (target_vvvvwag == 2)
{ {
jQuery('#jform_function_name').closest('.control-group').show(); jQuery('#jform_function_name').closest('.control-group').show();
// add required attribute to function_name field // add required attribute to function_name field
if (jform_vvvvwafvzu_required) if (jform_vvvvwagvzv_required)
{ {
updateFieldRequired('function_name',0); updateFieldRequired('function_name',0);
jQuery('#jform_function_name').prop('required','required'); jQuery('#jform_function_name').prop('required','required');
jQuery('#jform_function_name').attr('aria-required',true); jQuery('#jform_function_name').attr('aria-required',true);
jQuery('#jform_function_name').addClass('required'); jQuery('#jform_function_name').addClass('required');
jform_vvvvwafvzu_required = false; jform_vvvvwagvzv_required = false;
} }
jQuery('.note_jcb_placeholder').closest('.control-group').show(); jQuery('.note_jcb_placeholder').closest('.control-group').show();
jQuery('#jform_system_name').closest('.control-group').show(); jQuery('#jform_system_name').closest('.control-group').show();
@ -55,102 +55,102 @@ function vvvvwaf(target_vvvvwaf)
{ {
jQuery('#jform_function_name').closest('.control-group').hide(); jQuery('#jform_function_name').closest('.control-group').hide();
// remove required attribute from function_name field // remove required attribute from function_name field
if (!jform_vvvvwafvzu_required) if (!jform_vvvvwagvzv_required)
{ {
updateFieldRequired('function_name',1); updateFieldRequired('function_name',1);
jQuery('#jform_function_name').removeAttr('required'); jQuery('#jform_function_name').removeAttr('required');
jQuery('#jform_function_name').removeAttr('aria-required'); jQuery('#jform_function_name').removeAttr('aria-required');
jQuery('#jform_function_name').removeClass('required'); jQuery('#jform_function_name').removeClass('required');
jform_vvvvwafvzu_required = true; jform_vvvvwagvzv_required = true;
} }
jQuery('.note_jcb_placeholder').closest('.control-group').hide(); jQuery('.note_jcb_placeholder').closest('.control-group').hide();
jQuery('#jform_system_name').closest('.control-group').hide(); jQuery('#jform_system_name').closest('.control-group').hide();
} }
} }
// the vvvvwag function // the vvvvwah function
function vvvvwag(target_vvvvwag) function vvvvwah(target_vvvvwah)
{ {
// set the function logic // set the function logic
if (target_vvvvwag == 1) if (target_vvvvwah == 1)
{ {
jQuery('#jform_component').closest('.control-group').show(); jQuery('#jform_component').closest('.control-group').show();
// add required attribute to component field // add required attribute to component field
if (jform_vvvvwagvzv_required) if (jform_vvvvwahvzw_required)
{ {
updateFieldRequired('component',0); updateFieldRequired('component',0);
jQuery('#jform_component').prop('required','required'); jQuery('#jform_component').prop('required','required');
jQuery('#jform_component').attr('aria-required',true); jQuery('#jform_component').attr('aria-required',true);
jQuery('#jform_component').addClass('required'); jQuery('#jform_component').addClass('required');
jform_vvvvwagvzv_required = false; jform_vvvvwahvzw_required = false;
} }
jQuery('#jform_path').closest('.control-group').show(); jQuery('#jform_path').closest('.control-group').show();
// add required attribute to path field // add required attribute to path field
if (jform_vvvvwagvzw_required) if (jform_vvvvwahvzx_required)
{ {
updateFieldRequired('path',0); updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required'); jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true); jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required'); jQuery('#jform_path').addClass('required');
jform_vvvvwagvzw_required = false; jform_vvvvwahvzx_required = false;
} }
jQuery('#jform_from_line').closest('.control-group').show(); jQuery('#jform_from_line').closest('.control-group').show();
jQuery('#jform_hashtarget').closest('.control-group').show(); jQuery('#jform_hashtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show(); jQuery('#jform_to_line').closest('.control-group').show();
jQuery('#jform_type').closest('.control-group').show(); jQuery('#jform_type').closest('.control-group').show();
// add required attribute to type field // add required attribute to type field
if (jform_vvvvwagvzx_required) if (jform_vvvvwahvzy_required)
{ {
updateFieldRequired('type',0); updateFieldRequired('type',0);
jQuery('#jform_type').prop('required','required'); jQuery('#jform_type').prop('required','required');
jQuery('#jform_type').attr('aria-required',true); jQuery('#jform_type').attr('aria-required',true);
jQuery('#jform_type').addClass('required'); jQuery('#jform_type').addClass('required');
jform_vvvvwagvzx_required = false; jform_vvvvwahvzy_required = false;
} }
} }
else else
{ {
jQuery('#jform_component').closest('.control-group').hide(); jQuery('#jform_component').closest('.control-group').hide();
// remove required attribute from component field // remove required attribute from component field
if (!jform_vvvvwagvzv_required) if (!jform_vvvvwahvzw_required)
{ {
updateFieldRequired('component',1); updateFieldRequired('component',1);
jQuery('#jform_component').removeAttr('required'); jQuery('#jform_component').removeAttr('required');
jQuery('#jform_component').removeAttr('aria-required'); jQuery('#jform_component').removeAttr('aria-required');
jQuery('#jform_component').removeClass('required'); jQuery('#jform_component').removeClass('required');
jform_vvvvwagvzv_required = true; jform_vvvvwahvzw_required = true;
} }
jQuery('#jform_path').closest('.control-group').hide(); jQuery('#jform_path').closest('.control-group').hide();
// remove required attribute from path field // remove required attribute from path field
if (!jform_vvvvwagvzw_required) if (!jform_vvvvwahvzx_required)
{ {
updateFieldRequired('path',1); updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required'); jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required'); jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required'); jQuery('#jform_path').removeClass('required');
jform_vvvvwagvzw_required = true; jform_vvvvwahvzx_required = true;
} }
jQuery('#jform_from_line').closest('.control-group').hide(); jQuery('#jform_from_line').closest('.control-group').hide();
jQuery('#jform_hashtarget').closest('.control-group').hide(); jQuery('#jform_hashtarget').closest('.control-group').hide();
jQuery('#jform_to_line').closest('.control-group').hide(); jQuery('#jform_to_line').closest('.control-group').hide();
jQuery('#jform_type').closest('.control-group').hide(); jQuery('#jform_type').closest('.control-group').hide();
// remove required attribute from type field // remove required attribute from type field
if (!jform_vvvvwagvzx_required) if (!jform_vvvvwahvzy_required)
{ {
updateFieldRequired('type',1); updateFieldRequired('type',1);
jQuery('#jform_type').removeAttr('required'); jQuery('#jform_type').removeAttr('required');
jQuery('#jform_type').removeAttr('aria-required'); jQuery('#jform_type').removeAttr('aria-required');
jQuery('#jform_type').removeClass('required'); jQuery('#jform_type').removeClass('required');
jform_vvvvwagvzx_required = true; jform_vvvvwahvzy_required = true;
} }
} }
} }
// the vvvvwah function // the vvvvwai function
function vvvvwah(target_vvvvwah,type_vvvvwah) function vvvvwai(target_vvvvwai,type_vvvvwai)
{ {
// set the function logic // set the function logic
if (target_vvvvwah == 1 && type_vvvvwah == 1) if (target_vvvvwai == 1 && type_vvvvwai == 1)
{ {
jQuery('#jform_hashendtarget').closest('.control-group').show(); jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show(); jQuery('#jform_to_line').closest('.control-group').show();
@ -162,11 +162,11 @@ function vvvvwah(target_vvvvwah,type_vvvvwah)
} }
} }
// the vvvvwai function // the vvvvwaj function
function vvvvwai(type_vvvvwai,target_vvvvwai) function vvvvwaj(type_vvvvwaj,target_vvvvwaj)
{ {
// set the function logic // set the function logic
if (type_vvvvwai == 1 && target_vvvvwai == 1) if (type_vvvvwaj == 1 && target_vvvvwaj == 1)
{ {
jQuery('#jform_hashendtarget').closest('.control-group').show(); jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show(); jQuery('#jform_to_line').closest('.control-group').show();

File diff suppressed because it is too large Load Diff

View File

@ -9,61 +9,61 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwarwaa_required = false;
jform_vvvvwaswab_required = false; jform_vvvvwaswab_required = false;
jform_vvvvwatwac_required = false; jform_vvvvwatwac_required = false;
jform_vvvvwauwad_required = false; jform_vvvvwauwad_required = false;
jform_vvvvwaxwae_required = false; jform_vvvvwavwae_required = false;
jform_vvvvwaywaf_required = false; jform_vvvvwaywaf_required = false;
jform_vvvvwazwag_required = false; jform_vvvvwazwag_required = false;
jform_vvvvwbawah_required = false; jform_vvvvwbawah_required = false;
jform_vvvvwbbwai_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var datalenght_vvvvwar = jQuery("#jform_datalenght").val(); var datalenght_vvvvwas = jQuery("#jform_datalenght").val();
vvvvwar(datalenght_vvvvwar); vvvvwas(datalenght_vvvvwas);
var datadefault_vvvvwas = jQuery("#jform_datadefault").val(); var datadefault_vvvvwat = jQuery("#jform_datadefault").val();
vvvvwas(datadefault_vvvvwas); vvvvwat(datadefault_vvvvwat);
var datatype_vvvvwat = jQuery("#jform_datatype").val();
vvvvwat(datatype_vvvvwat);
var datatype_vvvvwau = jQuery("#jform_datatype").val(); var datatype_vvvvwau = jQuery("#jform_datatype").val();
vvvvwau(datatype_vvvvwau); vvvvwau(datatype_vvvvwau);
var store_vvvvwav = jQuery("#jform_store").val();
var datatype_vvvvwav = jQuery("#jform_datatype").val(); var datatype_vvvvwav = jQuery("#jform_datatype").val();
vvvvwav(store_vvvvwav,datatype_vvvvwav); vvvvwav(datatype_vvvvwav);
var add_css_view_vvvvwax = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var store_vvvvwaw = jQuery("#jform_store").val();
vvvvwax(add_css_view_vvvvwax); var datatype_vvvvwaw = jQuery("#jform_datatype").val();
vvvvwaw(store_vvvvwaw,datatype_vvvvwaw);
var add_css_views_vvvvway = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_view_vvvvway = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvway(add_css_views_vvvvway); vvvvway(add_css_view_vvvvway);
var add_javascript_view_footer_vvvvwaz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_css_views_vvvvwaz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwaz(add_javascript_view_footer_vvvvwaz); vvvvwaz(add_css_views_vvvvwaz);
var add_javascript_views_footer_vvvvwba = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvwba = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwba(add_javascript_views_footer_vvvvwba); vvvvwba(add_javascript_view_footer_vvvvwba);
var add_javascript_views_footer_vvvvwbb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwbb(add_javascript_views_footer_vvvvwbb);
}); });
// the vvvvwar function // the vvvvwas function
function vvvvwar(datalenght_vvvvwar) function vvvvwas(datalenght_vvvvwas)
{ {
if (isSet(datalenght_vvvvwar) && datalenght_vvvvwar.constructor !== Array) if (isSet(datalenght_vvvvwas) && datalenght_vvvvwas.constructor !== Array)
{ {
var temp_vvvvwar = datalenght_vvvvwar; var temp_vvvvwas = datalenght_vvvvwas;
var datalenght_vvvvwar = []; var datalenght_vvvvwas = [];
datalenght_vvvvwar.push(temp_vvvvwar); datalenght_vvvvwas.push(temp_vvvvwas);
} }
else if (!isSet(datalenght_vvvvwar)) else if (!isSet(datalenght_vvvvwas))
{ {
var datalenght_vvvvwar = []; var datalenght_vvvvwas = [];
} }
var datalenght = datalenght_vvvvwar.some(datalenght_vvvvwar_SomeFunc); var datalenght = datalenght_vvvvwas.some(datalenght_vvvvwas_SomeFunc);
// set this function logic // set this function logic
@ -71,91 +71,35 @@ function vvvvwar(datalenght_vvvvwar)
{ {
jQuery('#jform_datalenght_other').closest('.control-group').show(); jQuery('#jform_datalenght_other').closest('.control-group').show();
// add required attribute to datalenght_other field // add required attribute to datalenght_other field
if (jform_vvvvwarwaa_required) if (jform_vvvvwaswab_required)
{ {
updateFieldRequired('datalenght_other',0); updateFieldRequired('datalenght_other',0);
jQuery('#jform_datalenght_other').prop('required','required'); jQuery('#jform_datalenght_other').prop('required','required');
jQuery('#jform_datalenght_other').attr('aria-required',true); jQuery('#jform_datalenght_other').attr('aria-required',true);
jQuery('#jform_datalenght_other').addClass('required'); jQuery('#jform_datalenght_other').addClass('required');
jform_vvvvwarwaa_required = false; jform_vvvvwaswab_required = false;
} }
} }
else else
{ {
jQuery('#jform_datalenght_other').closest('.control-group').hide(); jQuery('#jform_datalenght_other').closest('.control-group').hide();
// remove required attribute from datalenght_other field // remove required attribute from datalenght_other field
if (!jform_vvvvwarwaa_required) if (!jform_vvvvwaswab_required)
{ {
updateFieldRequired('datalenght_other',1); updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required'); jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required'); jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required'); jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvwarwaa_required = true;
}
}
}
// the vvvvwar Some function
function datalenght_vvvvwar_SomeFunc(datalenght_vvvvwar)
{
// set the function logic
if (datalenght_vvvvwar == 'Other')
{
return true;
}
return false;
}
// the vvvvwas function
function vvvvwas(datadefault_vvvvwas)
{
if (isSet(datadefault_vvvvwas) && datadefault_vvvvwas.constructor !== Array)
{
var temp_vvvvwas = datadefault_vvvvwas;
var datadefault_vvvvwas = [];
datadefault_vvvvwas.push(temp_vvvvwas);
}
else if (!isSet(datadefault_vvvvwas))
{
var datadefault_vvvvwas = [];
}
var datadefault = datadefault_vvvvwas.some(datadefault_vvvvwas_SomeFunc);
// set this function logic
if (datadefault)
{
jQuery('#jform_datadefault_other').closest('.control-group').show();
// add required attribute to datadefault_other field
if (jform_vvvvwaswab_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_vvvvwaswab_required = false;
}
}
else
{
jQuery('#jform_datadefault_other').closest('.control-group').hide();
// remove required attribute from datadefault_other field
if (!jform_vvvvwaswab_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_vvvvwaswab_required = true; jform_vvvvwaswab_required = true;
} }
} }
} }
// the vvvvwas Some function // the vvvvwas Some function
function datadefault_vvvvwas_SomeFunc(datadefault_vvvvwas) function datalenght_vvvvwas_SomeFunc(datalenght_vvvvwas)
{ {
// set the function logic // set the function logic
if (datadefault_vvvvwas == 'Other') if (datalenght_vvvvwas == 'Other')
{ {
return true; return true;
} }
@ -163,59 +107,55 @@ function datadefault_vvvvwas_SomeFunc(datadefault_vvvvwas)
} }
// the vvvvwat function // the vvvvwat function
function vvvvwat(datatype_vvvvwat) function vvvvwat(datadefault_vvvvwat)
{ {
if (isSet(datatype_vvvvwat) && datatype_vvvvwat.constructor !== Array) if (isSet(datadefault_vvvvwat) && datadefault_vvvvwat.constructor !== Array)
{ {
var temp_vvvvwat = datatype_vvvvwat; var temp_vvvvwat = datadefault_vvvvwat;
var datatype_vvvvwat = []; var datadefault_vvvvwat = [];
datatype_vvvvwat.push(temp_vvvvwat); datadefault_vvvvwat.push(temp_vvvvwat);
} }
else if (!isSet(datatype_vvvvwat)) else if (!isSet(datadefault_vvvvwat))
{ {
var datatype_vvvvwat = []; var datadefault_vvvvwat = [];
} }
var datatype = datatype_vvvvwat.some(datatype_vvvvwat_SomeFunc); var datadefault = datadefault_vvvvwat.some(datadefault_vvvvwat_SomeFunc);
// set this function logic // set this function logic
if (datatype) if (datadefault)
{ {
jQuery('#jform_datadefault').closest('.control-group').show(); jQuery('#jform_datadefault_other').closest('.control-group').show();
jQuery('#jform_datalenght').closest('.control-group').show(); // add required attribute to datadefault_other field
jQuery('#jform_indexes').closest('.control-group').show();
// add required attribute to indexes field
if (jform_vvvvwatwac_required) if (jform_vvvvwatwac_required)
{ {
updateFieldRequired('indexes',0); updateFieldRequired('datadefault_other',0);
jQuery('#jform_indexes').prop('required','required'); jQuery('#jform_datadefault_other').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true); jQuery('#jform_datadefault_other').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required'); jQuery('#jform_datadefault_other').addClass('required');
jform_vvvvwatwac_required = false; jform_vvvvwatwac_required = false;
} }
} }
else else
{ {
jQuery('#jform_datadefault').closest('.control-group').hide(); jQuery('#jform_datadefault_other').closest('.control-group').hide();
jQuery('#jform_datalenght').closest('.control-group').hide(); // remove required attribute from datadefault_other field
jQuery('#jform_indexes').closest('.control-group').hide();
// remove required attribute from indexes field
if (!jform_vvvvwatwac_required) if (!jform_vvvvwatwac_required)
{ {
updateFieldRequired('indexes',1); updateFieldRequired('datadefault_other',1);
jQuery('#jform_indexes').removeAttr('required'); jQuery('#jform_datadefault_other').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required'); jQuery('#jform_datadefault_other').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required'); jQuery('#jform_datadefault_other').removeClass('required');
jform_vvvvwatwac_required = true; jform_vvvvwatwac_required = true;
} }
} }
} }
// the vvvvwat Some function // the vvvvwat Some function
function datatype_vvvvwat_SomeFunc(datatype_vvvvwat) function datadefault_vvvvwat_SomeFunc(datadefault_vvvvwat)
{ {
// set the function logic // set the function logic
if (datatype_vvvvwat == 'CHAR' || datatype_vvvvwat == 'VARCHAR' || datatype_vvvvwat == 'DATETIME' || datatype_vvvvwat == 'DATE' || datatype_vvvvwat == 'TIME' || datatype_vvvvwat == 'INT' || datatype_vvvvwat == 'TINYINT' || datatype_vvvvwat == 'BIGINT' || datatype_vvvvwat == 'FLOAT' || datatype_vvvvwat == 'DECIMAL' || datatype_vvvvwat == 'DOUBLE') if (datadefault_vvvvwat == 'Other')
{ {
return true; return true;
} }
@ -241,27 +181,31 @@ function vvvvwau(datatype_vvvvwau)
// set this function logic // set this function logic
if (datatype) if (datatype)
{ {
jQuery('#jform_store').closest('.control-group').show(); jQuery('#jform_datadefault').closest('.control-group').show();
// add required attribute to store field jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
// add required attribute to indexes field
if (jform_vvvvwauwad_required) if (jform_vvvvwauwad_required)
{ {
updateFieldRequired('store',0); updateFieldRequired('indexes',0);
jQuery('#jform_store').prop('required','required'); jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_store').attr('aria-required',true); jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_store').addClass('required'); jQuery('#jform_indexes').addClass('required');
jform_vvvvwauwad_required = false; jform_vvvvwauwad_required = false;
} }
} }
else else
{ {
jQuery('#jform_store').closest('.control-group').hide(); jQuery('#jform_datadefault').closest('.control-group').hide();
// remove required attribute from store field jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
// remove required attribute from indexes field
if (!jform_vvvvwauwad_required) if (!jform_vvvvwauwad_required)
{ {
updateFieldRequired('store',1); updateFieldRequired('indexes',1);
jQuery('#jform_store').removeAttr('required'); jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required'); jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required'); jQuery('#jform_indexes').removeClass('required');
jform_vvvvwauwad_required = true; jform_vvvvwauwad_required = true;
} }
} }
@ -271,7 +215,7 @@ function vvvvwau(datatype_vvvvwau)
function datatype_vvvvwau_SomeFunc(datatype_vvvvwau) function datatype_vvvvwau_SomeFunc(datatype_vvvvwau)
{ {
// set the function logic // set the function logic
if (datatype_vvvvwau == 'CHAR' || datatype_vvvvwau == 'VARCHAR' || datatype_vvvvwau == 'TEXT' || datatype_vvvvwau == 'MEDIUMTEXT' || datatype_vvvvwau == 'LONGTEXT' || datatype_vvvvwau == 'BLOB' || datatype_vvvvwau == 'TINYBLOB' || datatype_vvvvwau == 'MEDIUMBLOB' || datatype_vvvvwau == 'LONGBLOB') if (datatype_vvvvwau == 'CHAR' || datatype_vvvvwau == 'VARCHAR' || datatype_vvvvwau == 'DATETIME' || datatype_vvvvwau == 'DATE' || datatype_vvvvwau == 'TIME' || datatype_vvvvwau == 'INT' || datatype_vvvvwau == 'TINYINT' || datatype_vvvvwau == 'BIGINT' || datatype_vvvvwau == 'FLOAT' || datatype_vvvvwau == 'DECIMAL' || datatype_vvvvwau == 'DOUBLE')
{ {
return true; return true;
} }
@ -279,20 +223,8 @@ function datatype_vvvvwau_SomeFunc(datatype_vvvvwau)
} }
// the vvvvwav function // the vvvvwav function
function vvvvwav(store_vvvvwav,datatype_vvvvwav) function vvvvwav(datatype_vvvvwav)
{ {
if (isSet(store_vvvvwav) && store_vvvvwav.constructor !== Array)
{
var temp_vvvvwav = store_vvvvwav;
var store_vvvvwav = [];
store_vvvvwav.push(temp_vvvvwav);
}
else if (!isSet(store_vvvvwav))
{
var store_vvvvwav = [];
}
var store = store_vvvvwav.some(store_vvvvwav_SomeFunc);
if (isSet(datatype_vvvvwav) && datatype_vvvvwav.constructor !== Array) if (isSet(datatype_vvvvwav) && datatype_vvvvwav.constructor !== Array)
{ {
var temp_vvvvwav = datatype_vvvvwav; var temp_vvvvwav = datatype_vvvvwav;
@ -307,25 +239,32 @@ function vvvvwav(store_vvvvwav,datatype_vvvvwav)
// set this function logic // set this function logic
if (store && datatype) if (datatype)
{ {
jQuery('.note_whmcs_encryption').closest('.control-group').show(); jQuery('#jform_store').closest('.control-group').show();
// add required attribute to store field
if (jform_vvvvwavwae_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required');
jform_vvvvwavwae_required = false;
}
} }
else else
{ {
jQuery('.note_whmcs_encryption').closest('.control-group').hide(); jQuery('#jform_store').closest('.control-group').hide();
} // remove required attribute from store field
} if (!jform_vvvvwavwae_required)
// the vvvvwav Some function
function store_vvvvwav_SomeFunc(store_vvvvwav)
{
// set the function logic
if (store_vvvvwav == 4)
{ {
return true; updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required');
jform_vvvvwavwae_required = true;
}
} }
return false;
} }
// the vvvvwav Some function // the vvvvwav Some function
@ -339,130 +278,191 @@ function datatype_vvvvwav_SomeFunc(datatype_vvvvwav)
return false; return false;
} }
// the vvvvwax function // the vvvvwaw function
function vvvvwax(add_css_view_vvvvwax) function vvvvwaw(store_vvvvwaw,datatype_vvvvwaw)
{
if (isSet(store_vvvvwaw) && store_vvvvwaw.constructor !== Array)
{
var temp_vvvvwaw = store_vvvvwaw;
var store_vvvvwaw = [];
store_vvvvwaw.push(temp_vvvvwaw);
}
else if (!isSet(store_vvvvwaw))
{
var store_vvvvwaw = [];
}
var store = store_vvvvwaw.some(store_vvvvwaw_SomeFunc);
if (isSet(datatype_vvvvwaw) && datatype_vvvvwaw.constructor !== Array)
{
var temp_vvvvwaw = datatype_vvvvwaw;
var datatype_vvvvwaw = [];
datatype_vvvvwaw.push(temp_vvvvwaw);
}
else if (!isSet(datatype_vvvvwaw))
{
var datatype_vvvvwaw = [];
}
var datatype = datatype_vvvvwaw.some(datatype_vvvvwaw_SomeFunc);
// set this function logic
if (store && datatype)
{
jQuery('.note_whmcs_encryption').closest('.control-group').show();
}
else
{
jQuery('.note_whmcs_encryption').closest('.control-group').hide();
}
}
// the vvvvwaw Some function
function store_vvvvwaw_SomeFunc(store_vvvvwaw)
{ {
// set the function logic // set the function logic
if (add_css_view_vvvvwax == 1) if (store_vvvvwaw == 4)
{
return true;
}
return false;
}
// the vvvvwaw Some function
function datatype_vvvvwaw_SomeFunc(datatype_vvvvwaw)
{
// set the function logic
if (datatype_vvvvwaw == 'CHAR' || datatype_vvvvwaw == 'VARCHAR' || datatype_vvvvwaw == 'TEXT' || datatype_vvvvwaw == 'MEDIUMTEXT' || datatype_vvvvwaw == 'LONGTEXT' || datatype_vvvvwaw == 'BLOB' || datatype_vvvvwaw == 'TINYBLOB' || datatype_vvvvwaw == 'MEDIUMBLOB' || datatype_vvvvwaw == 'LONGBLOB')
{
return true;
}
return false;
}
// the vvvvway function
function vvvvway(add_css_view_vvvvway)
{
// set the function logic
if (add_css_view_vvvvway == 1)
{ {
jQuery('#jform_css_view-lbl').closest('.control-group').show(); jQuery('#jform_css_view-lbl').closest('.control-group').show();
// add required attribute to css_view field // add required attribute to css_view field
if (jform_vvvvwaxwae_required) if (jform_vvvvwaywaf_required)
{ {
updateFieldRequired('css_view',0); updateFieldRequired('css_view',0);
jQuery('#jform_css_view').prop('required','required'); jQuery('#jform_css_view').prop('required','required');
jQuery('#jform_css_view').attr('aria-required',true); jQuery('#jform_css_view').attr('aria-required',true);
jQuery('#jform_css_view').addClass('required'); jQuery('#jform_css_view').addClass('required');
jform_vvvvwaxwae_required = false; jform_vvvvwaywaf_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_view-lbl').closest('.control-group').hide(); jQuery('#jform_css_view-lbl').closest('.control-group').hide();
// remove required attribute from css_view field // remove required attribute from css_view field
if (!jform_vvvvwaxwae_required) if (!jform_vvvvwaywaf_required)
{ {
updateFieldRequired('css_view',1); updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required'); jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required'); jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required'); jQuery('#jform_css_view').removeClass('required');
jform_vvvvwaxwae_required = true;
}
}
}
// the vvvvway function
function vvvvway(add_css_views_vvvvway)
{
// set the function logic
if (add_css_views_vvvvway == 1)
{
jQuery('#jform_css_views-lbl').closest('.control-group').show();
// add required attribute to css_views field
if (jform_vvvvwaywaf_required)
{
updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required');
jform_vvvvwaywaf_required = false;
}
}
else
{
jQuery('#jform_css_views-lbl').closest('.control-group').hide();
// remove required attribute from css_views field
if (!jform_vvvvwaywaf_required)
{
updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required');
jform_vvvvwaywaf_required = true; jform_vvvvwaywaf_required = true;
} }
} }
} }
// the vvvvwaz function // the vvvvwaz function
function vvvvwaz(add_javascript_view_footer_vvvvwaz) function vvvvwaz(add_css_views_vvvvwaz)
{ {
// set the function logic // set the function logic
if (add_javascript_view_footer_vvvvwaz == 1) if (add_css_views_vvvvwaz == 1)
{ {
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show(); jQuery('#jform_css_views-lbl').closest('.control-group').show();
// add required attribute to javascript_view_footer field // add required attribute to css_views field
if (jform_vvvvwazwag_required) if (jform_vvvvwazwag_required)
{ {
updateFieldRequired('javascript_view_footer',0); updateFieldRequired('css_views',0);
jQuery('#jform_javascript_view_footer').prop('required','required'); jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true); jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required'); jQuery('#jform_css_views').addClass('required');
jform_vvvvwazwag_required = false; jform_vvvvwazwag_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').hide(); jQuery('#jform_css_views-lbl').closest('.control-group').hide();
// remove required attribute from javascript_view_footer field // remove required attribute from css_views field
if (!jform_vvvvwazwag_required) if (!jform_vvvvwazwag_required)
{ {
updateFieldRequired('javascript_view_footer',1); updateFieldRequired('css_views',1);
jQuery('#jform_javascript_view_footer').removeAttr('required'); jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required'); jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required'); jQuery('#jform_css_views').removeClass('required');
jform_vvvvwazwag_required = true; jform_vvvvwazwag_required = true;
} }
} }
} }
// the vvvvwba function // the vvvvwba function
function vvvvwba(add_javascript_views_footer_vvvvwba) function vvvvwba(add_javascript_view_footer_vvvvwba)
{ {
// set the function logic // set the function logic
if (add_javascript_views_footer_vvvvwba == 1) if (add_javascript_view_footer_vvvvwba == 1)
{
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
// add required attribute to javascript_view_footer field
if (jform_vvvvwbawah_required)
{
updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required');
jform_vvvvwbawah_required = false;
}
}
else
{
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').hide();
// remove required attribute from javascript_view_footer field
if (!jform_vvvvwbawah_required)
{
updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required');
jform_vvvvwbawah_required = true;
}
}
}
// the vvvvwbb function
function vvvvwbb(add_javascript_views_footer_vvvvwbb)
{
// set the function logic
if (add_javascript_views_footer_vvvvwbb == 1)
{ {
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show(); jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
// add required attribute to javascript_views_footer field // add required attribute to javascript_views_footer field
if (jform_vvvvwbawah_required) if (jform_vvvvwbbwai_required)
{ {
updateFieldRequired('javascript_views_footer',0); updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required'); jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true); jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required'); jQuery('#jform_javascript_views_footer').addClass('required');
jform_vvvvwbawah_required = false; jform_vvvvwbbwai_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').hide(); jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').hide();
// remove required attribute from javascript_views_footer field // remove required attribute from javascript_views_footer field
if (!jform_vvvvwbawah_required) if (!jform_vvvvwbbwai_required)
{ {
updateFieldRequired('javascript_views_footer',1); updateFieldRequired('javascript_views_footer',1);
jQuery('#jform_javascript_views_footer').removeAttr('required'); jQuery('#jform_javascript_views_footer').removeAttr('required');
jQuery('#jform_javascript_views_footer').removeAttr('aria-required'); jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
jQuery('#jform_javascript_views_footer').removeClass('required'); jQuery('#jform_javascript_views_footer').removeClass('required');
jform_vvvvwbawah_required = true; jform_vvvvwbbwai_required = true;
} }
} }
} }

View File

@ -9,82 +9,82 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwbbwai_required = false; jform_vvvvwbcwaj_required = false;
jform_vvvvwbdwaj_required = false; jform_vvvvwbewak_required = false;
jform_vvvvwbfwak_required = false;
jform_vvvvwbgwal_required = false; jform_vvvvwbgwal_required = false;
jform_vvvvwbhwam_required = false; jform_vvvvwbhwam_required = false;
jform_vvvvwbmwan_required = false; jform_vvvvwbiwan_required = false;
jform_vvvvwbmwao_required = false; jform_vvvvwbnwao_required = false;
jform_vvvvwbnwap_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val(); var datalenght_vvvvwbc = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb); vvvvwbc(datalenght_vvvvwbc,has_defaults_vvvvwbc);
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val(); var datadefault_vvvvwbe = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbe = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd); vvvvwbe(datadefault_vvvvwbe,has_defaults_vvvvwbe);
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbf(datatype_vvvvwbf,has_defaults_vvvvwbf);
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbg = jQuery("#jform_datatype").val(); var datatype_vvvvwbg = jQuery("#jform_datatype").val();
vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg); var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg);
var datatype_vvvvwbh = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbh(datatype_vvvvwbh,has_defaults_vvvvwbh); var datatype_vvvvwbh = jQuery("#jform_datatype").val();
vvvvwbh(has_defaults_vvvvwbh,datatype_vvvvwbh);
var store_vvvvwbj = jQuery("#jform_store").val(); var datatype_vvvvwbi = jQuery("#jform_datatype").val();
var datatype_vvvvwbj = jQuery("#jform_datatype").val(); var has_defaults_vvvvwbi = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val(); vvvvwbi(datatype_vvvvwbi,has_defaults_vvvvwbi);
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var store_vvvvwbk = jQuery("#jform_store").val(); var store_vvvvwbk = jQuery("#jform_store").val();
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk); vvvvwbk(store_vvvvwbk,datatype_vvvvwbk,has_defaults_vvvvwbk);
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbl = jQuery("#jform_store").val();
var datatype_vvvvwbl = jQuery("#jform_datatype").val(); var datatype_vvvvwbl = jQuery("#jform_datatype").val();
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl); var store_vvvvwbl = jQuery("#jform_store").val();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbl(datatype_vvvvwbl,store_vvvvwbl,has_defaults_vvvvwbl);
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbm(has_defaults_vvvvwbm); var store_vvvvwbm = jQuery("#jform_store").val();
var datatype_vvvvwbm = jQuery("#jform_datatype").val();
vvvvwbm(has_defaults_vvvvwbm,store_vvvvwbm,datatype_vvvvwbm);
var has_defaults_vvvvwbn = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbn(has_defaults_vvvvwbn);
}); });
// the vvvvwbb function // the vvvvwbc function
function vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb) function vvvvwbc(datalenght_vvvvwbc,has_defaults_vvvvwbc)
{ {
if (isSet(datalenght_vvvvwbb) && datalenght_vvvvwbb.constructor !== Array) if (isSet(datalenght_vvvvwbc) && datalenght_vvvvwbc.constructor !== Array)
{ {
var temp_vvvvwbb = datalenght_vvvvwbb; var temp_vvvvwbc = datalenght_vvvvwbc;
var datalenght_vvvvwbb = []; var datalenght_vvvvwbc = [];
datalenght_vvvvwbb.push(temp_vvvvwbb); datalenght_vvvvwbc.push(temp_vvvvwbc);
} }
else if (!isSet(datalenght_vvvvwbb)) else if (!isSet(datalenght_vvvvwbc))
{ {
var datalenght_vvvvwbb = []; var datalenght_vvvvwbc = [];
} }
var datalenght = datalenght_vvvvwbb.some(datalenght_vvvvwbb_SomeFunc); var datalenght = datalenght_vvvvwbc.some(datalenght_vvvvwbc_SomeFunc);
if (isSet(has_defaults_vvvvwbb) && has_defaults_vvvvwbb.constructor !== Array) if (isSet(has_defaults_vvvvwbc) && has_defaults_vvvvwbc.constructor !== Array)
{ {
var temp_vvvvwbb = has_defaults_vvvvwbb; var temp_vvvvwbc = has_defaults_vvvvwbc;
var has_defaults_vvvvwbb = []; var has_defaults_vvvvwbc = [];
has_defaults_vvvvwbb.push(temp_vvvvwbb); has_defaults_vvvvwbc.push(temp_vvvvwbc);
} }
else if (!isSet(has_defaults_vvvvwbb)) else if (!isSet(has_defaults_vvvvwbc))
{ {
var has_defaults_vvvvwbb = []; var has_defaults_vvvvwbc = [];
} }
var has_defaults = has_defaults_vvvvwbb.some(has_defaults_vvvvwbb_SomeFunc); var has_defaults = has_defaults_vvvvwbc.some(has_defaults_vvvvwbc_SomeFunc);
// set this function logic // set this function logic
@ -92,78 +92,78 @@ function vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb)
{ {
jQuery('#jform_datalenght_other').closest('.control-group').show(); jQuery('#jform_datalenght_other').closest('.control-group').show();
// add required attribute to datalenght_other field // add required attribute to datalenght_other field
if (jform_vvvvwbbwai_required) if (jform_vvvvwbcwaj_required)
{ {
updateFieldRequired('datalenght_other',0); updateFieldRequired('datalenght_other',0);
jQuery('#jform_datalenght_other').prop('required','required'); jQuery('#jform_datalenght_other').prop('required','required');
jQuery('#jform_datalenght_other').attr('aria-required',true); jQuery('#jform_datalenght_other').attr('aria-required',true);
jQuery('#jform_datalenght_other').addClass('required'); jQuery('#jform_datalenght_other').addClass('required');
jform_vvvvwbbwai_required = false; jform_vvvvwbcwaj_required = false;
} }
} }
else else
{ {
jQuery('#jform_datalenght_other').closest('.control-group').hide(); jQuery('#jform_datalenght_other').closest('.control-group').hide();
// remove required attribute from datalenght_other field // remove required attribute from datalenght_other field
if (!jform_vvvvwbbwai_required) if (!jform_vvvvwbcwaj_required)
{ {
updateFieldRequired('datalenght_other',1); updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required'); jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required'); jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required'); jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvwbbwai_required = true; jform_vvvvwbcwaj_required = true;
} }
} }
} }
// the vvvvwbb Some function // the vvvvwbc Some function
function datalenght_vvvvwbb_SomeFunc(datalenght_vvvvwbb) function datalenght_vvvvwbc_SomeFunc(datalenght_vvvvwbc)
{ {
// set the function logic // set the function logic
if (datalenght_vvvvwbb == 'Other') if (datalenght_vvvvwbc == 'Other')
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbb Some function // the vvvvwbc Some function
function has_defaults_vvvvwbb_SomeFunc(has_defaults_vvvvwbb) function has_defaults_vvvvwbc_SomeFunc(has_defaults_vvvvwbc)
{ {
// set the function logic // set the function logic
if (has_defaults_vvvvwbb == 1) if (has_defaults_vvvvwbc == 1)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbd function // the vvvvwbe function
function vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd) function vvvvwbe(datadefault_vvvvwbe,has_defaults_vvvvwbe)
{ {
if (isSet(datadefault_vvvvwbd) && datadefault_vvvvwbd.constructor !== Array) if (isSet(datadefault_vvvvwbe) && datadefault_vvvvwbe.constructor !== Array)
{ {
var temp_vvvvwbd = datadefault_vvvvwbd; var temp_vvvvwbe = datadefault_vvvvwbe;
var datadefault_vvvvwbd = []; var datadefault_vvvvwbe = [];
datadefault_vvvvwbd.push(temp_vvvvwbd); datadefault_vvvvwbe.push(temp_vvvvwbe);
} }
else if (!isSet(datadefault_vvvvwbd)) else if (!isSet(datadefault_vvvvwbe))
{ {
var datadefault_vvvvwbd = []; var datadefault_vvvvwbe = [];
} }
var datadefault = datadefault_vvvvwbd.some(datadefault_vvvvwbd_SomeFunc); var datadefault = datadefault_vvvvwbe.some(datadefault_vvvvwbe_SomeFunc);
if (isSet(has_defaults_vvvvwbd) && has_defaults_vvvvwbd.constructor !== Array) if (isSet(has_defaults_vvvvwbe) && has_defaults_vvvvwbe.constructor !== Array)
{ {
var temp_vvvvwbd = has_defaults_vvvvwbd; var temp_vvvvwbe = has_defaults_vvvvwbe;
var has_defaults_vvvvwbd = []; var has_defaults_vvvvwbe = [];
has_defaults_vvvvwbd.push(temp_vvvvwbd); has_defaults_vvvvwbe.push(temp_vvvvwbe);
} }
else if (!isSet(has_defaults_vvvvwbd)) else if (!isSet(has_defaults_vvvvwbe))
{ {
var has_defaults_vvvvwbd = []; var has_defaults_vvvvwbe = [];
} }
var has_defaults = has_defaults_vvvvwbd.some(has_defaults_vvvvwbd_SomeFunc); var has_defaults = has_defaults_vvvvwbe.some(has_defaults_vvvvwbe_SomeFunc);
// set this function logic // set this function logic
@ -171,129 +171,46 @@ function vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd)
{ {
jQuery('#jform_datadefault_other').closest('.control-group').show(); jQuery('#jform_datadefault_other').closest('.control-group').show();
// add required attribute to datadefault_other field // add required attribute to datadefault_other field
if (jform_vvvvwbdwaj_required) if (jform_vvvvwbewak_required)
{ {
updateFieldRequired('datadefault_other',0); updateFieldRequired('datadefault_other',0);
jQuery('#jform_datadefault_other').prop('required','required'); jQuery('#jform_datadefault_other').prop('required','required');
jQuery('#jform_datadefault_other').attr('aria-required',true); jQuery('#jform_datadefault_other').attr('aria-required',true);
jQuery('#jform_datadefault_other').addClass('required'); jQuery('#jform_datadefault_other').addClass('required');
jform_vvvvwbdwaj_required = false; jform_vvvvwbewak_required = false;
} }
} }
else else
{ {
jQuery('#jform_datadefault_other').closest('.control-group').hide(); jQuery('#jform_datadefault_other').closest('.control-group').hide();
// remove required attribute from datadefault_other field // remove required attribute from datadefault_other field
if (!jform_vvvvwbdwaj_required) if (!jform_vvvvwbewak_required)
{ {
updateFieldRequired('datadefault_other',1); updateFieldRequired('datadefault_other',1);
jQuery('#jform_datadefault_other').removeAttr('required'); jQuery('#jform_datadefault_other').removeAttr('required');
jQuery('#jform_datadefault_other').removeAttr('aria-required'); jQuery('#jform_datadefault_other').removeAttr('aria-required');
jQuery('#jform_datadefault_other').removeClass('required'); jQuery('#jform_datadefault_other').removeClass('required');
jform_vvvvwbdwaj_required = true; jform_vvvvwbewak_required = true;
} }
} }
} }
// the vvvvwbd Some function // the vvvvwbe Some function
function datadefault_vvvvwbd_SomeFunc(datadefault_vvvvwbd) function datadefault_vvvvwbe_SomeFunc(datadefault_vvvvwbe)
{ {
// set the function logic // set the function logic
if (datadefault_vvvvwbd == 'Other') if (datadefault_vvvvwbe == 'Other')
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbd Some function // the vvvvwbe Some function
function has_defaults_vvvvwbd_SomeFunc(has_defaults_vvvvwbd) function has_defaults_vvvvwbe_SomeFunc(has_defaults_vvvvwbe)
{ {
// set the function logic // set the function logic
if (has_defaults_vvvvwbd == 1) if (has_defaults_vvvvwbe == 1)
{
return true;
}
return false;
}
// the vvvvwbf function
function vvvvwbf(datatype_vvvvwbf,has_defaults_vvvvwbf)
{
if (isSet(datatype_vvvvwbf) && datatype_vvvvwbf.constructor !== Array)
{
var temp_vvvvwbf = datatype_vvvvwbf;
var datatype_vvvvwbf = [];
datatype_vvvvwbf.push(temp_vvvvwbf);
}
else if (!isSet(datatype_vvvvwbf))
{
var datatype_vvvvwbf = [];
}
var datatype = datatype_vvvvwbf.some(datatype_vvvvwbf_SomeFunc);
if (isSet(has_defaults_vvvvwbf) && has_defaults_vvvvwbf.constructor !== Array)
{
var temp_vvvvwbf = has_defaults_vvvvwbf;
var has_defaults_vvvvwbf = [];
has_defaults_vvvvwbf.push(temp_vvvvwbf);
}
else if (!isSet(has_defaults_vvvvwbf))
{
var has_defaults_vvvvwbf = [];
}
var has_defaults = has_defaults_vvvvwbf.some(has_defaults_vvvvwbf_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_vvvvwbfwak_required)
{
updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required');
jform_vvvvwbfwak_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_vvvvwbfwak_required)
{
updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required');
jform_vvvvwbfwak_required = true;
}
}
}
// the vvvvwbf Some function
function datatype_vvvvwbf_SomeFunc(datatype_vvvvwbf)
{
// set the function logic
if (datatype_vvvvwbf == 'CHAR' || datatype_vvvvwbf == 'VARCHAR' || datatype_vvvvwbf == 'DATETIME' || datatype_vvvvwbf == 'DATE' || datatype_vvvvwbf == 'TIME' || datatype_vvvvwbf == 'INT' || datatype_vvvvwbf == 'TINYINT' || datatype_vvvvwbf == 'BIGINT' || datatype_vvvvwbf == 'FLOAT' || datatype_vvvvwbf == 'DECIMAL' || datatype_vvvvwbf == 'DOUBLE')
{
return true;
}
return false;
}
// the vvvvwbf Some function
function has_defaults_vvvvwbf_SomeFunc(has_defaults_vvvvwbf)
{
// set the function logic
if (has_defaults_vvvvwbf == 1)
{ {
return true; return true;
} }
@ -301,20 +218,8 @@ function has_defaults_vvvvwbf_SomeFunc(has_defaults_vvvvwbf)
} }
// the vvvvwbg function // the vvvvwbg function
function vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg) function vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg)
{ {
if (isSet(has_defaults_vvvvwbg) && has_defaults_vvvvwbg.constructor !== Array)
{
var temp_vvvvwbg = has_defaults_vvvvwbg;
var has_defaults_vvvvwbg = [];
has_defaults_vvvvwbg.push(temp_vvvvwbg);
}
else if (!isSet(has_defaults_vvvvwbg))
{
var has_defaults_vvvvwbg = [];
}
var has_defaults = has_defaults_vvvvwbg.some(has_defaults_vvvvwbg_SomeFunc);
if (isSet(datatype_vvvvwbg) && datatype_vvvvwbg.constructor !== Array) if (isSet(datatype_vvvvwbg) && datatype_vvvvwbg.constructor !== Array)
{ {
var temp_vvvvwbg = datatype_vvvvwbg; var temp_vvvvwbg = datatype_vvvvwbg;
@ -327,9 +232,21 @@ function vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg)
} }
var datatype = datatype_vvvvwbg.some(datatype_vvvvwbg_SomeFunc); var datatype = datatype_vvvvwbg.some(datatype_vvvvwbg_SomeFunc);
if (isSet(has_defaults_vvvvwbg) && has_defaults_vvvvwbg.constructor !== Array)
{
var temp_vvvvwbg = has_defaults_vvvvwbg;
var has_defaults_vvvvwbg = [];
has_defaults_vvvvwbg.push(temp_vvvvwbg);
}
else if (!isSet(has_defaults_vvvvwbg))
{
var has_defaults_vvvvwbg = [];
}
var has_defaults = has_defaults_vvvvwbg.some(has_defaults_vvvvwbg_SomeFunc);
// set this function logic // set this function logic
if (has_defaults && datatype) if (datatype && has_defaults)
{ {
jQuery('#jform_datadefault').closest('.control-group').show(); jQuery('#jform_datadefault').closest('.control-group').show();
jQuery('#jform_datalenght').closest('.control-group').show(); jQuery('#jform_datalenght').closest('.control-group').show();
@ -361,17 +278,6 @@ function vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg)
} }
} }
// the vvvvwbg Some function
function has_defaults_vvvvwbg_SomeFunc(has_defaults_vvvvwbg)
{
// set the function logic
if (has_defaults_vvvvwbg == 1)
{
return true;
}
return false;
}
// the vvvvwbg Some function // the vvvvwbg Some function
function datatype_vvvvwbg_SomeFunc(datatype_vvvvwbg) function datatype_vvvvwbg_SomeFunc(datatype_vvvvwbg)
{ {
@ -383,21 +289,20 @@ function datatype_vvvvwbg_SomeFunc(datatype_vvvvwbg)
return false; return false;
} }
// the vvvvwbh function // the vvvvwbg Some function
function vvvvwbh(datatype_vvvvwbh,has_defaults_vvvvwbh) function has_defaults_vvvvwbg_SomeFunc(has_defaults_vvvvwbg)
{ {
if (isSet(datatype_vvvvwbh) && datatype_vvvvwbh.constructor !== Array) // set the function logic
if (has_defaults_vvvvwbg == 1)
{ {
var temp_vvvvwbh = datatype_vvvvwbh; return true;
var datatype_vvvvwbh = [];
datatype_vvvvwbh.push(temp_vvvvwbh);
} }
else if (!isSet(datatype_vvvvwbh)) return false;
{ }
var datatype_vvvvwbh = [];
}
var datatype = datatype_vvvvwbh.some(datatype_vvvvwbh_SomeFunc);
// the vvvvwbh function
function vvvvwbh(has_defaults_vvvvwbh,datatype_vvvvwbh)
{
if (isSet(has_defaults_vvvvwbh) && has_defaults_vvvvwbh.constructor !== Array) if (isSet(has_defaults_vvvvwbh) && has_defaults_vvvvwbh.constructor !== Array)
{ {
var temp_vvvvwbh = has_defaults_vvvvwbh; var temp_vvvvwbh = has_defaults_vvvvwbh;
@ -410,47 +315,52 @@ function vvvvwbh(datatype_vvvvwbh,has_defaults_vvvvwbh)
} }
var has_defaults = has_defaults_vvvvwbh.some(has_defaults_vvvvwbh_SomeFunc); var has_defaults = has_defaults_vvvvwbh.some(has_defaults_vvvvwbh_SomeFunc);
if (isSet(datatype_vvvvwbh) && datatype_vvvvwbh.constructor !== Array)
{
var temp_vvvvwbh = datatype_vvvvwbh;
var datatype_vvvvwbh = [];
datatype_vvvvwbh.push(temp_vvvvwbh);
}
else if (!isSet(datatype_vvvvwbh))
{
var datatype_vvvvwbh = [];
}
var datatype = datatype_vvvvwbh.some(datatype_vvvvwbh_SomeFunc);
// set this function logic // set this function logic
if (datatype && has_defaults) if (has_defaults && datatype)
{ {
jQuery('#jform_store').closest('.control-group').show(); jQuery('#jform_datadefault').closest('.control-group').show();
// add required attribute to store field jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
// add required attribute to indexes field
if (jform_vvvvwbhwam_required) if (jform_vvvvwbhwam_required)
{ {
updateFieldRequired('store',0); updateFieldRequired('indexes',0);
jQuery('#jform_store').prop('required','required'); jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_store').attr('aria-required',true); jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_store').addClass('required'); jQuery('#jform_indexes').addClass('required');
jform_vvvvwbhwam_required = false; jform_vvvvwbhwam_required = false;
} }
} }
else else
{ {
jQuery('#jform_store').closest('.control-group').hide(); jQuery('#jform_datadefault').closest('.control-group').hide();
// remove required attribute from store field jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
// remove required attribute from indexes field
if (!jform_vvvvwbhwam_required) if (!jform_vvvvwbhwam_required)
{ {
updateFieldRequired('store',1); updateFieldRequired('indexes',1);
jQuery('#jform_store').removeAttr('required'); jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required'); jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required'); jQuery('#jform_indexes').removeClass('required');
jform_vvvvwbhwam_required = true; jform_vvvvwbhwam_required = true;
} }
} }
} }
// the vvvvwbh Some function
function datatype_vvvvwbh_SomeFunc(datatype_vvvvwbh)
{
// set the function logic
if (datatype_vvvvwbh == 'CHAR' || datatype_vvvvwbh == 'VARCHAR' || datatype_vvvvwbh == 'TEXT' || datatype_vvvvwbh == 'MEDIUMTEXT' || datatype_vvvvwbh == 'LONGTEXT' || datatype_vvvvwbh == 'BLOB' || datatype_vvvvwbh == 'TINYBLOB' || datatype_vvvvwbh == 'MEDIUMBLOB' || datatype_vvvvwbh == 'LONGBLOB')
{
return true;
}
return false;
}
// the vvvvwbh Some function // the vvvvwbh Some function
function has_defaults_vvvvwbh_SomeFunc(has_defaults_vvvvwbh) function has_defaults_vvvvwbh_SomeFunc(has_defaults_vvvvwbh)
{ {
@ -462,84 +372,90 @@ function has_defaults_vvvvwbh_SomeFunc(has_defaults_vvvvwbh)
return false; return false;
} }
// the vvvvwbj function // the vvvvwbh Some function
function vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj) function datatype_vvvvwbh_SomeFunc(datatype_vvvvwbh)
{ {
if (isSet(store_vvvvwbj) && store_vvvvwbj.constructor !== Array) // set the function logic
if (datatype_vvvvwbh == 'CHAR' || datatype_vvvvwbh == 'VARCHAR' || datatype_vvvvwbh == 'DATETIME' || datatype_vvvvwbh == 'DATE' || datatype_vvvvwbh == 'TIME' || datatype_vvvvwbh == 'INT' || datatype_vvvvwbh == 'TINYINT' || datatype_vvvvwbh == 'BIGINT' || datatype_vvvvwbh == 'FLOAT' || datatype_vvvvwbh == 'DECIMAL' || datatype_vvvvwbh == 'DOUBLE')
{ {
var temp_vvvvwbj = store_vvvvwbj; return true;
var store_vvvvwbj = [];
store_vvvvwbj.push(temp_vvvvwbj);
} }
else if (!isSet(store_vvvvwbj)) return false;
{ }
var store_vvvvwbj = [];
}
var store = store_vvvvwbj.some(store_vvvvwbj_SomeFunc);
if (isSet(datatype_vvvvwbj) && datatype_vvvvwbj.constructor !== Array) // the vvvvwbi function
function vvvvwbi(datatype_vvvvwbi,has_defaults_vvvvwbi)
{
if (isSet(datatype_vvvvwbi) && datatype_vvvvwbi.constructor !== Array)
{ {
var temp_vvvvwbj = datatype_vvvvwbj; var temp_vvvvwbi = datatype_vvvvwbi;
var datatype_vvvvwbj = []; var datatype_vvvvwbi = [];
datatype_vvvvwbj.push(temp_vvvvwbj); datatype_vvvvwbi.push(temp_vvvvwbi);
} }
else if (!isSet(datatype_vvvvwbj)) else if (!isSet(datatype_vvvvwbi))
{ {
var datatype_vvvvwbj = []; var datatype_vvvvwbi = [];
} }
var datatype = datatype_vvvvwbj.some(datatype_vvvvwbj_SomeFunc); var datatype = datatype_vvvvwbi.some(datatype_vvvvwbi_SomeFunc);
if (isSet(has_defaults_vvvvwbj) && has_defaults_vvvvwbj.constructor !== Array) if (isSet(has_defaults_vvvvwbi) && has_defaults_vvvvwbi.constructor !== Array)
{ {
var temp_vvvvwbj = has_defaults_vvvvwbj; var temp_vvvvwbi = has_defaults_vvvvwbi;
var has_defaults_vvvvwbj = []; var has_defaults_vvvvwbi = [];
has_defaults_vvvvwbj.push(temp_vvvvwbj); has_defaults_vvvvwbi.push(temp_vvvvwbi);
} }
else if (!isSet(has_defaults_vvvvwbj)) else if (!isSet(has_defaults_vvvvwbi))
{ {
var has_defaults_vvvvwbj = []; var has_defaults_vvvvwbi = [];
} }
var has_defaults = has_defaults_vvvvwbj.some(has_defaults_vvvvwbj_SomeFunc); var has_defaults = has_defaults_vvvvwbi.some(has_defaults_vvvvwbi_SomeFunc);
// set this function logic // set this function logic
if (store && datatype && 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_vvvvwbiwan_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required');
jform_vvvvwbiwan_required = false;
}
} }
else else
{ {
jQuery('.note_whmcs_encryption').closest('.control-group').hide(); jQuery('#jform_store').closest('.control-group').hide();
// remove required attribute from store field
if (!jform_vvvvwbiwan_required)
{
updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required');
jform_vvvvwbiwan_required = true;
}
} }
} }
// the vvvvwbj Some function // the vvvvwbi Some function
function store_vvvvwbj_SomeFunc(store_vvvvwbj) function datatype_vvvvwbi_SomeFunc(datatype_vvvvwbi)
{ {
// set the function logic // set the function logic
if (store_vvvvwbj == 4) if (datatype_vvvvwbi == 'CHAR' || datatype_vvvvwbi == 'VARCHAR' || datatype_vvvvwbi == 'TEXT' || datatype_vvvvwbi == 'MEDIUMTEXT' || datatype_vvvvwbi == 'LONGTEXT' || datatype_vvvvwbi == 'BLOB' || datatype_vvvvwbi == 'TINYBLOB' || datatype_vvvvwbi == 'MEDIUMBLOB' || datatype_vvvvwbi == 'LONGBLOB')
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbj Some function // the vvvvwbi Some function
function datatype_vvvvwbj_SomeFunc(datatype_vvvvwbj) function has_defaults_vvvvwbi_SomeFunc(has_defaults_vvvvwbi)
{ {
// set the function logic // set the function logic
if (datatype_vvvvwbj == 'CHAR' || datatype_vvvvwbj == 'VARCHAR' || datatype_vvvvwbj == 'TEXT' || datatype_vvvvwbj == 'MEDIUMTEXT' || datatype_vvvvwbj == 'LONGTEXT' || datatype_vvvvwbj == 'BLOB' || datatype_vvvvwbj == 'TINYBLOB' || datatype_vvvvwbj == 'MEDIUMBLOB' || datatype_vvvvwbj == 'LONGBLOB') if (has_defaults_vvvvwbi == 1)
{
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 true;
} }
@ -547,20 +463,8 @@ function has_defaults_vvvvwbj_SomeFunc(has_defaults_vvvvwbj)
} }
// the vvvvwbk function // the vvvvwbk function
function vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk) function vvvvwbk(store_vvvvwbk,datatype_vvvvwbk,has_defaults_vvvvwbk)
{ {
if (isSet(datatype_vvvvwbk) && datatype_vvvvwbk.constructor !== Array)
{
var temp_vvvvwbk = datatype_vvvvwbk;
var datatype_vvvvwbk = [];
datatype_vvvvwbk.push(temp_vvvvwbk);
}
else if (!isSet(datatype_vvvvwbk))
{
var datatype_vvvvwbk = [];
}
var datatype = datatype_vvvvwbk.some(datatype_vvvvwbk_SomeFunc);
if (isSet(store_vvvvwbk) && store_vvvvwbk.constructor !== Array) if (isSet(store_vvvvwbk) && store_vvvvwbk.constructor !== Array)
{ {
var temp_vvvvwbk = store_vvvvwbk; var temp_vvvvwbk = store_vvvvwbk;
@ -573,6 +477,18 @@ function vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk)
} }
var store = store_vvvvwbk.some(store_vvvvwbk_SomeFunc); var store = store_vvvvwbk.some(store_vvvvwbk_SomeFunc);
if (isSet(datatype_vvvvwbk) && datatype_vvvvwbk.constructor !== Array)
{
var temp_vvvvwbk = datatype_vvvvwbk;
var datatype_vvvvwbk = [];
datatype_vvvvwbk.push(temp_vvvvwbk);
}
else if (!isSet(datatype_vvvvwbk))
{
var datatype_vvvvwbk = [];
}
var datatype = datatype_vvvvwbk.some(datatype_vvvvwbk_SomeFunc);
if (isSet(has_defaults_vvvvwbk) && has_defaults_vvvvwbk.constructor !== Array) if (isSet(has_defaults_vvvvwbk) && has_defaults_vvvvwbk.constructor !== Array)
{ {
var temp_vvvvwbk = has_defaults_vvvvwbk; var temp_vvvvwbk = has_defaults_vvvvwbk;
@ -587,7 +503,7 @@ function vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk)
// set this function logic // set this function logic
if (datatype && store && has_defaults) if (store && datatype && has_defaults)
{ {
jQuery('.note_whmcs_encryption').closest('.control-group').show(); jQuery('.note_whmcs_encryption').closest('.control-group').show();
} }
@ -598,10 +514,10 @@ function vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk)
} }
// the vvvvwbk Some function // the vvvvwbk Some function
function datatype_vvvvwbk_SomeFunc(datatype_vvvvwbk) function store_vvvvwbk_SomeFunc(store_vvvvwbk)
{ {
// set the function logic // set the function logic
if (datatype_vvvvwbk == 'CHAR' || datatype_vvvvwbk == 'VARCHAR' || datatype_vvvvwbk == 'TEXT' || datatype_vvvvwbk == 'MEDIUMTEXT' || datatype_vvvvwbk == 'LONGTEXT' || datatype_vvvvwbk == 'BLOB' || datatype_vvvvwbk == 'TINYBLOB' || datatype_vvvvwbk == 'MEDIUMBLOB' || datatype_vvvvwbk == 'LONGBLOB') if (store_vvvvwbk == 4)
{ {
return true; return true;
} }
@ -609,10 +525,10 @@ function datatype_vvvvwbk_SomeFunc(datatype_vvvvwbk)
} }
// the vvvvwbk Some function // the vvvvwbk Some function
function store_vvvvwbk_SomeFunc(store_vvvvwbk) function datatype_vvvvwbk_SomeFunc(datatype_vvvvwbk)
{ {
// set the function logic // set the function logic
if (store_vvvvwbk == 4) if (datatype_vvvvwbk == 'CHAR' || datatype_vvvvwbk == 'VARCHAR' || datatype_vvvvwbk == 'TEXT' || datatype_vvvvwbk == 'MEDIUMTEXT' || datatype_vvvvwbk == 'LONGTEXT' || datatype_vvvvwbk == 'BLOB' || datatype_vvvvwbk == 'TINYBLOB' || datatype_vvvvwbk == 'MEDIUMBLOB' || datatype_vvvvwbk == 'LONGBLOB')
{ {
return true; return true;
} }
@ -631,19 +547,19 @@ function has_defaults_vvvvwbk_SomeFunc(has_defaults_vvvvwbk)
} }
// the vvvvwbl function // the vvvvwbl function
function vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl) function vvvvwbl(datatype_vvvvwbl,store_vvvvwbl,has_defaults_vvvvwbl)
{ {
if (isSet(has_defaults_vvvvwbl) && has_defaults_vvvvwbl.constructor !== Array) if (isSet(datatype_vvvvwbl) && datatype_vvvvwbl.constructor !== Array)
{ {
var temp_vvvvwbl = has_defaults_vvvvwbl; var temp_vvvvwbl = datatype_vvvvwbl;
var has_defaults_vvvvwbl = []; var datatype_vvvvwbl = [];
has_defaults_vvvvwbl.push(temp_vvvvwbl); datatype_vvvvwbl.push(temp_vvvvwbl);
} }
else if (!isSet(has_defaults_vvvvwbl)) else if (!isSet(datatype_vvvvwbl))
{ {
var has_defaults_vvvvwbl = []; var datatype_vvvvwbl = [];
} }
var has_defaults = has_defaults_vvvvwbl.some(has_defaults_vvvvwbl_SomeFunc); var datatype = datatype_vvvvwbl.some(datatype_vvvvwbl_SomeFunc);
if (isSet(store_vvvvwbl) && store_vvvvwbl.constructor !== Array) if (isSet(store_vvvvwbl) && store_vvvvwbl.constructor !== Array)
{ {
@ -657,21 +573,21 @@ function vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl)
} }
var store = store_vvvvwbl.some(store_vvvvwbl_SomeFunc); var store = store_vvvvwbl.some(store_vvvvwbl_SomeFunc);
if (isSet(datatype_vvvvwbl) && datatype_vvvvwbl.constructor !== Array) if (isSet(has_defaults_vvvvwbl) && has_defaults_vvvvwbl.constructor !== Array)
{ {
var temp_vvvvwbl = datatype_vvvvwbl; var temp_vvvvwbl = has_defaults_vvvvwbl;
var datatype_vvvvwbl = []; var has_defaults_vvvvwbl = [];
datatype_vvvvwbl.push(temp_vvvvwbl); has_defaults_vvvvwbl.push(temp_vvvvwbl);
} }
else if (!isSet(datatype_vvvvwbl)) else if (!isSet(has_defaults_vvvvwbl))
{ {
var datatype_vvvvwbl = []; var has_defaults_vvvvwbl = [];
} }
var datatype = datatype_vvvvwbl.some(datatype_vvvvwbl_SomeFunc); var has_defaults = has_defaults_vvvvwbl.some(has_defaults_vvvvwbl_SomeFunc);
// set this function logic // set this function logic
if (has_defaults && store && datatype) if (datatype && store && has_defaults)
{ {
jQuery('.note_whmcs_encryption').closest('.control-group').show(); jQuery('.note_whmcs_encryption').closest('.control-group').show();
} }
@ -682,10 +598,10 @@ function vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl)
} }
// the vvvvwbl Some function // the vvvvwbl Some function
function has_defaults_vvvvwbl_SomeFunc(has_defaults_vvvvwbl) function datatype_vvvvwbl_SomeFunc(datatype_vvvvwbl)
{ {
// set the function logic // set the function logic
if (has_defaults_vvvvwbl == 1) if (datatype_vvvvwbl == 'CHAR' || datatype_vvvvwbl == 'VARCHAR' || datatype_vvvvwbl == 'TEXT' || datatype_vvvvwbl == 'MEDIUMTEXT' || datatype_vvvvwbl == 'LONGTEXT' || datatype_vvvvwbl == 'BLOB' || datatype_vvvvwbl == 'TINYBLOB' || datatype_vvvvwbl == 'MEDIUMBLOB' || datatype_vvvvwbl == 'LONGBLOB')
{ {
return true; return true;
} }
@ -704,10 +620,10 @@ function store_vvvvwbl_SomeFunc(store_vvvvwbl)
} }
// the vvvvwbl Some function // the vvvvwbl Some function
function datatype_vvvvwbl_SomeFunc(datatype_vvvvwbl) function has_defaults_vvvvwbl_SomeFunc(has_defaults_vvvvwbl)
{ {
// set the function logic // set the function logic
if (datatype_vvvvwbl == 'CHAR' || datatype_vvvvwbl == 'VARCHAR' || datatype_vvvvwbl == 'TEXT' || datatype_vvvvwbl == 'MEDIUMTEXT' || datatype_vvvvwbl == 'LONGTEXT' || datatype_vvvvwbl == 'BLOB' || datatype_vvvvwbl == 'TINYBLOB' || datatype_vvvvwbl == 'MEDIUMBLOB' || datatype_vvvvwbl == 'LONGBLOB') if (has_defaults_vvvvwbl == 1)
{ {
return true; return true;
} }
@ -715,53 +631,137 @@ function datatype_vvvvwbl_SomeFunc(datatype_vvvvwbl)
} }
// the vvvvwbm function // the vvvvwbm function
function vvvvwbm(has_defaults_vvvvwbm) function vvvvwbm(has_defaults_vvvvwbm,store_vvvvwbm,datatype_vvvvwbm)
{
if (isSet(has_defaults_vvvvwbm) && has_defaults_vvvvwbm.constructor !== Array)
{
var temp_vvvvwbm = has_defaults_vvvvwbm;
var has_defaults_vvvvwbm = [];
has_defaults_vvvvwbm.push(temp_vvvvwbm);
}
else if (!isSet(has_defaults_vvvvwbm))
{
var has_defaults_vvvvwbm = [];
}
var has_defaults = has_defaults_vvvvwbm.some(has_defaults_vvvvwbm_SomeFunc);
if (isSet(store_vvvvwbm) && store_vvvvwbm.constructor !== Array)
{
var temp_vvvvwbm = store_vvvvwbm;
var store_vvvvwbm = [];
store_vvvvwbm.push(temp_vvvvwbm);
}
else if (!isSet(store_vvvvwbm))
{
var store_vvvvwbm = [];
}
var store = store_vvvvwbm.some(store_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 && store && datatype)
{
jQuery('.note_whmcs_encryption').closest('.control-group').show();
}
else
{
jQuery('.note_whmcs_encryption').closest('.control-group').hide();
}
}
// the vvvvwbm Some function
function has_defaults_vvvvwbm_SomeFunc(has_defaults_vvvvwbm)
{ {
// set the function logic // set the function logic
if (has_defaults_vvvvwbm == 1) if (has_defaults_vvvvwbm == 1)
{
return true;
}
return false;
}
// the vvvvwbm Some function
function store_vvvvwbm_SomeFunc(store_vvvvwbm)
{
// set the function logic
if (store_vvvvwbm == 4)
{
return true;
}
return false;
}
// the vvvvwbm Some function
function datatype_vvvvwbm_SomeFunc(datatype_vvvvwbm)
{
// set the function logic
if (datatype_vvvvwbm == 'CHAR' || datatype_vvvvwbm == 'VARCHAR' || datatype_vvvvwbm == 'TEXT' || datatype_vvvvwbm == 'MEDIUMTEXT' || datatype_vvvvwbm == 'LONGTEXT' || datatype_vvvvwbm == 'BLOB' || datatype_vvvvwbm == 'TINYBLOB' || datatype_vvvvwbm == 'MEDIUMBLOB' || datatype_vvvvwbm == 'LONGBLOB')
{
return true;
}
return false;
}
// the vvvvwbn function
function vvvvwbn(has_defaults_vvvvwbn)
{
// set the function logic
if (has_defaults_vvvvwbn == 1)
{ {
jQuery('#jform_datatype').closest('.control-group').show(); jQuery('#jform_datatype').closest('.control-group').show();
// add required attribute to datatype field // add required attribute to datatype field
if (jform_vvvvwbmwan_required) if (jform_vvvvwbnwao_required)
{ {
updateFieldRequired('datatype',0); updateFieldRequired('datatype',0);
jQuery('#jform_datatype').prop('required','required'); jQuery('#jform_datatype').prop('required','required');
jQuery('#jform_datatype').attr('aria-required',true); jQuery('#jform_datatype').attr('aria-required',true);
jQuery('#jform_datatype').addClass('required'); jQuery('#jform_datatype').addClass('required');
jform_vvvvwbmwan_required = false; jform_vvvvwbnwao_required = false;
} }
jQuery('#jform_null_switch').closest('.control-group').show(); jQuery('#jform_null_switch').closest('.control-group').show();
// add required attribute to null_switch field // add required attribute to null_switch field
if (jform_vvvvwbmwao_required) if (jform_vvvvwbnwap_required)
{ {
updateFieldRequired('null_switch',0); updateFieldRequired('null_switch',0);
jQuery('#jform_null_switch').prop('required','required'); jQuery('#jform_null_switch').prop('required','required');
jQuery('#jform_null_switch').attr('aria-required',true); jQuery('#jform_null_switch').attr('aria-required',true);
jQuery('#jform_null_switch').addClass('required'); jQuery('#jform_null_switch').addClass('required');
jform_vvvvwbmwao_required = false; jform_vvvvwbnwap_required = false;
} }
} }
else else
{ {
jQuery('#jform_datatype').closest('.control-group').hide(); jQuery('#jform_datatype').closest('.control-group').hide();
// remove required attribute from datatype field // remove required attribute from datatype field
if (!jform_vvvvwbmwan_required) if (!jform_vvvvwbnwao_required)
{ {
updateFieldRequired('datatype',1); updateFieldRequired('datatype',1);
jQuery('#jform_datatype').removeAttr('required'); jQuery('#jform_datatype').removeAttr('required');
jQuery('#jform_datatype').removeAttr('aria-required'); jQuery('#jform_datatype').removeAttr('aria-required');
jQuery('#jform_datatype').removeClass('required'); jQuery('#jform_datatype').removeClass('required');
jform_vvvvwbmwan_required = true; jform_vvvvwbnwao_required = true;
} }
jQuery('#jform_null_switch').closest('.control-group').hide(); jQuery('#jform_null_switch').closest('.control-group').hide();
// remove required attribute from null_switch field // remove required attribute from null_switch field
if (!jform_vvvvwbmwao_required) if (!jform_vvvvwbnwap_required)
{ {
updateFieldRequired('null_switch',1); updateFieldRequired('null_switch',1);
jQuery('#jform_null_switch').removeAttr('required'); jQuery('#jform_null_switch').removeAttr('required');
jQuery('#jform_null_switch').removeAttr('aria-required'); jQuery('#jform_null_switch').removeAttr('aria-required');
jQuery('#jform_null_switch').removeClass('required'); jQuery('#jform_null_switch').removeClass('required');
jform_vvvvwbmwao_required = true; jform_vvvvwbnwap_required = true;
} }
} }
} }

View File

@ -9,24 +9,21 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwbxwba_required = false;
jform_vvvvwbywbb_required = false; jform_vvvvwbywbb_required = false;
jform_vvvvwbzwbc_required = false; jform_vvvvwbzwbc_required = false;
jform_vvvvwcawbd_required = false; jform_vvvvwcawbd_required = false;
jform_vvvvwcbwbe_required = false; jform_vvvvwcbwbe_required = false;
jform_vvvvwccwbf_required = false; jform_vvvvwccwbf_required = false;
jform_vvvvwcdwbg_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var location_vvvvwbx = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbx(location_vvvvwbx);
var location_vvvvwby = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvwby = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwby(location_vvvvwby); vvvvwby(location_vvvvwby);
var type_vvvvwbz = jQuery("#jform_type").val(); var location_vvvvwbz = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbz(type_vvvvwbz); vvvvwbz(location_vvvvwbz);
var type_vvvvwca = jQuery("#jform_type").val(); var type_vvvvwca = jQuery("#jform_type").val();
vvvvwca(type_vvvvwca); vvvvwca(type_vvvvwca);
@ -34,130 +31,77 @@ jQuery(document).ready(function()
var type_vvvvwcb = jQuery("#jform_type").val(); var type_vvvvwcb = jQuery("#jform_type").val();
vvvvwcb(type_vvvvwcb); vvvvwcb(type_vvvvwcb);
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val(); var type_vvvvwcc = jQuery("#jform_type").val();
vvvvwcc(target_vvvvwcc); vvvvwcc(type_vvvvwcc);
var target_vvvvwcd = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwcd(target_vvvvwcd);
}); });
// the vvvvwbx function // the vvvvwby function
function vvvvwbx(location_vvvvwbx) function vvvvwby(location_vvvvwby)
{ {
// set the function logic // set the function logic
if (location_vvvvwbx == 1) if (location_vvvvwby == 1)
{ {
jQuery('#jform_admin_view').closest('.control-group').show(); jQuery('#jform_admin_view').closest('.control-group').show();
// add required attribute to admin_view field // add required attribute to admin_view field
if (jform_vvvvwbxwba_required) if (jform_vvvvwbywbb_required)
{ {
updateFieldRequired('admin_view',0); updateFieldRequired('admin_view',0);
jQuery('#jform_admin_view').prop('required','required'); jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_admin_view').attr('aria-required',true); jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_admin_view').addClass('required'); jQuery('#jform_admin_view').addClass('required');
jform_vvvvwbxwba_required = false; jform_vvvvwbywbb_required = false;
} }
} }
else else
{ {
jQuery('#jform_admin_view').closest('.control-group').hide(); jQuery('#jform_admin_view').closest('.control-group').hide();
// remove required attribute from admin_view field // remove required attribute from admin_view field
if (!jform_vvvvwbxwba_required) if (!jform_vvvvwbywbb_required)
{ {
updateFieldRequired('admin_view',1); updateFieldRequired('admin_view',1);
jQuery('#jform_admin_view').removeAttr('required'); jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_admin_view').removeAttr('aria-required'); jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_admin_view').removeClass('required'); jQuery('#jform_admin_view').removeClass('required');
jform_vvvvwbxwba_required = true;
}
}
}
// the vvvvwby function
function vvvvwby(location_vvvvwby)
{
// set the function logic
if (location_vvvvwby == 2)
{
jQuery('#jform_site_view').closest('.control-group').show();
// add required attribute to site_view field
if (jform_vvvvwbywbb_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_vvvvwbywbb_required = false;
}
}
else
{
jQuery('#jform_site_view').closest('.control-group').hide();
// remove required attribute from site_view field
if (!jform_vvvvwbywbb_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_vvvvwbywbb_required = true; jform_vvvvwbywbb_required = true;
} }
} }
} }
// the vvvvwbz function // the vvvvwbz function
function vvvvwbz(type_vvvvwbz) function vvvvwbz(location_vvvvwbz)
{ {
if (isSet(type_vvvvwbz) && type_vvvvwbz.constructor !== Array) // set the function logic
if (location_vvvvwbz == 2)
{ {
var temp_vvvvwbz = type_vvvvwbz; jQuery('#jform_site_view').closest('.control-group').show();
var type_vvvvwbz = []; // add required attribute to site_view field
type_vvvvwbz.push(temp_vvvvwbz);
}
else if (!isSet(type_vvvvwbz))
{
var type_vvvvwbz = [];
}
var type = type_vvvvwbz.some(type_vvvvwbz_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_url').closest('.control-group').show();
// add required attribute to url field
if (jform_vvvvwbzwbc_required) if (jform_vvvvwbzwbc_required)
{ {
updateFieldRequired('url',0); updateFieldRequired('site_view',0);
jQuery('#jform_url').prop('required','required'); jQuery('#jform_site_view').prop('required','required');
jQuery('#jform_url').attr('aria-required',true); jQuery('#jform_site_view').attr('aria-required',true);
jQuery('#jform_url').addClass('required'); jQuery('#jform_site_view').addClass('required');
jform_vvvvwbzwbc_required = false; jform_vvvvwbzwbc_required = false;
} }
} }
else else
{ {
jQuery('#jform_url').closest('.control-group').hide(); jQuery('#jform_site_view').closest('.control-group').hide();
// remove required attribute from url field // remove required attribute from site_view field
if (!jform_vvvvwbzwbc_required) if (!jform_vvvvwbzwbc_required)
{ {
updateFieldRequired('url',1); updateFieldRequired('site_view',1);
jQuery('#jform_url').removeAttr('required'); jQuery('#jform_site_view').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required'); jQuery('#jform_site_view').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required'); jQuery('#jform_site_view').removeClass('required');
jform_vvvvwbzwbc_required = true; jform_vvvvwbzwbc_required = true;
} }
} }
} }
// the vvvvwbz Some function
function type_vvvvwbz_SomeFunc(type_vvvvwbz)
{
// set the function logic
if (type_vvvvwbz == 3)
{
return true;
}
return false;
}
// the vvvvwca function // the vvvvwca function
function vvvvwca(type_vvvvwca) function vvvvwca(type_vvvvwca)
{ {
@ -177,27 +121,27 @@ function vvvvwca(type_vvvvwca)
// set this function logic // set this function logic
if (type) if (type)
{ {
jQuery('#jform_article').closest('.control-group').show(); jQuery('#jform_url').closest('.control-group').show();
// add required attribute to article field // add required attribute to url field
if (jform_vvvvwcawbd_required) if (jform_vvvvwcawbd_required)
{ {
updateFieldRequired('article',0); updateFieldRequired('url',0);
jQuery('#jform_article').prop('required','required'); jQuery('#jform_url').prop('required','required');
jQuery('#jform_article').attr('aria-required',true); jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_article').addClass('required'); jQuery('#jform_url').addClass('required');
jform_vvvvwcawbd_required = false; jform_vvvvwcawbd_required = false;
} }
} }
else else
{ {
jQuery('#jform_article').closest('.control-group').hide(); jQuery('#jform_url').closest('.control-group').hide();
// remove required attribute from article field // remove required attribute from url field
if (!jform_vvvvwcawbd_required) if (!jform_vvvvwcawbd_required)
{ {
updateFieldRequired('article',1); updateFieldRequired('url',1);
jQuery('#jform_article').removeAttr('required'); jQuery('#jform_url').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required'); jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required'); jQuery('#jform_url').removeClass('required');
jform_vvvvwcawbd_required = true; jform_vvvvwcawbd_required = true;
} }
} }
@ -207,7 +151,7 @@ function vvvvwca(type_vvvvwca)
function type_vvvvwca_SomeFunc(type_vvvvwca) function type_vvvvwca_SomeFunc(type_vvvvwca)
{ {
// set the function logic // set the function logic
if (type_vvvvwca == 1) if (type_vvvvwca == 3)
{ {
return true; return true;
} }
@ -233,27 +177,27 @@ function vvvvwcb(type_vvvvwcb)
// set this function logic // set this function logic
if (type) if (type)
{ {
jQuery('#jform_content-lbl').closest('.control-group').show(); jQuery('#jform_article').closest('.control-group').show();
// add required attribute to content field // add required attribute to article field
if (jform_vvvvwcbwbe_required) if (jform_vvvvwcbwbe_required)
{ {
updateFieldRequired('content',0); updateFieldRequired('article',0);
jQuery('#jform_content').prop('required','required'); jQuery('#jform_article').prop('required','required');
jQuery('#jform_content').attr('aria-required',true); jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_content').addClass('required'); jQuery('#jform_article').addClass('required');
jform_vvvvwcbwbe_required = false; jform_vvvvwcbwbe_required = false;
} }
} }
else else
{ {
jQuery('#jform_content-lbl').closest('.control-group').hide(); jQuery('#jform_article').closest('.control-group').hide();
// remove required attribute from content field // remove required attribute from article field
if (!jform_vvvvwcbwbe_required) if (!jform_vvvvwcbwbe_required)
{ {
updateFieldRequired('content',1); updateFieldRequired('article',1);
jQuery('#jform_content').removeAttr('required'); jQuery('#jform_article').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required'); jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required'); jQuery('#jform_article').removeClass('required');
jform_vvvvwcbwbe_required = true; jform_vvvvwcbwbe_required = true;
} }
} }
@ -263,7 +207,7 @@ function vvvvwcb(type_vvvvwcb)
function type_vvvvwcb_SomeFunc(type_vvvvwcb) function type_vvvvwcb_SomeFunc(type_vvvvwcb)
{ {
// set the function logic // set the function logic
if (type_vvvvwcb == 2) if (type_vvvvwcb == 1)
{ {
return true; return true;
} }
@ -271,33 +215,89 @@ function type_vvvvwcb_SomeFunc(type_vvvvwcb)
} }
// the vvvvwcc function // the vvvvwcc function
function vvvvwcc(target_vvvvwcc) function vvvvwcc(type_vvvvwcc)
{
if (isSet(type_vvvvwcc) && type_vvvvwcc.constructor !== Array)
{
var temp_vvvvwcc = type_vvvvwcc;
var type_vvvvwcc = [];
type_vvvvwcc.push(temp_vvvvwcc);
}
else if (!isSet(type_vvvvwcc))
{
var type_vvvvwcc = [];
}
var type = type_vvvvwcc.some(type_vvvvwcc_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
// add required attribute to content field
if (jform_vvvvwccwbf_required)
{
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
jform_vvvvwccwbf_required = false;
}
}
else
{
jQuery('#jform_content-lbl').closest('.control-group').hide();
// remove required attribute from content field
if (!jform_vvvvwccwbf_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
jform_vvvvwccwbf_required = true;
}
}
}
// the vvvvwcc Some function
function type_vvvvwcc_SomeFunc(type_vvvvwcc)
{ {
// set the function logic // set the function logic
if (target_vvvvwcc == 1) if (type_vvvvwcc == 2)
{
return true;
}
return false;
}
// the vvvvwcd function
function vvvvwcd(target_vvvvwcd)
{
// set the function logic
if (target_vvvvwcd == 1)
{ {
jQuery('#jform_groups').closest('.control-group').show(); jQuery('#jform_groups').closest('.control-group').show();
// add required attribute to groups field // add required attribute to groups field
if (jform_vvvvwccwbf_required) if (jform_vvvvwcdwbg_required)
{ {
updateFieldRequired('groups',0); updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required'); jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required'); jQuery('#jform_groups').addClass('required');
jform_vvvvwccwbf_required = false; jform_vvvvwcdwbg_required = false;
} }
} }
else else
{ {
jQuery('#jform_groups').closest('.control-group').hide(); jQuery('#jform_groups').closest('.control-group').hide();
// remove required attribute from groups field // remove required attribute from groups field
if (!jform_vvvvwccwbf_required) if (!jform_vvvvwcdwbg_required)
{ {
updateFieldRequired('groups',1); updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required'); jQuery('#jform_groups').removeClass('required');
jform_vvvvwccwbf_required = true; jform_vvvvwcdwbg_required = true;
} }
} }
} }

View File

@ -9,43 +9,43 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvvzdvyz_required = false; jform_vvvvvzevza_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvze = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzd(add_php_view_vvvvvzd); vvvvvze(add_php_view_vvvvvze);
}); });
// the vvvvvzd function // the vvvvvze function
function vvvvvzd(add_php_view_vvvvvzd) function vvvvvze(add_php_view_vvvvvze)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvzd == 1) if (add_php_view_vvvvvze == 1)
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').show(); jQuery('#jform_php_view-lbl').closest('.control-group').show();
// add required attribute to php_view field // add required attribute to php_view field
if (jform_vvvvvzdvyz_required) if (jform_vvvvvzevza_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvzdvyz_required = false; jform_vvvvvzevza_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').hide(); jQuery('#jform_php_view-lbl').closest('.control-group').hide();
// remove required attribute from php_view field // remove required attribute from php_view field
if (!jform_vvvvvzdvyz_required) if (!jform_vvvvvzevza_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvzdvyz_required = true; jform_vvvvvzevza_required = true;
} }
} }
} }

View File

@ -9,15 +9,12 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwakvzy_required = false; jform_vvvvwalvzz_required = false;
jform_vvvvwaqvzz_required = false; jform_vvvvwarwaa_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var how_vvvvwaj = jQuery("#jform_how").val();
vvvvwaj(how_vvvvwaj);
var how_vvvvwak = jQuery("#jform_how").val(); var how_vvvvwak = jQuery("#jform_how").val();
vvvvwak(how_vvvvwak); vvvvwak(how_vvvvwak);
@ -36,48 +33,13 @@ jQuery(document).ready(function()
var how_vvvvwap = jQuery("#jform_how").val(); var how_vvvvwap = jQuery("#jform_how").val();
vvvvwap(how_vvvvwap); vvvvwap(how_vvvvwap);
var type_vvvvwaq = jQuery("#jform_type input[type='radio']:checked").val(); var how_vvvvwaq = jQuery("#jform_how").val();
vvvvwaq(type_vvvvwaq); vvvvwaq(how_vvvvwaq);
var type_vvvvwar = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwar(type_vvvvwar);
}); });
// the vvvvwaj function
function vvvvwaj(how_vvvvwaj)
{
if (isSet(how_vvvvwaj) && how_vvvvwaj.constructor !== Array)
{
var temp_vvvvwaj = how_vvvvwaj;
var how_vvvvwaj = [];
how_vvvvwaj.push(temp_vvvvwaj);
}
else if (!isSet(how_vvvvwaj))
{
var how_vvvvwaj = [];
}
var how = how_vvvvwaj.some(how_vvvvwaj_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 vvvvwaj Some function
function how_vvvvwaj_SomeFunc(how_vvvvwaj)
{
// set the function logic
if (how_vvvvwaj == 2)
{
return true;
}
return false;
}
// the vvvvwak function // the vvvvwak function
function vvvvwak(how_vvvvwak) function vvvvwak(how_vvvvwak)
{ {
@ -97,29 +59,11 @@ function vvvvwak(how_vvvvwak)
// set this function logic // set this function logic
if (how) if (how)
{ {
jQuery('#jform_php_setdocument').closest('.control-group').show(); jQuery('#jform_addconditions-lbl').closest('.control-group').show();
// add required attribute to php_setdocument field
if (jform_vvvvwakvzy_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_vvvvwakvzy_required = false;
}
} }
else else
{ {
jQuery('#jform_php_setdocument').closest('.control-group').hide(); jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
// remove required attribute from php_setdocument field
if (!jform_vvvvwakvzy_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_vvvvwakvzy_required = true;
}
} }
} }
@ -127,7 +71,7 @@ function vvvvwak(how_vvvvwak)
function how_vvvvwak_SomeFunc(how_vvvvwak) function how_vvvvwak_SomeFunc(how_vvvvwak)
{ {
// set the function logic // set the function logic
if (how_vvvvwak == 3) if (how_vvvvwak == 2)
{ {
return true; return true;
} }
@ -153,11 +97,29 @@ function vvvvwal(how_vvvvwal)
// set this function logic // set this function logic
if (how) if (how)
{ {
jQuery('.note_display_library_config').closest('.control-group').show(); jQuery('#jform_php_setdocument').closest('.control-group').show();
// add required attribute to php_setdocument field
if (jform_vvvvwalvzz_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_vvvvwalvzz_required = false;
}
} }
else else
{ {
jQuery('.note_display_library_config').closest('.control-group').hide(); jQuery('#jform_php_setdocument').closest('.control-group').hide();
// remove required attribute from php_setdocument field
if (!jform_vvvvwalvzz_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_vvvvwalvzz_required = true;
}
} }
} }
@ -165,7 +127,7 @@ function vvvvwal(how_vvvvwal)
function how_vvvvwal_SomeFunc(how_vvvvwal) function how_vvvvwal_SomeFunc(how_vvvvwal)
{ {
// set the function logic // set the function logic
if (how_vvvvwal == 2 || how_vvvvwal == 3) if (how_vvvvwal == 3)
{ {
return true; return true;
} }
@ -191,11 +153,11 @@ function vvvvwam(how_vvvvwam)
// set this function logic // set this function logic
if (how) if (how)
{ {
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show(); jQuery('.note_display_library_config').closest('.control-group').show();
} }
else else
{ {
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide(); jQuery('.note_display_library_config').closest('.control-group').hide();
} }
} }
@ -203,7 +165,7 @@ function vvvvwam(how_vvvvwam)
function how_vvvvwam_SomeFunc(how_vvvvwam) function how_vvvvwam_SomeFunc(how_vvvvwam)
{ {
// set the function logic // set the function logic
if (how_vvvvwam == 1 || how_vvvvwam == 2 || how_vvvvwam == 3) if (how_vvvvwam == 2 || how_vvvvwam == 3)
{ {
return true; return true;
} }
@ -229,15 +191,11 @@ function vvvvwan(how_vvvvwan)
// set this function logic // set this function logic
if (how) if (how)
{ {
jQuery('.note_no_behaviour_one').closest('.control-group').show(); jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
jQuery('.note_no_behaviour_three').closest('.control-group').show();
jQuery('.note_no_behaviour_two').closest('.control-group').show();
} }
else else
{ {
jQuery('.note_no_behaviour_one').closest('.control-group').hide(); jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
} }
} }
@ -245,7 +203,7 @@ function vvvvwan(how_vvvvwan)
function how_vvvvwan_SomeFunc(how_vvvvwan) function how_vvvvwan_SomeFunc(how_vvvvwan)
{ {
// set the function logic // set the function logic
if (how_vvvvwan == 0) if (how_vvvvwan == 1 || how_vvvvwan == 2 || how_vvvvwan == 3)
{ {
return true; return true;
} }
@ -271,13 +229,15 @@ function vvvvwao(how_vvvvwao)
// set this function logic // set this function logic
if (how) if (how)
{ {
jQuery('.note_yes_behaviour_one').closest('.control-group').show(); jQuery('.note_no_behaviour_one').closest('.control-group').show();
jQuery('.note_yes_behaviour_two').closest('.control-group').show(); jQuery('.note_no_behaviour_three').closest('.control-group').show();
jQuery('.note_no_behaviour_two').closest('.control-group').show();
} }
else else
{ {
jQuery('.note_yes_behaviour_one').closest('.control-group').hide(); jQuery('.note_no_behaviour_one').closest('.control-group').hide();
jQuery('.note_yes_behaviour_two').closest('.control-group').hide(); jQuery('.note_no_behaviour_three').closest('.control-group').hide();
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
} }
} }
@ -285,7 +245,7 @@ function vvvvwao(how_vvvvwao)
function how_vvvvwao_SomeFunc(how_vvvvwao) function how_vvvvwao_SomeFunc(how_vvvvwao)
{ {
// set the function logic // set the function logic
if (how_vvvvwao == 1) if (how_vvvvwao == 0)
{ {
return true; return true;
} }
@ -308,6 +268,46 @@ function vvvvwap(how_vvvvwap)
var how = how_vvvvwap.some(how_vvvvwap_SomeFunc); var how = how_vvvvwap.some(how_vvvvwap_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 vvvvwap Some function
function how_vvvvwap_SomeFunc(how_vvvvwap)
{
// set the function logic
if (how_vvvvwap == 1)
{
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 // set this function logic
if (how) if (how)
{ {
@ -323,45 +323,45 @@ function vvvvwap(how_vvvvwap)
} }
} }
// the vvvvwap Some function // the vvvvwaq Some function
function how_vvvvwap_SomeFunc(how_vvvvwap) function how_vvvvwaq_SomeFunc(how_vvvvwaq)
{ {
// set the function logic // set the function logic
if (how_vvvvwap == 4) if (how_vvvvwaq == 4)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwaq function // the vvvvwar function
function vvvvwaq(type_vvvvwaq) function vvvvwar(type_vvvvwar)
{ {
// set the function logic // set the function logic
if (type_vvvvwaq == 2) if (type_vvvvwar == 2)
{ {
jQuery('#jform_libraries').closest('.control-group').show(); jQuery('#jform_libraries').closest('.control-group').show();
// add required attribute to libraries field // add required attribute to libraries field
if (jform_vvvvwaqvzz_required) if (jform_vvvvwarwaa_required)
{ {
updateFieldRequired('libraries',0); updateFieldRequired('libraries',0);
jQuery('#jform_libraries').prop('required','required'); jQuery('#jform_libraries').prop('required','required');
jQuery('#jform_libraries').attr('aria-required',true); jQuery('#jform_libraries').attr('aria-required',true);
jQuery('#jform_libraries').addClass('required'); jQuery('#jform_libraries').addClass('required');
jform_vvvvwaqvzz_required = false; jform_vvvvwarwaa_required = false;
} }
} }
else else
{ {
jQuery('#jform_libraries').closest('.control-group').hide(); jQuery('#jform_libraries').closest('.control-group').hide();
// remove required attribute from libraries field // remove required attribute from libraries field
if (!jform_vvvvwaqvzz_required) if (!jform_vvvvwarwaa_required)
{ {
updateFieldRequired('libraries',1); updateFieldRequired('libraries',1);
jQuery('#jform_libraries').removeAttr('required'); jQuery('#jform_libraries').removeAttr('required');
jQuery('#jform_libraries').removeAttr('aria-required'); jQuery('#jform_libraries').removeAttr('aria-required');
jQuery('#jform_libraries').removeClass('required'); jQuery('#jform_libraries').removeClass('required');
jform_vvvvwaqvzz_required = true; jform_vvvvwarwaa_required = true;
} }
} }
} }

View File

@ -9,180 +9,42 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwbnwaq_required = false; jform_vvvvwbowar_required = false;
jform_vvvvwbnwar_required = false; jform_vvvvwbowas_required = false;
jform_vvvvwbnwas_required = false; jform_vvvvwbowat_required = false;
jform_vvvvwbnwat_required = false; jform_vvvvwbowau_required = false;
jform_vvvvwbnwau_required = false;
jform_vvvvwbowav_required = false; jform_vvvvwbowav_required = false;
jform_vvvvwbpwaw_required = false; jform_vvvvwbpwaw_required = false;
jform_vvvvwbrwax_required = false; jform_vvvvwbqwax_required = false;
jform_vvvvwbtway_required = false; jform_vvvvwbsway_required = false;
jform_vvvvwbuwaz_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var protocol_vvvvwbn = jQuery("#jform_protocol").val();
vvvvwbn(protocol_vvvvwbn);
var protocol_vvvvwbo = jQuery("#jform_protocol").val(); var protocol_vvvvwbo = jQuery("#jform_protocol").val();
vvvvwbo(protocol_vvvvwbo); vvvvwbo(protocol_vvvvwbo);
var protocol_vvvvwbp = jQuery("#jform_protocol").val(); var protocol_vvvvwbp = jQuery("#jform_protocol").val();
var authentication_vvvvwbp = jQuery("#jform_authentication").val(); vvvvwbp(protocol_vvvvwbp);
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
var protocol_vvvvwbr = jQuery("#jform_protocol").val(); var protocol_vvvvwbq = jQuery("#jform_protocol").val();
var authentication_vvvvwbr = jQuery("#jform_authentication").val(); var authentication_vvvvwbq = jQuery("#jform_authentication").val();
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr); vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
var protocol_vvvvwbt = jQuery("#jform_protocol").val(); var protocol_vvvvwbs = jQuery("#jform_protocol").val();
var authentication_vvvvwbt = jQuery("#jform_authentication").val(); var authentication_vvvvwbs = jQuery("#jform_authentication").val();
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt); vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
var protocol_vvvvwbv = jQuery("#jform_protocol").val(); var protocol_vvvvwbu = jQuery("#jform_protocol").val();
var authentication_vvvvwbv = jQuery("#jform_authentication").val(); var authentication_vvvvwbu = jQuery("#jform_authentication").val();
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv); vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
var protocol_vvvvwbw = jQuery("#jform_protocol").val();
var authentication_vvvvwbw = jQuery("#jform_authentication").val();
vvvvwbw(protocol_vvvvwbw,authentication_vvvvwbw);
}); });
// the vvvvwbn function
function vvvvwbn(protocol_vvvvwbn)
{
if (isSet(protocol_vvvvwbn) && protocol_vvvvwbn.constructor !== Array)
{
var temp_vvvvwbn = protocol_vvvvwbn;
var protocol_vvvvwbn = [];
protocol_vvvvwbn.push(temp_vvvvwbn);
}
else if (!isSet(protocol_vvvvwbn))
{
var protocol_vvvvwbn = [];
}
var protocol = protocol_vvvvwbn.some(protocol_vvvvwbn_SomeFunc);
// set this function logic
if (protocol)
{
jQuery('#jform_authentication').closest('.control-group').show();
// add required attribute to authentication field
if (jform_vvvvwbnwaq_required)
{
updateFieldRequired('authentication',0);
jQuery('#jform_authentication').prop('required','required');
jQuery('#jform_authentication').attr('aria-required',true);
jQuery('#jform_authentication').addClass('required');
jform_vvvvwbnwaq_required = false;
}
jQuery('#jform_host').closest('.control-group').show();
// add required attribute to host field
if (jform_vvvvwbnwar_required)
{
updateFieldRequired('host',0);
jQuery('#jform_host').prop('required','required');
jQuery('#jform_host').attr('aria-required',true);
jQuery('#jform_host').addClass('required');
jform_vvvvwbnwar_required = false;
}
jQuery('#jform_port').closest('.control-group').show();
// add required attribute to port field
if (jform_vvvvwbnwas_required)
{
updateFieldRequired('port',0);
jQuery('#jform_port').prop('required','required');
jQuery('#jform_port').attr('aria-required',true);
jQuery('#jform_port').addClass('required');
jform_vvvvwbnwas_required = false;
}
jQuery('#jform_path').closest('.control-group').show();
// add required attribute to path field
if (jform_vvvvwbnwat_required)
{
updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required');
jform_vvvvwbnwat_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_vvvvwbnwau_required)
{
updateFieldRequired('username',0);
jQuery('#jform_username').prop('required','required');
jQuery('#jform_username').attr('aria-required',true);
jQuery('#jform_username').addClass('required');
jform_vvvvwbnwau_required = false;
}
}
else
{
jQuery('#jform_authentication').closest('.control-group').hide();
// remove required attribute from authentication field
if (!jform_vvvvwbnwaq_required)
{
updateFieldRequired('authentication',1);
jQuery('#jform_authentication').removeAttr('required');
jQuery('#jform_authentication').removeAttr('aria-required');
jQuery('#jform_authentication').removeClass('required');
jform_vvvvwbnwaq_required = true;
}
jQuery('#jform_host').closest('.control-group').hide();
// remove required attribute from host field
if (!jform_vvvvwbnwar_required)
{
updateFieldRequired('host',1);
jQuery('#jform_host').removeAttr('required');
jQuery('#jform_host').removeAttr('aria-required');
jQuery('#jform_host').removeClass('required');
jform_vvvvwbnwar_required = true;
}
jQuery('#jform_port').closest('.control-group').hide();
// remove required attribute from port field
if (!jform_vvvvwbnwas_required)
{
updateFieldRequired('port',1);
jQuery('#jform_port').removeAttr('required');
jQuery('#jform_port').removeAttr('aria-required');
jQuery('#jform_port').removeClass('required');
jform_vvvvwbnwas_required = true;
}
jQuery('#jform_path').closest('.control-group').hide();
// remove required attribute from path field
if (!jform_vvvvwbnwat_required)
{
updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required');
jform_vvvvwbnwat_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_vvvvwbnwau_required)
{
updateFieldRequired('username',1);
jQuery('#jform_username').removeAttr('required');
jQuery('#jform_username').removeAttr('aria-required');
jQuery('#jform_username').removeClass('required');
jform_vvvvwbnwau_required = true;
}
}
}
// the vvvvwbn Some function
function protocol_vvvvwbn_SomeFunc(protocol_vvvvwbn)
{
// set the function logic
if (protocol_vvvvwbn == 2)
{
return true;
}
return false;
}
// the vvvvwbo function // the vvvvwbo function
function vvvvwbo(protocol_vvvvwbo) function vvvvwbo(protocol_vvvvwbo)
{ {
@ -202,29 +64,109 @@ function vvvvwbo(protocol_vvvvwbo)
// set this function logic // set this function logic
if (protocol) if (protocol)
{ {
jQuery('.note_ftp_signature').closest('.control-group').show(); jQuery('#jform_authentication').closest('.control-group').show();
jQuery('#jform_signature').closest('.control-group').show(); // add required attribute to authentication field
// add required attribute to signature field if (jform_vvvvwbowar_required)
{
updateFieldRequired('authentication',0);
jQuery('#jform_authentication').prop('required','required');
jQuery('#jform_authentication').attr('aria-required',true);
jQuery('#jform_authentication').addClass('required');
jform_vvvvwbowar_required = false;
}
jQuery('#jform_host').closest('.control-group').show();
// add required attribute to host field
if (jform_vvvvwbowas_required)
{
updateFieldRequired('host',0);
jQuery('#jform_host').prop('required','required');
jQuery('#jform_host').attr('aria-required',true);
jQuery('#jform_host').addClass('required');
jform_vvvvwbowas_required = false;
}
jQuery('#jform_port').closest('.control-group').show();
// add required attribute to port field
if (jform_vvvvwbowat_required)
{
updateFieldRequired('port',0);
jQuery('#jform_port').prop('required','required');
jQuery('#jform_port').attr('aria-required',true);
jQuery('#jform_port').addClass('required');
jform_vvvvwbowat_required = false;
}
jQuery('#jform_path').closest('.control-group').show();
// add required attribute to path field
if (jform_vvvvwbowau_required)
{
updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required');
jform_vvvvwbowau_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_vvvvwbowav_required) if (jform_vvvvwbowav_required)
{ {
updateFieldRequired('signature',0); updateFieldRequired('username',0);
jQuery('#jform_signature').prop('required','required'); jQuery('#jform_username').prop('required','required');
jQuery('#jform_signature').attr('aria-required',true); jQuery('#jform_username').attr('aria-required',true);
jQuery('#jform_signature').addClass('required'); jQuery('#jform_username').addClass('required');
jform_vvvvwbowav_required = false; jform_vvvvwbowav_required = false;
} }
} }
else else
{ {
jQuery('.note_ftp_signature').closest('.control-group').hide(); jQuery('#jform_authentication').closest('.control-group').hide();
jQuery('#jform_signature').closest('.control-group').hide(); // remove required attribute from authentication field
// remove required attribute from signature field if (!jform_vvvvwbowar_required)
{
updateFieldRequired('authentication',1);
jQuery('#jform_authentication').removeAttr('required');
jQuery('#jform_authentication').removeAttr('aria-required');
jQuery('#jform_authentication').removeClass('required');
jform_vvvvwbowar_required = true;
}
jQuery('#jform_host').closest('.control-group').hide();
// remove required attribute from host field
if (!jform_vvvvwbowas_required)
{
updateFieldRequired('host',1);
jQuery('#jform_host').removeAttr('required');
jQuery('#jform_host').removeAttr('aria-required');
jQuery('#jform_host').removeClass('required');
jform_vvvvwbowas_required = true;
}
jQuery('#jform_port').closest('.control-group').hide();
// remove required attribute from port field
if (!jform_vvvvwbowat_required)
{
updateFieldRequired('port',1);
jQuery('#jform_port').removeAttr('required');
jQuery('#jform_port').removeAttr('aria-required');
jQuery('#jform_port').removeClass('required');
jform_vvvvwbowat_required = true;
}
jQuery('#jform_path').closest('.control-group').hide();
// remove required attribute from path field
if (!jform_vvvvwbowau_required)
{
updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required');
jform_vvvvwbowau_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_vvvvwbowav_required) if (!jform_vvvvwbowav_required)
{ {
updateFieldRequired('signature',1); updateFieldRequired('username',1);
jQuery('#jform_signature').removeAttr('required'); jQuery('#jform_username').removeAttr('required');
jQuery('#jform_signature').removeAttr('aria-required'); jQuery('#jform_username').removeAttr('aria-required');
jQuery('#jform_signature').removeClass('required'); jQuery('#jform_username').removeClass('required');
jform_vvvvwbowav_required = true; jform_vvvvwbowav_required = true;
} }
} }
@ -234,7 +176,7 @@ function vvvvwbo(protocol_vvvvwbo)
function protocol_vvvvwbo_SomeFunc(protocol_vvvvwbo) function protocol_vvvvwbo_SomeFunc(protocol_vvvvwbo)
{ {
// set the function logic // set the function logic
if (protocol_vvvvwbo == 1) if (protocol_vvvvwbo == 2)
{ {
return true; return true;
} }
@ -242,7 +184,7 @@ function protocol_vvvvwbo_SomeFunc(protocol_vvvvwbo)
} }
// the vvvvwbp function // the vvvvwbp function
function vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp) function vvvvwbp(protocol_vvvvwbp)
{ {
if (isSet(protocol_vvvvwbp) && protocol_vvvvwbp.constructor !== Array) if (isSet(protocol_vvvvwbp) && protocol_vvvvwbp.constructor !== Array)
{ {
@ -256,43 +198,33 @@ function vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp)
} }
var protocol = protocol_vvvvwbp.some(protocol_vvvvwbp_SomeFunc); var protocol = protocol_vvvvwbp.some(protocol_vvvvwbp_SomeFunc);
if (isSet(authentication_vvvvwbp) && authentication_vvvvwbp.constructor !== Array)
{
var temp_vvvvwbp = authentication_vvvvwbp;
var authentication_vvvvwbp = [];
authentication_vvvvwbp.push(temp_vvvvwbp);
}
else if (!isSet(authentication_vvvvwbp))
{
var authentication_vvvvwbp = [];
}
var authentication = authentication_vvvvwbp.some(authentication_vvvvwbp_SomeFunc);
// set this function logic // set this function logic
if (protocol && authentication) if (protocol)
{ {
jQuery('#jform_password').closest('.control-group').show(); jQuery('.note_ftp_signature').closest('.control-group').show();
// add required attribute to password field jQuery('#jform_signature').closest('.control-group').show();
// add required attribute to signature field
if (jform_vvvvwbpwaw_required) if (jform_vvvvwbpwaw_required)
{ {
updateFieldRequired('password',0); updateFieldRequired('signature',0);
jQuery('#jform_password').prop('required','required'); jQuery('#jform_signature').prop('required','required');
jQuery('#jform_password').attr('aria-required',true); jQuery('#jform_signature').attr('aria-required',true);
jQuery('#jform_password').addClass('required'); jQuery('#jform_signature').addClass('required');
jform_vvvvwbpwaw_required = false; jform_vvvvwbpwaw_required = false;
} }
} }
else else
{ {
jQuery('#jform_password').closest('.control-group').hide(); jQuery('.note_ftp_signature').closest('.control-group').hide();
// remove required attribute from password field jQuery('#jform_signature').closest('.control-group').hide();
// remove required attribute from signature field
if (!jform_vvvvwbpwaw_required) if (!jform_vvvvwbpwaw_required)
{ {
updateFieldRequired('password',1); updateFieldRequired('signature',1);
jQuery('#jform_password').removeAttr('required'); jQuery('#jform_signature').removeAttr('required');
jQuery('#jform_password').removeAttr('aria-required'); jQuery('#jform_signature').removeAttr('aria-required');
jQuery('#jform_password').removeClass('required'); jQuery('#jform_signature').removeClass('required');
jform_vvvvwbpwaw_required = true; jform_vvvvwbpwaw_required = true;
} }
} }
@ -302,50 +234,118 @@ function vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp)
function protocol_vvvvwbp_SomeFunc(protocol_vvvvwbp) function protocol_vvvvwbp_SomeFunc(protocol_vvvvwbp)
{ {
// set the function logic // set the function logic
if (protocol_vvvvwbp == 2) if (protocol_vvvvwbp == 1)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbp Some function // the vvvvwbq function
function authentication_vvvvwbp_SomeFunc(authentication_vvvvwbp) function vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq)
{
if (isSet(protocol_vvvvwbq) && protocol_vvvvwbq.constructor !== Array)
{
var temp_vvvvwbq = protocol_vvvvwbq;
var protocol_vvvvwbq = [];
protocol_vvvvwbq.push(temp_vvvvwbq);
}
else if (!isSet(protocol_vvvvwbq))
{
var protocol_vvvvwbq = [];
}
var protocol = protocol_vvvvwbq.some(protocol_vvvvwbq_SomeFunc);
if (isSet(authentication_vvvvwbq) && authentication_vvvvwbq.constructor !== Array)
{
var temp_vvvvwbq = authentication_vvvvwbq;
var authentication_vvvvwbq = [];
authentication_vvvvwbq.push(temp_vvvvwbq);
}
else if (!isSet(authentication_vvvvwbq))
{
var authentication_vvvvwbq = [];
}
var authentication = authentication_vvvvwbq.some(authentication_vvvvwbq_SomeFunc);
// set this function logic
if (protocol && authentication)
{
jQuery('#jform_password').closest('.control-group').show();
// add required attribute to password field
if (jform_vvvvwbqwax_required)
{
updateFieldRequired('password',0);
jQuery('#jform_password').prop('required','required');
jQuery('#jform_password').attr('aria-required',true);
jQuery('#jform_password').addClass('required');
jform_vvvvwbqwax_required = false;
}
}
else
{
jQuery('#jform_password').closest('.control-group').hide();
// remove required attribute from password field
if (!jform_vvvvwbqwax_required)
{
updateFieldRequired('password',1);
jQuery('#jform_password').removeAttr('required');
jQuery('#jform_password').removeAttr('aria-required');
jQuery('#jform_password').removeClass('required');
jform_vvvvwbqwax_required = true;
}
}
}
// the vvvvwbq Some function
function protocol_vvvvwbq_SomeFunc(protocol_vvvvwbq)
{ {
// set the function logic // set the function logic
if (authentication_vvvvwbp == 1 || authentication_vvvvwbp == 3 || authentication_vvvvwbp == 5) if (protocol_vvvvwbq == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbr function // the vvvvwbq Some function
function vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr) function authentication_vvvvwbq_SomeFunc(authentication_vvvvwbq)
{ {
if (isSet(protocol_vvvvwbr) && protocol_vvvvwbr.constructor !== Array) // set the function logic
if (authentication_vvvvwbq == 1 || authentication_vvvvwbq == 3 || authentication_vvvvwbq == 5)
{ {
var temp_vvvvwbr = protocol_vvvvwbr; return true;
var protocol_vvvvwbr = [];
protocol_vvvvwbr.push(temp_vvvvwbr);
} }
else if (!isSet(protocol_vvvvwbr)) return false;
{ }
var protocol_vvvvwbr = [];
}
var protocol = protocol_vvvvwbr.some(protocol_vvvvwbr_SomeFunc);
if (isSet(authentication_vvvvwbr) && authentication_vvvvwbr.constructor !== Array) // the vvvvwbs function
function vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs)
{
if (isSet(protocol_vvvvwbs) && protocol_vvvvwbs.constructor !== Array)
{ {
var temp_vvvvwbr = authentication_vvvvwbr; var temp_vvvvwbs = protocol_vvvvwbs;
var authentication_vvvvwbr = []; var protocol_vvvvwbs = [];
authentication_vvvvwbr.push(temp_vvvvwbr); protocol_vvvvwbs.push(temp_vvvvwbs);
} }
else if (!isSet(authentication_vvvvwbr)) else if (!isSet(protocol_vvvvwbs))
{ {
var authentication_vvvvwbr = []; var protocol_vvvvwbs = [];
} }
var authentication = authentication_vvvvwbr.some(authentication_vvvvwbr_SomeFunc); var protocol = protocol_vvvvwbs.some(protocol_vvvvwbs_SomeFunc);
if (isSet(authentication_vvvvwbs) && authentication_vvvvwbs.constructor !== Array)
{
var temp_vvvvwbs = authentication_vvvvwbs;
var authentication_vvvvwbs = [];
authentication_vvvvwbs.push(temp_vvvvwbs);
}
else if (!isSet(authentication_vvvvwbs))
{
var authentication_vvvvwbs = [];
}
var authentication = authentication_vvvvwbs.some(authentication_vvvvwbs_SomeFunc);
// set this function logic // set this function logic
@ -353,78 +353,78 @@ function vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr)
{ {
jQuery('#jform_private').closest('.control-group').show(); jQuery('#jform_private').closest('.control-group').show();
// add required attribute to private field // add required attribute to private field
if (jform_vvvvwbrwax_required) if (jform_vvvvwbsway_required)
{ {
updateFieldRequired('private',0); updateFieldRequired('private',0);
jQuery('#jform_private').prop('required','required'); jQuery('#jform_private').prop('required','required');
jQuery('#jform_private').attr('aria-required',true); jQuery('#jform_private').attr('aria-required',true);
jQuery('#jform_private').addClass('required'); jQuery('#jform_private').addClass('required');
jform_vvvvwbrwax_required = false; jform_vvvvwbsway_required = false;
} }
} }
else else
{ {
jQuery('#jform_private').closest('.control-group').hide(); jQuery('#jform_private').closest('.control-group').hide();
// remove required attribute from private field // remove required attribute from private field
if (!jform_vvvvwbrwax_required) if (!jform_vvvvwbsway_required)
{ {
updateFieldRequired('private',1); updateFieldRequired('private',1);
jQuery('#jform_private').removeAttr('required'); jQuery('#jform_private').removeAttr('required');
jQuery('#jform_private').removeAttr('aria-required'); jQuery('#jform_private').removeAttr('aria-required');
jQuery('#jform_private').removeClass('required'); jQuery('#jform_private').removeClass('required');
jform_vvvvwbrwax_required = true; jform_vvvvwbsway_required = true;
} }
} }
} }
// the vvvvwbr Some function // the vvvvwbs Some function
function protocol_vvvvwbr_SomeFunc(protocol_vvvvwbr) function protocol_vvvvwbs_SomeFunc(protocol_vvvvwbs)
{ {
// set the function logic // set the function logic
if (protocol_vvvvwbr == 2) if (protocol_vvvvwbs == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbr Some function // the vvvvwbs Some function
function authentication_vvvvwbr_SomeFunc(authentication_vvvvwbr) function authentication_vvvvwbs_SomeFunc(authentication_vvvvwbs)
{ {
// set the function logic // set the function logic
if (authentication_vvvvwbr == 2 || authentication_vvvvwbr == 3) if (authentication_vvvvwbs == 2 || authentication_vvvvwbs == 3)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbt function // the vvvvwbu function
function vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt) function vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu)
{ {
if (isSet(protocol_vvvvwbt) && protocol_vvvvwbt.constructor !== Array) if (isSet(protocol_vvvvwbu) && protocol_vvvvwbu.constructor !== Array)
{ {
var temp_vvvvwbt = protocol_vvvvwbt; var temp_vvvvwbu = protocol_vvvvwbu;
var protocol_vvvvwbt = []; var protocol_vvvvwbu = [];
protocol_vvvvwbt.push(temp_vvvvwbt); protocol_vvvvwbu.push(temp_vvvvwbu);
} }
else if (!isSet(protocol_vvvvwbt)) else if (!isSet(protocol_vvvvwbu))
{ {
var protocol_vvvvwbt = []; var protocol_vvvvwbu = [];
} }
var protocol = protocol_vvvvwbt.some(protocol_vvvvwbt_SomeFunc); var protocol = protocol_vvvvwbu.some(protocol_vvvvwbu_SomeFunc);
if (isSet(authentication_vvvvwbt) && authentication_vvvvwbt.constructor !== Array) if (isSet(authentication_vvvvwbu) && authentication_vvvvwbu.constructor !== Array)
{ {
var temp_vvvvwbt = authentication_vvvvwbt; var temp_vvvvwbu = authentication_vvvvwbu;
var authentication_vvvvwbt = []; var authentication_vvvvwbu = [];
authentication_vvvvwbt.push(temp_vvvvwbt); authentication_vvvvwbu.push(temp_vvvvwbu);
} }
else if (!isSet(authentication_vvvvwbt)) else if (!isSet(authentication_vvvvwbu))
{ {
var authentication_vvvvwbt = []; var authentication_vvvvwbu = [];
} }
var authentication = authentication_vvvvwbt.some(authentication_vvvvwbt_SomeFunc); var authentication = authentication_vvvvwbu.some(authentication_vvvvwbu_SomeFunc);
// set this function logic // set this function logic
@ -432,78 +432,78 @@ function vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt)
{ {
jQuery('#jform_private_key').closest('.control-group').show(); jQuery('#jform_private_key').closest('.control-group').show();
// add required attribute to private_key field // add required attribute to private_key field
if (jform_vvvvwbtway_required) if (jform_vvvvwbuwaz_required)
{ {
updateFieldRequired('private_key',0); updateFieldRequired('private_key',0);
jQuery('#jform_private_key').prop('required','required'); jQuery('#jform_private_key').prop('required','required');
jQuery('#jform_private_key').attr('aria-required',true); jQuery('#jform_private_key').attr('aria-required',true);
jQuery('#jform_private_key').addClass('required'); jQuery('#jform_private_key').addClass('required');
jform_vvvvwbtway_required = false; jform_vvvvwbuwaz_required = false;
} }
} }
else else
{ {
jQuery('#jform_private_key').closest('.control-group').hide(); jQuery('#jform_private_key').closest('.control-group').hide();
// remove required attribute from private_key field // remove required attribute from private_key field
if (!jform_vvvvwbtway_required) if (!jform_vvvvwbuwaz_required)
{ {
updateFieldRequired('private_key',1); updateFieldRequired('private_key',1);
jQuery('#jform_private_key').removeAttr('required'); jQuery('#jform_private_key').removeAttr('required');
jQuery('#jform_private_key').removeAttr('aria-required'); jQuery('#jform_private_key').removeAttr('aria-required');
jQuery('#jform_private_key').removeClass('required'); jQuery('#jform_private_key').removeClass('required');
jform_vvvvwbtway_required = true; jform_vvvvwbuwaz_required = true;
} }
} }
} }
// the vvvvwbt Some function // the vvvvwbu Some function
function protocol_vvvvwbt_SomeFunc(protocol_vvvvwbt) function protocol_vvvvwbu_SomeFunc(protocol_vvvvwbu)
{ {
// set the function logic // set the function logic
if (protocol_vvvvwbt == 2) if (protocol_vvvvwbu == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbt Some function // the vvvvwbu Some function
function authentication_vvvvwbt_SomeFunc(authentication_vvvvwbt) function authentication_vvvvwbu_SomeFunc(authentication_vvvvwbu)
{ {
// set the function logic // set the function logic
if (authentication_vvvvwbt == 4 || authentication_vvvvwbt == 5) if (authentication_vvvvwbu == 4 || authentication_vvvvwbu == 5)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbv function // the vvvvwbw function
function vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv) function vvvvwbw(protocol_vvvvwbw,authentication_vvvvwbw)
{ {
if (isSet(protocol_vvvvwbv) && protocol_vvvvwbv.constructor !== Array) if (isSet(protocol_vvvvwbw) && protocol_vvvvwbw.constructor !== Array)
{ {
var temp_vvvvwbv = protocol_vvvvwbv; var temp_vvvvwbw = protocol_vvvvwbw;
var protocol_vvvvwbv = []; var protocol_vvvvwbw = [];
protocol_vvvvwbv.push(temp_vvvvwbv); protocol_vvvvwbw.push(temp_vvvvwbw);
} }
else if (!isSet(protocol_vvvvwbv)) else if (!isSet(protocol_vvvvwbw))
{ {
var protocol_vvvvwbv = []; var protocol_vvvvwbw = [];
} }
var protocol = protocol_vvvvwbv.some(protocol_vvvvwbv_SomeFunc); var protocol = protocol_vvvvwbw.some(protocol_vvvvwbw_SomeFunc);
if (isSet(authentication_vvvvwbv) && authentication_vvvvwbv.constructor !== Array) if (isSet(authentication_vvvvwbw) && authentication_vvvvwbw.constructor !== Array)
{ {
var temp_vvvvwbv = authentication_vvvvwbv; var temp_vvvvwbw = authentication_vvvvwbw;
var authentication_vvvvwbv = []; var authentication_vvvvwbw = [];
authentication_vvvvwbv.push(temp_vvvvwbv); authentication_vvvvwbw.push(temp_vvvvwbw);
} }
else if (!isSet(authentication_vvvvwbv)) else if (!isSet(authentication_vvvvwbw))
{ {
var authentication_vvvvwbv = []; var authentication_vvvvwbw = [];
} }
var authentication = authentication_vvvvwbv.some(authentication_vvvvwbv_SomeFunc); var authentication = authentication_vvvvwbw.some(authentication_vvvvwbw_SomeFunc);
// set this function logic // set this function logic
@ -517,22 +517,22 @@ function vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv)
} }
} }
// the vvvvwbv Some function // the vvvvwbw Some function
function protocol_vvvvwbv_SomeFunc(protocol_vvvvwbv) function protocol_vvvvwbw_SomeFunc(protocol_vvvvwbw)
{ {
// set the function logic // set the function logic
if (protocol_vvvvwbv == 2) if (protocol_vvvvwbw == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbv Some function // the vvvvwbw Some function
function authentication_vvvvwbv_SomeFunc(authentication_vvvvwbv) function authentication_vvvvwbw_SomeFunc(authentication_vvvvwbw)
{ {
// set the function logic // set the function logic
if (authentication_vvvvwbv == 2 || authentication_vvvvwbv == 3 || authentication_vvvvwbv == 4 || authentication_vvvvwbv == 5) if (authentication_vvvvwbw == 2 || authentication_vvvvwbw == 3 || authentication_vvvvwbw == 4 || authentication_vvvvwbw == 5)
{ {
return true; return true;
} }

View File

@ -9,7 +9,6 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvvyrvyn_required = false;
jform_vvvvvysvyo_required = false; jform_vvvvvysvyo_required = false;
jform_vvvvvytvyp_required = false; jform_vvvvvytvyp_required = false;
jform_vvvvvyuvyq_required = false; jform_vvvvvyuvyq_required = false;
@ -19,317 +18,318 @@ jform_vvvvvyxvyt_required = false;
jform_vvvvvyyvyu_required = false; jform_vvvvvyyvyu_required = false;
jform_vvvvvyzvyv_required = false; jform_vvvvvyzvyv_required = false;
jform_vvvvvzavyw_required = false; jform_vvvvvzavyw_required = false;
jform_vvvvvzavyx_required = false; jform_vvvvvzbvyx_required = false;
jform_vvvvvzbvyy_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvyr = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvys = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyr(add_php_view_vvvvvyr); vvvvvys(add_php_view_vvvvvys);
var add_php_jview_display_vvvvvys = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyt = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvys(add_php_jview_display_vvvvvys); vvvvvyt(add_php_jview_display_vvvvvyt);
var add_php_jview_vvvvvyt = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyu = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyt(add_php_jview_vvvvvyt); vvvvvyu(add_php_jview_vvvvvyu);
var add_php_document_vvvvvyu = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyv = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyu(add_php_document_vvvvvyu); vvvvvyv(add_php_document_vvvvvyv);
var add_css_document_vvvvvyv = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvyw = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyv(add_css_document_vvvvvyv); vvvvvyw(add_css_document_vvvvvyw);
var add_javascript_file_vvvvvyw = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvyx = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyw(add_javascript_file_vvvvvyw); vvvvvyx(add_javascript_file_vvvvvyx);
var add_js_document_vvvvvyx = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyy = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyx(add_js_document_vvvvvyx); vvvvvyy(add_js_document_vvvvvyy);
var add_css_vvvvvyy = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyz = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyy(add_css_vvvvvyy); vvvvvyz(add_css_vvvvvyz);
var add_php_ajax_vvvvvyz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvza = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyz(add_php_ajax_vvvvvyz); vvvvvza(add_php_ajax_vvvvvza);
var add_custom_button_vvvvvza = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvzb = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvza(add_custom_button_vvvvvza); vvvvvzb(add_custom_button_vvvvvzb);
var button_position_vvvvvzb = jQuery("#jform_button_position").val(); var button_position_vvvvvzc = jQuery("#jform_button_position").val();
vvvvvzb(button_position_vvvvvzb); vvvvvzc(button_position_vvvvvzc);
}); });
// the vvvvvyr function // the vvvvvys function
function vvvvvyr(add_php_view_vvvvvyr) function vvvvvys(add_php_view_vvvvvys)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvyr == 1) if (add_php_view_vvvvvys == 1)
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').show(); jQuery('#jform_php_view-lbl').closest('.control-group').show();
// add required attribute to php_view field // add required attribute to php_view field
if (jform_vvvvvyrvyn_required) if (jform_vvvvvysvyo_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvyrvyn_required = false; jform_vvvvvysvyo_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').hide(); jQuery('#jform_php_view-lbl').closest('.control-group').hide();
// remove required attribute from php_view field // remove required attribute from php_view field
if (!jform_vvvvvyrvyn_required) if (!jform_vvvvvysvyo_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvyrvyn_required = true;
}
}
}
// the vvvvvys function
function vvvvvys(add_php_jview_display_vvvvvys)
{
// set the function logic
if (add_php_jview_display_vvvvvys == 1)
{
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
// add required attribute to php_jview_display field
if (jform_vvvvvysvyo_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvysvyo_required = false;
}
}
else
{
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
// remove required attribute from php_jview_display field
if (!jform_vvvvvysvyo_required)
{
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvysvyo_required = true; jform_vvvvvysvyo_required = true;
} }
} }
} }
// the vvvvvyt function // the vvvvvyt function
function vvvvvyt(add_php_jview_vvvvvyt) function vvvvvyt(add_php_jview_display_vvvvvyt)
{ {
// set the function logic // set the function logic
if (add_php_jview_vvvvvyt == 1) if (add_php_jview_display_vvvvvyt == 1)
{ {
jQuery('#jform_php_jview-lbl').closest('.control-group').show(); jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
// add required attribute to php_jview field // add required attribute to php_jview_display field
if (jform_vvvvvytvyp_required) if (jform_vvvvvytvyp_required)
{ {
updateFieldRequired('php_jview',0); updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview').prop('required','required'); jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true); jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required'); jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvytvyp_required = false; jform_vvvvvytvyp_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview-lbl').closest('.control-group').hide(); jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
// remove required attribute from php_jview field // remove required attribute from php_jview_display field
if (!jform_vvvvvytvyp_required) if (!jform_vvvvvytvyp_required)
{ {
updateFieldRequired('php_jview',1); updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview').removeAttr('required'); jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required'); jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required'); jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvytvyp_required = true; jform_vvvvvytvyp_required = true;
} }
} }
} }
// the vvvvvyu function // the vvvvvyu function
function vvvvvyu(add_php_document_vvvvvyu) function vvvvvyu(add_php_jview_vvvvvyu)
{ {
// set the function logic // set the function logic
if (add_php_document_vvvvvyu == 1) if (add_php_jview_vvvvvyu == 1)
{ {
jQuery('#jform_php_document-lbl').closest('.control-group').show(); jQuery('#jform_php_jview-lbl').closest('.control-group').show();
// add required attribute to php_document field // add required attribute to php_jview field
if (jform_vvvvvyuvyq_required) if (jform_vvvvvyuvyq_required)
{ {
updateFieldRequired('php_document',0); updateFieldRequired('php_jview',0);
jQuery('#jform_php_document').prop('required','required'); jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true); jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required'); jQuery('#jform_php_jview').addClass('required');
jform_vvvvvyuvyq_required = false; jform_vvvvvyuvyq_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_document-lbl').closest('.control-group').hide(); jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
// remove required attribute from php_document field // remove required attribute from php_jview field
if (!jform_vvvvvyuvyq_required) if (!jform_vvvvvyuvyq_required)
{ {
updateFieldRequired('php_document',1); updateFieldRequired('php_jview',1);
jQuery('#jform_php_document').removeAttr('required'); jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required'); jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required'); jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvyuvyq_required = true; jform_vvvvvyuvyq_required = true;
} }
} }
} }
// the vvvvvyv function // the vvvvvyv function
function vvvvvyv(add_css_document_vvvvvyv) function vvvvvyv(add_php_document_vvvvvyv)
{ {
// set the function logic // set the function logic
if (add_css_document_vvvvvyv == 1) if (add_php_document_vvvvvyv == 1)
{ {
jQuery('#jform_css_document-lbl').closest('.control-group').show(); jQuery('#jform_php_document-lbl').closest('.control-group').show();
// add required attribute to css_document field // add required attribute to php_document field
if (jform_vvvvvyvvyr_required) if (jform_vvvvvyvvyr_required)
{ {
updateFieldRequired('css_document',0); updateFieldRequired('php_document',0);
jQuery('#jform_css_document').prop('required','required'); jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true); jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required'); jQuery('#jform_php_document').addClass('required');
jform_vvvvvyvvyr_required = false; jform_vvvvvyvvyr_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_document-lbl').closest('.control-group').hide(); jQuery('#jform_php_document-lbl').closest('.control-group').hide();
// remove required attribute from css_document field // remove required attribute from php_document field
if (!jform_vvvvvyvvyr_required) if (!jform_vvvvvyvvyr_required)
{ {
updateFieldRequired('css_document',1); updateFieldRequired('php_document',1);
jQuery('#jform_css_document').removeAttr('required'); jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required'); jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required'); jQuery('#jform_php_document').removeClass('required');
jform_vvvvvyvvyr_required = true; jform_vvvvvyvvyr_required = true;
} }
} }
} }
// the vvvvvyw function // the vvvvvyw function
function vvvvvyw(add_javascript_file_vvvvvyw) function vvvvvyw(add_css_document_vvvvvyw)
{ {
// set the function logic // set the function logic
if (add_javascript_file_vvvvvyw == 1) if (add_css_document_vvvvvyw == 1)
{ {
jQuery('#jform_javascript_file-lbl').closest('.control-group').show(); jQuery('#jform_css_document-lbl').closest('.control-group').show();
// add required attribute to javascript_file field // add required attribute to css_document field
if (jform_vvvvvywvys_required) if (jform_vvvvvywvys_required)
{ {
updateFieldRequired('javascript_file',0); updateFieldRequired('css_document',0);
jQuery('#jform_javascript_file').prop('required','required'); jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_javascript_file').attr('aria-required',true); jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_javascript_file').addClass('required'); jQuery('#jform_css_document').addClass('required');
jform_vvvvvywvys_required = false; jform_vvvvvywvys_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide(); jQuery('#jform_css_document-lbl').closest('.control-group').hide();
// remove required attribute from javascript_file field // remove required attribute from css_document field
if (!jform_vvvvvywvys_required) if (!jform_vvvvvywvys_required)
{ {
updateFieldRequired('javascript_file',1); updateFieldRequired('css_document',1);
jQuery('#jform_javascript_file').removeAttr('required'); jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_javascript_file').removeAttr('aria-required'); jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_javascript_file').removeClass('required'); jQuery('#jform_css_document').removeClass('required');
jform_vvvvvywvys_required = true; jform_vvvvvywvys_required = true;
} }
} }
} }
// the vvvvvyx function // the vvvvvyx function
function vvvvvyx(add_js_document_vvvvvyx) function vvvvvyx(add_javascript_file_vvvvvyx)
{ {
// set the function logic // set the function logic
if (add_js_document_vvvvvyx == 1) if (add_javascript_file_vvvvvyx == 1)
{ {
jQuery('#jform_js_document-lbl').closest('.control-group').show(); jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
// add required attribute to js_document field // add required attribute to javascript_file field
if (jform_vvvvvyxvyt_required) if (jform_vvvvvyxvyt_required)
{ {
updateFieldRequired('js_document',0); updateFieldRequired('javascript_file',0);
jQuery('#jform_js_document').prop('required','required'); jQuery('#jform_javascript_file').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true); jQuery('#jform_javascript_file').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required'); jQuery('#jform_javascript_file').addClass('required');
jform_vvvvvyxvyt_required = false; jform_vvvvvyxvyt_required = false;
} }
} }
else else
{ {
jQuery('#jform_js_document-lbl').closest('.control-group').hide(); jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
// remove required attribute from js_document field // remove required attribute from javascript_file field
if (!jform_vvvvvyxvyt_required) if (!jform_vvvvvyxvyt_required)
{ {
updateFieldRequired('js_document',1); updateFieldRequired('javascript_file',1);
jQuery('#jform_js_document').removeAttr('required'); jQuery('#jform_javascript_file').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required'); jQuery('#jform_javascript_file').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required'); jQuery('#jform_javascript_file').removeClass('required');
jform_vvvvvyxvyt_required = true; jform_vvvvvyxvyt_required = true;
} }
} }
} }
// the vvvvvyy function // the vvvvvyy function
function vvvvvyy(add_css_vvvvvyy) function vvvvvyy(add_js_document_vvvvvyy)
{ {
// set the function logic // set the function logic
if (add_css_vvvvvyy == 1) if (add_js_document_vvvvvyy == 1)
{ {
jQuery('#jform_css-lbl').closest('.control-group').show(); jQuery('#jform_js_document-lbl').closest('.control-group').show();
// add required attribute to css field // add required attribute to js_document field
if (jform_vvvvvyyvyu_required) if (jform_vvvvvyyvyu_required)
{ {
updateFieldRequired('css',0); updateFieldRequired('js_document',0);
jQuery('#jform_css').prop('required','required'); jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_css').addClass('required'); jQuery('#jform_js_document').addClass('required');
jform_vvvvvyyvyu_required = false; jform_vvvvvyyvyu_required = false;
} }
} }
else else
{ {
jQuery('#jform_css-lbl').closest('.control-group').hide(); jQuery('#jform_js_document-lbl').closest('.control-group').hide();
// remove required attribute from css field // remove required attribute from js_document field
if (!jform_vvvvvyyvyu_required) if (!jform_vvvvvyyvyu_required)
{ {
updateFieldRequired('css',1); updateFieldRequired('js_document',1);
jQuery('#jform_css').removeAttr('required'); jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required'); jQuery('#jform_js_document').removeClass('required');
jform_vvvvvyyvyu_required = true; jform_vvvvvyyvyu_required = true;
} }
} }
} }
// the vvvvvyz function // the vvvvvyz function
function vvvvvyz(add_php_ajax_vvvvvyz) function vvvvvyz(add_css_vvvvvyz)
{ {
// set the function logic // set the function logic
if (add_php_ajax_vvvvvyz == 1) if (add_css_vvvvvyz == 1)
{
jQuery('#jform_css-lbl').closest('.control-group').show();
// add required attribute to css field
if (jform_vvvvvyzvyv_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvyzvyv_required = false;
}
}
else
{
jQuery('#jform_css-lbl').closest('.control-group').hide();
// remove required attribute from css field
if (!jform_vvvvvyzvyv_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvyzvyv_required = true;
}
}
}
// the vvvvvza function
function vvvvvza(add_php_ajax_vvvvvza)
{
// set the function logic
if (add_php_ajax_vvvvvza == 1)
{ {
jQuery('#jform_ajax_input-lbl').closest('.control-group').show(); jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
// add required attribute to php_ajaxmethod field // add required attribute to php_ajaxmethod field
if (jform_vvvvvyzvyv_required) if (jform_vvvvvzavyw_required)
{ {
updateFieldRequired('php_ajaxmethod',0); updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required'); jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true); jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required'); jQuery('#jform_php_ajaxmethod').addClass('required');
jform_vvvvvyzvyv_required = false; jform_vvvvvzavyw_required = false;
} }
} }
else else
@ -337,43 +337,43 @@ function vvvvvyz(add_php_ajax_vvvvvyz)
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide(); jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
// remove required attribute from php_ajaxmethod field // remove required attribute from php_ajaxmethod field
if (!jform_vvvvvyzvyv_required) if (!jform_vvvvvzavyw_required)
{ {
updateFieldRequired('php_ajaxmethod',1); updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required'); jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required'); jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required'); jQuery('#jform_php_ajaxmethod').removeClass('required');
jform_vvvvvyzvyv_required = true; jform_vvvvvzavyw_required = true;
} }
} }
} }
// the vvvvvza function // the vvvvvzb function
function vvvvvza(add_custom_button_vvvvvza) function vvvvvzb(add_custom_button_vvvvvzb)
{ {
// set the function logic // set the function logic
if (add_custom_button_vvvvvza == 1) if (add_custom_button_vvvvvzb == 1)
{ {
jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_custom_button-lbl').closest('.control-group').show();
jQuery('#jform_php_controller-lbl').closest('.control-group').show(); jQuery('#jform_php_controller-lbl').closest('.control-group').show();
// add required attribute to php_controller field // add required attribute to php_controller field
if (jform_vvvvvzavyw_required) if (jform_vvvvvzbvyx_required)
{ {
updateFieldRequired('php_controller',0); updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required'); jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true); jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required'); jQuery('#jform_php_controller').addClass('required');
jform_vvvvvzavyw_required = false; jform_vvvvvzbvyx_required = false;
} }
jQuery('#jform_php_model-lbl').closest('.control-group').show(); jQuery('#jform_php_model-lbl').closest('.control-group').show();
// add required attribute to php_model field // add required attribute to php_model field
if (jform_vvvvvzavyx_required) if (jform_vvvvvzbvyy_required)
{ {
updateFieldRequired('php_model',0); updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required'); jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true); jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required'); jQuery('#jform_php_model').addClass('required');
jform_vvvvvzavyx_required = false; jform_vvvvvzbvyy_required = false;
} }
} }
else else
@ -381,41 +381,41 @@ function vvvvvza(add_custom_button_vvvvvza)
jQuery('#jform_custom_button-lbl').closest('.control-group').hide(); jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
jQuery('#jform_php_controller-lbl').closest('.control-group').hide(); jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
// remove required attribute from php_controller field // remove required attribute from php_controller field
if (!jform_vvvvvzavyw_required) if (!jform_vvvvvzbvyx_required)
{ {
updateFieldRequired('php_controller',1); updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required'); jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required'); jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required'); jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvzavyw_required = true; jform_vvvvvzbvyx_required = true;
} }
jQuery('#jform_php_model-lbl').closest('.control-group').hide(); jQuery('#jform_php_model-lbl').closest('.control-group').hide();
// remove required attribute from php_model field // remove required attribute from php_model field
if (!jform_vvvvvzavyx_required) if (!jform_vvvvvzbvyy_required)
{ {
updateFieldRequired('php_model',1); updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required'); jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required'); jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required'); jQuery('#jform_php_model').removeClass('required');
jform_vvvvvzavyx_required = true; jform_vvvvvzbvyy_required = true;
} }
} }
} }
// the vvvvvzb function // the vvvvvzc function
function vvvvvzb(button_position_vvvvvzb) function vvvvvzc(button_position_vvvvvzc)
{ {
if (isSet(button_position_vvvvvzb) && button_position_vvvvvzb.constructor !== Array) if (isSet(button_position_vvvvvzc) && button_position_vvvvvzc.constructor !== Array)
{ {
var temp_vvvvvzb = button_position_vvvvvzb; var temp_vvvvvzc = button_position_vvvvvzc;
var button_position_vvvvvzb = []; var button_position_vvvvvzc = [];
button_position_vvvvvzb.push(temp_vvvvvzb); button_position_vvvvvzc.push(temp_vvvvvzc);
} }
else if (!isSet(button_position_vvvvvzb)) else if (!isSet(button_position_vvvvvzc))
{ {
var button_position_vvvvvzb = []; var button_position_vvvvvzc = [];
} }
var button_position = button_position_vvvvvzb.some(button_position_vvvvvzb_SomeFunc); var button_position = button_position_vvvvvzc.some(button_position_vvvvvzc_SomeFunc);
// set this function logic // set this function logic
@ -429,11 +429,11 @@ function vvvvvzb(button_position_vvvvvzb)
} }
} }
// the vvvvvzb Some function // the vvvvvzc Some function
function button_position_vvvvvzb_SomeFunc(button_position_vvvvvzb) function button_position_vvvvvzc_SomeFunc(button_position_vvvvvzc)
{ {
// set the function logic // set the function logic
if (button_position_vvvvvzb == 5) if (button_position_vvvvvzc == 5)
{ {
return true; return true;
} }

View File

@ -9,43 +9,43 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvvzcvyy_required = false; jform_vvvvvzdvyz_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzc(add_php_view_vvvvvzc); vvvvvzd(add_php_view_vvvvvzd);
}); });
// the vvvvvzc function // the vvvvvzd function
function vvvvvzc(add_php_view_vvvvvzc) function vvvvvzd(add_php_view_vvvvvzd)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvzc == 1) if (add_php_view_vvvvvzd == 1)
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').show(); jQuery('#jform_php_view-lbl').closest('.control-group').show();
// add required attribute to php_view field // add required attribute to php_view field
if (jform_vvvvvzcvyy_required) if (jform_vvvvvzdvyz_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvzcvyy_required = false; jform_vvvvvzdvyz_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').hide(); jQuery('#jform_php_view-lbl').closest('.control-group').hide();
// remove required attribute from php_view field // remove required attribute from php_view field
if (!jform_vvvvvzcvyy_required) if (!jform_vvvvvzdvyz_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvzcvyy_required = true; jform_vvvvvzdvyz_required = true;
} }
} }
} }

View File

@ -156,7 +156,7 @@ class ComponentbuilderModelServer extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getWazlinked_components() public function getWbalinked_components()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();

View File

@ -160,6 +160,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`add_php_allowedit` TINYINT(1) NOT NULL DEFAULT 0, `add_php_allowedit` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_batchcopy` TINYINT(1) NOT NULL DEFAULT 0, `add_php_batchcopy` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_batchmove` TINYINT(1) NOT NULL DEFAULT 0, `add_php_batchmove` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_before_cancel` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_before_delete` TINYINT(1) NOT NULL DEFAULT 0, `add_php_before_delete` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_before_publish` TINYINT(1) NOT NULL DEFAULT 0, `add_php_before_publish` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_before_save` TINYINT(1) NOT NULL DEFAULT 0, `add_php_before_save` TINYINT(1) NOT NULL DEFAULT 0,
@ -204,6 +205,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`php_allowedit` MEDIUMTEXT NOT NULL, `php_allowedit` MEDIUMTEXT NOT NULL,
`php_batchcopy` MEDIUMTEXT NOT NULL, `php_batchcopy` MEDIUMTEXT NOT NULL,
`php_batchmove` MEDIUMTEXT NOT NULL, `php_batchmove` MEDIUMTEXT NOT NULL,
`php_before_cancel` MEDIUMTEXT NOT NULL,
`php_before_delete` MEDIUMTEXT NOT NULL, `php_before_delete` MEDIUMTEXT NOT NULL,
`php_before_publish` MEDIUMTEXT NOT NULL, `php_before_publish` MEDIUMTEXT NOT NULL,
`php_before_save` MEDIUMTEXT NOT NULL, `php_before_save` MEDIUMTEXT NOT NULL,
@ -249,28 +251,29 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
KEY `idx_modifiedby` (`modified_by`), KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`), KEY `idx_state` (`published`),
KEY `idx_name_single` (`name_single`), KEY `idx_name_single` (`name_single`),
KEY `idx_add_php_batchcopy` (`add_php_batchcopy`), KEY `idx_add_php_before_cancel` (`add_php_before_cancel`),
KEY `idx_add_php_allowadd` (`add_php_allowadd`), KEY `idx_add_php_allowadd` (`add_php_allowadd`),
KEY `idx_add_php_save` (`add_php_save`), KEY `idx_add_php_save` (`add_php_save`),
KEY `idx_add_php_getform` (`add_php_getform`), KEY `idx_add_php_getform` (`add_php_getform`),
KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`), KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
KEY `idx_add_php_document` (`add_php_document`), KEY `idx_add_php_after_delete` (`add_php_after_delete`),
KEY `idx_add_fadein` (`add_fadein`), KEY `idx_add_fadein` (`add_fadein`),
KEY `idx_add_php_before_publish` (`add_php_before_publish`), KEY `idx_add_php_batchmove` (`add_php_batchmove`),
KEY `idx_add_php_before_delete` (`add_php_before_delete`), KEY `idx_add_sql` (`add_sql`),
KEY `idx_mysql_table_collate` (`mysql_table_collate`), KEY `idx_add_php_after_publish` (`add_php_after_publish`),
KEY `idx_mysql_table_engine` (`mysql_table_engine`),
KEY `idx_type` (`type`), KEY `idx_type` (`type`),
KEY `idx_add_custom_import` (`add_custom_import`),
KEY `idx_name_list` (`name_list`),
KEY `idx_add_php_getlistquery` (`add_php_getlistquery`), KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
KEY `idx_add_php_before_save` (`add_php_before_save`), KEY `idx_add_php_before_save` (`add_php_before_save`),
KEY `idx_add_php_postsavehook` (`add_php_postsavehook`), KEY `idx_add_php_postsavehook` (`add_php_postsavehook`),
KEY `idx_add_php_allowedit` (`add_php_allowedit`), KEY `idx_add_php_allowedit` (`add_php_allowedit`),
KEY `idx_add_php_batchmove` (`add_php_batchmove`), KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
KEY `idx_add_php_after_publish` (`add_php_after_publish`), KEY `idx_add_php_before_publish` (`add_php_before_publish`),
KEY `idx_add_php_after_delete` (`add_php_after_delete`), KEY `idx_add_php_before_delete` (`add_php_before_delete`),
KEY `idx_mysql_table_engine` (`mysql_table_engine`), KEY `idx_add_php_document` (`add_php_document`),
KEY `idx_add_sql` (`add_sql`), KEY `idx_mysql_table_collate` (`mysql_table_collate`),
KEY `idx_add_custom_import` (`add_custom_import`),
KEY `idx_name_list` (`name_list`),
KEY `idx_add_css_view` (`add_css_view`), KEY `idx_add_css_view` (`add_css_view`),
KEY `idx_add_css_views` (`add_css_views`), KEY `idx_add_css_views` (`add_css_views`),
KEY `idx_add_javascript_view_file` (`add_javascript_view_file`), KEY `idx_add_javascript_view_file` (`add_javascript_view_file`),

View File

@ -0,0 +1,3 @@
ALTER TABLE `#__componentbuilder_admin_view` ADD `add_php_before_cancel` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_php_batchmove`;
ALTER TABLE `#__componentbuilder_admin_view` ADD `php_before_cancel` MEDIUMTEXT NOT NULL AFTER `php_batchmove`;

View File

@ -463,206 +463,206 @@ jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
}); });
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxs function // #jform_add_php_before_cancel listeners for add_php_before_cancel_vvvvvxs function
jQuery('#jform_add_php_before_cancel').on('keyup',function()
{
var add_php_before_cancel_vvvvvxs = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
vvvvvxs(add_php_before_cancel_vvvvvxs);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_cancel',function (e)
{
e.preventDefault();
var add_php_before_cancel_vvvvvxs = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
vvvvvxs(add_php_before_cancel_vvvvvxs);
});
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxt function
jQuery('#jform_add_php_batchcopy').on('keyup',function() jQuery('#jform_add_php_batchcopy').on('keyup',function()
{ {
var add_php_batchcopy_vvvvvxs = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); var add_php_batchcopy_vvvvvxt = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxs(add_php_batchcopy_vvvvvxs); vvvvvxt(add_php_batchcopy_vvvvvxt);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e) jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_batchcopy_vvvvvxs = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); var add_php_batchcopy_vvvvvxt = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxs(add_php_batchcopy_vvvvvxs); vvvvvxt(add_php_batchcopy_vvvvvxt);
}); });
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxt function // #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxu function
jQuery('#jform_add_php_batchmove').on('keyup',function() jQuery('#jform_add_php_batchmove').on('keyup',function()
{ {
var add_php_batchmove_vvvvvxt = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); var add_php_batchmove_vvvvvxu = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxt(add_php_batchmove_vvvvvxt); vvvvvxu(add_php_batchmove_vvvvvxu);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e) jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_batchmove_vvvvvxt = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); var add_php_batchmove_vvvvvxu = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxt(add_php_batchmove_vvvvvxt); vvvvvxu(add_php_batchmove_vvvvvxu);
}); });
// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxu function // #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxv function
jQuery('#jform_add_php_before_publish').on('keyup',function() jQuery('#jform_add_php_before_publish').on('keyup',function()
{ {
var add_php_before_publish_vvvvvxu = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); var add_php_before_publish_vvvvvxv = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxu(add_php_before_publish_vvvvvxu); vvvvvxv(add_php_before_publish_vvvvvxv);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_before_publish',function (e) jQuery('#adminForm').on('change', '#jform_add_php_before_publish',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_publish_vvvvvxu = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); var add_php_before_publish_vvvvvxv = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxu(add_php_before_publish_vvvvvxu); vvvvvxv(add_php_before_publish_vvvvvxv);
}); });
// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxv function // #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxw function
jQuery('#jform_add_php_after_publish').on('keyup',function() jQuery('#jform_add_php_after_publish').on('keyup',function()
{ {
var add_php_after_publish_vvvvvxv = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); var add_php_after_publish_vvvvvxw = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxv(add_php_after_publish_vvvvvxv); vvvvvxw(add_php_after_publish_vvvvvxw);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_after_publish',function (e) jQuery('#adminForm').on('change', '#jform_add_php_after_publish',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_after_publish_vvvvvxv = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); var add_php_after_publish_vvvvvxw = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxv(add_php_after_publish_vvvvvxv); vvvvvxw(add_php_after_publish_vvvvvxw);
}); });
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxw function // #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxx function
jQuery('#jform_add_php_before_delete').on('keyup',function() jQuery('#jform_add_php_before_delete').on('keyup',function()
{ {
var add_php_before_delete_vvvvvxw = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); var add_php_before_delete_vvvvvxx = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxw(add_php_before_delete_vvvvvxw); vvvvvxx(add_php_before_delete_vvvvvxx);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e) jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_delete_vvvvvxw = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); var add_php_before_delete_vvvvvxx = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxw(add_php_before_delete_vvvvvxw); vvvvvxx(add_php_before_delete_vvvvvxx);
}); });
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxx function // #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxy function
jQuery('#jform_add_php_after_delete').on('keyup',function() jQuery('#jform_add_php_after_delete').on('keyup',function()
{ {
var add_php_after_delete_vvvvvxx = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); var add_php_after_delete_vvvvvxy = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxx(add_php_after_delete_vvvvvxx); vvvvvxy(add_php_after_delete_vvvvvxy);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e) jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_after_delete_vvvvvxx = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); var add_php_after_delete_vvvvvxy = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxx(add_php_after_delete_vvvvvxx); vvvvvxy(add_php_after_delete_vvvvvxy);
}); });
// #jform_add_php_document listeners for add_php_document_vvvvvxy function // #jform_add_php_document listeners for add_php_document_vvvvvxz function
jQuery('#jform_add_php_document').on('keyup',function() jQuery('#jform_add_php_document').on('keyup',function()
{ {
var add_php_document_vvvvvxy = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvxz = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxy(add_php_document_vvvvvxy); vvvvvxz(add_php_document_vvvvvxz);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_document_vvvvvxy = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvxz = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxy(add_php_document_vvvvvxy); vvvvvxz(add_php_document_vvvvvxz);
});
// #jform_add_sql listeners for add_sql_vvvvvxz function
jQuery('#jform_add_sql').on('keyup',function()
{
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxz(add_sql_vvvvvxz);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxz(add_sql_vvvvvxz);
});
// #jform_source listeners for source_vvvvvya function
jQuery('#jform_source').on('keyup',function()
{
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
}); });
// #jform_add_sql listeners for add_sql_vvvvvya function // #jform_add_sql listeners for add_sql_vvvvvya function
jQuery('#jform_add_sql').on('keyup',function() jQuery('#jform_add_sql').on('keyup',function()
{ {
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya); vvvvvya(add_sql_vvvvvya);
}); });
jQuery('#adminForm').on('change', '#jform_add_sql',function (e) jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya); vvvvvya(add_sql_vvvvvya);
}); });
// #jform_source listeners for source_vvvvvyc function // #jform_source listeners for source_vvvvvyb function
jQuery('#jform_source').on('keyup',function() jQuery('#jform_source').on('keyup',function()
{ {
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val(); var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc); vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
}); });
jQuery('#adminForm').on('change', '#jform_source',function (e) jQuery('#adminForm').on('change', '#jform_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val(); var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc); vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
}); });
// #jform_add_sql listeners for add_sql_vvvvvyc function // #jform_add_sql listeners for add_sql_vvvvvyb function
jQuery('#jform_add_sql').on('keyup',function() jQuery('#jform_add_sql').on('keyup',function()
{ {
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val(); var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc); vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
}); });
jQuery('#adminForm').on('change', '#jform_add_sql',function (e) jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val(); var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc); vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
}); });
// #jform_add_custom_import listeners for add_custom_import_vvvvvye function // #jform_source listeners for source_vvvvvyd function
jQuery('#jform_add_custom_import').on('keyup',function() jQuery('#jform_source').on('keyup',function()
{ {
var add_custom_import_vvvvvye = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var source_vvvvvyd = jQuery("#jform_source input[type='radio']:checked").val();
vvvvvye(add_custom_import_vvvvvye); var add_sql_vvvvvyd = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyd(source_vvvvvyd,add_sql_vvvvvyd);
}); });
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e) jQuery('#adminForm').on('change', '#jform_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_custom_import_vvvvvye = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var source_vvvvvyd = jQuery("#jform_source input[type='radio']:checked").val();
vvvvvye(add_custom_import_vvvvvye); var add_sql_vvvvvyd = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyd(source_vvvvvyd,add_sql_vvvvvyd);
});
// #jform_add_sql listeners for add_sql_vvvvvyd function
jQuery('#jform_add_sql').on('keyup',function()
{
var source_vvvvvyd = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyd = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyd(source_vvvvvyd,add_sql_vvvvvyd);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var source_vvvvvyd = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyd = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyd(source_vvvvvyd,add_sql_vvvvvyd);
}); });
@ -681,18 +681,33 @@ jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
}); });
// #jform_add_custom_button listeners for add_custom_button_vvvvvyg function // #jform_add_custom_import listeners for add_custom_import_vvvvvyg function
jQuery('#jform_add_custom_import').on('keyup',function()
{
var add_custom_import_vvvvvyg = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyg(add_custom_import_vvvvvyg);
});
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
{
e.preventDefault();
var add_custom_import_vvvvvyg = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyg(add_custom_import_vvvvvyg);
});
// #jform_add_custom_button listeners for add_custom_button_vvvvvyh function
jQuery('#jform_add_custom_button').on('keyup',function() jQuery('#jform_add_custom_button').on('keyup',function()
{ {
var add_custom_button_vvvvvyg = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyh = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyg(add_custom_button_vvvvvyg); vvvvvyh(add_custom_button_vvvvvyh);
}); });
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e) jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_custom_button_vvvvvyg = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyh = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyg(add_custom_button_vvvvvyg); vvvvvyh(add_custom_button_vvvvvyh);
}); });

View File

@ -163,153 +163,153 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvyh function // #jform_add_php_view listeners for add_php_view_vvvvvyi function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvyh = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyi = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyh(add_php_view_vvvvvyh); vvvvvyi(add_php_view_vvvvvyi);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_view_vvvvvyh = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyi = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyh(add_php_view_vvvvvyh); vvvvvyi(add_php_view_vvvvvyi);
}); });
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyi function // #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyj function
jQuery('#jform_add_php_jview_display').on('keyup',function() jQuery('#jform_add_php_jview_display').on('keyup',function()
{ {
var add_php_jview_display_vvvvvyi = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyj = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyi(add_php_jview_display_vvvvvyi); vvvvvyj(add_php_jview_display_vvvvvyj);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e) jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_jview_display_vvvvvyi = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyj = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyi(add_php_jview_display_vvvvvyi); vvvvvyj(add_php_jview_display_vvvvvyj);
}); });
// #jform_add_php_jview listeners for add_php_jview_vvvvvyj function // #jform_add_php_jview listeners for add_php_jview_vvvvvyk function
jQuery('#jform_add_php_jview').on('keyup',function() jQuery('#jform_add_php_jview').on('keyup',function()
{ {
var add_php_jview_vvvvvyj = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyk = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyj(add_php_jview_vvvvvyj); vvvvvyk(add_php_jview_vvvvvyk);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e) jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_jview_vvvvvyj = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyk = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyj(add_php_jview_vvvvvyj); vvvvvyk(add_php_jview_vvvvvyk);
}); });
// #jform_add_php_document listeners for add_php_document_vvvvvyk function // #jform_add_php_document listeners for add_php_document_vvvvvyl function
jQuery('#jform_add_php_document').on('keyup',function() jQuery('#jform_add_php_document').on('keyup',function()
{ {
var add_php_document_vvvvvyk = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyl = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyk(add_php_document_vvvvvyk); vvvvvyl(add_php_document_vvvvvyl);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_document_vvvvvyk = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyl = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyk(add_php_document_vvvvvyk); vvvvvyl(add_php_document_vvvvvyl);
}); });
// #jform_add_css_document listeners for add_css_document_vvvvvyl function // #jform_add_css_document listeners for add_css_document_vvvvvym function
jQuery('#jform_add_css_document').on('keyup',function() jQuery('#jform_add_css_document').on('keyup',function()
{ {
var add_css_document_vvvvvyl = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvym = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyl(add_css_document_vvvvvyl); vvvvvym(add_css_document_vvvvvym);
}); });
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e) jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_document_vvvvvyl = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvym = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyl(add_css_document_vvvvvyl); vvvvvym(add_css_document_vvvvvym);
}); });
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvym function // #jform_add_javascript_file listeners for add_javascript_file_vvvvvyn function
jQuery('#jform_add_javascript_file').on('keyup',function() jQuery('#jform_add_javascript_file').on('keyup',function()
{ {
var add_javascript_file_vvvvvym = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvyn = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvym(add_javascript_file_vvvvvym); vvvvvyn(add_javascript_file_vvvvvyn);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_file_vvvvvym = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvyn = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvym(add_javascript_file_vvvvvym); vvvvvyn(add_javascript_file_vvvvvyn);
}); });
// #jform_add_js_document listeners for add_js_document_vvvvvyn function // #jform_add_js_document listeners for add_js_document_vvvvvyo function
jQuery('#jform_add_js_document').on('keyup',function() jQuery('#jform_add_js_document').on('keyup',function()
{ {
var add_js_document_vvvvvyn = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyo = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyn(add_js_document_vvvvvyn); vvvvvyo(add_js_document_vvvvvyo);
}); });
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e) jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_js_document_vvvvvyn = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyo = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyn(add_js_document_vvvvvyn); vvvvvyo(add_js_document_vvvvvyo);
}); });
// #jform_add_custom_button listeners for add_custom_button_vvvvvyo function // #jform_add_custom_button listeners for add_custom_button_vvvvvyp function
jQuery('#jform_add_custom_button').on('keyup',function() jQuery('#jform_add_custom_button').on('keyup',function()
{ {
var add_custom_button_vvvvvyo = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyp = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyo(add_custom_button_vvvvvyo); vvvvvyp(add_custom_button_vvvvvyp);
}); });
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e) jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_custom_button_vvvvvyo = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyp = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyo(add_custom_button_vvvvvyo); vvvvvyp(add_custom_button_vvvvvyp);
}); });
// #jform_add_css listeners for add_css_vvvvvyp function // #jform_add_css listeners for add_css_vvvvvyq function
jQuery('#jform_add_css').on('keyup',function() jQuery('#jform_add_css').on('keyup',function()
{ {
var add_css_vvvvvyp = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyq = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyp(add_css_vvvvvyp); vvvvvyq(add_css_vvvvvyq);
}); });
jQuery('#adminForm').on('change', '#jform_add_css',function (e) jQuery('#adminForm').on('change', '#jform_add_css',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_vvvvvyp = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyq = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyp(add_css_vvvvvyp); vvvvvyq(add_css_vvvvvyq);
}); });
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyq function // #jform_add_php_ajax listeners for add_php_ajax_vvvvvyr function
jQuery('#jform_add_php_ajax').on('keyup',function() jQuery('#jform_add_php_ajax').on('keyup',function()
{ {
var add_php_ajax_vvvvvyq = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvyr = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyq(add_php_ajax_vvvvvyq); vvvvvyr(add_php_ajax_vvvvvyr);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e) jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_ajax_vvvvvyq = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvyr = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyq(add_php_ajax_vvvvvyq); vvvvvyr(add_php_ajax_vvvvvyr);
}); });

View File

@ -116,21 +116,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_target listeners for target_vvvvwaf function
jQuery('#jform_target').on('keyup',function()
{
var target_vvvvwaf = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaf(target_vvvvwaf);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target_vvvvwaf = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaf(target_vvvvwaf);
});
// #jform_target listeners for target_vvvvwag function // #jform_target listeners for target_vvvvwag function
jQuery('#jform_target').on('keyup',function() jQuery('#jform_target').on('keyup',function()
{ {
@ -150,67 +135,82 @@ jQuery('#adminForm').on('change', '#jform_target',function (e)
jQuery('#jform_target').on('keyup',function() jQuery('#jform_target').on('keyup',function()
{ {
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val(); vvvvwah(target_vvvvwah);
vvvvwah(target_vvvvwah,type_vvvvwah);
}); });
jQuery('#adminForm').on('change', '#jform_target',function (e) jQuery('#adminForm').on('change', '#jform_target',function (e)
{ {
e.preventDefault(); e.preventDefault();
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val(); vvvvwah(target_vvvvwah);
vvvvwah(target_vvvvwah,type_vvvvwah);
});
// #jform_type listeners for type_vvvvwah function
jQuery('#jform_type').on('keyup',function()
{
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwah(target_vvvvwah,type_vvvvwah);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwah(target_vvvvwah,type_vvvvwah);
});
// #jform_type listeners for type_vvvvwai function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwai(type_vvvvwai,target_vvvvwai);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwai(type_vvvvwai,target_vvvvwai);
}); });
// #jform_target listeners for target_vvvvwai function // #jform_target listeners for target_vvvvwai function
jQuery('#jform_target').on('keyup',function() jQuery('#jform_target').on('keyup',function()
{ {
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwai(type_vvvvwai,target_vvvvwai); var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwai(target_vvvvwai,type_vvvvwai);
}); });
jQuery('#adminForm').on('change', '#jform_target',function (e) jQuery('#adminForm').on('change', '#jform_target',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwai(type_vvvvwai,target_vvvvwai); var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwai(target_vvvvwai,type_vvvvwai);
});
// #jform_type listeners for type_vvvvwai function
jQuery('#jform_type').on('keyup',function()
{
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwai(target_vvvvwai,type_vvvvwai);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwai(target_vvvvwai,type_vvvvwai);
});
// #jform_type listeners for type_vvvvwaj function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvwaj = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwaj = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaj(type_vvvvwaj,target_vvvvwaj);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvwaj = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwaj = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaj(type_vvvvwaj,target_vvvvwaj);
});
// #jform_target listeners for target_vvvvwaj function
jQuery('#jform_target').on('keyup',function()
{
var type_vvvvwaj = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwaj = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaj(type_vvvvwaj,target_vvvvwaj);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var type_vvvvwaj = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwaj = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaj(type_vvvvwaj,target_vvvvwaj);
}); });

View File

@ -159,33 +159,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_gettype listeners for gettype_vvvvvze function // #jform_gettype listeners for gettype_vvvvvzf function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvvze = jQuery("#jform_gettype").val(); var gettype_vvvvvzf = jQuery("#jform_gettype").val();
vvvvvze(gettype_vvvvvze); vvvvvzf(gettype_vvvvvzf);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvvze = jQuery("#jform_gettype").val(); var gettype_vvvvvzf = jQuery("#jform_gettype").val();
vvvvvze(gettype_vvvvvze); vvvvvzf(gettype_vvvvvzf);
});
// #jform_main_source listeners for main_source_vvvvvzf function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvzf = jQuery("#jform_main_source").val();
vvvvvzf(main_source_vvvvvzf);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvzf = jQuery("#jform_main_source").val();
vvvvvzf(main_source_vvvvvzf);
}); });
@ -249,18 +234,18 @@ jQuery('#adminForm').on('change', '#jform_main_source',function (e)
}); });
// #jform_addcalculation listeners for addcalculation_vvvvvzk function // #jform_main_source listeners for main_source_vvvvvzk function
jQuery('#jform_addcalculation').on('keyup',function() jQuery('#jform_main_source').on('keyup',function()
{ {
var addcalculation_vvvvvzk = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var main_source_vvvvvzk = jQuery("#jform_main_source").val();
vvvvvzk(addcalculation_vvvvvzk); vvvvvzk(main_source_vvvvvzk);
}); });
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var addcalculation_vvvvvzk = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var main_source_vvvvvzk = jQuery("#jform_main_source").val();
vvvvvzk(addcalculation_vvvvvzk); vvvvvzk(main_source_vvvvvzk);
}); });
@ -268,33 +253,14 @@ jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
jQuery('#jform_addcalculation').on('keyup',function() jQuery('#jform_addcalculation').on('keyup',function()
{ {
var addcalculation_vvvvvzl = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var addcalculation_vvvvvzl = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzl = jQuery("#jform_gettype").val(); vvvvvzl(addcalculation_vvvvvzl);
vvvvvzl(addcalculation_vvvvvzl,gettype_vvvvvzl);
}); });
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{ {
e.preventDefault(); e.preventDefault();
var addcalculation_vvvvvzl = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var addcalculation_vvvvvzl = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzl = jQuery("#jform_gettype").val(); vvvvvzl(addcalculation_vvvvvzl);
vvvvvzl(addcalculation_vvvvvzl,gettype_vvvvvzl);
});
// #jform_gettype listeners for gettype_vvvvvzl function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvzl = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzl = jQuery("#jform_gettype").val();
vvvvvzl(addcalculation_vvvvvzl,gettype_vvvvvzl);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzl = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzl = jQuery("#jform_gettype").val();
vvvvvzl(addcalculation_vvvvvzl,gettype_vvvvvzl);
}); });
@ -332,18 +298,37 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
}); });
// #jform_main_source listeners for main_source_vvvvvzp function // #jform_addcalculation listeners for addcalculation_vvvvvzn function
jQuery('#jform_main_source').on('keyup',function() jQuery('#jform_addcalculation').on('keyup',function()
{ {
var main_source_vvvvvzp = jQuery("#jform_main_source").val(); var addcalculation_vvvvvzn = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvzp(main_source_vvvvvzp); var gettype_vvvvvzn = jQuery("#jform_gettype").val();
vvvvvzn(addcalculation_vvvvvzn,gettype_vvvvvzn);
}); });
jQuery('#adminForm').on('change', '#jform_main_source',function (e) jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{ {
e.preventDefault(); e.preventDefault();
var main_source_vvvvvzp = jQuery("#jform_main_source").val(); var addcalculation_vvvvvzn = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvzp(main_source_vvvvvzp); var gettype_vvvvvzn = jQuery("#jform_gettype").val();
vvvvvzn(addcalculation_vvvvvzn,gettype_vvvvvzn);
});
// #jform_gettype listeners for gettype_vvvvvzn function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvzn = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzn = jQuery("#jform_gettype").val();
vvvvvzn(addcalculation_vvvvvzn,gettype_vvvvvzn);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzn = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzn = jQuery("#jform_gettype").val();
vvvvvzn(addcalculation_vvvvvzn,gettype_vvvvvzn);
}); });
@ -362,203 +347,203 @@ jQuery('#adminForm').on('change', '#jform_main_source',function (e)
}); });
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvzr function // #jform_main_source listeners for main_source_vvvvvzr function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvzr = jQuery("#jform_main_source").val();
vvvvvzr(main_source_vvvvvzr);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvzr = jQuery("#jform_main_source").val();
vvvvvzr(main_source_vvvvvzr);
});
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvzs function
jQuery('#jform_add_php_before_getitem').on('keyup',function() jQuery('#jform_add_php_before_getitem').on('keyup',function()
{ {
var add_php_before_getitem_vvvvvzr = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvzs = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzr = jQuery("#jform_gettype").val(); var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzr(add_php_before_getitem_vvvvvzr,gettype_vvvvvzr); vvvvvzs(add_php_before_getitem_vvvvvzs,gettype_vvvvvzs);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e) jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_getitem_vvvvvzr = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvzs = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
vvvvvzr(add_php_before_getitem_vvvvvzr,gettype_vvvvvzr);
});
// #jform_gettype listeners for gettype_vvvvvzr function
jQuery('#jform_gettype').on('keyup',function()
{
var add_php_before_getitem_vvvvvzr = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
vvvvvzr(add_php_before_getitem_vvvvvzr,gettype_vvvvvzr);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var add_php_before_getitem_vvvvvzr = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
vvvvvzr(add_php_before_getitem_vvvvvzr,gettype_vvvvvzr);
});
// #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvzs function
jQuery('#jform_add_php_after_getitem').on('keyup',function()
{
var add_php_after_getitem_vvvvvzs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val(); var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(add_php_after_getitem_vvvvvzs,gettype_vvvvvzs); vvvvvzs(add_php_before_getitem_vvvvvzs,gettype_vvvvvzs);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
{
e.preventDefault();
var add_php_after_getitem_vvvvvzs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(add_php_after_getitem_vvvvvzs,gettype_vvvvvzs);
}); });
// #jform_gettype listeners for gettype_vvvvvzs function // #jform_gettype listeners for gettype_vvvvvzs function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_after_getitem_vvvvvzs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvzs = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val(); var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(add_php_after_getitem_vvvvvzs,gettype_vvvvvzs); vvvvvzs(add_php_before_getitem_vvvvvzs,gettype_vvvvvzs);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_after_getitem_vvvvvzs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvzs = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val(); var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(add_php_after_getitem_vvvvvzs,gettype_vvvvvzs); vvvvvzs(add_php_before_getitem_vvvvvzs,gettype_vvvvvzs);
}); });
// #jform_gettype listeners for gettype_vvvvvzu function // #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvzt function
jQuery('#jform_add_php_after_getitem').on('keyup',function()
{
var add_php_after_getitem_vvvvvzt = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(add_php_after_getitem_vvvvvzt,gettype_vvvvvzt);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
{
e.preventDefault();
var add_php_after_getitem_vvvvvzt = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(add_php_after_getitem_vvvvvzt,gettype_vvvvvzt);
});
// #jform_gettype listeners for gettype_vvvvvzt function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvvzu = jQuery("#jform_gettype").val(); var add_php_after_getitem_vvvvvzt = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
vvvvvzu(gettype_vvvvvzu); var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(add_php_after_getitem_vvvvvzt,gettype_vvvvvzt);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvvzu = jQuery("#jform_gettype").val(); var add_php_after_getitem_vvvvvzt = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
vvvvvzu(gettype_vvvvvzu); var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(add_php_after_getitem_vvvvvzt,gettype_vvvvvzt);
});
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvzv function
jQuery('#jform_add_php_getlistquery').on('keyup',function()
{
var add_php_getlistquery_vvvvvzv = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
vvvvvzv(add_php_getlistquery_vvvvvzv,gettype_vvvvvzv);
});
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
{
e.preventDefault();
var add_php_getlistquery_vvvvvzv = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
vvvvvzv(add_php_getlistquery_vvvvvzv,gettype_vvvvvzv);
}); });
// #jform_gettype listeners for gettype_vvvvvzv function // #jform_gettype listeners for gettype_vvvvvzv function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_getlistquery_vvvvvzv = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val(); var gettype_vvvvvzv = jQuery("#jform_gettype").val();
vvvvvzv(add_php_getlistquery_vvvvvzv,gettype_vvvvvzv); vvvvvzv(gettype_vvvvvzv);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getlistquery_vvvvvzv = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val(); var gettype_vvvvvzv = jQuery("#jform_gettype").val();
vvvvvzv(add_php_getlistquery_vvvvvzv,gettype_vvvvvzv); vvvvvzv(gettype_vvvvvzv);
}); });
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvzw function // #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvzw function
jQuery('#jform_add_php_before_getitems').on('keyup',function() jQuery('#jform_add_php_getlistquery').on('keyup',function()
{ {
var add_php_before_getitems_vvvvvzw = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvzw = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzw = jQuery("#jform_gettype").val(); var gettype_vvvvvzw = jQuery("#jform_gettype").val();
vvvvvzw(add_php_before_getitems_vvvvvzw,gettype_vvvvvzw); vvvvvzw(add_php_getlistquery_vvvvvzw,gettype_vvvvvzw);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e) jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_getitems_vvvvvzw = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvzw = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzw = jQuery("#jform_gettype").val(); var gettype_vvvvvzw = jQuery("#jform_gettype").val();
vvvvvzw(add_php_before_getitems_vvvvvzw,gettype_vvvvvzw); vvvvvzw(add_php_getlistquery_vvvvvzw,gettype_vvvvvzw);
}); });
// #jform_gettype listeners for gettype_vvvvvzw function // #jform_gettype listeners for gettype_vvvvvzw function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_before_getitems_vvvvvzw = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvzw = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzw = jQuery("#jform_gettype").val(); var gettype_vvvvvzw = jQuery("#jform_gettype").val();
vvvvvzw(add_php_before_getitems_vvvvvzw,gettype_vvvvvzw); vvvvvzw(add_php_getlistquery_vvvvvzw,gettype_vvvvvzw);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_getitems_vvvvvzw = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvzw = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzw = jQuery("#jform_gettype").val(); var gettype_vvvvvzw = jQuery("#jform_gettype").val();
vvvvvzw(add_php_before_getitems_vvvvvzw,gettype_vvvvvzw); vvvvvzw(add_php_getlistquery_vvvvvzw,gettype_vvvvvzw);
}); });
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvvzx function // #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvzx function
jQuery('#jform_add_php_after_getitems').on('keyup',function() jQuery('#jform_add_php_before_getitems').on('keyup',function()
{ {
var add_php_after_getitems_vvvvvzx = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var add_php_before_getitems_vvvvvzx = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzx = jQuery("#jform_gettype").val(); var gettype_vvvvvzx = jQuery("#jform_gettype").val();
vvvvvzx(add_php_after_getitems_vvvvvzx,gettype_vvvvvzx); vvvvvzx(add_php_before_getitems_vvvvvzx,gettype_vvvvvzx);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e) jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_after_getitems_vvvvvzx = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var add_php_before_getitems_vvvvvzx = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzx = jQuery("#jform_gettype").val(); var gettype_vvvvvzx = jQuery("#jform_gettype").val();
vvvvvzx(add_php_after_getitems_vvvvvzx,gettype_vvvvvzx); vvvvvzx(add_php_before_getitems_vvvvvzx,gettype_vvvvvzx);
}); });
// #jform_gettype listeners for gettype_vvvvvzx function // #jform_gettype listeners for gettype_vvvvvzx function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_after_getitems_vvvvvzx = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var add_php_before_getitems_vvvvvzx = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzx = jQuery("#jform_gettype").val(); var gettype_vvvvvzx = jQuery("#jform_gettype").val();
vvvvvzx(add_php_after_getitems_vvvvvzx,gettype_vvvvvzx); vvvvvzx(add_php_before_getitems_vvvvvzx,gettype_vvvvvzx);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_after_getitems_vvvvvzx = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var add_php_before_getitems_vvvvvzx = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzx = jQuery("#jform_gettype").val(); var gettype_vvvvvzx = jQuery("#jform_gettype").val();
vvvvvzx(add_php_after_getitems_vvvvvzx,gettype_vvvvvzx); vvvvvzx(add_php_before_getitems_vvvvvzx,gettype_vvvvvzx);
}); });
// #jform_gettype listeners for gettype_vvvvvzz function // #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvvzy function
jQuery('#jform_add_php_after_getitems').on('keyup',function()
{
var add_php_after_getitems_vvvvvzy = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
vvvvvzy(add_php_after_getitems_vvvvvzy,gettype_vvvvvzy);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e)
{
e.preventDefault();
var add_php_after_getitems_vvvvvzy = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
vvvvvzy(add_php_after_getitems_vvvvvzy,gettype_vvvvvzy);
});
// #jform_gettype listeners for gettype_vvvvvzy function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvvzz = jQuery("#jform_gettype").val(); var add_php_after_getitems_vvvvvzy = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
vvvvvzz(gettype_vvvvvzz); var gettype_vvvvvzy = jQuery("#jform_gettype").val();
vvvvvzy(add_php_after_getitems_vvvvvzy,gettype_vvvvvzy);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvvzz = jQuery("#jform_gettype").val(); var add_php_after_getitems_vvvvvzy = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
vvvvvzz(gettype_vvvvvzz); var gettype_vvvvvzy = jQuery("#jform_gettype").val();
vvvvvzy(add_php_after_getitems_vvvvvzy,gettype_vvvvvzy);
}); });
@ -596,48 +581,63 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvwac = jQuery("#jform_gettype").val(); var gettype_vvvvwac = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwac = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val(); vvvvwac(gettype_vvvvwac);
vvvvwac(gettype_vvvvwac,add_php_router_parse_vvvvwac);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvwac = jQuery("#jform_gettype").val(); var gettype_vvvvwac = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwac = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val(); vvvvwac(gettype_vvvvwac);
vvvvwac(gettype_vvvvwac,add_php_router_parse_vvvvwac);
}); });
// #jform_add_php_router_parse listeners for add_php_router_parse_vvvvwac function // #jform_gettype listeners for gettype_vvvvwad function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvwad = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwad = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwad(gettype_vvvvwad,add_php_router_parse_vvvvwad);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvwad = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwad = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwad(gettype_vvvvwad,add_php_router_parse_vvvvwad);
});
// #jform_add_php_router_parse listeners for add_php_router_parse_vvvvwad function
jQuery('#jform_add_php_router_parse').on('keyup',function() jQuery('#jform_add_php_router_parse').on('keyup',function()
{ {
var gettype_vvvvwac = jQuery("#jform_gettype").val(); var gettype_vvvvwad = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwac = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val(); var add_php_router_parse_vvvvwad = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwac(gettype_vvvvwac,add_php_router_parse_vvvvwac); vvvvwad(gettype_vvvvwad,add_php_router_parse_vvvvwad);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_router_parse',function (e) jQuery('#adminForm').on('change', '#jform_add_php_router_parse',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvwac = jQuery("#jform_gettype").val(); var gettype_vvvvwad = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwac = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val(); var add_php_router_parse_vvvvwad = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwac(gettype_vvvvwac,add_php_router_parse_vvvvwac); vvvvwad(gettype_vvvvwad,add_php_router_parse_vvvvwad);
}); });
// #jform_gettype listeners for gettype_vvvvwae function // #jform_gettype listeners for gettype_vvvvwaf function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvwae = jQuery("#jform_gettype").val(); var gettype_vvvvwaf = jQuery("#jform_gettype").val();
vvvvwae(gettype_vvvvwae); vvvvwaf(gettype_vvvvwaf);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvwae = jQuery("#jform_gettype").val(); var gettype_vvvvwaf = jQuery("#jform_gettype").val();
vvvvwae(gettype_vvvvwae); vvvvwaf(gettype_vvvvwaf);
}); });

View File

@ -147,48 +147,33 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_datalenght listeners for datalenght_vvvvwar function // #jform_datalenght listeners for datalenght_vvvvwas function
jQuery('#jform_datalenght').on('keyup',function() jQuery('#jform_datalenght').on('keyup',function()
{ {
var datalenght_vvvvwar = jQuery("#jform_datalenght").val(); var datalenght_vvvvwas = jQuery("#jform_datalenght").val();
vvvvwar(datalenght_vvvvwar); vvvvwas(datalenght_vvvvwas);
}); });
jQuery('#adminForm').on('change', '#jform_datalenght',function (e) jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datalenght_vvvvwar = jQuery("#jform_datalenght").val(); var datalenght_vvvvwas = jQuery("#jform_datalenght").val();
vvvvwar(datalenght_vvvvwar); vvvvwas(datalenght_vvvvwas);
}); });
// #jform_datadefault listeners for datadefault_vvvvwas function // #jform_datadefault listeners for datadefault_vvvvwat function
jQuery('#jform_datadefault').on('keyup',function() jQuery('#jform_datadefault').on('keyup',function()
{ {
var datadefault_vvvvwas = jQuery("#jform_datadefault").val(); var datadefault_vvvvwat = jQuery("#jform_datadefault").val();
vvvvwas(datadefault_vvvvwas); vvvvwat(datadefault_vvvvwat);
}); });
jQuery('#adminForm').on('change', '#jform_datadefault',function (e) jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datadefault_vvvvwas = jQuery("#jform_datadefault").val(); var datadefault_vvvvwat = jQuery("#jform_datadefault").val();
vvvvwas(datadefault_vvvvwas); vvvvwat(datadefault_vvvvwat);
});
// #jform_datatype listeners for datatype_vvvvwat function
jQuery('#jform_datatype').on('keyup',function()
{
var datatype_vvvvwat = jQuery("#jform_datatype").val();
vvvvwat(datatype_vvvvwat);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var datatype_vvvvwat = jQuery("#jform_datatype").val();
vvvvwat(datatype_vvvvwat);
}); });
@ -207,97 +192,112 @@ jQuery('#adminForm').on('change', '#jform_datatype',function (e)
}); });
// #jform_store listeners for store_vvvvwav function
jQuery('#jform_store').on('keyup',function()
{
var store_vvvvwav = jQuery("#jform_store").val();
var datatype_vvvvwav = jQuery("#jform_datatype").val();
vvvvwav(store_vvvvwav,datatype_vvvvwav);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var store_vvvvwav = jQuery("#jform_store").val();
var datatype_vvvvwav = jQuery("#jform_datatype").val();
vvvvwav(store_vvvvwav,datatype_vvvvwav);
});
// #jform_datatype listeners for datatype_vvvvwav function // #jform_datatype listeners for datatype_vvvvwav function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var store_vvvvwav = jQuery("#jform_store").val();
var datatype_vvvvwav = jQuery("#jform_datatype").val(); var datatype_vvvvwav = jQuery("#jform_datatype").val();
vvvvwav(store_vvvvwav,datatype_vvvvwav); vvvvwav(datatype_vvvvwav);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var store_vvvvwav = jQuery("#jform_store").val();
var datatype_vvvvwav = jQuery("#jform_datatype").val(); var datatype_vvvvwav = jQuery("#jform_datatype").val();
vvvvwav(store_vvvvwav,datatype_vvvvwav); vvvvwav(datatype_vvvvwav);
}); });
// #jform_add_css_view listeners for add_css_view_vvvvwax function // #jform_store listeners for store_vvvvwaw function
jQuery('#jform_store').on('keyup',function()
{
var store_vvvvwaw = jQuery("#jform_store").val();
var datatype_vvvvwaw = jQuery("#jform_datatype").val();
vvvvwaw(store_vvvvwaw,datatype_vvvvwaw);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var store_vvvvwaw = jQuery("#jform_store").val();
var datatype_vvvvwaw = jQuery("#jform_datatype").val();
vvvvwaw(store_vvvvwaw,datatype_vvvvwaw);
});
// #jform_datatype listeners for datatype_vvvvwaw function
jQuery('#jform_datatype').on('keyup',function()
{
var store_vvvvwaw = jQuery("#jform_store").val();
var datatype_vvvvwaw = jQuery("#jform_datatype").val();
vvvvwaw(store_vvvvwaw,datatype_vvvvwaw);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var store_vvvvwaw = jQuery("#jform_store").val();
var datatype_vvvvwaw = jQuery("#jform_datatype").val();
vvvvwaw(store_vvvvwaw,datatype_vvvvwaw);
});
// #jform_add_css_view listeners for add_css_view_vvvvway function
jQuery('#jform_add_css_view').on('keyup',function() jQuery('#jform_add_css_view').on('keyup',function()
{ {
var add_css_view_vvvvwax = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvway = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwax(add_css_view_vvvvwax); vvvvway(add_css_view_vvvvway);
}); });
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e) jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_view_vvvvwax = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvway = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwax(add_css_view_vvvvwax); vvvvway(add_css_view_vvvvway);
}); });
// #jform_add_css_views listeners for add_css_views_vvvvway function // #jform_add_css_views listeners for add_css_views_vvvvwaz function
jQuery('#jform_add_css_views').on('keyup',function() jQuery('#jform_add_css_views').on('keyup',function()
{ {
var add_css_views_vvvvway = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvwaz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvway(add_css_views_vvvvway); vvvvwaz(add_css_views_vvvvwaz);
}); });
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e) jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_views_vvvvway = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvwaz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvway(add_css_views_vvvvway); vvvvwaz(add_css_views_vvvvwaz);
}); });
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvwaz function // #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvwba function
jQuery('#jform_add_javascript_view_footer').on('keyup',function() jQuery('#jform_add_javascript_view_footer').on('keyup',function()
{ {
var add_javascript_view_footer_vvvvwaz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvwba = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwaz(add_javascript_view_footer_vvvvwaz); vvvvwba(add_javascript_view_footer_vvvvwba);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_view_footer_vvvvwaz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvwba = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwaz(add_javascript_view_footer_vvvvwaz); vvvvwba(add_javascript_view_footer_vvvvwba);
}); });
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvwba function // #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvwbb function
jQuery('#jform_add_javascript_views_footer').on('keyup',function() jQuery('#jform_add_javascript_views_footer').on('keyup',function()
{ {
var add_javascript_views_footer_vvvvwba = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvwbb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwba(add_javascript_views_footer_vvvvwba); vvvvwbb(add_javascript_views_footer_vvvvwbb);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_views_footer_vvvvwba = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvwbb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwba(add_javascript_views_footer_vvvvwba); vvvvwbb(add_javascript_views_footer_vvvvwbb);
}); });

View File

@ -136,344 +136,287 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_datalenght listeners for datalenght_vvvvwbb function // #jform_datalenght listeners for datalenght_vvvvwbc function
jQuery('#jform_datalenght').on('keyup',function() jQuery('#jform_datalenght').on('keyup',function()
{ {
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val(); var datalenght_vvvvwbc = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb); vvvvwbc(datalenght_vvvvwbc,has_defaults_vvvvwbc);
}); });
jQuery('#adminForm').on('change', '#jform_datalenght',function (e) jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val(); var datalenght_vvvvwbc = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb); vvvvwbc(datalenght_vvvvwbc,has_defaults_vvvvwbc);
}); });
// #jform_has_defaults listeners for has_defaults_vvvvwbb function // #jform_has_defaults listeners for has_defaults_vvvvwbc function
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val(); var datalenght_vvvvwbc = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb); vvvvwbc(datalenght_vvvvwbc,has_defaults_vvvvwbc);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val(); var datalenght_vvvvwbc = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb); vvvvwbc(datalenght_vvvvwbc,has_defaults_vvvvwbc);
}); });
// #jform_datadefault listeners for datadefault_vvvvwbd function // #jform_datadefault listeners for datadefault_vvvvwbe function
jQuery('#jform_datadefault').on('keyup',function() jQuery('#jform_datadefault').on('keyup',function()
{ {
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val(); var datadefault_vvvvwbe = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbe = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd); vvvvwbe(datadefault_vvvvwbe,has_defaults_vvvvwbe);
}); });
jQuery('#adminForm').on('change', '#jform_datadefault',function (e) jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val(); var datadefault_vvvvwbe = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbe = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd); vvvvwbe(datadefault_vvvvwbe,has_defaults_vvvvwbe);
}); });
// #jform_has_defaults listeners for has_defaults_vvvvwbd function // #jform_has_defaults listeners for has_defaults_vvvvwbe function
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val(); var datadefault_vvvvwbe = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbe = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd); vvvvwbe(datadefault_vvvvwbe,has_defaults_vvvvwbe);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val(); var datadefault_vvvvwbe = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbe = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd); vvvvwbe(datadefault_vvvvwbe,has_defaults_vvvvwbe);
});
// #jform_datatype listeners for datatype_vvvvwbf function
jQuery('#jform_datatype').on('keyup',function()
{
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbf(datatype_vvvvwbf,has_defaults_vvvvwbf);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbf(datatype_vvvvwbf,has_defaults_vvvvwbf);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbf function
jQuery('#jform_has_defaults').on('keyup',function()
{
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbf(datatype_vvvvwbf,has_defaults_vvvvwbf);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbf(datatype_vvvvwbf,has_defaults_vvvvwbf);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbg function
jQuery('#jform_has_defaults').on('keyup',function()
{
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg);
}); });
// #jform_datatype listeners for datatype_vvvvwbg function // #jform_datatype listeners for datatype_vvvvwbg function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbg = jQuery("#jform_datatype").val(); var datatype_vvvvwbg = jQuery("#jform_datatype").val();
vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg); var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbg = jQuery("#jform_datatype").val(); var datatype_vvvvwbg = jQuery("#jform_datatype").val();
vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg); var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg);
}); });
// #jform_datatype listeners for datatype_vvvvwbh function // #jform_has_defaults listeners for has_defaults_vvvvwbg function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var datatype_vvvvwbh = jQuery("#jform_datatype").val(); var datatype_vvvvwbg = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbh(datatype_vvvvwbh,has_defaults_vvvvwbh); vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datatype_vvvvwbh = jQuery("#jform_datatype").val(); var datatype_vvvvwbg = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbh(datatype_vvvvwbh,has_defaults_vvvvwbh); vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg);
}); });
// #jform_has_defaults listeners for has_defaults_vvvvwbh function // #jform_has_defaults listeners for has_defaults_vvvvwbh function
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var datatype_vvvvwbh = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbh(datatype_vvvvwbh,has_defaults_vvvvwbh); var datatype_vvvvwbh = jQuery("#jform_datatype").val();
vvvvwbh(has_defaults_vvvvwbh,datatype_vvvvwbh);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datatype_vvvvwbh = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbh(datatype_vvvvwbh,has_defaults_vvvvwbh); var datatype_vvvvwbh = jQuery("#jform_datatype").val();
vvvvwbh(has_defaults_vvvvwbh,datatype_vvvvwbh);
}); });
// #jform_store listeners for store_vvvvwbj function // #jform_datatype listeners for datatype_vvvvwbh function
jQuery('#jform_store').on('keyup',function()
{
var store_vvvvwbj = jQuery("#jform_store").val();
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var store_vvvvwbj = jQuery("#jform_store").val();
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
});
// #jform_datatype listeners for datatype_vvvvwbj function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var store_vvvvwbj = jQuery("#jform_store").val(); var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbj = jQuery("#jform_datatype").val(); var datatype_vvvvwbh = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val(); vvvvwbh(has_defaults_vvvvwbh,datatype_vvvvwbh);
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var store_vvvvwbj = jQuery("#jform_store").val(); var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbj = jQuery("#jform_datatype").val(); var datatype_vvvvwbh = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val(); vvvvwbh(has_defaults_vvvvwbh,datatype_vvvvwbh);
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
}); });
// #jform_has_defaults listeners for has_defaults_vvvvwbj function // #jform_datatype listeners for datatype_vvvvwbi function
jQuery('#jform_datatype').on('keyup',function()
{
var datatype_vvvvwbi = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbi = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbi(datatype_vvvvwbi,has_defaults_vvvvwbi);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var datatype_vvvvwbi = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbi = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbi(datatype_vvvvwbi,has_defaults_vvvvwbi);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbi function
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var store_vvvvwbj = jQuery("#jform_store").val(); var datatype_vvvvwbi = jQuery("#jform_datatype").val();
var datatype_vvvvwbj = jQuery("#jform_datatype").val(); var has_defaults_vvvvwbi = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val(); vvvvwbi(datatype_vvvvwbi,has_defaults_vvvvwbi);
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var store_vvvvwbj = jQuery("#jform_store").val(); var datatype_vvvvwbi = jQuery("#jform_datatype").val();
var datatype_vvvvwbj = jQuery("#jform_datatype").val(); var has_defaults_vvvvwbi = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val(); vvvvwbi(datatype_vvvvwbi,has_defaults_vvvvwbi);
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
});
// #jform_datatype listeners for datatype_vvvvwbk function
jQuery('#jform_datatype').on('keyup',function()
{
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var store_vvvvwbk = jQuery("#jform_store").val();
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var store_vvvvwbk = jQuery("#jform_store").val();
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk);
}); });
// #jform_store listeners for store_vvvvwbk function // #jform_store listeners for store_vvvvwbk function
jQuery('#jform_store').on('keyup',function() jQuery('#jform_store').on('keyup',function()
{ {
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var store_vvvvwbk = jQuery("#jform_store").val(); var store_vvvvwbk = jQuery("#jform_store").val();
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk); vvvvwbk(store_vvvvwbk,datatype_vvvvwbk,has_defaults_vvvvwbk);
}); });
jQuery('#adminForm').on('change', '#jform_store',function (e) jQuery('#adminForm').on('change', '#jform_store',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var store_vvvvwbk = jQuery("#jform_store").val(); var store_vvvvwbk = jQuery("#jform_store").val();
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk); vvvvwbk(store_vvvvwbk,datatype_vvvvwbk,has_defaults_vvvvwbk);
});
// #jform_datatype listeners for datatype_vvvvwbk function
jQuery('#jform_datatype').on('keyup',function()
{
var store_vvvvwbk = jQuery("#jform_store").val();
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbk(store_vvvvwbk,datatype_vvvvwbk,has_defaults_vvvvwbk);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var store_vvvvwbk = jQuery("#jform_store").val();
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbk(store_vvvvwbk,datatype_vvvvwbk,has_defaults_vvvvwbk);
}); });
// #jform_has_defaults listeners for has_defaults_vvvvwbk function // #jform_has_defaults listeners for has_defaults_vvvvwbk function
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var store_vvvvwbk = jQuery("#jform_store").val(); var store_vvvvwbk = jQuery("#jform_store").val();
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk); vvvvwbk(store_vvvvwbk,datatype_vvvvwbk,has_defaults_vvvvwbk);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var store_vvvvwbk = jQuery("#jform_store").val(); var store_vvvvwbk = jQuery("#jform_store").val();
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk); vvvvwbk(store_vvvvwbk,datatype_vvvvwbk,has_defaults_vvvvwbk);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbl function
jQuery('#jform_has_defaults').on('keyup',function()
{
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbl = jQuery("#jform_store").val();
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbl = jQuery("#jform_store").val();
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl);
});
// #jform_store listeners for store_vvvvwbl function
jQuery('#jform_store').on('keyup',function()
{
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbl = jQuery("#jform_store").val();
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbl = jQuery("#jform_store").val();
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl);
}); });
// #jform_datatype listeners for datatype_vvvvwbl function // #jform_datatype listeners for datatype_vvvvwbl function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbl = jQuery("#jform_store").val();
var datatype_vvvvwbl = jQuery("#jform_datatype").val(); var datatype_vvvvwbl = jQuery("#jform_datatype").val();
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl); var store_vvvvwbl = jQuery("#jform_store").val();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbl(datatype_vvvvwbl,store_vvvvwbl,has_defaults_vvvvwbl);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbl = jQuery("#jform_store").val();
var datatype_vvvvwbl = jQuery("#jform_datatype").val(); var datatype_vvvvwbl = jQuery("#jform_datatype").val();
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl); var store_vvvvwbl = jQuery("#jform_store").val();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbl(datatype_vvvvwbl,store_vvvvwbl,has_defaults_vvvvwbl);
});
// #jform_store listeners for store_vvvvwbl function
jQuery('#jform_store').on('keyup',function()
{
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
var store_vvvvwbl = jQuery("#jform_store").val();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbl(datatype_vvvvwbl,store_vvvvwbl,has_defaults_vvvvwbl);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
var store_vvvvwbl = jQuery("#jform_store").val();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbl(datatype_vvvvwbl,store_vvvvwbl,has_defaults_vvvvwbl);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbl function
jQuery('#jform_has_defaults').on('keyup',function()
{
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
var store_vvvvwbl = jQuery("#jform_store").val();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbl(datatype_vvvvwbl,store_vvvvwbl,has_defaults_vvvvwbl);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
var store_vvvvwbl = jQuery("#jform_store").val();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbl(datatype_vvvvwbl,store_vvvvwbl,has_defaults_vvvvwbl);
}); });
@ -481,14 +424,71 @@ jQuery('#adminForm').on('change', '#jform_datatype',function (e)
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbm(has_defaults_vvvvwbm); var store_vvvvwbm = jQuery("#jform_store").val();
var datatype_vvvvwbm = jQuery("#jform_datatype").val();
vvvvwbm(has_defaults_vvvvwbm,store_vvvvwbm,datatype_vvvvwbm);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbm(has_defaults_vvvvwbm); var store_vvvvwbm = jQuery("#jform_store").val();
var datatype_vvvvwbm = jQuery("#jform_datatype").val();
vvvvwbm(has_defaults_vvvvwbm,store_vvvvwbm,datatype_vvvvwbm);
});
// #jform_store listeners for store_vvvvwbm function
jQuery('#jform_store').on('keyup',function()
{
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbm = jQuery("#jform_store").val();
var datatype_vvvvwbm = jQuery("#jform_datatype").val();
vvvvwbm(has_defaults_vvvvwbm,store_vvvvwbm,datatype_vvvvwbm);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbm = jQuery("#jform_store").val();
var datatype_vvvvwbm = jQuery("#jform_datatype").val();
vvvvwbm(has_defaults_vvvvwbm,store_vvvvwbm,datatype_vvvvwbm);
});
// #jform_datatype listeners for datatype_vvvvwbm function
jQuery('#jform_datatype').on('keyup',function()
{
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbm = jQuery("#jform_store").val();
var datatype_vvvvwbm = jQuery("#jform_datatype").val();
vvvvwbm(has_defaults_vvvvwbm,store_vvvvwbm,datatype_vvvvwbm);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbm = jQuery("#jform_store").val();
var datatype_vvvvwbm = jQuery("#jform_datatype").val();
vvvvwbm(has_defaults_vvvvwbm,store_vvvvwbm,datatype_vvvvwbm);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbn function
jQuery('#jform_has_defaults').on('keyup',function()
{
var has_defaults_vvvvwbn = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbn(has_defaults_vvvvwbn);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbn = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbn(has_defaults_vvvvwbn);
}); });

View File

@ -57,7 +57,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->wapfields = $this->get('Wapfields'); $this->waqfields = $this->get('Waqfields');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -116,21 +116,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_location listeners for location_vvvvwbx function
jQuery('#jform_location').on('keyup',function()
{
var location_vvvvwbx = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbx(location_vvvvwbx);
});
jQuery('#adminForm').on('change', '#jform_location',function (e)
{
e.preventDefault();
var location_vvvvwbx = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbx(location_vvvvwbx);
});
// #jform_location listeners for location_vvvvwby function // #jform_location listeners for location_vvvvwby function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
@ -146,18 +131,18 @@ jQuery('#adminForm').on('change', '#jform_location',function (e)
}); });
// #jform_type listeners for type_vvvvwbz function // #jform_location listeners for location_vvvvwbz function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var type_vvvvwbz = jQuery("#jform_type").val(); var location_vvvvwbz = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbz(type_vvvvwbz); vvvvwbz(location_vvvvwbz);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_vvvvwbz = jQuery("#jform_type").val(); var location_vvvvwbz = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbz(type_vvvvwbz); vvvvwbz(location_vvvvwbz);
}); });
@ -191,18 +176,33 @@ jQuery('#adminForm').on('change', '#jform_type',function (e)
}); });
// #jform_target listeners for target_vvvvwcc function // #jform_type listeners for type_vvvvwcc function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvwcc = jQuery("#jform_type").val();
vvvvwcc(type_vvvvwcc);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvwcc = jQuery("#jform_type").val();
vvvvwcc(type_vvvvwcc);
});
// #jform_target listeners for target_vvvvwcd function
jQuery('#jform_target').on('keyup',function() jQuery('#jform_target').on('keyup',function()
{ {
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwcd = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwcc(target_vvvvwcc); vvvvwcd(target_vvvvwcd);
}); });
jQuery('#adminForm').on('change', '#jform_target',function (e) jQuery('#adminForm').on('change', '#jform_target',function (e)
{ {
e.preventDefault(); e.preventDefault();
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwcd = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwcc(target_vvvvwcc); vvvvwcd(target_vvvvwcd);
}); });

View File

@ -129,18 +129,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvzd function // #jform_add_php_view listeners for add_php_view_vvvvvze function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvze = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzd(add_php_view_vvvvvzd); vvvvvze(add_php_view_vvvvvze);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvze = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzd(add_php_view_vvvvvzd); vvvvvze(add_php_view_vvvvvze);
}); });

View File

@ -146,21 +146,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_how listeners for how_vvvvwaj function
jQuery('#jform_how').on('keyup',function()
{
var how_vvvvwaj = jQuery("#jform_how").val();
vvvvwaj(how_vvvvwaj);
});
jQuery('#adminForm').on('change', '#jform_how',function (e)
{
e.preventDefault();
var how_vvvvwaj = jQuery("#jform_how").val();
vvvvwaj(how_vvvvwaj);
});
// #jform_how listeners for how_vvvvwak function // #jform_how listeners for how_vvvvwak function
jQuery('#jform_how').on('keyup',function() jQuery('#jform_how').on('keyup',function()
{ {
@ -251,18 +236,33 @@ jQuery('#adminForm').on('change', '#jform_how',function (e)
}); });
// #jform_type listeners for type_vvvvwaq function // #jform_how listeners for how_vvvvwaq function
jQuery('#jform_how').on('keyup',function()
{
var how_vvvvwaq = jQuery("#jform_how").val();
vvvvwaq(how_vvvvwaq);
});
jQuery('#adminForm').on('change', '#jform_how',function (e)
{
e.preventDefault();
var how_vvvvwaq = jQuery("#jform_how").val();
vvvvwaq(how_vvvvwaq);
});
// #jform_type listeners for type_vvvvwar function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_vvvvwaq = jQuery("#jform_type input[type='radio']:checked").val(); var type_vvvvwar = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwaq(type_vvvvwaq); vvvvwar(type_vvvvwar);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_vvvvwaq = jQuery("#jform_type input[type='radio']:checked").val(); var type_vvvvwar = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwaq(type_vvvvwaq); vvvvwar(type_vvvvwar);
}); });

View File

@ -125,21 +125,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_protocol listeners for protocol_vvvvwbn function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwbn = jQuery("#jform_protocol").val();
vvvvwbn(protocol_vvvvwbn);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbn = jQuery("#jform_protocol").val();
vvvvwbn(protocol_vvvvwbn);
});
// #jform_protocol listeners for protocol_vvvvwbo function // #jform_protocol listeners for protocol_vvvvwbo function
jQuery('#jform_protocol').on('keyup',function() jQuery('#jform_protocol').on('keyup',function()
{ {
@ -159,135 +144,150 @@ jQuery('#adminForm').on('change', '#jform_protocol',function (e)
jQuery('#jform_protocol').on('keyup',function() jQuery('#jform_protocol').on('keyup',function()
{ {
var protocol_vvvvwbp = jQuery("#jform_protocol").val(); var protocol_vvvvwbp = jQuery("#jform_protocol").val();
var authentication_vvvvwbp = jQuery("#jform_authentication").val(); vvvvwbp(protocol_vvvvwbp);
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
}); });
jQuery('#adminForm').on('change', '#jform_protocol',function (e) jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwbp = jQuery("#jform_protocol").val(); var protocol_vvvvwbp = jQuery("#jform_protocol").val();
var authentication_vvvvwbp = jQuery("#jform_authentication").val(); vvvvwbp(protocol_vvvvwbp);
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
}); });
// #jform_authentication listeners for authentication_vvvvwbp function // #jform_protocol listeners for protocol_vvvvwbq function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
});
// #jform_protocol listeners for protocol_vvvvwbr function
jQuery('#jform_protocol').on('keyup',function() jQuery('#jform_protocol').on('keyup',function()
{ {
var protocol_vvvvwbr = jQuery("#jform_protocol").val(); var protocol_vvvvwbq = jQuery("#jform_protocol").val();
var authentication_vvvvwbr = jQuery("#jform_authentication").val(); var authentication_vvvvwbq = jQuery("#jform_authentication").val();
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr); vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
}); });
jQuery('#adminForm').on('change', '#jform_protocol',function (e) jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwbr = jQuery("#jform_protocol").val(); var protocol_vvvvwbq = jQuery("#jform_protocol").val();
var authentication_vvvvwbr = jQuery("#jform_authentication").val(); var authentication_vvvvwbq = jQuery("#jform_authentication").val();
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr); vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
}); });
// #jform_authentication listeners for authentication_vvvvwbr function // #jform_authentication listeners for authentication_vvvvwbq function
jQuery('#jform_authentication').on('keyup',function() jQuery('#jform_authentication').on('keyup',function()
{ {
var protocol_vvvvwbr = jQuery("#jform_protocol").val(); var protocol_vvvvwbq = jQuery("#jform_protocol").val();
var authentication_vvvvwbr = jQuery("#jform_authentication").val(); var authentication_vvvvwbq = jQuery("#jform_authentication").val();
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr); vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
}); });
jQuery('#adminForm').on('change', '#jform_authentication',function (e) jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwbr = jQuery("#jform_protocol").val(); var protocol_vvvvwbq = jQuery("#jform_protocol").val();
var authentication_vvvvwbr = jQuery("#jform_authentication").val(); var authentication_vvvvwbq = jQuery("#jform_authentication").val();
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr); vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
}); });
// #jform_protocol listeners for protocol_vvvvwbt function // #jform_protocol listeners for protocol_vvvvwbs function
jQuery('#jform_protocol').on('keyup',function() jQuery('#jform_protocol').on('keyup',function()
{ {
var protocol_vvvvwbt = jQuery("#jform_protocol").val(); var protocol_vvvvwbs = jQuery("#jform_protocol").val();
var authentication_vvvvwbt = jQuery("#jform_authentication").val(); var authentication_vvvvwbs = jQuery("#jform_authentication").val();
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt); vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
}); });
jQuery('#adminForm').on('change', '#jform_protocol',function (e) jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwbt = jQuery("#jform_protocol").val(); var protocol_vvvvwbs = jQuery("#jform_protocol").val();
var authentication_vvvvwbt = jQuery("#jform_authentication").val(); var authentication_vvvvwbs = jQuery("#jform_authentication").val();
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt); vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
}); });
// #jform_authentication listeners for authentication_vvvvwbt function // #jform_authentication listeners for authentication_vvvvwbs function
jQuery('#jform_authentication').on('keyup',function() jQuery('#jform_authentication').on('keyup',function()
{ {
var protocol_vvvvwbt = jQuery("#jform_protocol").val(); var protocol_vvvvwbs = jQuery("#jform_protocol").val();
var authentication_vvvvwbt = jQuery("#jform_authentication").val(); var authentication_vvvvwbs = jQuery("#jform_authentication").val();
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt); vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
}); });
jQuery('#adminForm').on('change', '#jform_authentication',function (e) jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwbt = jQuery("#jform_protocol").val(); var protocol_vvvvwbs = jQuery("#jform_protocol").val();
var authentication_vvvvwbt = jQuery("#jform_authentication").val(); var authentication_vvvvwbs = jQuery("#jform_authentication").val();
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt); vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
}); });
// #jform_protocol listeners for protocol_vvvvwbv function // #jform_protocol listeners for protocol_vvvvwbu function
jQuery('#jform_protocol').on('keyup',function() jQuery('#jform_protocol').on('keyup',function()
{ {
var protocol_vvvvwbv = jQuery("#jform_protocol").val(); var protocol_vvvvwbu = jQuery("#jform_protocol").val();
var authentication_vvvvwbv = jQuery("#jform_authentication").val(); var authentication_vvvvwbu = jQuery("#jform_authentication").val();
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv); vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
}); });
jQuery('#adminForm').on('change', '#jform_protocol',function (e) jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwbv = jQuery("#jform_protocol").val(); var protocol_vvvvwbu = jQuery("#jform_protocol").val();
var authentication_vvvvwbv = jQuery("#jform_authentication").val(); var authentication_vvvvwbu = jQuery("#jform_authentication").val();
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv); vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
}); });
// #jform_authentication listeners for authentication_vvvvwbv function // #jform_authentication listeners for authentication_vvvvwbu function
jQuery('#jform_authentication').on('keyup',function() jQuery('#jform_authentication').on('keyup',function()
{ {
var protocol_vvvvwbv = jQuery("#jform_protocol").val(); var protocol_vvvvwbu = jQuery("#jform_protocol").val();
var authentication_vvvvwbv = jQuery("#jform_authentication").val(); var authentication_vvvvwbu = jQuery("#jform_authentication").val();
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv); vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
}); });
jQuery('#adminForm').on('change', '#jform_authentication',function (e) jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwbv = jQuery("#jform_protocol").val(); var protocol_vvvvwbu = jQuery("#jform_protocol").val();
var authentication_vvvvwbv = jQuery("#jform_authentication").val(); var authentication_vvvvwbu = jQuery("#jform_authentication").val();
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv); vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
});
// #jform_protocol listeners for protocol_vvvvwbw function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwbw = jQuery("#jform_protocol").val();
var authentication_vvvvwbw = jQuery("#jform_authentication").val();
vvvvwbw(protocol_vvvvwbw,authentication_vvvvwbw);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbw = jQuery("#jform_protocol").val();
var authentication_vvvvwbw = jQuery("#jform_authentication").val();
vvvvwbw(protocol_vvvvwbw,authentication_vvvvwbw);
});
// #jform_authentication listeners for authentication_vvvvwbw function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwbw = jQuery("#jform_protocol").val();
var authentication_vvvvwbw = jQuery("#jform_authentication").val();
vvvvwbw(protocol_vvvvwbw,authentication_vvvvwbw);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwbw = jQuery("#jform_protocol").val();
var authentication_vvvvwbw = jQuery("#jform_authentication").val();
vvvvwbw(protocol_vvvvwbw,authentication_vvvvwbw);
}); });

View File

@ -57,7 +57,7 @@ class ComponentbuilderViewServer extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->wazlinked_components = $this->get('Wazlinked_components'); $this->wbalinked_components = $this->get('Wbalinked_components');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -166,168 +166,168 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvyr function // #jform_add_php_view listeners for add_php_view_vvvvvys function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvyr = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvys = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyr(add_php_view_vvvvvyr); vvvvvys(add_php_view_vvvvvys);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_view_vvvvvyr = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvys = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyr(add_php_view_vvvvvyr); vvvvvys(add_php_view_vvvvvys);
}); });
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvys function // #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyt function
jQuery('#jform_add_php_jview_display').on('keyup',function() jQuery('#jform_add_php_jview_display').on('keyup',function()
{ {
var add_php_jview_display_vvvvvys = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyt = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvys(add_php_jview_display_vvvvvys); vvvvvyt(add_php_jview_display_vvvvvyt);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e) jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_jview_display_vvvvvys = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyt = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvys(add_php_jview_display_vvvvvys); vvvvvyt(add_php_jview_display_vvvvvyt);
}); });
// #jform_add_php_jview listeners for add_php_jview_vvvvvyt function // #jform_add_php_jview listeners for add_php_jview_vvvvvyu function
jQuery('#jform_add_php_jview').on('keyup',function() jQuery('#jform_add_php_jview').on('keyup',function()
{ {
var add_php_jview_vvvvvyt = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyu = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyt(add_php_jview_vvvvvyt); vvvvvyu(add_php_jview_vvvvvyu);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e) jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_jview_vvvvvyt = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyu = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyt(add_php_jview_vvvvvyt); vvvvvyu(add_php_jview_vvvvvyu);
}); });
// #jform_add_php_document listeners for add_php_document_vvvvvyu function // #jform_add_php_document listeners for add_php_document_vvvvvyv function
jQuery('#jform_add_php_document').on('keyup',function() jQuery('#jform_add_php_document').on('keyup',function()
{ {
var add_php_document_vvvvvyu = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyv = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyu(add_php_document_vvvvvyu); vvvvvyv(add_php_document_vvvvvyv);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_document_vvvvvyu = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyv = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyu(add_php_document_vvvvvyu); vvvvvyv(add_php_document_vvvvvyv);
}); });
// #jform_add_css_document listeners for add_css_document_vvvvvyv function // #jform_add_css_document listeners for add_css_document_vvvvvyw function
jQuery('#jform_add_css_document').on('keyup',function() jQuery('#jform_add_css_document').on('keyup',function()
{ {
var add_css_document_vvvvvyv = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvyw = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyv(add_css_document_vvvvvyv); vvvvvyw(add_css_document_vvvvvyw);
}); });
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e) jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_document_vvvvvyv = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvyw = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyv(add_css_document_vvvvvyv); vvvvvyw(add_css_document_vvvvvyw);
}); });
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvyw function // #jform_add_javascript_file listeners for add_javascript_file_vvvvvyx function
jQuery('#jform_add_javascript_file').on('keyup',function() jQuery('#jform_add_javascript_file').on('keyup',function()
{ {
var add_javascript_file_vvvvvyw = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvyx = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyw(add_javascript_file_vvvvvyw); vvvvvyx(add_javascript_file_vvvvvyx);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_file_vvvvvyw = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvyx = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyw(add_javascript_file_vvvvvyw); vvvvvyx(add_javascript_file_vvvvvyx);
}); });
// #jform_add_js_document listeners for add_js_document_vvvvvyx function // #jform_add_js_document listeners for add_js_document_vvvvvyy function
jQuery('#jform_add_js_document').on('keyup',function() jQuery('#jform_add_js_document').on('keyup',function()
{ {
var add_js_document_vvvvvyx = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyy = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyx(add_js_document_vvvvvyx); vvvvvyy(add_js_document_vvvvvyy);
}); });
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e) jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_js_document_vvvvvyx = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyy = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyx(add_js_document_vvvvvyx); vvvvvyy(add_js_document_vvvvvyy);
}); });
// #jform_add_css listeners for add_css_vvvvvyy function // #jform_add_css listeners for add_css_vvvvvyz function
jQuery('#jform_add_css').on('keyup',function() jQuery('#jform_add_css').on('keyup',function()
{ {
var add_css_vvvvvyy = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyz = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyy(add_css_vvvvvyy); vvvvvyz(add_css_vvvvvyz);
}); });
jQuery('#adminForm').on('change', '#jform_add_css',function (e) jQuery('#adminForm').on('change', '#jform_add_css',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_vvvvvyy = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyz = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyy(add_css_vvvvvyy); vvvvvyz(add_css_vvvvvyz);
}); });
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyz function // #jform_add_php_ajax listeners for add_php_ajax_vvvvvza function
jQuery('#jform_add_php_ajax').on('keyup',function() jQuery('#jform_add_php_ajax').on('keyup',function()
{ {
var add_php_ajax_vvvvvyz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvza = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyz(add_php_ajax_vvvvvyz); vvvvvza(add_php_ajax_vvvvvza);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e) jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_ajax_vvvvvyz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvza = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyz(add_php_ajax_vvvvvyz); vvvvvza(add_php_ajax_vvvvvza);
}); });
// #jform_add_custom_button listeners for add_custom_button_vvvvvza function // #jform_add_custom_button listeners for add_custom_button_vvvvvzb function
jQuery('#jform_add_custom_button').on('keyup',function() jQuery('#jform_add_custom_button').on('keyup',function()
{ {
var add_custom_button_vvvvvza = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvzb = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvza(add_custom_button_vvvvvza); vvvvvzb(add_custom_button_vvvvvzb);
}); });
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e) jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_custom_button_vvvvvza = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvzb = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvza(add_custom_button_vvvvvza); vvvvvzb(add_custom_button_vvvvvzb);
}); });
// #jform_button_position listeners for button_position_vvvvvzb function // #jform_button_position listeners for button_position_vvvvvzc function
jQuery('#jform_button_position').on('keyup',function() jQuery('#jform_button_position').on('keyup',function()
{ {
var button_position_vvvvvzb = jQuery("#jform_button_position").val(); var button_position_vvvvvzc = jQuery("#jform_button_position").val();
vvvvvzb(button_position_vvvvvzb); vvvvvzc(button_position_vvvvvzc);
}); });
jQuery('#adminForm').on('change', '#jform_button_position',function (e) jQuery('#adminForm').on('change', '#jform_button_position',function (e)
{ {
e.preventDefault(); e.preventDefault();
var button_position_vvvvvzb = jQuery("#jform_button_position").val(); var button_position_vvvvvzc = jQuery("#jform_button_position").val();
vvvvvzb(button_position_vvvvvzb); vvvvvzc(button_position_vvvvvzc);
}); });

View File

@ -129,18 +129,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvzc function // #jform_add_php_view listeners for add_php_view_vvvvvzd function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzc(add_php_view_vvvvvzc); vvvvvzd(add_php_view_vvvvvzd);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzc(add_php_view_vvvvvzc); vvvvvzd(add_php_view_vvvvvzd);
}); });

View File

@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade"> <extension type="component" version="3.2" method="upgrade">
<name>COM_COMPONENTBUILDER</name> <name>COM_COMPONENTBUILDER</name>
<creationDate>11th June, 2019</creationDate> <creationDate>12th June, 2019</creationDate>
<author>Llewellyn van der Merwe</author> <author>Llewellyn van der Merwe</author>
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail> <authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl> <authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>
<copyright>Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.</copyright> <copyright>Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> <license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<version>2.9.18</version> <version>2.9.19</version>
<description><![CDATA[ <description><![CDATA[
<h1>Component Builder (v.2.9.18)</h1> <h1>Component Builder (v.2.9.19)</h1>
<div style="clear: both;"></div> <div style="clear: both;"></div>
<p>The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time. <p>The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time.

View File

@ -679,4 +679,21 @@
<maintainerurl>http://www.joomlacomponentbuilder.com</maintainerurl> <maintainerurl>http://www.joomlacomponentbuilder.com</maintainerurl>
<targetplatform name="joomla" version="3.*"/> <targetplatform name="joomla" version="3.*"/>
</update> </update>
<update>
<name>Component Builder</name>
<description>Builds Complex Joomla Components</description>
<element>com_componentbuilder</element>
<type>component</type>
<version>2.9.19</version>
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
<downloads>
<downloadurl type="full" format="zip">http://domain.com/demo.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Llewellyn van der Merwe</maintainer>
<maintainerurl>http://www.joomlacomponentbuilder.com</maintainerurl>
<targetplatform name="joomla" version="3.*"/>
</update>
</updates> </updates>

View File

@ -3692,9 +3692,9 @@ class com_componentbuilderInstallerScript
$admin_view->type_title = 'Componentbuilder Admin_view'; $admin_view->type_title = 'Componentbuilder Admin_view';
$admin_view->type_alias = 'com_componentbuilder.admin_view'; $admin_view->type_alias = 'com_componentbuilder.admin_view';
$admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; $admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_getitems","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_single":"name_single","short_description":"short_description","add_php_batchcopy":"add_php_batchcopy","add_php_allowadd":"add_php_allowadd","add_php_save":"add_php_save","add_php_getform":"add_php_getform","add_php_getitems_after_all":"add_php_getitems_after_all","icon":"icon","add_php_document":"add_php_document","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","icon_add":"icon_add","add_php_before_publish":"add_php_before_publish","add_php_before_delete":"add_php_before_delete","php_import_headers":"php_import_headers","mysql_table_collate":"mysql_table_collate","type":"type","add_custom_import":"add_custom_import","not_required":"not_required","name_list":"name_list","add_php_getlistquery":"add_php_getlistquery","add_php_before_save":"add_php_before_save","add_php_postsavehook":"add_php_postsavehook","add_php_allowedit":"add_php_allowedit","add_php_batchmove":"add_php_batchmove","add_php_after_publish":"add_php_after_publish","add_php_after_delete":"add_php_after_delete","mysql_table_engine":"mysql_table_engine","alias_builder_type":"alias_builder_type","add_sql":"add_sql","html_import_view":"html_import_view","alias_builder":"alias_builder","php_import_save":"php_import_save","php_getitems":"php_getitems","php_getitems_after_all":"php_getitems_after_all","add_css_view":"add_css_view","php_getlistquery":"php_getlistquery","css_view":"css_view","php_getform":"php_getform","add_css_views":"add_css_views","php_before_save":"php_before_save","css_views":"css_views","php_save":"php_save","add_javascript_view_file":"add_javascript_view_file","php_postsavehook":"php_postsavehook","javascript_view_file":"javascript_view_file","php_allowadd":"php_allowadd","add_javascript_view_footer":"add_javascript_view_footer","php_allowedit":"php_allowedit","javascript_view_footer":"javascript_view_footer","php_batchcopy":"php_batchcopy","add_javascript_views_file":"add_javascript_views_file","php_batchmove":"php_batchmove","javascript_views_file":"javascript_views_file","php_before_publish":"php_before_publish","add_javascript_views_footer":"add_javascript_views_footer","php_after_publish":"php_after_publish","javascript_views_footer":"javascript_views_footer","php_before_delete":"php_before_delete","add_custom_button":"add_custom_button","php_after_delete":"php_after_delete","php_document":"php_document","php_controller":"php_controller","mysql_table_charset":"mysql_table_charset","php_model":"php_model","mysql_table_row_format":"mysql_table_row_format","php_controller_list":"php_controller_list","source":"source","php_model_list":"php_model_list","sql":"sql","add_php_ajax":"add_php_ajax","php_ajaxmethod":"php_ajaxmethod","php_import_display":"php_import_display","php_import":"php_import","add_php_getitem":"add_php_getitem","php_import_setdata":"php_import_setdata","php_getitem":"php_getitem","php_import_ext":"php_import_ext","add_php_getitems":"add_php_getitems"}}'; $admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_getitems_after_all","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_single":"name_single","short_description":"short_description","add_php_before_cancel":"add_php_before_cancel","add_php_allowadd":"add_php_allowadd","add_php_save":"add_php_save","add_php_getform":"add_php_getform","add_php_getitems_after_all":"add_php_getitems_after_all","icon":"icon","add_php_after_delete":"add_php_after_delete","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","icon_add":"icon_add","add_php_batchmove":"add_php_batchmove","add_sql":"add_sql","add_php_after_publish":"add_php_after_publish","html_import_view":"html_import_view","mysql_table_engine":"mysql_table_engine","type":"type","not_required":"not_required","php_import_save":"php_import_save","add_php_getlistquery":"add_php_getlistquery","add_php_before_save":"add_php_before_save","add_php_postsavehook":"add_php_postsavehook","add_php_allowedit":"add_php_allowedit","add_php_batchcopy":"add_php_batchcopy","add_php_before_publish":"add_php_before_publish","add_php_before_delete":"add_php_before_delete","add_php_document":"add_php_document","alias_builder_type":"alias_builder_type","mysql_table_collate":"mysql_table_collate","add_custom_import":"add_custom_import","alias_builder":"alias_builder","php_import_headers":"php_import_headers","name_list":"name_list","php_getitems_after_all":"php_getitems_after_all","add_css_view":"add_css_view","php_getlistquery":"php_getlistquery","css_view":"css_view","php_getform":"php_getform","add_css_views":"add_css_views","php_before_save":"php_before_save","css_views":"css_views","php_save":"php_save","add_javascript_view_file":"add_javascript_view_file","php_postsavehook":"php_postsavehook","javascript_view_file":"javascript_view_file","php_allowadd":"php_allowadd","add_javascript_view_footer":"add_javascript_view_footer","php_allowedit":"php_allowedit","javascript_view_footer":"javascript_view_footer","php_before_cancel":"php_before_cancel","add_javascript_views_file":"add_javascript_views_file","php_batchcopy":"php_batchcopy","javascript_views_file":"javascript_views_file","php_batchmove":"php_batchmove","add_javascript_views_footer":"add_javascript_views_footer","php_before_publish":"php_before_publish","javascript_views_footer":"javascript_views_footer","php_after_publish":"php_after_publish","add_custom_button":"add_custom_button","php_before_delete":"php_before_delete","php_after_delete":"php_after_delete","php_controller":"php_controller","php_document":"php_document","php_model":"php_model","mysql_table_charset":"mysql_table_charset","php_controller_list":"php_controller_list","mysql_table_row_format":"mysql_table_row_format","php_model_list":"php_model_list","source":"source","add_php_ajax":"add_php_ajax","sql":"sql","php_ajaxmethod":"php_ajaxmethod","php_import_display":"php_import_display","add_php_getitem":"add_php_getitem","php_import":"php_import","php_getitem":"php_getitem","php_import_setdata":"php_import_setdata","add_php_getitems":"add_php_getitems","php_import_ext":"php_import_ext","php_getitems":"php_getitems"}}';
$admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute'; $admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute';
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_php_batchcopy","add_php_allowadd","add_php_save","add_php_getform","add_php_getitems_after_all","add_php_document","add_fadein","add_php_before_publish","add_php_before_delete","type","add_custom_import","add_php_getlistquery","add_php_before_save","add_php_postsavehook","add_php_allowedit","add_php_batchmove","add_php_after_publish","add_php_after_delete","add_sql","add_css_view","add_css_views","add_javascript_view_file","add_javascript_view_footer","add_javascript_views_file","add_javascript_views_footer","add_custom_button","source","add_php_ajax","add_php_getitem","add_php_getitems"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}'; $admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_php_before_cancel","add_php_allowadd","add_php_save","add_php_getform","add_php_getitems_after_all","add_php_after_delete","add_fadein","add_php_batchmove","add_sql","add_php_after_publish","type","add_php_getlistquery","add_php_before_save","add_php_postsavehook","add_php_allowedit","add_php_batchcopy","add_php_before_publish","add_php_before_delete","add_php_document","add_custom_import","add_css_view","add_css_views","add_javascript_view_file","add_javascript_view_footer","add_javascript_views_file","add_javascript_views_footer","add_custom_button","source","add_php_ajax","add_php_getitem","add_php_getitems"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}';
// Set the object into the content types table. // Set the object into the content types table.
$admin_view_Inserted = $db->insertObject('#__content_types', $admin_view); $admin_view_Inserted = $db->insertObject('#__content_types', $admin_view);
@ -4179,9 +4179,9 @@ class com_componentbuilderInstallerScript
$admin_view->type_title = 'Componentbuilder Admin_view'; $admin_view->type_title = 'Componentbuilder Admin_view';
$admin_view->type_alias = 'com_componentbuilder.admin_view'; $admin_view->type_alias = 'com_componentbuilder.admin_view';
$admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; $admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_getitems","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_single":"name_single","short_description":"short_description","add_php_batchcopy":"add_php_batchcopy","add_php_allowadd":"add_php_allowadd","add_php_save":"add_php_save","add_php_getform":"add_php_getform","add_php_getitems_after_all":"add_php_getitems_after_all","icon":"icon","add_php_document":"add_php_document","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","icon_add":"icon_add","add_php_before_publish":"add_php_before_publish","add_php_before_delete":"add_php_before_delete","php_import_headers":"php_import_headers","mysql_table_collate":"mysql_table_collate","type":"type","add_custom_import":"add_custom_import","not_required":"not_required","name_list":"name_list","add_php_getlistquery":"add_php_getlistquery","add_php_before_save":"add_php_before_save","add_php_postsavehook":"add_php_postsavehook","add_php_allowedit":"add_php_allowedit","add_php_batchmove":"add_php_batchmove","add_php_after_publish":"add_php_after_publish","add_php_after_delete":"add_php_after_delete","mysql_table_engine":"mysql_table_engine","alias_builder_type":"alias_builder_type","add_sql":"add_sql","html_import_view":"html_import_view","alias_builder":"alias_builder","php_import_save":"php_import_save","php_getitems":"php_getitems","php_getitems_after_all":"php_getitems_after_all","add_css_view":"add_css_view","php_getlistquery":"php_getlistquery","css_view":"css_view","php_getform":"php_getform","add_css_views":"add_css_views","php_before_save":"php_before_save","css_views":"css_views","php_save":"php_save","add_javascript_view_file":"add_javascript_view_file","php_postsavehook":"php_postsavehook","javascript_view_file":"javascript_view_file","php_allowadd":"php_allowadd","add_javascript_view_footer":"add_javascript_view_footer","php_allowedit":"php_allowedit","javascript_view_footer":"javascript_view_footer","php_batchcopy":"php_batchcopy","add_javascript_views_file":"add_javascript_views_file","php_batchmove":"php_batchmove","javascript_views_file":"javascript_views_file","php_before_publish":"php_before_publish","add_javascript_views_footer":"add_javascript_views_footer","php_after_publish":"php_after_publish","javascript_views_footer":"javascript_views_footer","php_before_delete":"php_before_delete","add_custom_button":"add_custom_button","php_after_delete":"php_after_delete","php_document":"php_document","php_controller":"php_controller","mysql_table_charset":"mysql_table_charset","php_model":"php_model","mysql_table_row_format":"mysql_table_row_format","php_controller_list":"php_controller_list","source":"source","php_model_list":"php_model_list","sql":"sql","add_php_ajax":"add_php_ajax","php_ajaxmethod":"php_ajaxmethod","php_import_display":"php_import_display","php_import":"php_import","add_php_getitem":"add_php_getitem","php_import_setdata":"php_import_setdata","php_getitem":"php_getitem","php_import_ext":"php_import_ext","add_php_getitems":"add_php_getitems"}}'; $admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_getitems_after_all","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_single":"name_single","short_description":"short_description","add_php_before_cancel":"add_php_before_cancel","add_php_allowadd":"add_php_allowadd","add_php_save":"add_php_save","add_php_getform":"add_php_getform","add_php_getitems_after_all":"add_php_getitems_after_all","icon":"icon","add_php_after_delete":"add_php_after_delete","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","icon_add":"icon_add","add_php_batchmove":"add_php_batchmove","add_sql":"add_sql","add_php_after_publish":"add_php_after_publish","html_import_view":"html_import_view","mysql_table_engine":"mysql_table_engine","type":"type","not_required":"not_required","php_import_save":"php_import_save","add_php_getlistquery":"add_php_getlistquery","add_php_before_save":"add_php_before_save","add_php_postsavehook":"add_php_postsavehook","add_php_allowedit":"add_php_allowedit","add_php_batchcopy":"add_php_batchcopy","add_php_before_publish":"add_php_before_publish","add_php_before_delete":"add_php_before_delete","add_php_document":"add_php_document","alias_builder_type":"alias_builder_type","mysql_table_collate":"mysql_table_collate","add_custom_import":"add_custom_import","alias_builder":"alias_builder","php_import_headers":"php_import_headers","name_list":"name_list","php_getitems_after_all":"php_getitems_after_all","add_css_view":"add_css_view","php_getlistquery":"php_getlistquery","css_view":"css_view","php_getform":"php_getform","add_css_views":"add_css_views","php_before_save":"php_before_save","css_views":"css_views","php_save":"php_save","add_javascript_view_file":"add_javascript_view_file","php_postsavehook":"php_postsavehook","javascript_view_file":"javascript_view_file","php_allowadd":"php_allowadd","add_javascript_view_footer":"add_javascript_view_footer","php_allowedit":"php_allowedit","javascript_view_footer":"javascript_view_footer","php_before_cancel":"php_before_cancel","add_javascript_views_file":"add_javascript_views_file","php_batchcopy":"php_batchcopy","javascript_views_file":"javascript_views_file","php_batchmove":"php_batchmove","add_javascript_views_footer":"add_javascript_views_footer","php_before_publish":"php_before_publish","javascript_views_footer":"javascript_views_footer","php_after_publish":"php_after_publish","add_custom_button":"add_custom_button","php_before_delete":"php_before_delete","php_after_delete":"php_after_delete","php_controller":"php_controller","php_document":"php_document","php_model":"php_model","mysql_table_charset":"mysql_table_charset","php_controller_list":"php_controller_list","mysql_table_row_format":"mysql_table_row_format","php_model_list":"php_model_list","source":"source","add_php_ajax":"add_php_ajax","sql":"sql","php_ajaxmethod":"php_ajaxmethod","php_import_display":"php_import_display","add_php_getitem":"add_php_getitem","php_import":"php_import","php_getitem":"php_getitem","php_import_setdata":"php_import_setdata","add_php_getitems":"add_php_getitems","php_import_ext":"php_import_ext","php_getitems":"php_getitems"}}';
$admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute'; $admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute';
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_php_batchcopy","add_php_allowadd","add_php_save","add_php_getform","add_php_getitems_after_all","add_php_document","add_fadein","add_php_before_publish","add_php_before_delete","type","add_custom_import","add_php_getlistquery","add_php_before_save","add_php_postsavehook","add_php_allowedit","add_php_batchmove","add_php_after_publish","add_php_after_delete","add_sql","add_css_view","add_css_views","add_javascript_view_file","add_javascript_view_footer","add_javascript_views_file","add_javascript_views_footer","add_custom_button","source","add_php_ajax","add_php_getitem","add_php_getitems"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}'; $admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_php_before_cancel","add_php_allowadd","add_php_save","add_php_getform","add_php_getitems_after_all","add_php_after_delete","add_fadein","add_php_batchmove","add_sql","add_php_after_publish","type","add_php_getlistquery","add_php_before_save","add_php_postsavehook","add_php_allowedit","add_php_batchcopy","add_php_before_publish","add_php_before_delete","add_php_document","add_custom_import","add_css_view","add_css_views","add_javascript_view_file","add_javascript_view_footer","add_javascript_views_file","add_javascript_views_footer","add_custom_button","source","add_php_ajax","add_php_getitem","add_php_getitems"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}';
// Check if admin_view type is already in content_type DB. // Check if admin_view type is already in content_type DB.
$admin_view_id = null; $admin_view_id = null;
@ -5426,7 +5426,7 @@ class com_componentbuilderInstallerScript
echo '<a target="_blank" href="http://www.joomlacomponentbuilder.com" title="Component Builder"> echo '<a target="_blank" href="http://www.joomlacomponentbuilder.com" title="Component Builder">
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/> <img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
</a> </a>
<h3>Upgrade to Version 2.9.18 Was Successful! Let us know if anything is not working as expected.</h3>'; <h3>Upgrade to Version 2.9.19 Was Successful! Let us know if anything is not working as expected.</h3>';
} }
} }