Improved the lockdown WHMCS license integration

This commit is contained in:
Llewellyn van der Merwe 2016-11-22 19:08:17 +02:00
parent 319944db68
commit 082196378b
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
42 changed files with 2184 additions and 2111 deletions

View File

@ -81,7 +81,7 @@ Once installed upgrades are quick and easy via the default Joomla upgrade area.
+ Help View Integration* + Help View Integration*
+ Training & Help Videos* tutorials in the component included. + Training & Help Videos* tutorials in the component included.
[**GET ACCESS NOW!**](https://www.vdm.io/joomla-component-builder#get) [**GET ACCESS NOW!**](http://vdm.bz/component-builder)
# gitHub Support # gitHub Support
@ -108,7 +108,7 @@ Component Builder is mapped as a component in itself on my local development env
+ *Version*: 2.2.3 + *Version*: 2.2.3
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **86456** + *Line count*: **86517**
+ *File count*: **540** + *File count*: **540**
+ *Folder count*: **99** + *Folder count*: **99**

View File

@ -81,7 +81,7 @@ Once installed upgrades are quick and easy via the default Joomla upgrade area.
+ Help View Integration* + Help View Integration*
+ Training & Help Videos* tutorials in the component included. + Training & Help Videos* tutorials in the component included.
[**GET ACCESS NOW!**](https://www.vdm.io/joomla-component-builder#get) [**GET ACCESS NOW!**](http://vdm.bz/component-builder)
# gitHub Support # gitHub Support
@ -108,7 +108,7 @@ Component Builder is mapped as a component in itself on my local development env
+ *Version*: 2.2.3 + *Version*: 2.2.3
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **86456** + *Line count*: **86517**
+ *File count*: **540** + *File count*: **540**
+ *Folder count*: **99** + *Folder count*: **99**

View File

@ -181,7 +181,7 @@ class ###Component###Model###View### extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
protected function prepareTable($table) protected function prepareTable($table)
{ {###LICENSE_TABLE_LOCKED_CHECK###
$date = JFactory::getDate(); $date = JFactory::getDate();
$user = JFactory::getUser(); $user = JFactory::getUser();

View File

@ -181,7 +181,7 @@ class ###Component###Model###View### extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
protected function prepareTable($table) protected function prepareTable($table)
{ {###LICENSE_TABLE_LOCKED_CHECK###
$date = JFactory::getDate(); $date = JFactory::getDate();
$user = JFactory::getUser(); $user = JFactory::getUser();

View File

@ -2421,7 +2421,7 @@ class Get
* @return string The unique localkey * @return string The unique localkey
* *
*/ */
public function uniquekey($size, $random = false) public function uniquekey($size, $random = false, $newBag = "vvvvvvvvvvvvvvvvvvv")
{ {
if ($random) if ($random)
{ {
@ -2429,7 +2429,7 @@ class Get
} }
else else
{ {
$bag = "vvvvvvvvvvvvvvvvvvv"; $bag = $newBag;
} }
$key = array(); $key = array();
$bagsize = strlen($bag) - 1; $bagsize = strlen($bag) - 1;

View File

@ -142,23 +142,26 @@ class Interpretation extends Fields
{ {
if ($this->componentData->add_license && $this->componentData->license_type == 3) if ($this->componentData->add_license && $this->componentData->license_type == 3)
{ {
$boolMethod = 'isHonest'; $boolMethod = ComponentbuilderHelper::safeString($this->uniquekey(6, false, 'llllllllll'));
$globalbool = ComponentbuilderHelper::safeString($this->uniquekey(4)); $globalbool = ComponentbuilderHelper::safeString($this->uniquekey(6));
// add it to the system // add it to the system
$this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = $this->setBoolLincenseLock($boolMethod,$globalbool); $this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = $this->setBoolLincenseLock($boolMethod,$globalbool);
$this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked(); $this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked($boolMethod);
$this->fileContentDynamic[$view]['###LICENSE_TABLE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked($boolMethod, '$table');
$this->fileContentDynamic[$view]['###BOOLMETHOD###'] = $boolMethod;
} }
else else
{ {
// don't add it to the system // don't add it to the system
$this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = ''; $this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = '';
$this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = ''; $this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = '';
$this->fileContentDynamic[$view]['###LICENSE_TABLE_LOCKED_CHECK###'] = '';
} }
} }
public function checkStatmentLicenseLocked($boolMethod,$globalbool) public function checkStatmentLicenseLocked($boolMethod, $thIIS = '$this')
{ {
$statment[] = "\n\t\tif (!\$this->isHonest())"; $statment[] = "\n\t\tif (!".$thIIS."->".$boolMethod."())";
$statment[] = "\t\t{"; $statment[] = "\t\t{";
$statment[] = "\t\t\t\$app = JFactory::getApplication();"; $statment[] = "\t\t\t\$app = JFactory::getApplication();";
$statment[] = "\t\t\t\$app->enqueueMessage(JText::_('NIE_REG_NIE'), 'error');"; $statment[] = "\t\t\t\$app->enqueueMessage(JText::_('NIE_REG_NIE'), 'error');";
@ -172,11 +175,15 @@ class Interpretation extends Fields
public function setBoolLincenseLock($boolMethod,$globalbool) public function setBoolLincenseLock($boolMethod,$globalbool)
{ {
$bool[] = "\n\n\t/**"; $bool[] = "\n\n\t/**";
$bool[] = "\t* The private bool.";
$bool[] = "\t**/";
$bool[] = "\tprivate $".$globalbool.";";
$bool[] = "\n\t/**";
$bool[] = "\t* Check if this install has a license."; $bool[] = "\t* Check if this install has a license.";
$bool[] = "\t**/"; $bool[] = "\t**/";
$bool[] = "\tpublic function ".$boolMethod."()"; $bool[] = "\tpublic function ".$boolMethod."()";
$bool[] = "\t{"; $bool[] = "\t{";
$bool[] = "\t\tif(isset(\$this->".$globalbool."))"; $bool[] = "\t\tif(!empty(\$this->".$globalbool."))";
$bool[] = "\t\t{"; $bool[] = "\t\t{";
$bool[] = "\t\t\treturn \$this->".$globalbool.";"; $bool[] = "\t\t\treturn \$this->".$globalbool.";";
$bool[] = "\t\t}"; $bool[] = "\t\t}";
@ -186,7 +193,7 @@ class Interpretation extends Fields
$bool[] = "\t\tif (\$license_key)"; $bool[] = "\t\tif (\$license_key)";
$bool[] = "\t\t{"; $bool[] = "\t\t{";
$bool[] = "\t\t\t//".$this->setLine(__LINE__)." load the file"; $bool[] = "\t\t\t//".$this->setLine(__LINE__)." load the file";
$bool[] = "\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; $bool[] = "\t\t\tJLoader::import( 'vdm', JPATH_ADMINISTRATOR .'/components/com_".$this->fileContentStatic['###component###']."');";
$bool[] = "\t\t\t\$the = new VDM(\$license_key);"; $bool[] = "\t\t\t\$the = new VDM(\$license_key);";
$bool[] = "\t\t\t\$this->".$globalbool." = \$the->_is;"; $bool[] = "\t\t\t\$this->".$globalbool." = \$the->_is;";
$bool[] = "\t\t\treturn \$this->".$globalbool.";"; $bool[] = "\t\t\treturn \$this->".$globalbool.";";
@ -210,7 +217,7 @@ class Interpretation extends Fields
$helper[] = "\t\tif (\$license_key)"; $helper[] = "\t\tif (\$license_key)";
$helper[] = "\t\t{"; $helper[] = "\t\t{";
$helper[] = "\t\t\t//".$this->setLine(__LINE__)." load the file"; $helper[] = "\t\t\t//".$this->setLine(__LINE__)." load the file";
$helper[] = "\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; $helper[] = "\t\t\tJLoader::import( 'vdm', JPATH_ADMINISTRATOR .'/components/com_".$this->fileContentStatic['###component###']."');";
$helper[] = "\t\t\t\$the = new VDM(\$license_key);"; $helper[] = "\t\t\t\$the = new VDM(\$license_key);";
$helper[] = "\t\t\treturn \$the->_is;"; $helper[] = "\t\t\treturn \$the->_is;";
$helper[] = "\t\t}"; $helper[] = "\t\t}";
@ -9310,12 +9317,17 @@ class Interpretation extends Fields
$component = ComponentbuilderHelper::safeString($this->componentData->name_code); $component = ComponentbuilderHelper::safeString($this->componentData->name_code);
// allways load these // allways load these
$allow = array(); $allow = array();
$allow[] = "\t\t//".$this->setLine(__LINE__)." Get the form."; $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Get the form.";
$allow[] = "\t\t\$form = \$this->loadForm('com_".$component.".".$viewName_single."', '".$viewName_single."', array('control' => 'jform', 'load_data' => \$loadData));"; $allow[] = "\t\t\$form = \$this->loadForm('com_".$component.".".$viewName_single."', '".$viewName_single."', array('control' => 'jform', 'load_data' => \$loadData));";
$allow[] = "\n\t\tif (empty(\$form))"; $allow[] = "\n\t\tif (empty(\$form))";
$allow[] = "\t\t{"; $allow[] = "\t\t{";
$allow[] = "\t\t\treturn false;"; $allow[] = "\t\t\treturn false;";
$allow[] = "\t\t}"; $allow[] = "\t\t}";
// load license locker
if ($this->componentData->add_license && $this->componentData->license_type == 3 && isset($this->fileContentDynamic[$viewName_single]['###BOOLMETHOD###']))
{
$allow[] = $this->checkStatmentLicenseLocked($this->fileContentDynamic[$viewName_single]['###BOOLMETHOD###']);
}
// setup correct core target // setup correct core target
$coreLoad = false; $coreLoad = false;
if (isset($this->permissionCore[$viewName_single])) if (isset($this->permissionCore[$viewName_single]))

View File

@ -28,7 +28,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->vxpfields; $items = $displayData->vxqfields;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit"; $edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit";

View File

@ -28,7 +28,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->vwjadmin_views; $items = $displayData->vwkadmin_views;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=admin_views&task=admin_view.edit"; $edit = "index.php?option=com_componentbuilder&view=admin_views&task=admin_view.edit";

View File

@ -28,7 +28,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->vwksite_views; $items = $displayData->vwlsite_views;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=site_views&task=site_view.edit"; $edit = "index.php?option=com_componentbuilder&view=site_views&task=site_view.edit";

View File

@ -28,7 +28,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->vzlfields; $items = $displayData->vzmfields;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit"; $edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit";

View File

@ -285,7 +285,7 @@ class ComponentbuilderModelAdmin_view 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 getVxpfields() public function getVxqfields()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -354,13 +354,13 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// convert datatype // convert datatype
$item->datatype = $this->selectionTranslationVxpfields($item->datatype, 'datatype'); $item->datatype = $this->selectionTranslationVxqfields($item->datatype, 'datatype');
// convert indexes // convert indexes
$item->indexes = $this->selectionTranslationVxpfields($item->indexes, 'indexes'); $item->indexes = $this->selectionTranslationVxqfields($item->indexes, 'indexes');
// convert null_switch // convert null_switch
$item->null_switch = $this->selectionTranslationVxpfields($item->null_switch, 'null_switch'); $item->null_switch = $this->selectionTranslationVxqfields($item->null_switch, 'null_switch');
// convert store // convert store
$item->store = $this->selectionTranslationVxpfields($item->store, 'store'); $item->store = $this->selectionTranslationVxqfields($item->store, 'store');
} }
} }
@ -395,7 +395,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationVxpfields($value,$name) public function selectionTranslationVxqfields($value,$name)
{ {
// Array of datatype language strings // Array of datatype language strings
if ($name == 'datatype') if ($name == 'datatype')
@ -479,7 +479,8 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
public function getForm($data = array(), $loadData = true) public function getForm($data = array(), $loadData = true)
{ // Get the form. {
// Get the form.
$form = $this->loadForm('com_componentbuilder.admin_view', 'admin_view', array('control' => 'jform', 'load_data' => $loadData)); $form = $this->loadForm('com_componentbuilder.admin_view', 'admin_view', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) if (empty($form))

View File

@ -213,7 +213,7 @@ class ComponentbuilderModelComponent 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 getVwjadmin_views() public function getVwkadmin_views()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -300,7 +300,7 @@ class ComponentbuilderModelComponent 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 getVwksite_views() public function getVwlsite_views()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -397,7 +397,8 @@ class ComponentbuilderModelComponent extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
public function getForm($data = array(), $loadData = true) public function getForm($data = array(), $loadData = true)
{ // Get the form. {
// Get the form.
$form = $this->loadForm('com_componentbuilder.component', 'component', array('control' => 'jform', 'load_data' => $loadData)); $form = $this->loadForm('com_componentbuilder.component', 'component', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) if (empty($form))

View File

@ -184,7 +184,8 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
public function getForm($data = array(), $loadData = true) public function getForm($data = array(), $loadData = true)
{ // Get the form. {
// Get the form.
$form = $this->loadForm('com_componentbuilder.custom_admin_view', 'custom_admin_view', array('control' => 'jform', 'load_data' => $loadData)); $form = $this->loadForm('com_componentbuilder.custom_admin_view', 'custom_admin_view', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) if (empty($form))

View File

@ -158,7 +158,8 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
public function getForm($data = array(), $loadData = true) public function getForm($data = array(), $loadData = true)
{ // Get the form. {
// Get the form.
$form = $this->loadForm('com_componentbuilder.dynamic_get', 'dynamic_get', array('control' => 'jform', 'load_data' => $loadData)); $form = $this->loadForm('com_componentbuilder.dynamic_get', 'dynamic_get', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) if (empty($form))

View File

@ -146,7 +146,8 @@ class ComponentbuilderModelField extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
public function getForm($data = array(), $loadData = true) public function getForm($data = array(), $loadData = true)
{ // Get the form. {
// Get the form.
$form = $this->loadForm('com_componentbuilder.field', 'field', array('control' => 'jform', 'load_data' => $loadData)); $form = $this->loadForm('com_componentbuilder.field', 'field', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) if (empty($form))

View File

@ -111,7 +111,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 getVzlfields() public function getVzmfields()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -195,13 +195,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// convert datatype // convert datatype
$item->datatype = $this->selectionTranslationVzlfields($item->datatype, 'datatype'); $item->datatype = $this->selectionTranslationVzmfields($item->datatype, 'datatype');
// convert indexes // convert indexes
$item->indexes = $this->selectionTranslationVzlfields($item->indexes, 'indexes'); $item->indexes = $this->selectionTranslationVzmfields($item->indexes, 'indexes');
// convert null_switch // convert null_switch
$item->null_switch = $this->selectionTranslationVzlfields($item->null_switch, 'null_switch'); $item->null_switch = $this->selectionTranslationVzmfields($item->null_switch, 'null_switch');
// convert store // convert store
$item->store = $this->selectionTranslationVzlfields($item->store, 'store'); $item->store = $this->selectionTranslationVzmfields($item->store, 'store');
} }
} }
@ -215,7 +215,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationVzlfields($value,$name) public function selectionTranslationVzmfields($value,$name)
{ {
// Array of datatype language strings // Array of datatype language strings
if ($name == 'datatype') if ($name == 'datatype')
@ -299,7 +299,8 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
public function getForm($data = array(), $loadData = true) public function getForm($data = array(), $loadData = true)
{ // Get the form. {
// Get the form.
$form = $this->loadForm('com_componentbuilder.fieldtype', 'fieldtype', array('control' => 'jform', 'load_data' => $loadData)); $form = $this->loadForm('com_componentbuilder.fieldtype', 'fieldtype', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) if (empty($form))

File diff suppressed because it is too large Load Diff

View File

@ -37,6 +37,7 @@ jform_vvvvvwjvwf_required = false;
jform_vvvvvwkvwg_required = false; jform_vvvvvwkvwg_required = false;
jform_vvvvvwlvwh_required = false; jform_vvvvvwlvwh_required = false;
jform_vvvvvwmvwi_required = false; jform_vvvvvwmvwi_required = false;
jform_vvvvvwtvwj_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
@ -110,6 +111,9 @@ jQuery(document).ready(function()
var update_server_target_vvvvvwr = jQuery("#jform_update_server_target input[type='radio']:checked").val(); var update_server_target_vvvvvwr = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvwr = jQuery("#jform_add_update_server input[type='radio']:checked").val(); var add_update_server_vvvvvwr = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwr(update_server_target_vvvvvwr,add_update_server_vvvvvwr); vvvvvwr(update_server_target_vvvvvwr,add_update_server_vvvvvwr);
var add_update_server_vvvvvwt = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwt(add_update_server_vvvvvwt);
}); });
// the vvvvvvv function // the vvvvvvv function
@ -670,6 +674,37 @@ function vvvvvwr(update_server_target_vvvvvwr,add_update_server_vvvvvwr)
} }
} }
// the vvvvvwt function
function vvvvvwt(add_update_server_vvvvvwt)
{
// set the function logic
if (add_update_server_vvvvvwt == 1)
{
jQuery('#jform_update_server_target').closest('.control-group').show();
if (jform_vvvvvwtvwj_required)
{
updateFieldRequired('update_server_target',0);
jQuery('#jform_update_server_target').prop('required','required');
jQuery('#jform_update_server_target').attr('aria-required',true);
jQuery('#jform_update_server_target').addClass('required');
jform_vvvvvwtvwj_required = false;
}
}
else
{
jQuery('#jform_update_server_target').closest('.control-group').hide();
if (!jform_vvvvvwtvwj_required)
{
updateFieldRequired('update_server_target',1);
jQuery('#jform_update_server_target').removeAttr('required');
jQuery('#jform_update_server_target').removeAttr('aria-required');
jQuery('#jform_update_server_target').removeClass('required');
jform_vvvvvwtvwj_required = true;
}
}
}
// update required fields // update required fields
function updateFieldRequired(name,status) function updateFieldRequired(name,status)
{ {

View File

@ -23,255 +23,255 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvxwvxq_required = false;
jform_vvvvvxxvxr_required = false; jform_vvvvvxxvxr_required = false;
jform_vvvvvxyvxs_required = false; jform_vvvvvxyvxs_required = false;
jform_vvvvvxzvxt_required = false; jform_vvvvvxzvxt_required = false;
jform_vvvvvyavxu_required = false; jform_vvvvvyavxu_required = false;
jform_vvvvvybvxv_required = false; jform_vvvvvybvxv_required = false;
jform_vvvvvycvxw_required = false; jform_vvvvvycvxw_required = false;
jform_vvvvvycvxx_required = false; jform_vvvvvydvxx_required = false;
jform_vvvvvydvxy_required = false; jform_vvvvvydvxy_required = false;
jform_vvvvvyevxz_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvxw = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxx = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxw(add_php_view_vvvvvxw); vvvvvxx(add_php_view_vvvvvxx);
var add_php_jview_display_vvvvvxx = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvxy = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxx(add_php_jview_display_vvvvvxx); vvvvvxy(add_php_jview_display_vvvvvxy);
var add_php_jview_vvvvvxy = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvxz = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxy(add_php_jview_vvvvvxy); vvvvvxz(add_php_jview_vvvvvxz);
var add_php_document_vvvvvxz = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvya = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxz(add_php_document_vvvvvxz); vvvvvya(add_php_document_vvvvvya);
var add_css_document_vvvvvya = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvyb = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvya(add_css_document_vvvvvya); vvvvvyb(add_css_document_vvvvvyb);
var add_js_document_vvvvvyb = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyc = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyb(add_js_document_vvvvvyb); vvvvvyc(add_js_document_vvvvvyc);
var add_custom_button_vvvvvyc = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyd = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyc(add_custom_button_vvvvvyc); vvvvvyd(add_custom_button_vvvvvyd);
var add_css_vvvvvyd = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvye = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyd(add_css_vvvvvyd); vvvvvye(add_css_vvvvvye);
}); });
// the vvvvvxw function // the vvvvvxx function
function vvvvvxw(add_php_view_vvvvvxw) function vvvvvxx(add_php_view_vvvvvxx)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvxw == 1) if (add_php_view_vvvvvxx == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxwvxq_required) if (jform_vvvvvxxvxr_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_vvvvvxwvxq_required = false; jform_vvvvvxxvxr_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxwvxq_required) if (!jform_vvvvvxxvxr_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_vvvvvxwvxq_required = true;
}
}
}
// the vvvvvxx function
function vvvvvxx(add_php_jview_display_vvvvvxx)
{
// set the function logic
if (add_php_jview_display_vvvvvxx == 1)
{
jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvxxvxr_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvxxvxr_required = false;
}
}
else
{
jQuery('#jform_php_jview_display').closest('.control-group').hide();
if (!jform_vvvvvxxvxr_required)
{
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvxxvxr_required = true; jform_vvvvvxxvxr_required = true;
} }
} }
} }
// the vvvvvxy function // the vvvvvxy function
function vvvvvxy(add_php_jview_vvvvvxy) function vvvvvxy(add_php_jview_display_vvvvvxy)
{ {
// set the function logic // set the function logic
if (add_php_jview_vvvvvxy == 1) if (add_php_jview_display_vvvvvxy == 1)
{ {
jQuery('#jform_php_jview').closest('.control-group').show(); jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvxyvxs_required) if (jform_vvvvvxyvxs_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_vvvvvxyvxs_required = false; jform_vvvvvxyvxs_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview').closest('.control-group').hide(); jQuery('#jform_php_jview_display').closest('.control-group').hide();
if (!jform_vvvvvxyvxs_required) if (!jform_vvvvvxyvxs_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_vvvvvxyvxs_required = true; jform_vvvvvxyvxs_required = true;
} }
} }
} }
// the vvvvvxz function // the vvvvvxz function
function vvvvvxz(add_php_document_vvvvvxz) function vvvvvxz(add_php_jview_vvvvvxz)
{ {
// set the function logic // set the function logic
if (add_php_document_vvvvvxz == 1) if (add_php_jview_vvvvvxz == 1)
{ {
jQuery('#jform_php_document').closest('.control-group').show(); jQuery('#jform_php_jview').closest('.control-group').show();
if (jform_vvvvvxzvxt_required) if (jform_vvvvvxzvxt_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_vvvvvxzvxt_required = false; jform_vvvvvxzvxt_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_document').closest('.control-group').hide(); jQuery('#jform_php_jview').closest('.control-group').hide();
if (!jform_vvvvvxzvxt_required) if (!jform_vvvvvxzvxt_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_vvvvvxzvxt_required = true; jform_vvvvvxzvxt_required = true;
} }
} }
} }
// the vvvvvya function // the vvvvvya function
function vvvvvya(add_css_document_vvvvvya) function vvvvvya(add_php_document_vvvvvya)
{ {
// set the function logic // set the function logic
if (add_css_document_vvvvvya == 1) if (add_php_document_vvvvvya == 1)
{ {
jQuery('#jform_css_document').closest('.control-group').show(); jQuery('#jform_php_document').closest('.control-group').show();
if (jform_vvvvvyavxu_required) if (jform_vvvvvyavxu_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_vvvvvyavxu_required = false; jform_vvvvvyavxu_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_document').closest('.control-group').hide(); jQuery('#jform_php_document').closest('.control-group').hide();
if (!jform_vvvvvyavxu_required) if (!jform_vvvvvyavxu_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_vvvvvyavxu_required = true; jform_vvvvvyavxu_required = true;
} }
} }
} }
// the vvvvvyb function // the vvvvvyb function
function vvvvvyb(add_js_document_vvvvvyb) function vvvvvyb(add_css_document_vvvvvyb)
{ {
// set the function logic // set the function logic
if (add_js_document_vvvvvyb == 1) if (add_css_document_vvvvvyb == 1)
{ {
jQuery('#jform_js_document').closest('.control-group').show(); jQuery('#jform_css_document').closest('.control-group').show();
if (jform_vvvvvybvxv_required) if (jform_vvvvvybvxv_required)
{ {
updateFieldRequired('js_document',0); updateFieldRequired('css_document',0);
jQuery('#jform_js_document').prop('required','required'); jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true); jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required'); jQuery('#jform_css_document').addClass('required');
jform_vvvvvybvxv_required = false; jform_vvvvvybvxv_required = false;
} }
} }
else else
{ {
jQuery('#jform_js_document').closest('.control-group').hide(); jQuery('#jform_css_document').closest('.control-group').hide();
if (!jform_vvvvvybvxv_required) if (!jform_vvvvvybvxv_required)
{ {
updateFieldRequired('js_document',1); updateFieldRequired('css_document',1);
jQuery('#jform_js_document').removeAttr('required'); jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required'); jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required'); jQuery('#jform_css_document').removeClass('required');
jform_vvvvvybvxv_required = true; jform_vvvvvybvxv_required = true;
} }
} }
} }
// the vvvvvyc function // the vvvvvyc function
function vvvvvyc(add_custom_button_vvvvvyc) function vvvvvyc(add_js_document_vvvvvyc)
{ {
// set the function logic // set the function logic
if (add_custom_button_vvvvvyc == 1) if (add_js_document_vvvvvyc == 1)
{
jQuery('#jform_js_document').closest('.control-group').show();
if (jform_vvvvvycvxw_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
jform_vvvvvycvxw_required = false;
}
}
else
{
jQuery('#jform_js_document').closest('.control-group').hide();
if (!jform_vvvvvycvxw_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
jform_vvvvvycvxw_required = true;
}
}
}
// the vvvvvyd function
function vvvvvyd(add_custom_button_vvvvvyd)
{
// set the function logic
if (add_custom_button_vvvvvyd == 1)
{ {
jQuery('#jform_custom_button').closest('.control-group').show(); jQuery('#jform_custom_button').closest('.control-group').show();
jQuery('#jform_php_controller').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show();
if (jform_vvvvvycvxw_required) if (jform_vvvvvydvxx_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_vvvvvycvxw_required = false; jform_vvvvvydvxx_required = false;
} }
jQuery('#jform_php_model').closest('.control-group').show(); jQuery('#jform_php_model').closest('.control-group').show();
if (jform_vvvvvycvxx_required) if (jform_vvvvvydvxy_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_vvvvvycvxx_required = false; jform_vvvvvydvxy_required = false;
} }
} }
@ -279,53 +279,53 @@ function vvvvvyc(add_custom_button_vvvvvyc)
{ {
jQuery('#jform_custom_button').closest('.control-group').hide(); jQuery('#jform_custom_button').closest('.control-group').hide();
jQuery('#jform_php_controller').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide();
if (!jform_vvvvvycvxw_required) if (!jform_vvvvvydvxx_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_vvvvvycvxw_required = true; jform_vvvvvydvxx_required = true;
} }
jQuery('#jform_php_model').closest('.control-group').hide(); jQuery('#jform_php_model').closest('.control-group').hide();
if (!jform_vvvvvycvxx_required) if (!jform_vvvvvydvxy_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_vvvvvycvxx_required = true; jform_vvvvvydvxy_required = true;
} }
} }
} }
// the vvvvvyd function // the vvvvvye function
function vvvvvyd(add_css_vvvvvyd) function vvvvvye(add_css_vvvvvye)
{ {
// set the function logic // set the function logic
if (add_css_vvvvvyd == 1) if (add_css_vvvvvye == 1)
{ {
jQuery('#jform_css').closest('.control-group').show(); jQuery('#jform_css').closest('.control-group').show();
if (jform_vvvvvydvxy_required) if (jform_vvvvvyevxz_required)
{ {
updateFieldRequired('css',0); updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required'); jQuery('#jform_css').addClass('required');
jform_vvvvvydvxy_required = false; jform_vvvvvyevxz_required = false;
} }
} }
else else
{ {
jQuery('#jform_css').closest('.control-group').hide(); jQuery('#jform_css').closest('.control-group').hide();
if (!jform_vvvvvydvxy_required) if (!jform_vvvvvyevxz_required)
{ {
updateFieldRequired('css',1); updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required'); jQuery('#jform_css').removeClass('required');
jform_vvvvvydvxy_required = true; jform_vvvvvyevxz_required = true;
} }
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -23,151 +23,96 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvzlvzd_required = false;
jform_vvvvvzmvze_required = false; jform_vvvvvzmvze_required = false;
jform_vvvvvznvzf_required = false; jform_vvvvvznvzf_required = false;
jform_vvvvvzovzg_required = false; jform_vvvvvzovzg_required = false;
jform_vvvvvzrvzh_required = false; jform_vvvvvzpvzh_required = false;
jform_vvvvvzsvzi_required = false; jform_vvvvvzsvzi_required = false;
jform_vvvvvztvzj_required = false; jform_vvvvvztvzj_required = false;
jform_vvvvvzuvzk_required = false; jform_vvvvvzuvzk_required = false;
jform_vvvvvzvvzl_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var datalenght_vvvvvzl = jQuery("#jform_datalenght").val(); var datalenght_vvvvvzm = jQuery("#jform_datalenght").val();
vvvvvzl(datalenght_vvvvvzl); vvvvvzm(datalenght_vvvvvzm);
var datadefault_vvvvvzm = jQuery("#jform_datadefault").val(); var datadefault_vvvvvzn = jQuery("#jform_datadefault").val();
vvvvvzm(datadefault_vvvvvzm); vvvvvzn(datadefault_vvvvvzn);
var datatype_vvvvvzn = jQuery("#jform_datatype").val();
vvvvvzn(datatype_vvvvvzn);
var datatype_vvvvvzo = jQuery("#jform_datatype").val(); var datatype_vvvvvzo = jQuery("#jform_datatype").val();
vvvvvzo(datatype_vvvvvzo); vvvvvzo(datatype_vvvvvzo);
var store_vvvvvzp = jQuery("#jform_store").val();
var datatype_vvvvvzp = jQuery("#jform_datatype").val(); var datatype_vvvvvzp = jQuery("#jform_datatype").val();
vvvvvzp(store_vvvvvzp,datatype_vvvvvzp); vvvvvzp(datatype_vvvvvzp);
var add_css_view_vvvvvzr = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var store_vvvvvzq = jQuery("#jform_store").val();
vvvvvzr(add_css_view_vvvvvzr); var datatype_vvvvvzq = jQuery("#jform_datatype").val();
vvvvvzq(store_vvvvvzq,datatype_vvvvvzq);
var add_css_views_vvvvvzs = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_view_vvvvvzs = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvzs(add_css_views_vvvvvzs); vvvvvzs(add_css_view_vvvvvzs);
var add_javascript_view_footer_vvvvvzt = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_css_views_vvvvvzt = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvzt(add_javascript_view_footer_vvvvvzt); vvvvvzt(add_css_views_vvvvvzt);
var add_javascript_views_footer_vvvvvzu = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvzu = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvzu(add_javascript_views_footer_vvvvvzu); vvvvvzu(add_javascript_view_footer_vvvvvzu);
var add_javascript_views_footer_vvvvvzv = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvzv(add_javascript_views_footer_vvvvvzv);
}); });
// the vvvvvzl function // the vvvvvzm function
function vvvvvzl(datalenght_vvvvvzl) function vvvvvzm(datalenght_vvvvvzm)
{ {
if (isSet(datalenght_vvvvvzl) && datalenght_vvvvvzl.constructor !== Array) if (isSet(datalenght_vvvvvzm) && datalenght_vvvvvzm.constructor !== Array)
{ {
var temp_vvvvvzl = datalenght_vvvvvzl; var temp_vvvvvzm = datalenght_vvvvvzm;
var datalenght_vvvvvzl = []; var datalenght_vvvvvzm = [];
datalenght_vvvvvzl.push(temp_vvvvvzl); datalenght_vvvvvzm.push(temp_vvvvvzm);
} }
else if (!isSet(datalenght_vvvvvzl)) else if (!isSet(datalenght_vvvvvzm))
{ {
var datalenght_vvvvvzl = []; var datalenght_vvvvvzm = [];
} }
var datalenght = datalenght_vvvvvzl.some(datalenght_vvvvvzl_SomeFunc); var datalenght = datalenght_vvvvvzm.some(datalenght_vvvvvzm_SomeFunc);
// set this function logic // set this function logic
if (datalenght) if (datalenght)
{ {
jQuery('#jform_datalenght_other').closest('.control-group').show(); jQuery('#jform_datalenght_other').closest('.control-group').show();
if (jform_vvvvvzlvzd_required) if (jform_vvvvvzmvze_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_vvvvvzlvzd_required = false;
}
}
else
{
jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvvzlvzd_required)
{
updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvvzlvzd_required = true;
}
}
}
// the vvvvvzl Some function
function datalenght_vvvvvzl_SomeFunc(datalenght_vvvvvzl)
{
// set the function logic
if (datalenght_vvvvvzl == 'Other')
{
return true;
}
return false;
}
// the vvvvvzm function
function vvvvvzm(datadefault_vvvvvzm)
{
if (isSet(datadefault_vvvvvzm) && datadefault_vvvvvzm.constructor !== Array)
{
var temp_vvvvvzm = datadefault_vvvvvzm;
var datadefault_vvvvvzm = [];
datadefault_vvvvvzm.push(temp_vvvvvzm);
}
else if (!isSet(datadefault_vvvvvzm))
{
var datadefault_vvvvvzm = [];
}
var datadefault = datadefault_vvvvvzm.some(datadefault_vvvvvzm_SomeFunc);
// set this function logic
if (datadefault)
{
jQuery('#jform_datadefault_other').closest('.control-group').show();
if (jform_vvvvvzmvze_required)
{
updateFieldRequired('datadefault_other',0);
jQuery('#jform_datadefault_other').prop('required','required');
jQuery('#jform_datadefault_other').attr('aria-required',true);
jQuery('#jform_datadefault_other').addClass('required');
jform_vvvvvzmvze_required = false; jform_vvvvvzmvze_required = false;
} }
} }
else else
{ {
jQuery('#jform_datadefault_other').closest('.control-group').hide(); jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvvzmvze_required) if (!jform_vvvvvzmvze_required)
{ {
updateFieldRequired('datadefault_other',1); updateFieldRequired('datalenght_other',1);
jQuery('#jform_datadefault_other').removeAttr('required'); jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datadefault_other').removeAttr('aria-required'); jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datadefault_other').removeClass('required'); jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvvzmvze_required = true; jform_vvvvvzmvze_required = true;
} }
} }
} }
// the vvvvvzm Some function // the vvvvvzm Some function
function datadefault_vvvvvzm_SomeFunc(datadefault_vvvvvzm) function datalenght_vvvvvzm_SomeFunc(datalenght_vvvvvzm)
{ {
// set the function logic // set the function logic
if (datadefault_vvvvvzm == 'Other') if (datalenght_vvvvvzm == 'Other')
{ {
return true; return true;
} }
@ -175,58 +120,54 @@ function datadefault_vvvvvzm_SomeFunc(datadefault_vvvvvzm)
} }
// the vvvvvzn function // the vvvvvzn function
function vvvvvzn(datatype_vvvvvzn) function vvvvvzn(datadefault_vvvvvzn)
{ {
if (isSet(datatype_vvvvvzn) && datatype_vvvvvzn.constructor !== Array) if (isSet(datadefault_vvvvvzn) && datadefault_vvvvvzn.constructor !== Array)
{ {
var temp_vvvvvzn = datatype_vvvvvzn; var temp_vvvvvzn = datadefault_vvvvvzn;
var datatype_vvvvvzn = []; var datadefault_vvvvvzn = [];
datatype_vvvvvzn.push(temp_vvvvvzn); datadefault_vvvvvzn.push(temp_vvvvvzn);
} }
else if (!isSet(datatype_vvvvvzn)) else if (!isSet(datadefault_vvvvvzn))
{ {
var datatype_vvvvvzn = []; var datadefault_vvvvvzn = [];
} }
var datatype = datatype_vvvvvzn.some(datatype_vvvvvzn_SomeFunc); var datadefault = datadefault_vvvvvzn.some(datadefault_vvvvvzn_SomeFunc);
// set this function logic // 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();
jQuery('#jform_indexes').closest('.control-group').show();
if (jform_vvvvvznvzf_required) if (jform_vvvvvznvzf_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_vvvvvznvzf_required = false; jform_vvvvvznvzf_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();
jQuery('#jform_indexes').closest('.control-group').hide();
if (!jform_vvvvvznvzf_required) if (!jform_vvvvvznvzf_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_vvvvvznvzf_required = true; jform_vvvvvznvzf_required = true;
} }
} }
} }
// the vvvvvzn Some function // the vvvvvzn Some function
function datatype_vvvvvzn_SomeFunc(datatype_vvvvvzn) function datadefault_vvvvvzn_SomeFunc(datadefault_vvvvvzn)
{ {
// set the function logic // set the function logic
if (datatype_vvvvvzn == 'CHAR' || datatype_vvvvvzn == 'VARCHAR' || datatype_vvvvvzn == 'DATETIME' || datatype_vvvvvzn == 'DATE' || datatype_vvvvvzn == 'TIME' || datatype_vvvvvzn == 'INT' || datatype_vvvvvzn == 'TINYINT' || datatype_vvvvvzn == 'BIGINT' || datatype_vvvvvzn == 'FLOAT' || datatype_vvvvvzn == 'DECIMAL' || datatype_vvvvvzn == 'DOUBLE') if (datadefault_vvvvvzn == 'Other')
{ {
return true; return true;
} }
@ -252,26 +193,30 @@ function vvvvvzo(datatype_vvvvvzo)
// 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();
jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
if (jform_vvvvvzovzg_required) if (jform_vvvvvzovzg_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_vvvvvzovzg_required = false; jform_vvvvvzovzg_required = false;
} }
} }
else else
{ {
jQuery('#jform_store').closest('.control-group').hide(); jQuery('#jform_datadefault').closest('.control-group').hide();
jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
if (!jform_vvvvvzovzg_required) if (!jform_vvvvvzovzg_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_vvvvvzovzg_required = true; jform_vvvvvzovzg_required = true;
} }
} }
@ -281,7 +226,7 @@ function vvvvvzo(datatype_vvvvvzo)
function datatype_vvvvvzo_SomeFunc(datatype_vvvvvzo) function datatype_vvvvvzo_SomeFunc(datatype_vvvvvzo)
{ {
// set the function logic // set the function logic
if (datatype_vvvvvzo == 'CHAR' || datatype_vvvvvzo == 'VARCHAR' || datatype_vvvvvzo == 'TEXT' || datatype_vvvvvzo == 'MEDIUMTEXT' || datatype_vvvvvzo == 'LONGTEXT') if (datatype_vvvvvzo == 'CHAR' || datatype_vvvvvzo == 'VARCHAR' || datatype_vvvvvzo == 'DATETIME' || datatype_vvvvvzo == 'DATE' || datatype_vvvvvzo == 'TIME' || datatype_vvvvvzo == 'INT' || datatype_vvvvvzo == 'TINYINT' || datatype_vvvvvzo == 'BIGINT' || datatype_vvvvvzo == 'FLOAT' || datatype_vvvvvzo == 'DECIMAL' || datatype_vvvvvzo == 'DOUBLE')
{ {
return true; return true;
} }
@ -289,20 +234,8 @@ function datatype_vvvvvzo_SomeFunc(datatype_vvvvvzo)
} }
// the vvvvvzp function // the vvvvvzp function
function vvvvvzp(store_vvvvvzp,datatype_vvvvvzp) function vvvvvzp(datatype_vvvvvzp)
{ {
if (isSet(store_vvvvvzp) && store_vvvvvzp.constructor !== Array)
{
var temp_vvvvvzp = store_vvvvvzp;
var store_vvvvvzp = [];
store_vvvvvzp.push(temp_vvvvvzp);
}
else if (!isSet(store_vvvvvzp))
{
var store_vvvvvzp = [];
}
var store = store_vvvvvzp.some(store_vvvvvzp_SomeFunc);
if (isSet(datatype_vvvvvzp) && datatype_vvvvvzp.constructor !== Array) if (isSet(datatype_vvvvvzp) && datatype_vvvvvzp.constructor !== Array)
{ {
var temp_vvvvvzp = datatype_vvvvvzp; var temp_vvvvvzp = datatype_vvvvvzp;
@ -317,25 +250,31 @@ function vvvvvzp(store_vvvvvzp,datatype_vvvvvzp)
// set this function logic // set this function logic
if (store && datatype) if (datatype)
{ {
jQuery('.note_vdm_encryption').closest('.control-group').show(); jQuery('#jform_store').closest('.control-group').show();
if (jform_vvvvvzpvzh_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required');
jform_vvvvvzpvzh_required = false;
}
} }
else else
{ {
jQuery('.note_vdm_encryption').closest('.control-group').hide(); jQuery('#jform_store').closest('.control-group').hide();
} if (!jform_vvvvvzpvzh_required)
}
// the vvvvvzp Some function
function store_vvvvvzp_SomeFunc(store_vvvvvzp)
{ {
// set the function logic updateFieldRequired('store',1);
if (store_vvvvvzp == 4) jQuery('#jform_store').removeAttr('required');
{ jQuery('#jform_store').removeAttr('aria-required');
return true; jQuery('#jform_store').removeClass('required');
jform_vvvvvzpvzh_required = true;
}
} }
return false;
} }
// the vvvvvzp Some function // the vvvvvzp Some function
@ -349,126 +288,187 @@ function datatype_vvvvvzp_SomeFunc(datatype_vvvvvzp)
return false; return false;
} }
// the vvvvvzr function // the vvvvvzq function
function vvvvvzr(add_css_view_vvvvvzr) function vvvvvzq(store_vvvvvzq,datatype_vvvvvzq)
{
if (isSet(store_vvvvvzq) && store_vvvvvzq.constructor !== Array)
{
var temp_vvvvvzq = store_vvvvvzq;
var store_vvvvvzq = [];
store_vvvvvzq.push(temp_vvvvvzq);
}
else if (!isSet(store_vvvvvzq))
{
var store_vvvvvzq = [];
}
var store = store_vvvvvzq.some(store_vvvvvzq_SomeFunc);
if (isSet(datatype_vvvvvzq) && datatype_vvvvvzq.constructor !== Array)
{
var temp_vvvvvzq = datatype_vvvvvzq;
var datatype_vvvvvzq = [];
datatype_vvvvvzq.push(temp_vvvvvzq);
}
else if (!isSet(datatype_vvvvvzq))
{
var datatype_vvvvvzq = [];
}
var datatype = datatype_vvvvvzq.some(datatype_vvvvvzq_SomeFunc);
// set this function logic
if (store && datatype)
{
jQuery('.note_vdm_encryption').closest('.control-group').show();
}
else
{
jQuery('.note_vdm_encryption').closest('.control-group').hide();
}
}
// the vvvvvzq Some function
function store_vvvvvzq_SomeFunc(store_vvvvvzq)
{ {
// set the function logic // set the function logic
if (add_css_view_vvvvvzr == 1) if (store_vvvvvzq == 4)
{
return true;
}
return false;
}
// the vvvvvzq Some function
function datatype_vvvvvzq_SomeFunc(datatype_vvvvvzq)
{
// set the function logic
if (datatype_vvvvvzq == 'CHAR' || datatype_vvvvvzq == 'VARCHAR' || datatype_vvvvvzq == 'TEXT' || datatype_vvvvvzq == 'MEDIUMTEXT' || datatype_vvvvvzq == 'LONGTEXT')
{
return true;
}
return false;
}
// the vvvvvzs function
function vvvvvzs(add_css_view_vvvvvzs)
{
// set the function logic
if (add_css_view_vvvvvzs == 1)
{ {
jQuery('#jform_css_view').closest('.control-group').show(); jQuery('#jform_css_view').closest('.control-group').show();
if (jform_vvvvvzrvzh_required) if (jform_vvvvvzsvzi_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_vvvvvzrvzh_required = false;
}
}
else
{
jQuery('#jform_css_view').closest('.control-group').hide();
if (!jform_vvvvvzrvzh_required)
{
updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required');
jform_vvvvvzrvzh_required = true;
}
}
}
// the vvvvvzs function
function vvvvvzs(add_css_views_vvvvvzs)
{
// set the function logic
if (add_css_views_vvvvvzs == 1)
{
jQuery('#jform_css_views').closest('.control-group').show();
if (jform_vvvvvzsvzi_required)
{
updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required');
jform_vvvvvzsvzi_required = false; jform_vvvvvzsvzi_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_views').closest('.control-group').hide(); jQuery('#jform_css_view').closest('.control-group').hide();
if (!jform_vvvvvzsvzi_required) if (!jform_vvvvvzsvzi_required)
{ {
updateFieldRequired('css_views',1); updateFieldRequired('css_view',1);
jQuery('#jform_css_views').removeAttr('required'); jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required'); jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required'); jQuery('#jform_css_view').removeClass('required');
jform_vvvvvzsvzi_required = true; jform_vvvvvzsvzi_required = true;
} }
} }
} }
// the vvvvvzt function // the vvvvvzt function
function vvvvvzt(add_javascript_view_footer_vvvvvzt) function vvvvvzt(add_css_views_vvvvvzt)
{ {
// set the function logic // set the function logic
if (add_javascript_view_footer_vvvvvzt == 1) if (add_css_views_vvvvvzt == 1)
{ {
jQuery('#jform_javascript_view_footer').closest('.control-group').show(); jQuery('#jform_css_views').closest('.control-group').show();
if (jform_vvvvvztvzj_required) if (jform_vvvvvztvzj_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_vvvvvztvzj_required = false; jform_vvvvvztvzj_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); jQuery('#jform_css_views').closest('.control-group').hide();
if (!jform_vvvvvztvzj_required) if (!jform_vvvvvztvzj_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_vvvvvztvzj_required = true; jform_vvvvvztvzj_required = true;
} }
} }
} }
// the vvvvvzu function // the vvvvvzu function
function vvvvvzu(add_javascript_views_footer_vvvvvzu) function vvvvvzu(add_javascript_view_footer_vvvvvzu)
{ {
// set the function logic // set the function logic
if (add_javascript_views_footer_vvvvvzu == 1) if (add_javascript_view_footer_vvvvvzu == 1)
{ {
jQuery('#jform_javascript_views_footer').closest('.control-group').show(); jQuery('#jform_javascript_view_footer').closest('.control-group').show();
if (jform_vvvvvzuvzk_required) if (jform_vvvvvzuvzk_required)
{ {
updateFieldRequired('javascript_views_footer',0); updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required'); jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true); jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required'); jQuery('#jform_javascript_view_footer').addClass('required');
jform_vvvvvzuvzk_required = false; jform_vvvvvzuvzk_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
if (!jform_vvvvvzuvzk_required) if (!jform_vvvvvzuvzk_required)
{
updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required');
jform_vvvvvzuvzk_required = true;
}
}
}
// the vvvvvzv function
function vvvvvzv(add_javascript_views_footer_vvvvvzv)
{
// set the function logic
if (add_javascript_views_footer_vvvvvzv == 1)
{
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
if (jform_vvvvvzvvzl_required)
{
updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required');
jform_vvvvvzvvzl_required = false;
}
}
else
{
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
if (!jform_vvvvvzvvzl_required)
{ {
updateFieldRequired('javascript_views_footer',1); 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_vvvvvzuvzk_required = true; jform_vvvvvzvvzl_required = true;
} }
} }
} }

View File

@ -23,24 +23,21 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvzvvzm_required = false;
jform_vvvvvzwvzn_required = false; jform_vvvvvzwvzn_required = false;
jform_vvvvvzxvzo_required = false; jform_vvvvvzxvzo_required = false;
jform_vvvvvzyvzp_required = false; jform_vvvvvzyvzp_required = false;
jform_vvvvvzzvzq_required = false; jform_vvvvvzzvzq_required = false;
jform_vvvvwaavzr_required = false; jform_vvvvwaavzr_required = false;
jform_vvvvwabvzs_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var location_vvvvvzv = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzv(location_vvvvvzv);
var location_vvvvvzw = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvvzw = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzw(location_vvvvvzw); vvvvvzw(location_vvvvvzw);
var type_vvvvvzx = jQuery("#jform_type").val(); var location_vvvvvzx = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzx(type_vvvvvzx); vvvvvzx(location_vvvvvzx);
var type_vvvvvzy = jQuery("#jform_type").val(); var type_vvvvvzy = jQuery("#jform_type").val();
vvvvvzy(type_vvvvvzy); vvvvvzy(type_vvvvvzy);
@ -48,127 +45,75 @@ jQuery(document).ready(function()
var type_vvvvvzz = jQuery("#jform_type").val(); var type_vvvvvzz = jQuery("#jform_type").val();
vvvvvzz(type_vvvvvzz); vvvvvzz(type_vvvvvzz);
var target_vvvvwaa = jQuery("#jform_target input[type='radio']:checked").val(); var type_vvvvwaa = jQuery("#jform_type").val();
vvvvwaa(target_vvvvwaa); vvvvwaa(type_vvvvwaa);
var target_vvvvwab = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwab(target_vvvvwab);
}); });
// the vvvvvzv function
function vvvvvzv(location_vvvvvzv)
{
// set the function logic
if (location_vvvvvzv == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
if (jform_vvvvvzvvzm_required)
{
updateFieldRequired('admin_view',0);
jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_admin_view').addClass('required');
jform_vvvvvzvvzm_required = false;
}
}
else
{
jQuery('#jform_admin_view').closest('.control-group').hide();
if (!jform_vvvvvzvvzm_required)
{
updateFieldRequired('admin_view',1);
jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_admin_view').removeClass('required');
jform_vvvvvzvvzm_required = true;
}
}
}
// the vvvvvzw function // the vvvvvzw function
function vvvvvzw(location_vvvvvzw) function vvvvvzw(location_vvvvvzw)
{ {
// set the function logic // set the function logic
if (location_vvvvvzw == 2) if (location_vvvvvzw == 1)
{ {
jQuery('#jform_site_view').closest('.control-group').show(); jQuery('#jform_admin_view').closest('.control-group').show();
if (jform_vvvvvzwvzn_required) if (jform_vvvvvzwvzn_required)
{ {
updateFieldRequired('site_view',0); updateFieldRequired('admin_view',0);
jQuery('#jform_site_view').prop('required','required'); jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_site_view').attr('aria-required',true); jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_site_view').addClass('required'); jQuery('#jform_admin_view').addClass('required');
jform_vvvvvzwvzn_required = false; jform_vvvvvzwvzn_required = false;
} }
} }
else else
{ {
jQuery('#jform_site_view').closest('.control-group').hide(); jQuery('#jform_admin_view').closest('.control-group').hide();
if (!jform_vvvvvzwvzn_required) if (!jform_vvvvvzwvzn_required)
{ {
updateFieldRequired('site_view',1); updateFieldRequired('admin_view',1);
jQuery('#jform_site_view').removeAttr('required'); jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_site_view').removeAttr('aria-required'); jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_site_view').removeClass('required'); jQuery('#jform_admin_view').removeClass('required');
jform_vvvvvzwvzn_required = true; jform_vvvvvzwvzn_required = true;
} }
} }
} }
// the vvvvvzx function // the vvvvvzx function
function vvvvvzx(type_vvvvvzx) function vvvvvzx(location_vvvvvzx)
{ {
if (isSet(type_vvvvvzx) && type_vvvvvzx.constructor !== Array) // set the function logic
if (location_vvvvvzx == 2)
{ {
var temp_vvvvvzx = type_vvvvvzx; jQuery('#jform_site_view').closest('.control-group').show();
var type_vvvvvzx = [];
type_vvvvvzx.push(temp_vvvvvzx);
}
else if (!isSet(type_vvvvvzx))
{
var type_vvvvvzx = [];
}
var type = type_vvvvvzx.some(type_vvvvvzx_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_url').closest('.control-group').show();
if (jform_vvvvvzxvzo_required) if (jform_vvvvvzxvzo_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_vvvvvzxvzo_required = false; jform_vvvvvzxvzo_required = false;
} }
} }
else else
{ {
jQuery('#jform_url').closest('.control-group').hide(); jQuery('#jform_site_view').closest('.control-group').hide();
if (!jform_vvvvvzxvzo_required) if (!jform_vvvvvzxvzo_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_vvvvvzxvzo_required = true; jform_vvvvvzxvzo_required = true;
} }
} }
} }
// the vvvvvzx Some function
function type_vvvvvzx_SomeFunc(type_vvvvvzx)
{
// set the function logic
if (type_vvvvvzx == 3)
{
return true;
}
return false;
}
// the vvvvvzy function // the vvvvvzy function
function vvvvvzy(type_vvvvvzy) function vvvvvzy(type_vvvvvzy)
{ {
@ -188,26 +133,26 @@ function vvvvvzy(type_vvvvvzy)
// 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();
if (jform_vvvvvzyvzp_required) if (jform_vvvvvzyvzp_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_vvvvvzyvzp_required = false; jform_vvvvvzyvzp_required = false;
} }
} }
else else
{ {
jQuery('#jform_article').closest('.control-group').hide(); jQuery('#jform_url').closest('.control-group').hide();
if (!jform_vvvvvzyvzp_required) if (!jform_vvvvvzyvzp_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_vvvvvzyvzp_required = true; jform_vvvvvzyvzp_required = true;
} }
} }
@ -217,7 +162,7 @@ function vvvvvzy(type_vvvvvzy)
function type_vvvvvzy_SomeFunc(type_vvvvvzy) function type_vvvvvzy_SomeFunc(type_vvvvvzy)
{ {
// set the function logic // set the function logic
if (type_vvvvvzy == 1) if (type_vvvvvzy == 3)
{ {
return true; return true;
} }
@ -243,26 +188,26 @@ function vvvvvzz(type_vvvvvzz)
// 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();
if (jform_vvvvvzzvzq_required) if (jform_vvvvvzzvzq_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_vvvvvzzvzq_required = false; jform_vvvvvzzvzq_required = false;
} }
} }
else else
{ {
jQuery('#jform_content-lbl').closest('.control-group').hide(); jQuery('#jform_article').closest('.control-group').hide();
if (!jform_vvvvvzzvzq_required) if (!jform_vvvvvzzvzq_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_vvvvvzzvzq_required = true; jform_vvvvvzzvzq_required = true;
} }
} }
@ -272,7 +217,7 @@ function vvvvvzz(type_vvvvvzz)
function type_vvvvvzz_SomeFunc(type_vvvvvzz) function type_vvvvvzz_SomeFunc(type_vvvvvzz)
{ {
// set the function logic // set the function logic
if (type_vvvvvzz == 2) if (type_vvvvvzz == 1)
{ {
return true; return true;
} }
@ -280,32 +225,87 @@ function type_vvvvvzz_SomeFunc(type_vvvvvzz)
} }
// the vvvvwaa function // the vvvvwaa function
function vvvvwaa(target_vvvvwaa) function vvvvwaa(type_vvvvwaa)
{ {
// set the function logic if (isSet(type_vvvvwaa) && type_vvvvwaa.constructor !== Array)
if (target_vvvvwaa == 1)
{ {
jQuery('#jform_groups').closest('.control-group').show(); var temp_vvvvwaa = type_vvvvwaa;
var type_vvvvwaa = [];
type_vvvvwaa.push(temp_vvvvwaa);
}
else if (!isSet(type_vvvvwaa))
{
var type_vvvvwaa = [];
}
var type = type_vvvvwaa.some(type_vvvvwaa_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
if (jform_vvvvwaavzr_required) if (jform_vvvvwaavzr_required)
{ {
updateFieldRequired('groups',0); updateFieldRequired('content',0);
jQuery('#jform_groups').prop('required','required'); jQuery('#jform_content').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_groups').addClass('required'); jQuery('#jform_content').addClass('required');
jform_vvvvwaavzr_required = false; jform_vvvvwaavzr_required = false;
} }
} }
else else
{ {
jQuery('#jform_groups').closest('.control-group').hide(); jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_vvvvwaavzr_required) if (!jform_vvvvwaavzr_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
jform_vvvvwaavzr_required = true;
}
}
}
// the vvvvwaa Some function
function type_vvvvwaa_SomeFunc(type_vvvvwaa)
{
// set the function logic
if (type_vvvvwaa == 2)
{
return true;
}
return false;
}
// the vvvvwab function
function vvvvwab(target_vvvvwab)
{
// set the function logic
if (target_vvvvwab == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
if (jform_vvvvwabvzs_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
jform_vvvvwabvzs_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_vvvvwabvzs_required)
{ {
updateFieldRequired('groups',1); 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_vvvvwaavzr_required = true; jform_vvvvwabvzs_required = true;
} }
} }
} }

View File

@ -23,42 +23,42 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvyovyk_required = false; jform_vvvvvypvyl_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyp = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyo(add_php_view_vvvvvyo); vvvvvyp(add_php_view_vvvvvyp);
}); });
// the vvvvvyo function // the vvvvvyp function
function vvvvvyo(add_php_view_vvvvvyo) function vvvvvyp(add_php_view_vvvvvyp)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvyo == 1) if (add_php_view_vvvvvyp == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvyovyk_required) if (jform_vvvvvypvyl_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_vvvvvyovyk_required = false; jform_vvvvvypvyl_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvyovyk_required) if (!jform_vvvvvypvyl_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_vvvvvyovyk_required = true; jform_vvvvvypvyl_required = true;
} }
} }
} }

View File

@ -23,7 +23,6 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvyevxz_required = false;
jform_vvvvvyfvya_required = false; jform_vvvvvyfvya_required = false;
jform_vvvvvygvyb_required = false; jform_vvvvvygvyb_required = false;
jform_vvvvvyhvyc_required = false; jform_vvvvvyhvyc_required = false;
@ -32,271 +31,272 @@ jform_vvvvvyjvye_required = false;
jform_vvvvvykvyf_required = false; jform_vvvvvykvyf_required = false;
jform_vvvvvylvyg_required = false; jform_vvvvvylvyg_required = false;
jform_vvvvvymvyh_required = false; jform_vvvvvymvyh_required = false;
jform_vvvvvymvyi_required = false; jform_vvvvvynvyi_required = false;
jform_vvvvvynvyj_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvye = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyf = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvye(add_php_view_vvvvvye); vvvvvyf(add_php_view_vvvvvyf);
var add_php_jview_display_vvvvvyf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyg = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyf(add_php_jview_display_vvvvvyf); vvvvvyg(add_php_jview_display_vvvvvyg);
var add_php_jview_vvvvvyg = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyh = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyg(add_php_jview_vvvvvyg); vvvvvyh(add_php_jview_vvvvvyh);
var add_php_document_vvvvvyh = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyi = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyh(add_php_document_vvvvvyh); vvvvvyi(add_php_document_vvvvvyi);
var add_css_document_vvvvvyi = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvyj = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyi(add_css_document_vvvvvyi); vvvvvyj(add_css_document_vvvvvyj);
var add_js_document_vvvvvyj = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyk = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyj(add_js_document_vvvvvyj); vvvvvyk(add_js_document_vvvvvyk);
var add_css_vvvvvyk = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyl = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyk(add_css_vvvvvyk); vvvvvyl(add_css_vvvvvyl);
var add_php_ajax_vvvvvyl = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvym = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyl(add_php_ajax_vvvvvyl); vvvvvym(add_php_ajax_vvvvvym);
var add_custom_button_vvvvvym = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvym(add_custom_button_vvvvvym); vvvvvyn(add_custom_button_vvvvvyn);
}); });
// the vvvvvye function // the vvvvvyf function
function vvvvvye(add_php_view_vvvvvye) function vvvvvyf(add_php_view_vvvvvyf)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvye == 1) if (add_php_view_vvvvvyf == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvyevxz_required) if (jform_vvvvvyfvya_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_vvvvvyevxz_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvyevxz_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvyevxz_required = true;
}
}
}
// the vvvvvyf function
function vvvvvyf(add_php_jview_display_vvvvvyf)
{
// set the function logic
if (add_php_jview_display_vvvvvyf == 1)
{
jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvyfvya_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvyfvya_required = false; jform_vvvvvyfvya_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview_display').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvyfvya_required) if (!jform_vvvvvyfvya_required)
{ {
updateFieldRequired('php_jview_display',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_jview_display').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvyfvya_required = true; jform_vvvvvyfvya_required = true;
} }
} }
} }
// the vvvvvyg function // the vvvvvyg function
function vvvvvyg(add_php_jview_vvvvvyg) function vvvvvyg(add_php_jview_display_vvvvvyg)
{ {
// set the function logic // set the function logic
if (add_php_jview_vvvvvyg == 1) if (add_php_jview_display_vvvvvyg == 1)
{ {
jQuery('#jform_php_jview').closest('.control-group').show(); jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvygvyb_required) if (jform_vvvvvygvyb_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_vvvvvygvyb_required = false; jform_vvvvvygvyb_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview').closest('.control-group').hide(); jQuery('#jform_php_jview_display').closest('.control-group').hide();
if (!jform_vvvvvygvyb_required) if (!jform_vvvvvygvyb_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_vvvvvygvyb_required = true; jform_vvvvvygvyb_required = true;
} }
} }
} }
// the vvvvvyh function // the vvvvvyh function
function vvvvvyh(add_php_document_vvvvvyh) function vvvvvyh(add_php_jview_vvvvvyh)
{ {
// set the function logic // set the function logic
if (add_php_document_vvvvvyh == 1) if (add_php_jview_vvvvvyh == 1)
{ {
jQuery('#jform_php_document').closest('.control-group').show(); jQuery('#jform_php_jview').closest('.control-group').show();
if (jform_vvvvvyhvyc_required) if (jform_vvvvvyhvyc_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_vvvvvyhvyc_required = false; jform_vvvvvyhvyc_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_document').closest('.control-group').hide(); jQuery('#jform_php_jview').closest('.control-group').hide();
if (!jform_vvvvvyhvyc_required) if (!jform_vvvvvyhvyc_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_vvvvvyhvyc_required = true; jform_vvvvvyhvyc_required = true;
} }
} }
} }
// the vvvvvyi function // the vvvvvyi function
function vvvvvyi(add_css_document_vvvvvyi) function vvvvvyi(add_php_document_vvvvvyi)
{ {
// set the function logic // set the function logic
if (add_css_document_vvvvvyi == 1) if (add_php_document_vvvvvyi == 1)
{ {
jQuery('#jform_css_document').closest('.control-group').show(); jQuery('#jform_php_document').closest('.control-group').show();
if (jform_vvvvvyivyd_required) if (jform_vvvvvyivyd_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_vvvvvyivyd_required = false; jform_vvvvvyivyd_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_document').closest('.control-group').hide(); jQuery('#jform_php_document').closest('.control-group').hide();
if (!jform_vvvvvyivyd_required) if (!jform_vvvvvyivyd_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_vvvvvyivyd_required = true; jform_vvvvvyivyd_required = true;
} }
} }
} }
// the vvvvvyj function // the vvvvvyj function
function vvvvvyj(add_js_document_vvvvvyj) function vvvvvyj(add_css_document_vvvvvyj)
{ {
// set the function logic // set the function logic
if (add_js_document_vvvvvyj == 1) if (add_css_document_vvvvvyj == 1)
{ {
jQuery('#jform_js_document').closest('.control-group').show(); jQuery('#jform_css_document').closest('.control-group').show();
if (jform_vvvvvyjvye_required) if (jform_vvvvvyjvye_required)
{ {
updateFieldRequired('js_document',0); updateFieldRequired('css_document',0);
jQuery('#jform_js_document').prop('required','required'); jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true); jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required'); jQuery('#jform_css_document').addClass('required');
jform_vvvvvyjvye_required = false; jform_vvvvvyjvye_required = false;
} }
} }
else else
{ {
jQuery('#jform_js_document').closest('.control-group').hide(); jQuery('#jform_css_document').closest('.control-group').hide();
if (!jform_vvvvvyjvye_required) if (!jform_vvvvvyjvye_required)
{ {
updateFieldRequired('js_document',1); updateFieldRequired('css_document',1);
jQuery('#jform_js_document').removeAttr('required'); jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required'); jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required'); jQuery('#jform_css_document').removeClass('required');
jform_vvvvvyjvye_required = true; jform_vvvvvyjvye_required = true;
} }
} }
} }
// the vvvvvyk function // the vvvvvyk function
function vvvvvyk(add_css_vvvvvyk) function vvvvvyk(add_js_document_vvvvvyk)
{ {
// set the function logic // set the function logic
if (add_css_vvvvvyk == 1) if (add_js_document_vvvvvyk == 1)
{ {
jQuery('#jform_css').closest('.control-group').show(); jQuery('#jform_js_document').closest('.control-group').show();
if (jform_vvvvvykvyf_required) if (jform_vvvvvykvyf_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_vvvvvykvyf_required = false; jform_vvvvvykvyf_required = false;
} }
} }
else else
{ {
jQuery('#jform_css').closest('.control-group').hide(); jQuery('#jform_js_document').closest('.control-group').hide();
if (!jform_vvvvvykvyf_required) if (!jform_vvvvvykvyf_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_vvvvvykvyf_required = true; jform_vvvvvykvyf_required = true;
} }
} }
} }
// the vvvvvyl function // the vvvvvyl function
function vvvvvyl(add_php_ajax_vvvvvyl) function vvvvvyl(add_css_vvvvvyl)
{ {
// set the function logic // set the function logic
if (add_php_ajax_vvvvvyl == 1) if (add_css_vvvvvyl == 1)
{
jQuery('#jform_css').closest('.control-group').show();
if (jform_vvvvvylvyg_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvylvyg_required = false;
}
}
else
{
jQuery('#jform_css').closest('.control-group').hide();
if (!jform_vvvvvylvyg_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvylvyg_required = true;
}
}
}
// the vvvvvym function
function vvvvvym(add_php_ajax_vvvvvym)
{
// set the function logic
if (add_php_ajax_vvvvvym == 1)
{ {
jQuery('#jform_ajax_input').closest('.control-group').show(); jQuery('#jform_ajax_input').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
if (jform_vvvvvylvyg_required) if (jform_vvvvvymvyh_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_vvvvvylvyg_required = false; jform_vvvvvymvyh_required = false;
} }
} }
@ -304,42 +304,42 @@ function vvvvvyl(add_php_ajax_vvvvvyl)
{ {
jQuery('#jform_ajax_input').closest('.control-group').hide(); jQuery('#jform_ajax_input').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
if (!jform_vvvvvylvyg_required) if (!jform_vvvvvymvyh_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_vvvvvylvyg_required = true; jform_vvvvvymvyh_required = true;
} }
} }
} }
// the vvvvvym function // the vvvvvyn function
function vvvvvym(add_custom_button_vvvvvym) function vvvvvyn(add_custom_button_vvvvvyn)
{ {
// set the function logic // set the function logic
if (add_custom_button_vvvvvym == 1) if (add_custom_button_vvvvvyn == 1)
{ {
jQuery('#jform_custom_button').closest('.control-group').show(); jQuery('#jform_custom_button').closest('.control-group').show();
jQuery('#jform_php_controller').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show();
if (jform_vvvvvymvyh_required) if (jform_vvvvvynvyi_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_vvvvvymvyh_required = false; jform_vvvvvynvyi_required = false;
} }
jQuery('#jform_php_model').closest('.control-group').show(); jQuery('#jform_php_model').closest('.control-group').show();
if (jform_vvvvvymvyi_required) if (jform_vvvvvynvyj_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_vvvvvymvyi_required = false; jform_vvvvvynvyj_required = false;
} }
} }
@ -347,22 +347,22 @@ function vvvvvym(add_custom_button_vvvvvym)
{ {
jQuery('#jform_custom_button').closest('.control-group').hide(); jQuery('#jform_custom_button').closest('.control-group').hide();
jQuery('#jform_php_controller').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide();
if (!jform_vvvvvymvyh_required) if (!jform_vvvvvynvyi_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_vvvvvymvyh_required = true; jform_vvvvvynvyi_required = true;
} }
jQuery('#jform_php_model').closest('.control-group').hide(); jQuery('#jform_php_model').closest('.control-group').hide();
if (!jform_vvvvvymvyi_required) if (!jform_vvvvvynvyj_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_vvvvvymvyi_required = true; jform_vvvvvynvyj_required = true;
} }
} }
} }

View File

@ -23,42 +23,42 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvynvyj_required = false; jform_vvvvvyovyk_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvyn = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyn(add_php_view_vvvvvyn); vvvvvyo(add_php_view_vvvvvyo);
}); });
// the vvvvvyn function // the vvvvvyo function
function vvvvvyn(add_php_view_vvvvvyn) function vvvvvyo(add_php_view_vvvvvyo)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvyn == 1) if (add_php_view_vvvvvyo == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvynvyj_required) if (jform_vvvvvyovyk_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_vvvvvynvyj_required = false; jform_vvvvvyovyk_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvynvyj_required) if (!jform_vvvvvyovyk_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_vvvvvynvyj_required = true; jform_vvvvvyovyk_required = true;
} }
} }
} }

View File

@ -122,7 +122,8 @@ class ComponentbuilderModelHelp_document extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
public function getForm($data = array(), $loadData = true) public function getForm($data = array(), $loadData = true)
{ // Get the form. {
// Get the form.
$form = $this->loadForm('com_componentbuilder.help_document', 'help_document', array('control' => 'jform', 'load_data' => $loadData)); $form = $this->loadForm('com_componentbuilder.help_document', 'help_document', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) if (empty($form))

View File

@ -128,7 +128,8 @@ class ComponentbuilderModelLayout extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
public function getForm($data = array(), $loadData = true) public function getForm($data = array(), $loadData = true)
{ // Get the form. {
// Get the form.
$form = $this->loadForm('com_componentbuilder.layout', 'layout', array('control' => 'jform', 'load_data' => $loadData)); $form = $this->loadForm('com_componentbuilder.layout', 'layout', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) if (empty($form))

View File

@ -190,7 +190,8 @@ class ComponentbuilderModelSite_view extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
public function getForm($data = array(), $loadData = true) public function getForm($data = array(), $loadData = true)
{ // Get the form. {
// Get the form.
$form = $this->loadForm('com_componentbuilder.site_view', 'site_view', array('control' => 'jform', 'load_data' => $loadData)); $form = $this->loadForm('com_componentbuilder.site_view', 'site_view', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) if (empty($form))

View File

@ -122,7 +122,8 @@ class ComponentbuilderModelSnippet extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
public function getForm($data = array(), $loadData = true) public function getForm($data = array(), $loadData = true)
{ // Get the form. {
// Get the form.
$form = $this->loadForm('com_componentbuilder.snippet', 'snippet', array('control' => 'jform', 'load_data' => $loadData)); $form = $this->loadForm('com_componentbuilder.snippet', 'snippet', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) if (empty($form))

View File

@ -128,7 +128,8 @@ class ComponentbuilderModelTemplate extends JModelAdmin
* @since 1.6 * @since 1.6
*/ */
public function getForm($data = array(), $loadData = true) public function getForm($data = array(), $loadData = true)
{ // Get the form. {
// Get the form.
$form = $this->loadForm('com_componentbuilder.template', 'template', array('control' => 'jform', 'load_data' => $loadData)); $form = $this->loadForm('com_componentbuilder.template', 'template', array('control' => 'jform', 'load_data' => $loadData));
if (empty($form)) if (empty($form))

View File

@ -198,416 +198,401 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_css_view listeners for add_css_view_vvvvvwt function // #jform_add_css_view listeners for add_css_view_vvvvvwu function
jQuery('#jform_add_css_view').on('keyup',function() jQuery('#jform_add_css_view').on('keyup',function()
{ {
var add_css_view_vvvvvwt = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvwu = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvwt(add_css_view_vvvvvwt); vvvvvwu(add_css_view_vvvvvwu);
}); });
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_vvvvvwt = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvwu = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvwt(add_css_view_vvvvvwt); vvvvvwu(add_css_view_vvvvvwu);
}); });
// #jform_add_css_views listeners for add_css_views_vvvvvwu function // #jform_add_css_views listeners for add_css_views_vvvvvwv function
jQuery('#jform_add_css_views').on('keyup',function() jQuery('#jform_add_css_views').on('keyup',function()
{ {
var add_css_views_vvvvvwu = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvwv = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvwu(add_css_views_vvvvvwu); vvvvvwv(add_css_views_vvvvvwv);
}); });
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_vvvvvwu = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvwv = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvwu(add_css_views_vvvvvwu); vvvvvwv(add_css_views_vvvvvwv);
}); });
// #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvwv function // #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvww function
jQuery('#jform_add_javascript_view_file').on('keyup',function() jQuery('#jform_add_javascript_view_file').on('keyup',function()
{ {
var add_javascript_view_file_vvvvvwv = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); var add_javascript_view_file_vvvvvww = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
vvvvvwv(add_javascript_view_file_vvvvvwv); vvvvvww(add_javascript_view_file_vvvvvww);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_view_file_vvvvvwv = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); var add_javascript_view_file_vvvvvww = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
vvvvvwv(add_javascript_view_file_vvvvvwv); vvvvvww(add_javascript_view_file_vvvvvww);
}); });
// #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvww function // #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvwx function
jQuery('#jform_add_javascript_views_file').on('keyup',function() jQuery('#jform_add_javascript_views_file').on('keyup',function()
{ {
var add_javascript_views_file_vvvvvww = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); var add_javascript_views_file_vvvvvwx = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
vvvvvww(add_javascript_views_file_vvvvvww); vvvvvwx(add_javascript_views_file_vvvvvwx);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_views_file_vvvvvww = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); var add_javascript_views_file_vvvvvwx = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
vvvvvww(add_javascript_views_file_vvvvvww); vvvvvwx(add_javascript_views_file_vvvvvwx);
}); });
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvwx function // #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvwy function
jQuery('#jform_add_javascript_view_footer').on('keyup',function() jQuery('#jform_add_javascript_view_footer').on('keyup',function()
{ {
var add_javascript_view_footer_vvvvvwx = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvwy = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvwx(add_javascript_view_footer_vvvvvwx); vvvvvwy(add_javascript_view_footer_vvvvvwy);
}); });
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_vvvvvwx = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvwy = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvwx(add_javascript_view_footer_vvvvvwx); vvvvvwy(add_javascript_view_footer_vvvvvwy);
}); });
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvwy function // #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvwz function
jQuery('#jform_add_javascript_views_footer').on('keyup',function() jQuery('#jform_add_javascript_views_footer').on('keyup',function()
{ {
var add_javascript_views_footer_vvvvvwy = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvwz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvwy(add_javascript_views_footer_vvvvvwy); vvvvvwz(add_javascript_views_footer_vvvvvwz);
}); });
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_vvvvvwy = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvwz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvwy(add_javascript_views_footer_vvvvvwy); vvvvvwz(add_javascript_views_footer_vvvvvwz);
}); });
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvwz function // #jform_add_php_ajax listeners for add_php_ajax_vvvvvxa function
jQuery('#jform_add_php_ajax').on('keyup',function() jQuery('#jform_add_php_ajax').on('keyup',function()
{ {
var add_php_ajax_vvvvvwz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvxa = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvwz(add_php_ajax_vvvvvwz); vvvvvxa(add_php_ajax_vvvvvxa);
}); });
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_vvvvvwz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvxa = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvwz(add_php_ajax_vvvvvwz); vvvvvxa(add_php_ajax_vvvvvxa);
}); });
// #jform_add_php_getitem listeners for add_php_getitem_vvvvvxa function // #jform_add_php_getitem listeners for add_php_getitem_vvvvvxb function
jQuery('#jform_add_php_getitem').on('keyup',function() jQuery('#jform_add_php_getitem').on('keyup',function()
{ {
var add_php_getitem_vvvvvxa = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); var add_php_getitem_vvvvvxb = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
vvvvvxa(add_php_getitem_vvvvvxa); vvvvvxb(add_php_getitem_vvvvvxb);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e) jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getitem_vvvvvxa = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); var add_php_getitem_vvvvvxb = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
vvvvvxa(add_php_getitem_vvvvvxa); vvvvvxb(add_php_getitem_vvvvvxb);
}); });
// #jform_add_php_getitems listeners for add_php_getitems_vvvvvxb function // #jform_add_php_getitems listeners for add_php_getitems_vvvvvxc function
jQuery('#jform_add_php_getitems').on('keyup',function() jQuery('#jform_add_php_getitems').on('keyup',function()
{ {
var add_php_getitems_vvvvvxb = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); var add_php_getitems_vvvvvxc = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvxb(add_php_getitems_vvvvvxb); vvvvvxc(add_php_getitems_vvvvvxc);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e) jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getitems_vvvvvxb = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); var add_php_getitems_vvvvvxc = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvxb(add_php_getitems_vvvvvxb); vvvvvxc(add_php_getitems_vvvvvxc);
}); });
// #jform_add_php_getitems_after_all listeners for add_php_getitems_after_all_vvvvvxc function // #jform_add_php_getitems_after_all listeners for add_php_getitems_after_all_vvvvvxd function
jQuery('#jform_add_php_getitems_after_all').on('keyup',function() jQuery('#jform_add_php_getitems_after_all').on('keyup',function()
{ {
var add_php_getitems_after_all_vvvvvxc = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val(); var add_php_getitems_after_all_vvvvvxd = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
vvvvvxc(add_php_getitems_after_all_vvvvvxc); vvvvvxd(add_php_getitems_after_all_vvvvvxd);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_getitems_after_all',function (e) jQuery('#adminForm').on('change', '#jform_add_php_getitems_after_all',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getitems_after_all_vvvvvxc = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val(); var add_php_getitems_after_all_vvvvvxd = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
vvvvvxc(add_php_getitems_after_all_vvvvvxc); vvvvvxd(add_php_getitems_after_all_vvvvvxd);
}); });
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvxd function // #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvxe function
jQuery('#jform_add_php_getlistquery').on('keyup',function() jQuery('#jform_add_php_getlistquery').on('keyup',function()
{ {
var add_php_getlistquery_vvvvvxd = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvxe = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvxd(add_php_getlistquery_vvvvvxd); vvvvvxe(add_php_getlistquery_vvvvvxe);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e) jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getlistquery_vvvvvxd = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvxe = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvxd(add_php_getlistquery_vvvvvxd); vvvvvxe(add_php_getlistquery_vvvvvxe);
}); });
// #jform_add_php_save listeners for add_php_save_vvvvvxe function // #jform_add_php_save listeners for add_php_save_vvvvvxf function
jQuery('#jform_add_php_save').on('keyup',function() jQuery('#jform_add_php_save').on('keyup',function()
{ {
var add_php_save_vvvvvxe = jQuery("#jform_add_php_save input[type='radio']:checked").val(); var add_php_save_vvvvvxf = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvxe(add_php_save_vvvvvxe); vvvvvxf(add_php_save_vvvvvxf);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_save',function (e) jQuery('#adminForm').on('change', '#jform_add_php_save',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_save_vvvvvxe = jQuery("#jform_add_php_save input[type='radio']:checked").val(); var add_php_save_vvvvvxf = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvxe(add_php_save_vvvvvxe); vvvvvxf(add_php_save_vvvvvxf);
}); });
// #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvxf function // #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvxg function
jQuery('#jform_add_php_postsavehook').on('keyup',function() jQuery('#jform_add_php_postsavehook').on('keyup',function()
{ {
var add_php_postsavehook_vvvvvxf = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); var add_php_postsavehook_vvvvvxg = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvxf(add_php_postsavehook_vvvvvxf); vvvvvxg(add_php_postsavehook_vvvvvxg);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e) jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_postsavehook_vvvvvxf = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); var add_php_postsavehook_vvvvvxg = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvxf(add_php_postsavehook_vvvvvxf); vvvvvxg(add_php_postsavehook_vvvvvxg);
}); });
// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxg function // #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxh function
jQuery('#jform_add_php_allowedit').on('keyup',function() jQuery('#jform_add_php_allowedit').on('keyup',function()
{ {
var add_php_allowedit_vvvvvxg = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); var add_php_allowedit_vvvvvxh = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxg(add_php_allowedit_vvvvvxg); vvvvvxh(add_php_allowedit_vvvvvxh);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e) jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_allowedit_vvvvvxg = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); var add_php_allowedit_vvvvvxh = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxg(add_php_allowedit_vvvvvxg); vvvvvxh(add_php_allowedit_vvvvvxh);
}); });
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxh function // #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxi function
jQuery('#jform_add_php_batchcopy').on('keyup',function() jQuery('#jform_add_php_batchcopy').on('keyup',function()
{ {
var add_php_batchcopy_vvvvvxh = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); var add_php_batchcopy_vvvvvxi = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxh(add_php_batchcopy_vvvvvxh); vvvvvxi(add_php_batchcopy_vvvvvxi);
}); });
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_vvvvvxh = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); var add_php_batchcopy_vvvvvxi = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxh(add_php_batchcopy_vvvvvxh); vvvvvxi(add_php_batchcopy_vvvvvxi);
}); });
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxi function // #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxj function
jQuery('#jform_add_php_batchmove').on('keyup',function() jQuery('#jform_add_php_batchmove').on('keyup',function()
{ {
var add_php_batchmove_vvvvvxi = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); var add_php_batchmove_vvvvvxj = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxi(add_php_batchmove_vvvvvxi); vvvvvxj(add_php_batchmove_vvvvvxj);
}); });
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_vvvvvxi = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); var add_php_batchmove_vvvvvxj = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxi(add_php_batchmove_vvvvvxi); vvvvvxj(add_php_batchmove_vvvvvxj);
}); });
// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxj function // #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxk function
jQuery('#jform_add_php_before_publish').on('keyup',function() jQuery('#jform_add_php_before_publish').on('keyup',function()
{ {
var add_php_before_publish_vvvvvxj = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); var add_php_before_publish_vvvvvxk = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxj(add_php_before_publish_vvvvvxj); vvvvvxk(add_php_before_publish_vvvvvxk);
}); });
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_vvvvvxj = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); var add_php_before_publish_vvvvvxk = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxj(add_php_before_publish_vvvvvxj); vvvvvxk(add_php_before_publish_vvvvvxk);
}); });
// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxk function // #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxl function
jQuery('#jform_add_php_after_publish').on('keyup',function() jQuery('#jform_add_php_after_publish').on('keyup',function()
{ {
var add_php_after_publish_vvvvvxk = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); var add_php_after_publish_vvvvvxl = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxk(add_php_after_publish_vvvvvxk); vvvvvxl(add_php_after_publish_vvvvvxl);
}); });
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_vvvvvxk = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); var add_php_after_publish_vvvvvxl = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxk(add_php_after_publish_vvvvvxk); vvvvvxl(add_php_after_publish_vvvvvxl);
}); });
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxl function // #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxm function
jQuery('#jform_add_php_before_delete').on('keyup',function() jQuery('#jform_add_php_before_delete').on('keyup',function()
{ {
var add_php_before_delete_vvvvvxl = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); var add_php_before_delete_vvvvvxm = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxl(add_php_before_delete_vvvvvxl); vvvvvxm(add_php_before_delete_vvvvvxm);
}); });
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_vvvvvxl = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); var add_php_before_delete_vvvvvxm = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxl(add_php_before_delete_vvvvvxl); vvvvvxm(add_php_before_delete_vvvvvxm);
}); });
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxm function // #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxn function
jQuery('#jform_add_php_after_delete').on('keyup',function() jQuery('#jform_add_php_after_delete').on('keyup',function()
{ {
var add_php_after_delete_vvvvvxm = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); var add_php_after_delete_vvvvvxn = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxm(add_php_after_delete_vvvvvxm); vvvvvxn(add_php_after_delete_vvvvvxn);
}); });
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_vvvvvxm = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); var add_php_after_delete_vvvvvxn = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxm(add_php_after_delete_vvvvvxm); vvvvvxn(add_php_after_delete_vvvvvxn);
}); });
// #jform_add_php_document listeners for add_php_document_vvvvvxn function // #jform_add_php_document listeners for add_php_document_vvvvvxo function
jQuery('#jform_add_php_document').on('keyup',function() jQuery('#jform_add_php_document').on('keyup',function()
{ {
var add_php_document_vvvvvxn = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvxo = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxn(add_php_document_vvvvvxn); vvvvvxo(add_php_document_vvvvvxo);
}); });
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_vvvvvxn = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvxo = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxn(add_php_document_vvvvvxn); vvvvvxo(add_php_document_vvvvvxo);
});
// #jform_add_sql listeners for add_sql_vvvvvxo function
jQuery('#jform_add_sql').on('keyup',function()
{
var add_sql_vvvvvxo = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxo(add_sql_vvvvvxo);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var add_sql_vvvvvxo = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxo(add_sql_vvvvvxo);
});
// #jform_source listeners for source_vvvvvxp function
jQuery('#jform_source').on('keyup',function()
{
var source_vvvvvxp = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxp = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxp(source_vvvvvxp,add_sql_vvvvvxp);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
var source_vvvvvxp = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxp = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxp(source_vvvvvxp,add_sql_vvvvvxp);
}); });
// #jform_add_sql listeners for add_sql_vvvvvxp function // #jform_add_sql listeners for add_sql_vvvvvxp function
jQuery('#jform_add_sql').on('keyup',function() jQuery('#jform_add_sql').on('keyup',function()
{ {
var source_vvvvvxp = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxp = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvxp = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxp(source_vvvvvxp,add_sql_vvvvvxp); vvvvvxp(add_sql_vvvvvxp);
}); });
jQuery('#adminForm').on('change', '#jform_add_sql',function (e) jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_vvvvvxp = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxp = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvxp = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxp(source_vvvvvxp,add_sql_vvvvvxp); vvvvvxp(add_sql_vvvvvxp);
}); });
// #jform_source listeners for source_vvvvvxr function // #jform_source listeners for source_vvvvvxq function
jQuery('#jform_source').on('keyup',function() jQuery('#jform_source').on('keyup',function()
{ {
var source_vvvvvxr = jQuery("#jform_source input[type='radio']:checked").val(); var source_vvvvvxq = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxr = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvxq = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxr(source_vvvvvxr,add_sql_vvvvvxr); vvvvvxq(source_vvvvvxq,add_sql_vvvvvxq);
}); });
jQuery('#adminForm').on('change', '#jform_source',function (e) jQuery('#adminForm').on('change', '#jform_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_vvvvvxr = jQuery("#jform_source input[type='radio']:checked").val(); var source_vvvvvxq = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxr = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvxq = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxr(source_vvvvvxr,add_sql_vvvvvxr); vvvvvxq(source_vvvvvxq,add_sql_vvvvvxq);
}); });
// #jform_add_sql listeners for add_sql_vvvvvxr function // #jform_add_sql listeners for add_sql_vvvvvxq function
jQuery('#jform_add_sql').on('keyup',function() jQuery('#jform_add_sql').on('keyup',function()
{ {
var source_vvvvvxr = jQuery("#jform_source input[type='radio']:checked").val(); var source_vvvvvxq = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxr = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvxq = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxr(source_vvvvvxr,add_sql_vvvvvxr); vvvvvxq(source_vvvvvxq,add_sql_vvvvvxq);
}); });
jQuery('#adminForm').on('change', '#jform_add_sql',function (e) jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_vvvvvxr = jQuery("#jform_source input[type='radio']:checked").val(); var source_vvvvvxq = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxr = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvxq = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxr(source_vvvvvxr,add_sql_vvvvvxr); vvvvvxq(source_vvvvvxq,add_sql_vvvvvxq);
}); });
// #jform_add_custom_import listeners for add_custom_import_vvvvvxt function // #jform_source listeners for source_vvvvvxs function
jQuery('#jform_add_custom_import').on('keyup',function() jQuery('#jform_source').on('keyup',function()
{ {
var add_custom_import_vvvvvxt = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var source_vvvvvxs = jQuery("#jform_source input[type='radio']:checked").val();
vvvvvxt(add_custom_import_vvvvvxt); var add_sql_vvvvvxs = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxs(source_vvvvvxs,add_sql_vvvvvxs);
}); });
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_vvvvvxt = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var source_vvvvvxs = jQuery("#jform_source input[type='radio']:checked").val();
vvvvvxt(add_custom_import_vvvvvxt); var add_sql_vvvvvxs = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxs(source_vvvvvxs,add_sql_vvvvvxs);
});
// #jform_add_sql listeners for add_sql_vvvvvxs function
jQuery('#jform_add_sql').on('keyup',function()
{
var source_vvvvvxs = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxs = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxs(source_vvvvvxs,add_sql_vvvvvxs);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var source_vvvvvxs = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxs = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxs(source_vvvvvxs,add_sql_vvvvvxs);
}); });
@ -626,18 +611,33 @@ jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
}); });
// #jform_add_custom_button listeners for add_custom_button_vvvvvxv function // #jform_add_custom_import listeners for add_custom_import_vvvvvxv function
jQuery('#jform_add_custom_import').on('keyup',function()
{
var add_custom_import_vvvvvxv = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvxv(add_custom_import_vvvvvxv);
});
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
{
e.preventDefault();
var add_custom_import_vvvvvxv = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvxv(add_custom_import_vvvvvxv);
});
// #jform_add_custom_button listeners for add_custom_button_vvvvvxw function
jQuery('#jform_add_custom_button').on('keyup',function() jQuery('#jform_add_custom_button').on('keyup',function()
{ {
var add_custom_button_vvvvvxv = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvxw = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxv(add_custom_button_vvvvvxv); vvvvvxw(add_custom_button_vvvvvxw);
}); });
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_vvvvvxv = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvxw = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxv(add_custom_button_vvvvvxv); vvvvvxw(add_custom_button_vvvvvxw);
}); });

View File

@ -71,7 +71,7 @@ class ComponentbuilderViewAdmin_view extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->vxpfields = $this->get('Vxpfields'); $this->vxqfields = $this->get('Vxqfields');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -593,6 +593,21 @@ jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
}); });
// #jform_add_update_server listeners for add_update_server_vvvvvwt function
jQuery('#jform_add_update_server').on('keyup',function()
{
var add_update_server_vvvvvwt = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwt(add_update_server_vvvvvwt);
});
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
{
e.preventDefault();
var add_update_server_vvvvvwt = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwt(add_update_server_vvvvvwt);
});
<?php $fieldNrs = range(1,50,1); ?> <?php $fieldNrs = range(1,50,1); ?>

View File

@ -71,10 +71,10 @@ class ComponentbuilderViewComponent extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->vwjadmin_views = $this->get('Vwjadmin_views'); $this->vwkadmin_views = $this->get('Vwkadmin_views');
// Get Linked view data // Get Linked view data
$this->vwksite_views = $this->get('Vwksite_views'); $this->vwlsite_views = $this->get('Vwlsite_views');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -150,123 +150,123 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvxw function // #jform_add_php_view listeners for add_php_view_vvvvvxx function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvxw = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxx = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxw(add_php_view_vvvvvxw); vvvvvxx(add_php_view_vvvvvxx);
}); });
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_vvvvvxw = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxx = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxw(add_php_view_vvvvvxw); vvvvvxx(add_php_view_vvvvvxx);
}); });
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvxx function // #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvxy function
jQuery('#jform_add_php_jview_display').on('keyup',function() jQuery('#jform_add_php_jview_display').on('keyup',function()
{ {
var add_php_jview_display_vvvvvxx = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvxy = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxx(add_php_jview_display_vvvvvxx); vvvvvxy(add_php_jview_display_vvvvvxy);
}); });
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_vvvvvxx = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvxy = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxx(add_php_jview_display_vvvvvxx); vvvvvxy(add_php_jview_display_vvvvvxy);
}); });
// #jform_add_php_jview listeners for add_php_jview_vvvvvxy function // #jform_add_php_jview listeners for add_php_jview_vvvvvxz function
jQuery('#jform_add_php_jview').on('keyup',function() jQuery('#jform_add_php_jview').on('keyup',function()
{ {
var add_php_jview_vvvvvxy = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvxz = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxy(add_php_jview_vvvvvxy); vvvvvxz(add_php_jview_vvvvvxz);
}); });
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_vvvvvxy = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvxz = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxy(add_php_jview_vvvvvxy); vvvvvxz(add_php_jview_vvvvvxz);
}); });
// #jform_add_php_document listeners for add_php_document_vvvvvxz function // #jform_add_php_document listeners for add_php_document_vvvvvya function
jQuery('#jform_add_php_document').on('keyup',function() jQuery('#jform_add_php_document').on('keyup',function()
{ {
var add_php_document_vvvvvxz = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvya = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxz(add_php_document_vvvvvxz); vvvvvya(add_php_document_vvvvvya);
}); });
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_vvvvvxz = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvya = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxz(add_php_document_vvvvvxz); vvvvvya(add_php_document_vvvvvya);
}); });
// #jform_add_css_document listeners for add_css_document_vvvvvya function // #jform_add_css_document listeners for add_css_document_vvvvvyb function
jQuery('#jform_add_css_document').on('keyup',function() jQuery('#jform_add_css_document').on('keyup',function()
{ {
var add_css_document_vvvvvya = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvyb = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvya(add_css_document_vvvvvya); vvvvvyb(add_css_document_vvvvvyb);
}); });
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_vvvvvya = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvyb = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvya(add_css_document_vvvvvya); vvvvvyb(add_css_document_vvvvvyb);
}); });
// #jform_add_js_document listeners for add_js_document_vvvvvyb function // #jform_add_js_document listeners for add_js_document_vvvvvyc function
jQuery('#jform_add_js_document').on('keyup',function() jQuery('#jform_add_js_document').on('keyup',function()
{ {
var add_js_document_vvvvvyb = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyc = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyb(add_js_document_vvvvvyb); vvvvvyc(add_js_document_vvvvvyc);
}); });
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_vvvvvyb = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyc = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyb(add_js_document_vvvvvyb); vvvvvyc(add_js_document_vvvvvyc);
}); });
// #jform_add_custom_button listeners for add_custom_button_vvvvvyc function // #jform_add_custom_button listeners for add_custom_button_vvvvvyd function
jQuery('#jform_add_custom_button').on('keyup',function() jQuery('#jform_add_custom_button').on('keyup',function()
{ {
var add_custom_button_vvvvvyc = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyd = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyc(add_custom_button_vvvvvyc); vvvvvyd(add_custom_button_vvvvvyd);
}); });
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_vvvvvyc = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyd = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyc(add_custom_button_vvvvvyc); vvvvvyd(add_custom_button_vvvvvyd);
}); });
// #jform_add_css listeners for add_css_vvvvvyd function // #jform_add_css listeners for add_css_vvvvvye function
jQuery('#jform_add_css').on('keyup',function() jQuery('#jform_add_css').on('keyup',function()
{ {
var add_css_vvvvvyd = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvye = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyd(add_css_vvvvvyd); vvvvvye(add_css_vvvvvye);
}); });
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_vvvvvyd = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvye = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyd(add_css_vvvvvyd); vvvvvye(add_css_vvvvvye);
}); });

View File

@ -148,33 +148,18 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_gettype listeners for gettype_vvvvvyp function // #jform_gettype listeners for gettype_vvvvvyq function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvvyp = jQuery("#jform_gettype").val(); var gettype_vvvvvyq = jQuery("#jform_gettype").val();
vvvvvyp(gettype_vvvvvyp); vvvvvyq(gettype_vvvvvyq);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvvyp = jQuery("#jform_gettype").val(); var gettype_vvvvvyq = jQuery("#jform_gettype").val();
vvvvvyp(gettype_vvvvvyp); vvvvvyq(gettype_vvvvvyq);
});
// #jform_main_source listeners for main_source_vvvvvyq function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvyq = jQuery("#jform_main_source").val();
vvvvvyq(main_source_vvvvvyq);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvyq = jQuery("#jform_main_source").val();
vvvvvyq(main_source_vvvvvyq);
}); });
@ -223,18 +208,18 @@ jQuery('#adminForm').on('change', '#jform_main_source',function (e)
}); });
// #jform_addcalculation listeners for addcalculation_vvvvvyu function // #jform_main_source listeners for main_source_vvvvvyu function
jQuery('#jform_addcalculation').on('keyup',function() jQuery('#jform_main_source').on('keyup',function()
{ {
var addcalculation_vvvvvyu = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var main_source_vvvvvyu = jQuery("#jform_main_source").val();
vvvvvyu(addcalculation_vvvvvyu); vvvvvyu(main_source_vvvvvyu);
}); });
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var addcalculation_vvvvvyu = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var main_source_vvvvvyu = jQuery("#jform_main_source").val();
vvvvvyu(addcalculation_vvvvvyu); vvvvvyu(main_source_vvvvvyu);
}); });
@ -242,33 +227,14 @@ jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
jQuery('#jform_addcalculation').on('keyup',function() jQuery('#jform_addcalculation').on('keyup',function()
{ {
var addcalculation_vvvvvyv = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var addcalculation_vvvvvyv = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyv = jQuery("#jform_gettype").val(); vvvvvyv(addcalculation_vvvvvyv);
vvvvvyv(addcalculation_vvvvvyv,gettype_vvvvvyv);
}); });
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{ {
e.preventDefault(); e.preventDefault();
var addcalculation_vvvvvyv = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var addcalculation_vvvvvyv = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyv = jQuery("#jform_gettype").val(); vvvvvyv(addcalculation_vvvvvyv);
vvvvvyv(addcalculation_vvvvvyv,gettype_vvvvvyv);
});
// #jform_gettype listeners for gettype_vvvvvyv function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvyv = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyv = jQuery("#jform_gettype").val();
vvvvvyv(addcalculation_vvvvvyv,gettype_vvvvvyv);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvyv = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyv = jQuery("#jform_gettype").val();
vvvvvyv(addcalculation_vvvvvyv,gettype_vvvvvyv);
}); });
@ -306,18 +272,37 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
}); });
// #jform_main_source listeners for main_source_vvvvvyz function // #jform_addcalculation listeners for addcalculation_vvvvvyx function
jQuery('#jform_main_source').on('keyup',function() jQuery('#jform_addcalculation').on('keyup',function()
{ {
var main_source_vvvvvyz = jQuery("#jform_main_source").val(); var addcalculation_vvvvvyx = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvyz(main_source_vvvvvyz); var gettype_vvvvvyx = jQuery("#jform_gettype").val();
vvvvvyx(addcalculation_vvvvvyx,gettype_vvvvvyx);
}); });
jQuery('#adminForm').on('change', '#jform_main_source',function (e) jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{ {
e.preventDefault(); e.preventDefault();
var main_source_vvvvvyz = jQuery("#jform_main_source").val(); var addcalculation_vvvvvyx = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvyz(main_source_vvvvvyz); var gettype_vvvvvyx = jQuery("#jform_gettype").val();
vvvvvyx(addcalculation_vvvvvyx,gettype_vvvvvyx);
});
// #jform_gettype listeners for gettype_vvvvvyx function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvyx = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyx = jQuery("#jform_gettype").val();
vvvvvyx(addcalculation_vvvvvyx,gettype_vvvvvyx);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvyx = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyx = jQuery("#jform_gettype").val();
vvvvvyx(addcalculation_vvvvvyx,gettype_vvvvvyx);
}); });
@ -336,203 +321,203 @@ jQuery('#adminForm').on('change', '#jform_main_source',function (e)
}); });
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvzb function // #jform_main_source listeners for main_source_vvvvvzb function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvzb = jQuery("#jform_main_source").val();
vvvvvzb(main_source_vvvvvzb);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvzb = jQuery("#jform_main_source").val();
vvvvvzb(main_source_vvvvvzb);
});
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvzc function
jQuery('#jform_add_php_before_getitem').on('keyup',function() jQuery('#jform_add_php_before_getitem').on('keyup',function()
{ {
var add_php_before_getitem_vvvvvzb = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvzc = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzb = jQuery("#jform_gettype").val(); var gettype_vvvvvzc = jQuery("#jform_gettype").val();
vvvvvzb(add_php_before_getitem_vvvvvzb,gettype_vvvvvzb); vvvvvzc(add_php_before_getitem_vvvvvzc,gettype_vvvvvzc);
}); });
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_vvvvvzb = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvzc = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzb = jQuery("#jform_gettype").val();
vvvvvzb(add_php_before_getitem_vvvvvzb,gettype_vvvvvzb);
});
// #jform_gettype listeners for gettype_vvvvvzb function
jQuery('#jform_gettype').on('keyup',function()
{
var add_php_before_getitem_vvvvvzb = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzb = jQuery("#jform_gettype").val();
vvvvvzb(add_php_before_getitem_vvvvvzb,gettype_vvvvvzb);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var add_php_before_getitem_vvvvvzb = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzb = jQuery("#jform_gettype").val();
vvvvvzb(add_php_before_getitem_vvvvvzb,gettype_vvvvvzb);
});
// #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvzc function
jQuery('#jform_add_php_after_getitem').on('keyup',function()
{
var add_php_after_getitem_vvvvvzc = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzc = jQuery("#jform_gettype").val(); var gettype_vvvvvzc = jQuery("#jform_gettype").val();
vvvvvzc(add_php_after_getitem_vvvvvzc,gettype_vvvvvzc); vvvvvzc(add_php_before_getitem_vvvvvzc,gettype_vvvvvzc);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
{
e.preventDefault();
var add_php_after_getitem_vvvvvzc = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzc = jQuery("#jform_gettype").val();
vvvvvzc(add_php_after_getitem_vvvvvzc,gettype_vvvvvzc);
}); });
// #jform_gettype listeners for gettype_vvvvvzc function // #jform_gettype listeners for gettype_vvvvvzc function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_after_getitem_vvvvvzc = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvzc = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzc = jQuery("#jform_gettype").val(); var gettype_vvvvvzc = jQuery("#jform_gettype").val();
vvvvvzc(add_php_after_getitem_vvvvvzc,gettype_vvvvvzc); vvvvvzc(add_php_before_getitem_vvvvvzc,gettype_vvvvvzc);
}); });
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_vvvvvzc = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvzc = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzc = jQuery("#jform_gettype").val(); var gettype_vvvvvzc = jQuery("#jform_gettype").val();
vvvvvzc(add_php_after_getitem_vvvvvzc,gettype_vvvvvzc); vvvvvzc(add_php_before_getitem_vvvvvzc,gettype_vvvvvzc);
}); });
// #jform_gettype listeners for gettype_vvvvvze function // #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvzd function
jQuery('#jform_add_php_after_getitem').on('keyup',function()
{
var add_php_after_getitem_vvvvvzd = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzd = jQuery("#jform_gettype").val();
vvvvvzd(add_php_after_getitem_vvvvvzd,gettype_vvvvvzd);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
{
e.preventDefault();
var add_php_after_getitem_vvvvvzd = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzd = jQuery("#jform_gettype").val();
vvvvvzd(add_php_after_getitem_vvvvvzd,gettype_vvvvvzd);
});
// #jform_gettype listeners for gettype_vvvvvzd function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvvze = jQuery("#jform_gettype").val(); var add_php_after_getitem_vvvvvzd = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
vvvvvze(gettype_vvvvvze); var gettype_vvvvvzd = jQuery("#jform_gettype").val();
vvvvvzd(add_php_after_getitem_vvvvvzd,gettype_vvvvvzd);
}); });
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 add_php_after_getitem_vvvvvzd = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
vvvvvze(gettype_vvvvvze); var gettype_vvvvvzd = jQuery("#jform_gettype").val();
vvvvvzd(add_php_after_getitem_vvvvvzd,gettype_vvvvvzd);
});
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvzf function
jQuery('#jform_add_php_getlistquery').on('keyup',function()
{
var add_php_getlistquery_vvvvvzf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzf = jQuery("#jform_gettype").val();
vvvvvzf(add_php_getlistquery_vvvvvzf,gettype_vvvvvzf);
});
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
{
e.preventDefault();
var add_php_getlistquery_vvvvvzf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzf = jQuery("#jform_gettype").val();
vvvvvzf(add_php_getlistquery_vvvvvzf,gettype_vvvvvzf);
}); });
// #jform_gettype listeners for gettype_vvvvvzf function // #jform_gettype listeners for gettype_vvvvvzf function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_getlistquery_vvvvvzf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzf = jQuery("#jform_gettype").val(); var gettype_vvvvvzf = jQuery("#jform_gettype").val();
vvvvvzf(add_php_getlistquery_vvvvvzf,gettype_vvvvvzf); vvvvvzf(gettype_vvvvvzf);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getlistquery_vvvvvzf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzf = jQuery("#jform_gettype").val(); var gettype_vvvvvzf = jQuery("#jform_gettype").val();
vvvvvzf(add_php_getlistquery_vvvvvzf,gettype_vvvvvzf); vvvvvzf(gettype_vvvvvzf);
}); });
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvzg function // #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvzg function
jQuery('#jform_add_php_before_getitems').on('keyup',function() jQuery('#jform_add_php_getlistquery').on('keyup',function()
{ {
var add_php_before_getitems_vvvvvzg = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvzg = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzg = jQuery("#jform_gettype").val(); var gettype_vvvvvzg = jQuery("#jform_gettype").val();
vvvvvzg(add_php_before_getitems_vvvvvzg,gettype_vvvvvzg); vvvvvzg(add_php_getlistquery_vvvvvzg,gettype_vvvvvzg);
}); });
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_vvvvvzg = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvzg = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzg = jQuery("#jform_gettype").val(); var gettype_vvvvvzg = jQuery("#jform_gettype").val();
vvvvvzg(add_php_before_getitems_vvvvvzg,gettype_vvvvvzg); vvvvvzg(add_php_getlistquery_vvvvvzg,gettype_vvvvvzg);
}); });
// #jform_gettype listeners for gettype_vvvvvzg function // #jform_gettype listeners for gettype_vvvvvzg function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_before_getitems_vvvvvzg = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvzg = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzg = jQuery("#jform_gettype").val(); var gettype_vvvvvzg = jQuery("#jform_gettype").val();
vvvvvzg(add_php_before_getitems_vvvvvzg,gettype_vvvvvzg); vvvvvzg(add_php_getlistquery_vvvvvzg,gettype_vvvvvzg);
}); });
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_vvvvvzg = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvzg = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzg = jQuery("#jform_gettype").val(); var gettype_vvvvvzg = jQuery("#jform_gettype").val();
vvvvvzg(add_php_before_getitems_vvvvvzg,gettype_vvvvvzg); vvvvvzg(add_php_getlistquery_vvvvvzg,gettype_vvvvvzg);
}); });
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvvzh function // #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvzh function
jQuery('#jform_add_php_after_getitems').on('keyup',function() jQuery('#jform_add_php_before_getitems').on('keyup',function()
{ {
var add_php_after_getitems_vvvvvzh = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var add_php_before_getitems_vvvvvzh = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzh = jQuery("#jform_gettype").val(); var gettype_vvvvvzh = jQuery("#jform_gettype").val();
vvvvvzh(add_php_after_getitems_vvvvvzh,gettype_vvvvvzh); vvvvvzh(add_php_before_getitems_vvvvvzh,gettype_vvvvvzh);
}); });
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_vvvvvzh = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var add_php_before_getitems_vvvvvzh = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzh = jQuery("#jform_gettype").val(); var gettype_vvvvvzh = jQuery("#jform_gettype").val();
vvvvvzh(add_php_after_getitems_vvvvvzh,gettype_vvvvvzh); vvvvvzh(add_php_before_getitems_vvvvvzh,gettype_vvvvvzh);
}); });
// #jform_gettype listeners for gettype_vvvvvzh function // #jform_gettype listeners for gettype_vvvvvzh function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_after_getitems_vvvvvzh = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var add_php_before_getitems_vvvvvzh = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzh = jQuery("#jform_gettype").val(); var gettype_vvvvvzh = jQuery("#jform_gettype").val();
vvvvvzh(add_php_after_getitems_vvvvvzh,gettype_vvvvvzh); vvvvvzh(add_php_before_getitems_vvvvvzh,gettype_vvvvvzh);
}); });
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_vvvvvzh = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var add_php_before_getitems_vvvvvzh = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzh = jQuery("#jform_gettype").val(); var gettype_vvvvvzh = jQuery("#jform_gettype").val();
vvvvvzh(add_php_after_getitems_vvvvvzh,gettype_vvvvvzh); vvvvvzh(add_php_before_getitems_vvvvvzh,gettype_vvvvvzh);
}); });
// #jform_gettype listeners for gettype_vvvvvzj function // #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvvzi function
jQuery('#jform_add_php_after_getitems').on('keyup',function()
{
var add_php_after_getitems_vvvvvzi = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvvzi = jQuery("#jform_gettype").val();
vvvvvzi(add_php_after_getitems_vvvvvzi,gettype_vvvvvzi);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e)
{
e.preventDefault();
var add_php_after_getitems_vvvvvzi = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvvzi = jQuery("#jform_gettype").val();
vvvvvzi(add_php_after_getitems_vvvvvzi,gettype_vvvvvzi);
});
// #jform_gettype listeners for gettype_vvvvvzi function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvvzj = jQuery("#jform_gettype").val(); var add_php_after_getitems_vvvvvzi = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
vvvvvzj(gettype_vvvvvzj); var gettype_vvvvvzi = jQuery("#jform_gettype").val();
vvvvvzi(add_php_after_getitems_vvvvvzi,gettype_vvvvvzi);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvvzj = jQuery("#jform_gettype").val(); var add_php_after_getitems_vvvvvzi = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
vvvvvzj(gettype_vvvvvzj); var gettype_vvvvvzi = jQuery("#jform_gettype").val();
vvvvvzi(add_php_after_getitems_vvvvvzi,gettype_vvvvvzi);
}); });
@ -551,6 +536,21 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
}); });
// #jform_gettype listeners for gettype_vvvvvzl function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvvzl = jQuery("#jform_gettype").val();
vvvvvzl(gettype_vvvvvzl);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvvzl = jQuery("#jform_gettype").val();
vvvvvzl(gettype_vvvvvzl);
});
<?php $fieldNrs = range(1,50,1); ?> <?php $fieldNrs = range(1,50,1); ?>
<?php $fieldNames = array('db' => 'Db','view' => 'View'); ?> <?php $fieldNames = array('db' => 'Db','view' => 'View'); ?>

View File

@ -113,48 +113,33 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_datalenght listeners for datalenght_vvvvvzl function // #jform_datalenght listeners for datalenght_vvvvvzm function
jQuery('#jform_datalenght').on('keyup',function() jQuery('#jform_datalenght').on('keyup',function()
{ {
var datalenght_vvvvvzl = jQuery("#jform_datalenght").val(); var datalenght_vvvvvzm = jQuery("#jform_datalenght").val();
vvvvvzl(datalenght_vvvvvzl); vvvvvzm(datalenght_vvvvvzm);
}); });
jQuery('#adminForm').on('change', '#jform_datalenght',function (e) jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datalenght_vvvvvzl = jQuery("#jform_datalenght").val(); var datalenght_vvvvvzm = jQuery("#jform_datalenght").val();
vvvvvzl(datalenght_vvvvvzl); vvvvvzm(datalenght_vvvvvzm);
}); });
// #jform_datadefault listeners for datadefault_vvvvvzm function // #jform_datadefault listeners for datadefault_vvvvvzn function
jQuery('#jform_datadefault').on('keyup',function() jQuery('#jform_datadefault').on('keyup',function()
{ {
var datadefault_vvvvvzm = jQuery("#jform_datadefault").val(); var datadefault_vvvvvzn = jQuery("#jform_datadefault").val();
vvvvvzm(datadefault_vvvvvzm); vvvvvzn(datadefault_vvvvvzn);
}); });
jQuery('#adminForm').on('change', '#jform_datadefault',function (e) jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datadefault_vvvvvzm = jQuery("#jform_datadefault").val(); var datadefault_vvvvvzn = jQuery("#jform_datadefault").val();
vvvvvzm(datadefault_vvvvvzm); vvvvvzn(datadefault_vvvvvzn);
});
// #jform_datatype listeners for datatype_vvvvvzn function
jQuery('#jform_datatype').on('keyup',function()
{
var datatype_vvvvvzn = jQuery("#jform_datatype").val();
vvvvvzn(datatype_vvvvvzn);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var datatype_vvvvvzn = jQuery("#jform_datatype").val();
vvvvvzn(datatype_vvvvvzn);
}); });
@ -173,97 +158,112 @@ jQuery('#adminForm').on('change', '#jform_datatype',function (e)
}); });
// #jform_store listeners for store_vvvvvzp function
jQuery('#jform_store').on('keyup',function()
{
var store_vvvvvzp = jQuery("#jform_store").val();
var datatype_vvvvvzp = jQuery("#jform_datatype").val();
vvvvvzp(store_vvvvvzp,datatype_vvvvvzp);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var store_vvvvvzp = jQuery("#jform_store").val();
var datatype_vvvvvzp = jQuery("#jform_datatype").val();
vvvvvzp(store_vvvvvzp,datatype_vvvvvzp);
});
// #jform_datatype listeners for datatype_vvvvvzp function // #jform_datatype listeners for datatype_vvvvvzp function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var store_vvvvvzp = jQuery("#jform_store").val();
var datatype_vvvvvzp = jQuery("#jform_datatype").val(); var datatype_vvvvvzp = jQuery("#jform_datatype").val();
vvvvvzp(store_vvvvvzp,datatype_vvvvvzp); vvvvvzp(datatype_vvvvvzp);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var store_vvvvvzp = jQuery("#jform_store").val();
var datatype_vvvvvzp = jQuery("#jform_datatype").val(); var datatype_vvvvvzp = jQuery("#jform_datatype").val();
vvvvvzp(store_vvvvvzp,datatype_vvvvvzp); vvvvvzp(datatype_vvvvvzp);
}); });
// #jform_add_css_view listeners for add_css_view_vvvvvzr function // #jform_store listeners for store_vvvvvzq function
jQuery('#jform_store').on('keyup',function()
{
var store_vvvvvzq = jQuery("#jform_store").val();
var datatype_vvvvvzq = jQuery("#jform_datatype").val();
vvvvvzq(store_vvvvvzq,datatype_vvvvvzq);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var store_vvvvvzq = jQuery("#jform_store").val();
var datatype_vvvvvzq = jQuery("#jform_datatype").val();
vvvvvzq(store_vvvvvzq,datatype_vvvvvzq);
});
// #jform_datatype listeners for datatype_vvvvvzq function
jQuery('#jform_datatype').on('keyup',function()
{
var store_vvvvvzq = jQuery("#jform_store").val();
var datatype_vvvvvzq = jQuery("#jform_datatype").val();
vvvvvzq(store_vvvvvzq,datatype_vvvvvzq);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var store_vvvvvzq = jQuery("#jform_store").val();
var datatype_vvvvvzq = jQuery("#jform_datatype").val();
vvvvvzq(store_vvvvvzq,datatype_vvvvvzq);
});
// #jform_add_css_view listeners for add_css_view_vvvvvzs function
jQuery('#jform_add_css_view').on('keyup',function() jQuery('#jform_add_css_view').on('keyup',function()
{ {
var add_css_view_vvvvvzr = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvzs = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvzr(add_css_view_vvvvvzr); vvvvvzs(add_css_view_vvvvvzs);
}); });
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_vvvvvzr = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvzs = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvzr(add_css_view_vvvvvzr); vvvvvzs(add_css_view_vvvvvzs);
}); });
// #jform_add_css_views listeners for add_css_views_vvvvvzs function // #jform_add_css_views listeners for add_css_views_vvvvvzt function
jQuery('#jform_add_css_views').on('keyup',function() jQuery('#jform_add_css_views').on('keyup',function()
{ {
var add_css_views_vvvvvzs = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvzt = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvzs(add_css_views_vvvvvzs); vvvvvzt(add_css_views_vvvvvzt);
}); });
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_vvvvvzs = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvzt = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvzs(add_css_views_vvvvvzs); vvvvvzt(add_css_views_vvvvvzt);
}); });
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvzt function // #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvzu function
jQuery('#jform_add_javascript_view_footer').on('keyup',function() jQuery('#jform_add_javascript_view_footer').on('keyup',function()
{ {
var add_javascript_view_footer_vvvvvzt = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvzu = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvzt(add_javascript_view_footer_vvvvvzt); vvvvvzu(add_javascript_view_footer_vvvvvzu);
}); });
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_vvvvvzt = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvzu = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvzt(add_javascript_view_footer_vvvvvzt); vvvvvzu(add_javascript_view_footer_vvvvvzu);
}); });
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvzu function // #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvzv function
jQuery('#jform_add_javascript_views_footer').on('keyup',function() jQuery('#jform_add_javascript_views_footer').on('keyup',function()
{ {
var add_javascript_views_footer_vvvvvzu = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvzv = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvzu(add_javascript_views_footer_vvvvvzu); vvvvvzv(add_javascript_views_footer_vvvvvzv);
}); });
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_vvvvvzu = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvzv = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvzu(add_javascript_views_footer_vvvvvzu); vvvvvzv(add_javascript_views_footer_vvvvvzv);
}); });

View File

@ -71,7 +71,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->vzlfields = $this->get('Vzlfields'); $this->vzmfields = $this->get('Vzmfields');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -125,21 +125,6 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_location listeners for location_vvvvvzv function
jQuery('#jform_location').on('keyup',function()
{
var location_vvvvvzv = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzv(location_vvvvvzv);
});
jQuery('#adminForm').on('change', '#jform_location',function (e)
{
e.preventDefault();
var location_vvvvvzv = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzv(location_vvvvvzv);
});
// #jform_location listeners for location_vvvvvzw function // #jform_location listeners for location_vvvvvzw function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
@ -155,18 +140,18 @@ jQuery('#adminForm').on('change', '#jform_location',function (e)
}); });
// #jform_type listeners for type_vvvvvzx function // #jform_location listeners for location_vvvvvzx function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var type_vvvvvzx = jQuery("#jform_type").val(); var location_vvvvvzx = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzx(type_vvvvvzx); vvvvvzx(location_vvvvvzx);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_vvvvvzx = jQuery("#jform_type").val(); var location_vvvvvzx = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzx(type_vvvvvzx); vvvvvzx(location_vvvvvzx);
}); });
@ -200,18 +185,33 @@ jQuery('#adminForm').on('change', '#jform_type',function (e)
}); });
// #jform_target listeners for target_vvvvwaa function // #jform_type listeners for type_vvvvwaa function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvwaa = jQuery("#jform_type").val();
vvvvwaa(type_vvvvwaa);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvwaa = jQuery("#jform_type").val();
vvvvwaa(type_vvvvwaa);
});
// #jform_target listeners for target_vvvvwab function
jQuery('#jform_target').on('keyup',function() jQuery('#jform_target').on('keyup',function()
{ {
var target_vvvvwaa = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwab = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaa(target_vvvvwaa); vvvvwab(target_vvvvwab);
}); });
jQuery('#adminForm').on('change', '#jform_target',function (e) jQuery('#adminForm').on('change', '#jform_target',function (e)
{ {
e.preventDefault(); e.preventDefault();
var target_vvvvwaa = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwab = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaa(target_vvvvwaa); vvvvwab(target_vvvvwab);
}); });

View File

@ -114,18 +114,18 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvyo function // #jform_add_php_view listeners for add_php_view_vvvvvyp function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyp = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyo(add_php_view_vvvvvyo); vvvvvyp(add_php_view_vvvvvyp);
}); });
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_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyp = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyo(add_php_view_vvvvvyo); vvvvvyp(add_php_view_vvvvvyp);
}); });

View File

@ -157,138 +157,138 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvye function // #jform_add_php_view listeners for add_php_view_vvvvvyf function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvye = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyf = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvye(add_php_view_vvvvvye); vvvvvyf(add_php_view_vvvvvyf);
}); });
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_vvvvvye = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyf = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvye(add_php_view_vvvvvye); vvvvvyf(add_php_view_vvvvvyf);
}); });
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyf function // #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyg function
jQuery('#jform_add_php_jview_display').on('keyup',function() jQuery('#jform_add_php_jview_display').on('keyup',function()
{ {
var add_php_jview_display_vvvvvyf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyg = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyf(add_php_jview_display_vvvvvyf); vvvvvyg(add_php_jview_display_vvvvvyg);
}); });
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_vvvvvyf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyg = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyf(add_php_jview_display_vvvvvyf); vvvvvyg(add_php_jview_display_vvvvvyg);
}); });
// #jform_add_php_jview listeners for add_php_jview_vvvvvyg function // #jform_add_php_jview listeners for add_php_jview_vvvvvyh function
jQuery('#jform_add_php_jview').on('keyup',function() jQuery('#jform_add_php_jview').on('keyup',function()
{ {
var add_php_jview_vvvvvyg = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyh = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyg(add_php_jview_vvvvvyg); vvvvvyh(add_php_jview_vvvvvyh);
}); });
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_vvvvvyg = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyh = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyg(add_php_jview_vvvvvyg); vvvvvyh(add_php_jview_vvvvvyh);
}); });
// #jform_add_php_document listeners for add_php_document_vvvvvyh function // #jform_add_php_document listeners for add_php_document_vvvvvyi function
jQuery('#jform_add_php_document').on('keyup',function() jQuery('#jform_add_php_document').on('keyup',function()
{ {
var add_php_document_vvvvvyh = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyi = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyh(add_php_document_vvvvvyh); vvvvvyi(add_php_document_vvvvvyi);
}); });
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_vvvvvyh = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyi = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyh(add_php_document_vvvvvyh); vvvvvyi(add_php_document_vvvvvyi);
}); });
// #jform_add_css_document listeners for add_css_document_vvvvvyi function // #jform_add_css_document listeners for add_css_document_vvvvvyj function
jQuery('#jform_add_css_document').on('keyup',function() jQuery('#jform_add_css_document').on('keyup',function()
{ {
var add_css_document_vvvvvyi = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvyj = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyi(add_css_document_vvvvvyi); vvvvvyj(add_css_document_vvvvvyj);
}); });
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_vvvvvyi = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvyj = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyi(add_css_document_vvvvvyi); vvvvvyj(add_css_document_vvvvvyj);
}); });
// #jform_add_js_document listeners for add_js_document_vvvvvyj function // #jform_add_js_document listeners for add_js_document_vvvvvyk function
jQuery('#jform_add_js_document').on('keyup',function() jQuery('#jform_add_js_document').on('keyup',function()
{ {
var add_js_document_vvvvvyj = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyk = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyj(add_js_document_vvvvvyj); vvvvvyk(add_js_document_vvvvvyk);
}); });
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_vvvvvyj = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyk = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyj(add_js_document_vvvvvyj); vvvvvyk(add_js_document_vvvvvyk);
}); });
// #jform_add_css listeners for add_css_vvvvvyk function // #jform_add_css listeners for add_css_vvvvvyl function
jQuery('#jform_add_css').on('keyup',function() jQuery('#jform_add_css').on('keyup',function()
{ {
var add_css_vvvvvyk = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyl = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyk(add_css_vvvvvyk); vvvvvyl(add_css_vvvvvyl);
}); });
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_vvvvvyk = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyl = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyk(add_css_vvvvvyk); vvvvvyl(add_css_vvvvvyl);
}); });
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyl function // #jform_add_php_ajax listeners for add_php_ajax_vvvvvym function
jQuery('#jform_add_php_ajax').on('keyup',function() jQuery('#jform_add_php_ajax').on('keyup',function()
{ {
var add_php_ajax_vvvvvyl = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvym = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyl(add_php_ajax_vvvvvyl); vvvvvym(add_php_ajax_vvvvvym);
}); });
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_vvvvvyl = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvym = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyl(add_php_ajax_vvvvvyl); vvvvvym(add_php_ajax_vvvvvym);
}); });
// #jform_add_custom_button listeners for add_custom_button_vvvvvym function // #jform_add_custom_button listeners for add_custom_button_vvvvvyn function
jQuery('#jform_add_custom_button').on('keyup',function() jQuery('#jform_add_custom_button').on('keyup',function()
{ {
var add_custom_button_vvvvvym = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvym(add_custom_button_vvvvvym); vvvvvyn(add_custom_button_vvvvvyn);
}); });
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_vvvvvym = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvym(add_custom_button_vvvvvym); vvvvvyn(add_custom_button_vvvvvyn);
}); });

View File

@ -114,18 +114,18 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvyn function // #jform_add_php_view listeners for add_php_view_vvvvvyo function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvyn = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyn(add_php_view_vvvvvyn); vvvvvyo(add_php_view_vvvvvyo);
}); });
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_vvvvvyn = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyn(add_php_view_vvvvvyn); vvvvvyo(add_php_view_vvvvvyo);
}); });