Resolved gh-441 to allow fieldtype name prefixing. Resolved gh-443 to allow Alphanumeric+dot in fieldtype name. Fixed gh-446 to insure that JFormRuleInt validates correctly in the admin field realtions. Improved the new plugin area to also have system name and option to add custom header code. gh-436

This commit is contained in:
Llewellyn van der Merwe 2019-07-19 04:17:15 +02:00
parent a5ae94b93a
commit affaeb72f8
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
77 changed files with 4338 additions and 3890 deletions

View File

@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.33) with **ALL** its features and **ALL** concepts totally open-source and free! You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.34) with **ALL** its features and **ALL** concepts totally open-source and free!
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
@ -146,13 +146,13 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 17th July, 2019 + *Last Build*: 19th July, 2019
+ *Version*: 2.9.33 + *Version*: 2.9.34
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **236366** + *Line count*: **236622**
+ *Field count*: **1235** + *Field count*: **1239**
+ *File count*: **1527** + *File count*: **1528**
+ *Folder count*: **233** + *Folder count*: **233**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com). > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).

View File

@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.33) with **ALL** its features and **ALL** concepts totally open-source and free! You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.34) with **ALL** its features and **ALL** concepts totally open-source and free!
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
@ -146,13 +146,13 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 17th July, 2019 + *Last Build*: 19th July, 2019
+ *Version*: 2.9.33 + *Version*: 2.9.34
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **236366** + *Line count*: **236622**
+ *Field count*: **1235** + *Field count*: **1239**
+ *File count*: **1527** + *File count*: **1528**
+ *Folder count*: **233** + *Folder count*: **233**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com). > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).

View File

@ -342,8 +342,6 @@
<action name="joomla_plugin.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_OWN_DESC" /> <action name="joomla_plugin.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_OWN_DESC" />
<action name="joomla_plugin.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC" /> <action name="joomla_plugin.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC" />
<action name="joomla_plugin.version" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC" /> <action name="joomla_plugin.version" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC" />
<action name="joomla_plugin.export" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EXPORT" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EXPORT_DESC" />
<action name="joomla_plugin.import" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_IMPORT" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_IMPORT_DESC" />
<action name="joomla_plugin.submenu" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC" /> <action name="joomla_plugin.submenu" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC" />
<action name="language.build" title="COM_COMPONENTBUILDER_LANGUAGE_BUILD_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_LANGUAGE_BUILD_BUTTON_ACCESS_DESC" /> <action name="language.build" title="COM_COMPONENTBUILDER_LANGUAGE_BUILD_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_LANGUAGE_BUILD_BUTTON_ACCESS_DESC" />
<action name="language_translation.access" title="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_ACCESS" description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_ACCESS_DESC" /> <action name="language_translation.access" title="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_ACCESS" description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_ACCESS_DESC" />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@ -24,7 +24,7 @@ JFormHelper::loadFieldClass('checkboxes');
/** /**
* ###Type### Form Field class for the ###Component### component * ###Type### Form Field class for the ###Component### component
*/ */
class JFormField###Type### extends JFormFieldCheckboxes class ###JPREFIX###FormField###Type### extends JFormFieldCheckboxes
{ {
/** /**
* The ###type### field type. * The ###type### field type.

View File

@ -24,7 +24,7 @@ JFormHelper::loadFieldClass('###JFORM_extends###');
/** /**
* ###Type### Form Field class for the ###Component### component * ###Type### Form Field class for the ###Component### component
*/ */
class JFormField###Type### extends JFormField###JFORM_EXTENDS### class ###JPREFIX###FormField###Type### extends JFormField###JFORM_EXTENDS###
{ {
/** /**
* The ###type### field type. * The ###type### field type.

View File

@ -24,7 +24,7 @@ JFormHelper::loadFieldClass('list');
/** /**
* ###Type### Form Field class for the ###Component### component * ###Type### Form Field class for the ###Component### component
*/ */
class JFormField###Type### extends JFormFieldList class ###JPREFIX###FormField###Type### extends JFormFieldList
{ {
/** /**
* The ###type### field type. * The ###type### field type.

View File

@ -24,7 +24,7 @@ JFormHelper::loadFieldClass('radio');
/** /**
* ###Type### Form Field class for the ###Component### component * ###Type### Form Field class for the ###Component### component
*/ */
class JFormField###Type### extends JFormFieldRadio class ###JPREFIX###FormField###Type### extends JFormFieldRadio
{ {
/** /**
* The ###type### field type. * The ###type### field type.

View File

@ -24,7 +24,7 @@ JFormHelper::loadFieldClass('user');
/** /**
* ###Type### Form Field class for the ###Component### component * ###Type### Form Field class for the ###Component### component
*/ */
class JFormField###Type### extends JFormFieldUser class ###JPREFIX###FormField###Type### extends JFormFieldUser
{ {
/** /**
* The ###type### field type. * The ###type### field type.

View File

@ -263,6 +263,20 @@
<option value="2"> <option value="2">
COM_COMPONENTBUILDER_CONFIG_ALPHANUMERIC</option> COM_COMPONENTBUILDER_CONFIG_ALPHANUMERIC</option>
</field> </field>
<!-- Type_name_builder Field. Type: Radio. (joomla) -->
<field
type="radio"
name="type_name_builder"
label="COM_COMPONENTBUILDER_CONFIG_TYPE_NAME_BUILDER_LABEL"
description="COM_COMPONENTBUILDER_CONFIG_TYPE_NAME_BUILDER_DESCRIPTION"
class="btn-group btn-group-yesno"
default="1">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_CONFIG_DEFAULT</option>
<option value="2">
COM_COMPONENTBUILDER_CONFIG_ALPHANUMERICDOT</option>
</field>
<!-- Spacer_hr_seven Field. Type: Spacer. A None Database Field. (joomla) --> <!-- Spacer_hr_seven Field. Type: Spacer. A None Database Field. (joomla) -->
<field type="spacer" name="spacer_hr_seven" hr="true" class="spacer_hr_seven" /> <field type="spacer" name="spacer_hr_seven" hr="true" class="spacer_hr_seven" />
<!-- Api Field. Type: User. (joomla) --> <!-- Api Field. Type: User. (joomla) -->

View File

@ -33,6 +33,7 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
$this->registerTask('getCrowdinDetails', 'ajax'); $this->registerTask('getCrowdinDetails', 'ajax');
$this->registerTask('getClassCode', 'ajax'); $this->registerTask('getClassCode', 'ajax');
$this->registerTask('getClassCodeIds', 'ajax'); $this->registerTask('getClassCodeIds', 'ajax');
$this->registerTask('getClassHeaderCode', 'ajax');
$this->registerTask('tableColumns', 'ajax'); $this->registerTask('tableColumns', 'ajax');
$this->registerTask('fieldSelectOptions', 'ajax'); $this->registerTask('fieldSelectOptions', 'ajax');
$this->registerTask('getDynamicScripts', 'ajax'); $this->registerTask('getDynamicScripts', 'ajax');
@ -381,6 +382,45 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
} }
} }
break; break;
case 'getClassHeaderCode':
try
{
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
$idValue = $jinput->get('id', NULL, 'INT');
$typeValue = $jinput->get('type', NULL, 'WORD');
if($idValue && $typeValue && $user->id != 0)
{
$result = $this->getModel('ajax')->getClassHeaderCode($idValue, $typeValue);
}
else
{
$result = false;
}
if($callback = $jinput->get('callback', null, 'CMD'))
{
echo $callback . "(".json_encode($result).");";
}
elseif($returnRaw)
{
echo json_encode($result);
}
else
{
echo "(".json_encode($result).");";
}
}
catch(Exception $e)
{
if($callback = $jinput->get('callback', null, 'CMD'))
{
echo $callback."(".json_encode($e).");";
}
else
{
echo "(".json_encode($e).");";
}
}
break;
case 'tableColumns': case 'tableColumns':
try try
{ {

View File

@ -41,69 +41,6 @@ class ComponentbuilderControllerJoomla_plugins extends JControllerAdmin
return parent::getModel($name, $prefix, $config); return parent::getModel($name, $prefix, $config);
} }
public function exportData()
{
// Check for request forgeries
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
// check if export is allowed for this user.
$user = JFactory::getUser();
if ($user->authorise('joomla_plugin.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder'))
{
// Get the input
$input = JFactory::getApplication()->input;
$pks = $input->post->get('cid', array(), 'array');
// Sanitize the input
JArrayHelper::toInteger($pks);
// Get the model
$model = $this->getModel('Joomla_plugins');
// get the data to export
$data = $model->getExportData($pks);
if (ComponentbuilderHelper::checkArray($data))
{
// now set the data to the spreadsheet
$date = JFactory::getDate();
ComponentbuilderHelper::xls($data,'Joomla_plugins_'.$date->format('jS_F_Y'),'Joomla plugins exported ('.$date->format('jS F, Y').')','joomla plugins');
}
}
// Redirect to the list screen with error.
$message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=joomla_plugins', false), $message, 'error');
return;
}
public function importData()
{
// Check for request forgeries
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
// check if import is allowed for this user.
$user = JFactory::getUser();
if ($user->authorise('joomla_plugin.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder'))
{
// Get the import model
$model = $this->getModel('Joomla_plugins');
// get the headers to import
$headers = $model->getExImPortHeaders();
if (ComponentbuilderHelper::checkObject($headers))
{
// Load headers to session.
$session = JFactory::getSession();
$headers = json_encode($headers);
$session->set('joomla_plugin_VDM_IMPORTHEADERS', $headers);
$session->set('backto_VDM_IMPORT', 'joomla_plugins');
$session->set('dataType_VDM_IMPORTINTO', 'joomla_plugin');
// Redirect to import view.
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_JOOMLA_PLUGINS');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message);
return;
}
}
// Redirect to the list screen with error.
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=joomla_plugins', false), $message, 'error');
return;
}
/** /**
* Run the Expansion * Run the Expansion

View File

@ -2926,11 +2926,11 @@ class Get
$field['settings']->type_name = 'Custom'; $field['settings']->type_name = 'Custom';
} }
// set the type name // set the type name
$type_name = ComponentbuilderHelper::safeString($field['settings']->type_name); $type_name = ComponentbuilderHelper::safeTypeName($field['settings']->type_name);
// if custom (we must use the xml value) // if custom (we must use the xml value)
if ($type_name === 'custom' || $type_name === 'customuser') if (strtolower($type_name) === 'custom' || strtolower($type_name) === 'customuser')
{ {
$type = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml, 'type="', '"')); $type = ComponentbuilderHelper::safeTypeName(ComponentbuilderHelper::getBetween($field['settings']->xml, 'type="', '"'));
} }
else else
{ {
@ -2942,17 +2942,12 @@ class Get
// force the default value // force the default value
if (isset($property['example']) && ComponentbuilderHelper::checkString($property['example'])) if (isset($property['example']) && ComponentbuilderHelper::checkString($property['example']))
{ {
$type = ComponentbuilderHelper::safeString($property['example']); $type = ComponentbuilderHelper::safeTypeName($property['example']);
}
// fallback on type name set in name field
elseif (ComponentbuilderHelper::checkString($type_name))
{
$type = $type_name;
} }
// fall back on the xml settings (not ideal) // fall back on the xml settings (not ideal)
else else
{ {
$type = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xml, 'type="', '"')); $type = ComponentbuilderHelper::safeTypeName(ComponentbuilderHelper::getBetween($field['settings']->xml, 'type="', '"'));
} }
// exit foreach loop // exit foreach loop
break; break;
@ -2960,11 +2955,15 @@ class Get
} }
} }
// check if the value is set // check if the value is set
if (ComponentbuilderHelper::checkString($type)) if (isset($type) && ComponentbuilderHelper::checkString($type))
{ {
// add the value
return $type; return $type;
} }
// fallback on type name set in name field (not ideal)
else
{
return $type_name;
}
} }
// fall back to text // fall back to text
return 'text'; return 'text';

View File

@ -1399,11 +1399,6 @@ class Fields extends Structure
// now add to the field set // now add to the field set
$field .= $this->setField('option', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber); $field .= $this->setField('option', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber);
} }
elseif (ComponentbuilderHelper::fieldCheck($r_typeName, 'plain'))
{
// now add to the field set
$field .= $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber);
}
elseif (ComponentbuilderHelper::checkArray($r_fieldValues['custom'])) elseif (ComponentbuilderHelper::checkArray($r_fieldValues['custom']))
{ {
// add to custom // add to custom
@ -1425,6 +1420,11 @@ class Fields extends Structure
// set the custom field file // set the custom field file
$this->setCustomFieldTypeFile($data, $view_name_list, $view_name_single); $this->setCustomFieldTypeFile($data, $view_name_list, $view_name_single);
} }
else
{
// now add to the field set
$field .= $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber);
}
} }
} }
} }
@ -1498,11 +1498,6 @@ class Fields extends Structure
// now add to the field set // now add to the field set
$field .= $this->setField('option', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber); $field .= $this->setField('option', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber);
} }
elseif (ComponentbuilderHelper::fieldCheck($r_typeName, 'plain'))
{
// now add to the field set
$field .= $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber);
}
elseif ($r_typeName === 'subform') elseif ($r_typeName === 'subform')
{ {
// set nested depth // set nested depth
@ -1542,6 +1537,11 @@ class Fields extends Structure
// set the custom field file // set the custom field file
$this->setCustomFieldTypeFile($data, $view_name_list, $view_name_single); $this->setCustomFieldTypeFile($data, $view_name_list, $view_name_single);
} }
else
{
// now add to the field set
$field .= $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber);
}
} }
} }
} }
@ -2862,6 +2862,22 @@ class Fields extends Structure
// make sure it is not already been build or if it is prime // make sure it is not already been build or if it is prime
if (isset($data['custom']) && isset($data['custom']['extends']) && ((isset($data['custom']['prime_php']) && $data['custom']['prime_php'] == 1) || !isset($this->fileContentDynamic['customfield_' . $data['type']]) || !ComponentbuilderHelper::checkArray($this->fileContentDynamic['customfield_' . $data['type']]))) if (isset($data['custom']) && isset($data['custom']['extends']) && ((isset($data['custom']['prime_php']) && $data['custom']['prime_php'] == 1) || !isset($this->fileContentDynamic['customfield_' . $data['type']]) || !ComponentbuilderHelper::checkArray($this->fileContentDynamic['customfield_' . $data['type']])))
{ {
// set J prefix
$jprefix = 'J';
// check if this field has a dot in field type name
if (strpos($data['type'], '.') !== false)
{
// so we have name spacing in custom field type name
$dotTypeArray = explode('.', $data['type']);
// set the J prefix
if (count($dotTypeArray) > 1)
{
$jprefix = strtoupper(array_shift($dotTypeArray));
}
// update the type name now
$data['type'] = implode('', $dotTypeArray);
$data['custom']['type'] = $data['type'];
}
// set tab and break replacements // set tab and break replacements
$tabBreak = array( $tabBreak = array(
'\t' => $this->_t(1), '\t' => $this->_t(1),
@ -2869,6 +2885,7 @@ class Fields extends Structure
); );
// set the [[[PLACEHOLDER]]] options // set the [[[PLACEHOLDER]]] options
$replace = array( $replace = array(
$this->bbb . 'JPREFIX' . $this->ddd => $jprefix,
$this->bbb . 'TABLE' . $this->ddd => $data['custom']['table'], $this->bbb . 'TABLE' . $this->ddd => $data['custom']['table'],
$this->bbb . 'ID' . $this->ddd => $data['custom']['id'], $this->bbb . 'ID' . $this->ddd => $data['custom']['id'],
$this->bbb . 'TEXT' . $this->ddd => $data['custom']['text'], $this->bbb . 'TEXT' . $this->ddd => $data['custom']['text'],
@ -2901,6 +2918,8 @@ class Fields extends Structure
} }
// start loading the field type // start loading the field type
$this->fileContentDynamic['customfield_' . $data['type']] = array(); $this->fileContentDynamic['customfield_' . $data['type']] = array();
// JPREFIX <<DYNAMIC>>>
$this->fileContentDynamic['customfield_' . $data['type']][$this->hhh . 'JPREFIX' . $this->hhh] = $jprefix;
// Type <<<DYNAMIC>>> // Type <<<DYNAMIC>>>
$this->fileContentDynamic['customfield_' . $data['type']][$this->hhh . 'Type' . $this->hhh] = ComponentbuilderHelper::safeString($data['custom']['type'], 'F'); $this->fileContentDynamic['customfield_' . $data['type']][$this->hhh . 'Type' . $this->hhh] = ComponentbuilderHelper::safeString($data['custom']['type'], 'F');
// type <<<DYNAMIC>>> // type <<<DYNAMIC>>>

View File

@ -712,6 +712,48 @@ abstract class ComponentbuilderHelper
return self::safeString($string); return self::safeString($string);
} }
/**
* The type builder switch
**/
protected static $typeNameBuilder = false;
/**
* Making field type name safe
*
* @input string The you would like to make safe
*
* @returns string on success
**/
public static function safeTypeName($string)
{
// get global value
if (self::$typeNameBuilder === false)
{
self::$typeNameBuilder = JComponentHelper::getParams('com_componentbuilder')->get('type_name_builder', 1);
}
// use the new convention
if (2 == self::$typeNameBuilder)
{
// 0nly continue if we have a string
if (self::checkString($string))
{
// check that the first character is not a number
if (is_numeric(substr($string, 0, 1)))
{
$string = self::replaceNumbers($string);
}
// remove all and keep only characters and numbers and point (TODO just one point)
$string = trim(preg_replace("/[^A-Za-z0-9\.]/", '', $string));
// best is to return lower (for all string equality in compiler)
return strtolower($string);
}
// not a string
return '';
}
// use the default (original behaviour/convention)
return self::safeString($string);
}
/* /*
* Get the Array of Existing Validation Rule Names * Get the Array of Existing Validation Rule Names
* *

View File

@ -3145,6 +3145,7 @@ COM_COMPONENTBUILDER_CONFIG_ADD_MENU_PREFIX_DESCRIPTION="Would you like to add a
COM_COMPONENTBUILDER_CONFIG_ADD_MENU_PREFIX_LABEL="Add Menu Prefix" COM_COMPONENTBUILDER_CONFIG_ADD_MENU_PREFIX_LABEL="Add Menu Prefix"
COM_COMPONENTBUILDER_CONFIG_ALMOST_FLAT_LOAD="Almost Flat" COM_COMPONENTBUILDER_CONFIG_ALMOST_FLAT_LOAD="Almost Flat"
COM_COMPONENTBUILDER_CONFIG_ALPHANUMERIC="Alphanumeric" COM_COMPONENTBUILDER_CONFIG_ALPHANUMERIC="Alphanumeric"
COM_COMPONENTBUILDER_CONFIG_ALPHANUMERICDOT="Alphanumeric+dot"
COM_COMPONENTBUILDER_CONFIG_API_DESCRIPTION="This User will be used to log the API call." COM_COMPONENTBUILDER_CONFIG_API_DESCRIPTION="This User will be used to log the API call."
COM_COMPONENTBUILDER_CONFIG_API_LABEL="API User" COM_COMPONENTBUILDER_CONFIG_API_LABEL="API User"
COM_COMPONENTBUILDER_CONFIG_AUTHOR="Author Info" COM_COMPONENTBUILDER_CONFIG_AUTHOR="Author Info"
@ -3508,6 +3509,8 @@ COM_COMPONENTBUILDER_CONFIG_STORAGE_TIME_TO_LIVE_LABEL="Update Cycle"
COM_COMPONENTBUILDER_CONFIG_STRING_MANIPULATION="String Manipulation" COM_COMPONENTBUILDER_CONFIG_STRING_MANIPULATION="String Manipulation"
COM_COMPONENTBUILDER_CONFIG_TLS="TLS" COM_COMPONENTBUILDER_CONFIG_TLS="TLS"
COM_COMPONENTBUILDER_CONFIG_TRUE="True" COM_COMPONENTBUILDER_CONFIG_TRUE="True"
COM_COMPONENTBUILDER_CONFIG_TYPE_NAME_BUILDER_DESCRIPTION="The default option only uses alphabetical characters and converts all numbers in field names to the English equivalent like <em>1</em> becomes <b>one</b>.<br />Alphanumeric+dot keeps the numbers unconverted unless it is at the beginning of the field name, and allows for a dot (.) to be used in the type name for namespacing."
COM_COMPONENTBUILDER_CONFIG_TYPE_NAME_BUILDER_LABEL="Field Type Name Builder<br /><small>(in compiler)</small>"
COM_COMPONENTBUILDER_CONFIG_UIKIT_DESC="<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end framework COM_COMPONENTBUILDER_CONFIG_UIKIT_DESC="<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end framework
for developing fast and powerful web interfaces. For more info visit <a href="https://getuikit.com/v2/" target="_blank">https://getuikit.com/v2/</a>" for developing fast and powerful web interfaces. For more info visit <a href="https://getuikit.com/v2/" target="_blank">https://getuikit.com/v2/</a>"
COM_COMPONENTBUILDER_CONFIG_UIKIT_LABEL="Uikit2 Settings" COM_COMPONENTBUILDER_CONFIG_UIKIT_LABEL="Uikit2 Settings"
@ -5316,7 +5319,6 @@ COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDS="Select the file to import da
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDTYPES="Select the file to import data to fieldtypes." COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDTYPES="Select the file to import data to fieldtypes."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_HELP_DOCUMENTS="Select the file to import data to help_documents." COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_HELP_DOCUMENTS="Select the file to import data to help_documents."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_JOOMLA_COMPONENTS="Select the file to import data to joomla_components." COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_JOOMLA_COMPONENTS="Select the file to import data to joomla_components."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_JOOMLA_PLUGINS="Select the file to import data to joomla_plugins."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LANGUAGES="Select the file to import data to languages." COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LANGUAGES="Select the file to import data to languages."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LANGUAGE_TRANSLATIONS="Select the file to import data to language_translations." COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LANGUAGE_TRANSLATIONS="Select the file to import data to language_translations."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LAYOUTS="Select the file to import data to layouts." COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LAYOUTS="Select the file to import data to layouts."
@ -5883,10 +5885,6 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE="Joomla Plugins Edit State"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION="Joomla Plugins Edit Version" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION="Joomla Plugins Edit Version"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EXPORT="Joomla Plugins Export"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EXPORT_DESC="Allows the users in this group to export export joomla plugins"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_IMPORT="Joomla Plugins Import"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_IMPORT_DESC="Allows the users in this group to import import joomla plugins"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_ARCHIVED="%s Joomla Plugins archived." COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_ARCHIVED="%s Joomla Plugins archived."
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_ARCHIVED_1="%s Joomla Plugin archived." COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_ARCHIVED_1="%s Joomla Plugin archived."
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_CHECKED_IN_0="No Joomla Plugin successfully checked in." COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_CHECKED_IN_0="No Joomla Plugin successfully checked in."
@ -5906,8 +5904,12 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_UNPUBLISHED="%s Joomla Plugins unpub
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_UNPUBLISHED_1="%s Joomla Plugin unpublished." COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_UNPUBLISHED_1="%s Joomla Plugin unpublished."
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU="Joomla Plugins Submenu" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU="Joomla Plugins Submenu"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC="Allows the users in this group to submenu of joomla plugin" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC="Allows the users in this group to submenu of joomla plugin"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_HEAD="Add Head"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_HEAD_DESCRIPTION="You can add your own custom header script, combined with the default header script that make the extended class work."
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_HEAD_LABEL="Add Custom Class Header"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS="Class Extends" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS="Class Extends"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS_LABEL="Extends" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS_LABEL="Extends"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CODE="Code"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CONFIGPARAMS="Config/Params" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CONFIGPARAMS="Config/Params"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CREATED_BY_DESC="The user that created this Joomla Plugin." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CREATED_BY_DESC="The user that created this Joomla Plugin."
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CREATED_BY_LABEL="Created By" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CREATED_BY_LABEL="Created By"
@ -5916,7 +5918,6 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CREATED_DATE_LABEL="Created Date"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_DESCRIPTION="Enter custom value if needed" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_DESCRIPTION="Enter custom value if needed"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_HINT="Custom Value Here" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_HINT="Custom Value Here"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_LABEL="Custom Value" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_LABEL="Custom Value"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_DETAILS="Details"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_EDIT="Editing the Joomla Plugin" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_EDIT="Editing the Joomla Plugin"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ERROR_UNIQUE_ALIAS="Another Joomla Plugin has the same alias." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ERROR_UNIQUE_ALIAS="Another Joomla Plugin has the same alias."
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD="Field" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD="Field"
@ -5980,6 +5981,9 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP_SAVE_WARNING="Alias already existed so
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP_STATUS="Status" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP_STATUS="Status"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP_VERSION_DESC="A count of the number of times this Joomla Plugin Group has been revised." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP_VERSION_DESC="A count of the number of times this Joomla Plugin Group has been revised."
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP_VERSION_LABEL="Revision" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP_VERSION_LABEL="Revision"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD="Head"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD_DESCRIPTION="The class head, where JLoader, namespace and use is added, so that class being extended will work."
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD_LABEL="Class Head"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ID="Id" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ID="Id"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_JOOMLA_PLUGIN_GROUP="Joomla Plugin Group" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_JOOMLA_PLUGIN_GROUP="Joomla Plugin Group"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_JOOMLA_PLUGIN_GROUP_LABEL="Joomla Plugin Group" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_JOOMLA_PLUGIN_GROUP_LABEL="Joomla Plugin Group"
@ -6003,6 +6007,7 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_HINT="Name Here"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_LABEL="Name" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_LABEL="Name"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_MESSAGE="Error! Please add name here." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_MESSAGE="Error! Please add name here."
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NEW="A New Joomla Plugin" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NEW="A New Joomla Plugin"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO="No"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_DESCRIPTION="This area is still in beta, and is not ready for use. Things may work, but they are not wired up to the back-end/compiler. You are already seeing it since JCB is being developed in a reverse motion of front-end/GUI to back-end/Compiler approach. We first build the GUI... and then the Back-end, which is not normally how it is done, or so I was told.... But anyway that is how JCB is being build, we get the idea, look at all the relationships and build the tables, and columns, which then map to views and fields (GUI), we then build the functions in the compiler to act upon these new data-sets, and whammm the full functionality/idea becomes stable and ready. So in due time this area will become available for your use, and then this message will go away! (or the whole area will just disappear if it does not work out :)" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_DESCRIPTION="This area is still in beta, and is not ready for use. Things may work, but they are not wired up to the back-end/compiler. You are already seeing it since JCB is being developed in a reverse motion of front-end/GUI to back-end/Compiler approach. We first build the GUI... and then the Back-end, which is not normally how it is done, or so I was told.... But anyway that is how JCB is being build, we get the idea, look at all the relationships and build the tables, and columns, which then map to views and fields (GUI), we then build the functions in the compiler to act upon these new data-sets, and whammm the full functionality/idea becomes stable and ready. So in due time this area will become available for your use, and then this message will go away! (or the whole area will just disappear if it does not work out :)"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_LABEL="Beta Stage" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_LABEL="Beta Stage"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_LINKED_TO_NOTICE_DESCRIPTION="<div id='display_linked_to'>Searching the database.<span class='loading-dots'></span></div>" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_LINKED_TO_NOTICE_DESCRIPTION="<div id='display_linked_to'>Searching the database.<span class='loading-dots'></span></div>"
@ -6023,8 +6028,14 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS="Joomla Plugin Ru
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Plugin to customise the alias." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Plugin to customise the alias."
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_STATUS="Status" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_STATUS="Status"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME="System Name"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_DESCRIPTION="Used only in the system."
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_HINT="The System Name Here"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_LABEL="System Name"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_MESSAGE="Error! Please add some text here."
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_VERSION_DESC="A count of the number of times this Joomla Plugin has been revised." COM_COMPONENTBUILDER_JOOMLA_PLUGIN_VERSION_DESC="A count of the number of times this Joomla Plugin has been revised."
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_VERSION_LABEL="Revision" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_VERSION_LABEL="Revision"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES="Yes"
COM_COMPONENTBUILDER_JUST_GET_ALL_SNIPPETS="Just Get All Snippets" COM_COMPONENTBUILDER_JUST_GET_ALL_SNIPPETS="Just Get All Snippets"
COM_COMPONENTBUILDER_KEEP_HISTORY="Keep History" COM_COMPONENTBUILDER_KEEP_HISTORY="Keep History"
COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS="- Keep Original Access -" COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS="- Keep Original Access -"

View File

@ -660,10 +660,6 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE="Joomla Plugins Edit State"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION="Joomla Plugins Edit Version" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION="Joomla Plugins Edit Version"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EXPORT="Joomla Plugins Export"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EXPORT_DESC="Allows the users in this group to export export joomla plugins"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_IMPORT="Joomla Plugins Import"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_IMPORT_DESC="Allows the users in this group to import import joomla plugins"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU="Joomla Plugins Submenu" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU="Joomla Plugins Submenu"
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC="Allows the users in this group to submenu of joomla plugin" COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC="Allows the users in this group to submenu of joomla plugin"
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS="Joomla Plugin Get Boilerplate Button Access" COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS="Joomla Plugin Get Boilerplate Button Access"

View File

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

View File

@ -26,9 +26,7 @@ $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: array(
'name', 'system_name'
'class_extends',
'joomla_plugin_group'
); );
$hiddenFields = $displayData->get('hidden_fields') ?: array(); $hiddenFields = $displayData->get('hidden_fields') ?: array();

View File

@ -26,6 +26,7 @@ $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: array(
'head',
'main_class_code', 'main_class_code',
'note_linked_to_notice' 'note_linked_to_notice'
); );

View File

@ -27,6 +27,10 @@ $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: array(
'note_beta_stage', 'note_beta_stage',
'name',
'class_extends',
'joomla_plugin_group',
'add_head',
'note_plugin' 'note_plugin'
); );

View File

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

View File

@ -255,7 +255,6 @@ class ComponentbuilderModelAjax extends JModelList
return ComponentbuilderHelper::getClassCode($id, $type); return ComponentbuilderHelper::getClassCode($id, $type);
} }
public function getClassCodeIds($id, $type) public function getClassCodeIds($id, $type)
{ {
if ('property' === $type || 'method' === $type) if ('property' === $type || 'method' === $type)
@ -268,6 +267,15 @@ class ComponentbuilderModelAjax extends JModelList
} }
return false; return false;
} }
public function getClassHeaderCode($id, $type)
{
if ('extends' === $type && ($head = ComponentbuilderHelper::getVar('class_' . $type, $id, 'id', 'head')) !== false && ComponentbuilderHelper::checkString($head))
{
return base64_decode($head);
}
return false;
}
// Used in admin_view // Used in admin_view

View File

@ -1007,7 +1007,7 @@ class ComponentbuilderModelField extends JModelAdmin
} }
break; break;
case 'type': case 'type':
$property['value'] = ComponentbuilderHelper::safeString($property['value']); $property['value'] = ComponentbuilderHelper::safeTypeName($property['value']);
break; break;
} }
// load the property // load the property

View File

@ -40,12 +40,12 @@ class JFormFieldJoomlaplugins extends JFormFieldList
// Get the databse object. // Get the databse object.
$db = JFactory::getDBO(); $db = JFactory::getDBO();
$query = $db->getQuery(true); $query = $db->getQuery(true);
$query->select($db->quoteName(array('a.id','a.name','b.name','c.name'),array('id','plugin_name','class_extends_name','joomla_plugin_group_name'))); $query->select($db->quoteName(array('a.id','a.system_name','a.name','b.name','c.name'),array('id','plugin_system_name','name','class_extends_name','joomla_plugin_group_name')));
$query->from($db->quoteName('#__componentbuilder_joomla_plugin', 'a')); $query->from($db->quoteName('#__componentbuilder_joomla_plugin', 'a'));
$query->join('LEFT', $db->quoteName('#__componentbuilder_class_extends', 'b') . ' ON (' . $db->quoteName('a.class_extends') . ' = ' . $db->quoteName('b.id') . ')'); $query->join('LEFT', $db->quoteName('#__componentbuilder_class_extends', 'b') . ' ON (' . $db->quoteName('a.class_extends') . ' = ' . $db->quoteName('b.id') . ')');
$query->join('LEFT', $db->quoteName('#__componentbuilder_joomla_plugin_group', 'c') . ' ON (' . $db->quoteName('a.joomla_plugin_group') . ' = ' . $db->quoteName('c.id') . ')'); $query->join('LEFT', $db->quoteName('#__componentbuilder_joomla_plugin_group', 'c') . ' ON (' . $db->quoteName('a.joomla_plugin_group') . ' = ' . $db->quoteName('c.id') . ')');
$query->where($db->quoteName('a.published') . ' >= 1'); $query->where($db->quoteName('a.published') . ' >= 1');
$query->order('a.name ASC'); $query->order('a.system_name ASC');
// Implement View Level Access (if set in table) // Implement View Level Access (if set in table)
if (!$user->authorise('core.options', 'com_componentbuilder')) if (!$user->authorise('core.options', 'com_componentbuilder'))
{ {
@ -65,8 +65,7 @@ class JFormFieldJoomlaplugins extends JFormFieldList
foreach($items as $item) foreach($items as $item)
{ {
// set a full class name // set a full class name
$select = 'class Plg' . ucfirst($item->joomla_plugin_group_name) . $item->plugin_name . ' extends ' . $item->class_extends_name; $options[] = JHtml::_('select.option', $item->id, '( ' . $item->plugin_system_name . ' ) class Plg' . ucfirst($item->joomla_plugin_group_name) . $item->name . ' extends ' . $item->class_extends_name);
$options[] = JHtml::_('select.option', $item->id, $select);
} }
} }
return $options; return $options;

View File

@ -203,7 +203,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 getVxsfields() public function getVxtfields()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -285,13 +285,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// convert datatype // convert datatype
$item->datatype = $this->selectionTranslationVxsfields($item->datatype, 'datatype'); $item->datatype = $this->selectionTranslationVxtfields($item->datatype, 'datatype');
// convert indexes // convert indexes
$item->indexes = $this->selectionTranslationVxsfields($item->indexes, 'indexes'); $item->indexes = $this->selectionTranslationVxtfields($item->indexes, 'indexes');
// convert null_switch // convert null_switch
$item->null_switch = $this->selectionTranslationVxsfields($item->null_switch, 'null_switch'); $item->null_switch = $this->selectionTranslationVxtfields($item->null_switch, 'null_switch');
// convert store // convert store
$item->store = $this->selectionTranslationVxsfields($item->store, 'store'); $item->store = $this->selectionTranslationVxtfields($item->store, 'store');
} }
} }
@ -305,7 +305,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationVxsfields($value,$name) public function selectionTranslationVxtfields($value,$name)
{ {
// Array of datatype language strings // Array of datatype language strings
if ($name === 'datatype') if ($name === 'datatype')

View File

@ -9,123 +9,123 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvvydvwd_required = false; jform_vvvvvygvwe_required = false;
jform_vvvvvyevwe_required = false; jform_vvvvvyhvwf_required = false;
jform_vvvvvyivwf_required = false; jform_vvvvvylvwg_required = false;
jform_vvvvvyivwg_required = false; jform_vvvvvylvwh_required = false;
jform_vvvvvyivwh_required = false; jform_vvvvvylvwi_required = false;
jform_vvvvvyivwi_required = false; jform_vvvvvylvwj_required = false;
jform_vvvvvyivwj_required = false; jform_vvvvvylvwk_required = false;
jform_vvvvvyivwk_required = false; jform_vvvvvylvwl_required = false;
jform_vvvvvyivwl_required = false; jform_vvvvvylvwm_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_css_view_vvvvvxd = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvxg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvxd(add_css_view_vvvvvxd); vvvvvxg(add_css_view_vvvvvxg);
var add_css_views_vvvvvxe = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvxh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvxe(add_css_views_vvvvvxe); vvvvvxh(add_css_views_vvvvvxh);
var add_javascript_view_file_vvvvvxf = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); var add_javascript_view_file_vvvvvxi = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
vvvvvxf(add_javascript_view_file_vvvvvxf); vvvvvxi(add_javascript_view_file_vvvvvxi);
var add_javascript_views_file_vvvvvxg = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); var add_javascript_views_file_vvvvvxj = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
vvvvvxg(add_javascript_views_file_vvvvvxg); vvvvvxj(add_javascript_views_file_vvvvvxj);
var add_javascript_view_footer_vvvvvxh = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvxk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvxh(add_javascript_view_footer_vvvvvxh); vvvvvxk(add_javascript_view_footer_vvvvvxk);
var add_javascript_views_footer_vvvvvxi = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvxl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvxi(add_javascript_views_footer_vvvvvxi); vvvvvxl(add_javascript_views_footer_vvvvvxl);
var add_php_ajax_vvvvvxj = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvxm = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvxj(add_php_ajax_vvvvvxj); vvvvvxm(add_php_ajax_vvvvvxm);
var add_php_getitem_vvvvvxk = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); var add_php_getitem_vvvvvxn = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
vvvvvxk(add_php_getitem_vvvvvxk); vvvvvxn(add_php_getitem_vvvvvxn);
var add_php_getitems_vvvvvxl = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); var add_php_getitems_vvvvvxo = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvxl(add_php_getitems_vvvvvxl); vvvvvxo(add_php_getitems_vvvvvxo);
var add_php_getitems_after_all_vvvvvxm = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val(); var add_php_getitems_after_all_vvvvvxp = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
vvvvvxm(add_php_getitems_after_all_vvvvvxm); vvvvvxp(add_php_getitems_after_all_vvvvvxp);
var add_php_getlistquery_vvvvvxn = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvxq = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvxn(add_php_getlistquery_vvvvvxn); vvvvvxq(add_php_getlistquery_vvvvvxq);
var add_php_getform_vvvvvxo = jQuery("#jform_add_php_getform input[type='radio']:checked").val(); var add_php_getform_vvvvvxr = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
vvvvvxo(add_php_getform_vvvvvxo); vvvvvxr(add_php_getform_vvvvvxr);
var add_php_before_save_vvvvvxp = jQuery("#jform_add_php_before_save input[type='radio']:checked").val(); var add_php_before_save_vvvvvxs = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
vvvvvxp(add_php_before_save_vvvvvxp); vvvvvxs(add_php_before_save_vvvvvxs);
var add_php_save_vvvvvxq = jQuery("#jform_add_php_save input[type='radio']:checked").val(); var add_php_save_vvvvvxt = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvxq(add_php_save_vvvvvxq); vvvvvxt(add_php_save_vvvvvxt);
var add_php_postsavehook_vvvvvxr = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); var add_php_postsavehook_vvvvvxu = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvxr(add_php_postsavehook_vvvvvxr); vvvvvxu(add_php_postsavehook_vvvvvxu);
var add_php_allowadd_vvvvvxs = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val(); var add_php_allowadd_vvvvvxv = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
vvvvvxs(add_php_allowadd_vvvvvxs); vvvvvxv(add_php_allowadd_vvvvvxv);
var add_php_allowedit_vvvvvxt = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); var add_php_allowedit_vvvvvxw = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxt(add_php_allowedit_vvvvvxt); vvvvvxw(add_php_allowedit_vvvvvxw);
var add_php_before_cancel_vvvvvxu = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val(); var add_php_before_cancel_vvvvvxx = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
vvvvvxu(add_php_before_cancel_vvvvvxu); vvvvvxx(add_php_before_cancel_vvvvvxx);
var add_php_after_cancel_vvvvvxv = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val(); var add_php_after_cancel_vvvvvxy = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
vvvvvxv(add_php_after_cancel_vvvvvxv); vvvvvxy(add_php_after_cancel_vvvvvxy);
var add_php_batchcopy_vvvvvxw = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); var add_php_batchcopy_vvvvvxz = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxw(add_php_batchcopy_vvvvvxw); vvvvvxz(add_php_batchcopy_vvvvvxz);
var add_php_batchmove_vvvvvxx = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); var add_php_batchmove_vvvvvya = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxx(add_php_batchmove_vvvvvxx); vvvvvya(add_php_batchmove_vvvvvya);
var add_php_before_publish_vvvvvxy = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); var add_php_before_publish_vvvvvyb = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxy(add_php_before_publish_vvvvvxy); vvvvvyb(add_php_before_publish_vvvvvyb);
var add_php_after_publish_vvvvvxz = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); var add_php_after_publish_vvvvvyc = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxz(add_php_after_publish_vvvvvxz); vvvvvyc(add_php_after_publish_vvvvvyc);
var add_php_before_delete_vvvvvya = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); var add_php_before_delete_vvvvvyd = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvya(add_php_before_delete_vvvvvya); vvvvvyd(add_php_before_delete_vvvvvyd);
var add_php_after_delete_vvvvvyb = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); var add_php_after_delete_vvvvvye = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvyb(add_php_after_delete_vvvvvyb); vvvvvye(add_php_after_delete_vvvvvye);
var add_php_document_vvvvvyc = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyf = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyc(add_php_document_vvvvvyc); vvvvvyf(add_php_document_vvvvvyf);
var add_sql_vvvvvyd = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyd(add_sql_vvvvvyd);
var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvye(source_vvvvvye,add_sql_vvvvvye);
var source_vvvvvyg = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg); vvvvvyg(add_sql_vvvvvyg);
var add_custom_import_vvvvvyi = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var source_vvvvvyh = jQuery("#jform_source input[type='radio']:checked").val();
vvvvvyi(add_custom_import_vvvvvyi); var add_sql_vvvvvyh = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh);
var add_custom_import_vvvvvyj = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var source_vvvvvyj = jQuery("#jform_source input[type='radio']:checked").val();
vvvvvyj(add_custom_import_vvvvvyj); var add_sql_vvvvvyj = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj);
var add_custom_button_vvvvvyk = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_import_vvvvvyl = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyk(add_custom_button_vvvvvyk); vvvvvyl(add_custom_import_vvvvvyl);
var add_custom_import_vvvvvym = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvym(add_custom_import_vvvvvym);
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyn(add_custom_button_vvvvvyn);
}); });
// the vvvvvxd function // the vvvvvxg function
function vvvvvxd(add_css_view_vvvvvxd) function vvvvvxg(add_css_view_vvvvvxg)
{ {
// set the function logic // set the function logic
if (add_css_view_vvvvvxd == 1) if (add_css_view_vvvvvxg == 1)
{ {
jQuery('#jform_css_view-lbl').closest('.control-group').show(); jQuery('#jform_css_view-lbl').closest('.control-group').show();
} }
@ -135,11 +135,11 @@ function vvvvvxd(add_css_view_vvvvvxd)
} }
} }
// the vvvvvxe function // the vvvvvxh function
function vvvvvxe(add_css_views_vvvvvxe) function vvvvvxh(add_css_views_vvvvvxh)
{ {
// set the function logic // set the function logic
if (add_css_views_vvvvvxe == 1) if (add_css_views_vvvvvxh == 1)
{ {
jQuery('#jform_css_views-lbl').closest('.control-group').show(); jQuery('#jform_css_views-lbl').closest('.control-group').show();
} }
@ -149,11 +149,11 @@ function vvvvvxe(add_css_views_vvvvvxe)
} }
} }
// the vvvvvxf function // the vvvvvxi function
function vvvvvxf(add_javascript_view_file_vvvvvxf) function vvvvvxi(add_javascript_view_file_vvvvvxi)
{ {
// set the function logic // set the function logic
if (add_javascript_view_file_vvvvvxf == 1) if (add_javascript_view_file_vvvvvxi == 1)
{ {
jQuery('#jform_javascript_view_file-lbl').closest('.control-group').show(); jQuery('#jform_javascript_view_file-lbl').closest('.control-group').show();
} }
@ -163,11 +163,11 @@ function vvvvvxf(add_javascript_view_file_vvvvvxf)
} }
} }
// the vvvvvxg function // the vvvvvxj function
function vvvvvxg(add_javascript_views_file_vvvvvxg) function vvvvvxj(add_javascript_views_file_vvvvvxj)
{ {
// set the function logic // set the function logic
if (add_javascript_views_file_vvvvvxg == 1) if (add_javascript_views_file_vvvvvxj == 1)
{ {
jQuery('#jform_javascript_views_file-lbl').closest('.control-group').show(); jQuery('#jform_javascript_views_file-lbl').closest('.control-group').show();
} }
@ -177,11 +177,11 @@ function vvvvvxg(add_javascript_views_file_vvvvvxg)
} }
} }
// the vvvvvxh function // the vvvvvxk function
function vvvvvxh(add_javascript_view_footer_vvvvvxh) function vvvvvxk(add_javascript_view_footer_vvvvvxk)
{ {
// set the function logic // set the function logic
if (add_javascript_view_footer_vvvvvxh == 1) if (add_javascript_view_footer_vvvvvxk == 1)
{ {
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show(); jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
} }
@ -191,11 +191,11 @@ function vvvvvxh(add_javascript_view_footer_vvvvvxh)
} }
} }
// the vvvvvxi function // the vvvvvxl function
function vvvvvxi(add_javascript_views_footer_vvvvvxi) function vvvvvxl(add_javascript_views_footer_vvvvvxl)
{ {
// set the function logic // set the function logic
if (add_javascript_views_footer_vvvvvxi == 1) if (add_javascript_views_footer_vvvvvxl == 1)
{ {
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show(); jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
} }
@ -205,11 +205,11 @@ function vvvvvxi(add_javascript_views_footer_vvvvvxi)
} }
} }
// the vvvvvxj function // the vvvvvxm function
function vvvvvxj(add_php_ajax_vvvvvxj) function vvvvvxm(add_php_ajax_vvvvvxm)
{ {
// set the function logic // set the function logic
if (add_php_ajax_vvvvvxj == 1) if (add_php_ajax_vvvvvxm == 1)
{ {
jQuery('#jform_ajax_input-lbl').closest('.control-group').show(); jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
@ -221,11 +221,11 @@ function vvvvvxj(add_php_ajax_vvvvvxj)
} }
} }
// the vvvvvxk function // the vvvvvxn function
function vvvvvxk(add_php_getitem_vvvvvxk) function vvvvvxn(add_php_getitem_vvvvvxn)
{ {
// set the function logic // set the function logic
if (add_php_getitem_vvvvvxk == 1) if (add_php_getitem_vvvvvxn == 1)
{ {
jQuery('#jform_php_getitem-lbl').closest('.control-group').show(); jQuery('#jform_php_getitem-lbl').closest('.control-group').show();
} }
@ -235,11 +235,11 @@ function vvvvvxk(add_php_getitem_vvvvvxk)
} }
} }
// the vvvvvxl function // the vvvvvxo function
function vvvvvxl(add_php_getitems_vvvvvxl) function vvvvvxo(add_php_getitems_vvvvvxo)
{ {
// set the function logic // set the function logic
if (add_php_getitems_vvvvvxl == 1) if (add_php_getitems_vvvvvxo == 1)
{ {
jQuery('#jform_php_getitems-lbl').closest('.control-group').show(); jQuery('#jform_php_getitems-lbl').closest('.control-group').show();
} }
@ -249,11 +249,11 @@ function vvvvvxl(add_php_getitems_vvvvvxl)
} }
} }
// the vvvvvxm function // the vvvvvxp function
function vvvvvxm(add_php_getitems_after_all_vvvvvxm) function vvvvvxp(add_php_getitems_after_all_vvvvvxp)
{ {
// set the function logic // set the function logic
if (add_php_getitems_after_all_vvvvvxm == 1) if (add_php_getitems_after_all_vvvvvxp == 1)
{ {
jQuery('#jform_php_getitems_after_all-lbl').closest('.control-group').show(); jQuery('#jform_php_getitems_after_all-lbl').closest('.control-group').show();
} }
@ -263,11 +263,11 @@ function vvvvvxm(add_php_getitems_after_all_vvvvvxm)
} }
} }
// the vvvvvxn function // the vvvvvxq function
function vvvvvxn(add_php_getlistquery_vvvvvxn) function vvvvvxq(add_php_getlistquery_vvvvvxq)
{ {
// set the function logic // set the function logic
if (add_php_getlistquery_vvvvvxn == 1) if (add_php_getlistquery_vvvvvxq == 1)
{ {
jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show(); jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show();
} }
@ -277,11 +277,11 @@ function vvvvvxn(add_php_getlistquery_vvvvvxn)
} }
} }
// the vvvvvxo function // the vvvvvxr function
function vvvvvxo(add_php_getform_vvvvvxo) function vvvvvxr(add_php_getform_vvvvvxr)
{ {
// set the function logic // set the function logic
if (add_php_getform_vvvvvxo == 1) if (add_php_getform_vvvvvxr == 1)
{ {
jQuery('#jform_php_getform-lbl').closest('.control-group').show(); jQuery('#jform_php_getform-lbl').closest('.control-group').show();
} }
@ -291,11 +291,11 @@ function vvvvvxo(add_php_getform_vvvvvxo)
} }
} }
// the vvvvvxp function // the vvvvvxs function
function vvvvvxp(add_php_before_save_vvvvvxp) function vvvvvxs(add_php_before_save_vvvvvxs)
{ {
// set the function logic // set the function logic
if (add_php_before_save_vvvvvxp == 1) if (add_php_before_save_vvvvvxs == 1)
{ {
jQuery('#jform_php_before_save-lbl').closest('.control-group').show(); jQuery('#jform_php_before_save-lbl').closest('.control-group').show();
} }
@ -305,11 +305,11 @@ function vvvvvxp(add_php_before_save_vvvvvxp)
} }
} }
// the vvvvvxq function // the vvvvvxt function
function vvvvvxq(add_php_save_vvvvvxq) function vvvvvxt(add_php_save_vvvvvxt)
{ {
// set the function logic // set the function logic
if (add_php_save_vvvvvxq == 1) if (add_php_save_vvvvvxt == 1)
{ {
jQuery('#jform_php_save-lbl').closest('.control-group').show(); jQuery('#jform_php_save-lbl').closest('.control-group').show();
} }
@ -319,11 +319,11 @@ function vvvvvxq(add_php_save_vvvvvxq)
} }
} }
// the vvvvvxr function // the vvvvvxu function
function vvvvvxr(add_php_postsavehook_vvvvvxr) function vvvvvxu(add_php_postsavehook_vvvvvxu)
{ {
// set the function logic // set the function logic
if (add_php_postsavehook_vvvvvxr == 1) if (add_php_postsavehook_vvvvvxu == 1)
{ {
jQuery('#jform_php_postsavehook-lbl').closest('.control-group').show(); jQuery('#jform_php_postsavehook-lbl').closest('.control-group').show();
} }
@ -333,11 +333,11 @@ function vvvvvxr(add_php_postsavehook_vvvvvxr)
} }
} }
// the vvvvvxs function // the vvvvvxv function
function vvvvvxs(add_php_allowadd_vvvvvxs) function vvvvvxv(add_php_allowadd_vvvvvxv)
{ {
// set the function logic // set the function logic
if (add_php_allowadd_vvvvvxs == 1) if (add_php_allowadd_vvvvvxv == 1)
{ {
jQuery('#jform_php_allowadd-lbl').closest('.control-group').show(); jQuery('#jform_php_allowadd-lbl').closest('.control-group').show();
} }
@ -347,11 +347,11 @@ function vvvvvxs(add_php_allowadd_vvvvvxs)
} }
} }
// the vvvvvxt function // the vvvvvxw function
function vvvvvxt(add_php_allowedit_vvvvvxt) function vvvvvxw(add_php_allowedit_vvvvvxw)
{ {
// set the function logic // set the function logic
if (add_php_allowedit_vvvvvxt == 1) if (add_php_allowedit_vvvvvxw == 1)
{ {
jQuery('#jform_php_allowedit-lbl').closest('.control-group').show(); jQuery('#jform_php_allowedit-lbl').closest('.control-group').show();
} }
@ -361,11 +361,11 @@ function vvvvvxt(add_php_allowedit_vvvvvxt)
} }
} }
// the vvvvvxu function // the vvvvvxx function
function vvvvvxu(add_php_before_cancel_vvvvvxu) function vvvvvxx(add_php_before_cancel_vvvvvxx)
{ {
// set the function logic // set the function logic
if (add_php_before_cancel_vvvvvxu == 1) if (add_php_before_cancel_vvvvvxx == 1)
{ {
jQuery('#jform_php_before_cancel-lbl').closest('.control-group').show(); jQuery('#jform_php_before_cancel-lbl').closest('.control-group').show();
} }
@ -375,11 +375,11 @@ function vvvvvxu(add_php_before_cancel_vvvvvxu)
} }
} }
// the vvvvvxv function // the vvvvvxy function
function vvvvvxv(add_php_after_cancel_vvvvvxv) function vvvvvxy(add_php_after_cancel_vvvvvxy)
{ {
// set the function logic // set the function logic
if (add_php_after_cancel_vvvvvxv == 1) if (add_php_after_cancel_vvvvvxy == 1)
{ {
jQuery('#jform_php_after_cancel-lbl').closest('.control-group').show(); jQuery('#jform_php_after_cancel-lbl').closest('.control-group').show();
} }
@ -389,11 +389,11 @@ function vvvvvxv(add_php_after_cancel_vvvvvxv)
} }
} }
// the vvvvvxw function // the vvvvvxz function
function vvvvvxw(add_php_batchcopy_vvvvvxw) function vvvvvxz(add_php_batchcopy_vvvvvxz)
{ {
// set the function logic // set the function logic
if (add_php_batchcopy_vvvvvxw == 1) if (add_php_batchcopy_vvvvvxz == 1)
{ {
jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show(); jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show();
} }
@ -403,11 +403,11 @@ function vvvvvxw(add_php_batchcopy_vvvvvxw)
} }
} }
// the vvvvvxx function // the vvvvvya function
function vvvvvxx(add_php_batchmove_vvvvvxx) function vvvvvya(add_php_batchmove_vvvvvya)
{ {
// set the function logic // set the function logic
if (add_php_batchmove_vvvvvxx == 1) if (add_php_batchmove_vvvvvya == 1)
{ {
jQuery('#jform_php_batchmove-lbl').closest('.control-group').show(); jQuery('#jform_php_batchmove-lbl').closest('.control-group').show();
} }
@ -417,11 +417,11 @@ function vvvvvxx(add_php_batchmove_vvvvvxx)
} }
} }
// the vvvvvxy function // the vvvvvyb function
function vvvvvxy(add_php_before_publish_vvvvvxy) function vvvvvyb(add_php_before_publish_vvvvvyb)
{ {
// set the function logic // set the function logic
if (add_php_before_publish_vvvvvxy == 1) if (add_php_before_publish_vvvvvyb == 1)
{ {
jQuery('#jform_php_before_publish-lbl').closest('.control-group').show(); jQuery('#jform_php_before_publish-lbl').closest('.control-group').show();
} }
@ -431,11 +431,11 @@ function vvvvvxy(add_php_before_publish_vvvvvxy)
} }
} }
// the vvvvvxz function // the vvvvvyc function
function vvvvvxz(add_php_after_publish_vvvvvxz) function vvvvvyc(add_php_after_publish_vvvvvyc)
{ {
// set the function logic // set the function logic
if (add_php_after_publish_vvvvvxz == 1) if (add_php_after_publish_vvvvvyc == 1)
{ {
jQuery('#jform_php_after_publish-lbl').closest('.control-group').show(); jQuery('#jform_php_after_publish-lbl').closest('.control-group').show();
} }
@ -445,11 +445,11 @@ function vvvvvxz(add_php_after_publish_vvvvvxz)
} }
} }
// the vvvvvya function // the vvvvvyd function
function vvvvvya(add_php_before_delete_vvvvvya) function vvvvvyd(add_php_before_delete_vvvvvyd)
{ {
// set the function logic // set the function logic
if (add_php_before_delete_vvvvvya == 1) if (add_php_before_delete_vvvvvyd == 1)
{ {
jQuery('#jform_php_before_delete-lbl').closest('.control-group').show(); jQuery('#jform_php_before_delete-lbl').closest('.control-group').show();
} }
@ -459,11 +459,11 @@ function vvvvvya(add_php_before_delete_vvvvvya)
} }
} }
// the vvvvvyb function // the vvvvvye function
function vvvvvyb(add_php_after_delete_vvvvvyb) function vvvvvye(add_php_after_delete_vvvvvye)
{ {
// set the function logic // set the function logic
if (add_php_after_delete_vvvvvyb == 1) if (add_php_after_delete_vvvvvye == 1)
{ {
jQuery('#jform_php_after_delete-lbl').closest('.control-group').show(); jQuery('#jform_php_after_delete-lbl').closest('.control-group').show();
} }
@ -473,11 +473,11 @@ function vvvvvyb(add_php_after_delete_vvvvvyb)
} }
} }
// the vvvvvyc function // the vvvvvyf function
function vvvvvyc(add_php_document_vvvvvyc) function vvvvvyf(add_php_document_vvvvvyf)
{ {
// set the function logic // set the function logic
if (add_php_document_vvvvvyc == 1) if (add_php_document_vvvvvyf == 1)
{ {
jQuery('#jform_php_document-lbl').closest('.control-group').show(); jQuery('#jform_php_document-lbl').closest('.control-group').show();
} }
@ -487,75 +487,75 @@ function vvvvvyc(add_php_document_vvvvvyc)
} }
} }
// the vvvvvyd function // the vvvvvyg function
function vvvvvyd(add_sql_vvvvvyd) function vvvvvyg(add_sql_vvvvvyg)
{ {
// set the function logic // set the function logic
if (add_sql_vvvvvyd == 1) if (add_sql_vvvvvyg == 1)
{ {
jQuery('#jform_source').closest('.control-group').show(); jQuery('#jform_source').closest('.control-group').show();
// add required attribute to source field // add required attribute to source field
if (jform_vvvvvydvwd_required) if (jform_vvvvvygvwe_required)
{ {
updateFieldRequired('source',0); updateFieldRequired('source',0);
jQuery('#jform_source').prop('required','required'); jQuery('#jform_source').prop('required','required');
jQuery('#jform_source').attr('aria-required',true); jQuery('#jform_source').attr('aria-required',true);
jQuery('#jform_source').addClass('required'); jQuery('#jform_source').addClass('required');
jform_vvvvvydvwd_required = false; jform_vvvvvygvwe_required = false;
} }
} }
else else
{ {
jQuery('#jform_source').closest('.control-group').hide(); jQuery('#jform_source').closest('.control-group').hide();
// remove required attribute from source field // remove required attribute from source field
if (!jform_vvvvvydvwd_required) if (!jform_vvvvvygvwe_required)
{ {
updateFieldRequired('source',1); updateFieldRequired('source',1);
jQuery('#jform_source').removeAttr('required'); jQuery('#jform_source').removeAttr('required');
jQuery('#jform_source').removeAttr('aria-required'); jQuery('#jform_source').removeAttr('aria-required');
jQuery('#jform_source').removeClass('required'); jQuery('#jform_source').removeClass('required');
jform_vvvvvydvwd_required = true; jform_vvvvvygvwe_required = true;
} }
} }
} }
// the vvvvvye function // the vvvvvyh function
function vvvvvye(source_vvvvvye,add_sql_vvvvvye) function vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh)
{ {
// set the function logic // set the function logic
if (source_vvvvvye == 2 && add_sql_vvvvvye == 1) if (source_vvvvvyh == 2 && add_sql_vvvvvyh == 1)
{ {
jQuery('#jform_sql').closest('.control-group').show(); jQuery('#jform_sql').closest('.control-group').show();
// add required attribute to sql field // add required attribute to sql field
if (jform_vvvvvyevwe_required) if (jform_vvvvvyhvwf_required)
{ {
updateFieldRequired('sql',0); updateFieldRequired('sql',0);
jQuery('#jform_sql').prop('required','required'); jQuery('#jform_sql').prop('required','required');
jQuery('#jform_sql').attr('aria-required',true); jQuery('#jform_sql').attr('aria-required',true);
jQuery('#jform_sql').addClass('required'); jQuery('#jform_sql').addClass('required');
jform_vvvvvyevwe_required = false; jform_vvvvvyhvwf_required = false;
} }
} }
else else
{ {
jQuery('#jform_sql').closest('.control-group').hide(); jQuery('#jform_sql').closest('.control-group').hide();
// remove required attribute from sql field // remove required attribute from sql field
if (!jform_vvvvvyevwe_required) if (!jform_vvvvvyhvwf_required)
{ {
updateFieldRequired('sql',1); updateFieldRequired('sql',1);
jQuery('#jform_sql').removeAttr('required'); jQuery('#jform_sql').removeAttr('required');
jQuery('#jform_sql').removeAttr('aria-required'); jQuery('#jform_sql').removeAttr('aria-required');
jQuery('#jform_sql').removeClass('required'); jQuery('#jform_sql').removeClass('required');
jform_vvvvvyevwe_required = true; jform_vvvvvyhvwf_required = true;
} }
} }
} }
// the vvvvvyg function // the vvvvvyj function
function vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg) function vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj)
{ {
// set the function logic // set the function logic
if (source_vvvvvyg == 1 && add_sql_vvvvvyg == 1) if (source_vvvvvyj == 1 && add_sql_vvvvvyj == 1)
{ {
jQuery('#jform_addtables-lbl').closest('.control-group').show(); jQuery('#jform_addtables-lbl').closest('.control-group').show();
} }
@ -565,165 +565,165 @@ function vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg)
} }
} }
// the vvvvvyi function // the vvvvvyl function
function vvvvvyi(add_custom_import_vvvvvyi) function vvvvvyl(add_custom_import_vvvvvyl)
{ {
// set the function logic // set the function logic
if (add_custom_import_vvvvvyi == 1) if (add_custom_import_vvvvvyl == 1)
{ {
jQuery('#jform_html_import_view').closest('.control-group').show(); jQuery('#jform_html_import_view').closest('.control-group').show();
// add required attribute to html_import_view field // add required attribute to html_import_view field
if (jform_vvvvvyivwf_required) if (jform_vvvvvylvwg_required)
{ {
updateFieldRequired('html_import_view',0); updateFieldRequired('html_import_view',0);
jQuery('#jform_html_import_view').prop('required','required'); jQuery('#jform_html_import_view').prop('required','required');
jQuery('#jform_html_import_view').attr('aria-required',true); jQuery('#jform_html_import_view').attr('aria-required',true);
jQuery('#jform_html_import_view').addClass('required'); jQuery('#jform_html_import_view').addClass('required');
jform_vvvvvyivwf_required = false; jform_vvvvvylvwg_required = false;
} }
jQuery('.note_advanced_import').closest('.control-group').show(); jQuery('.note_advanced_import').closest('.control-group').show();
jQuery('#jform_php_import_display').closest('.control-group').show(); jQuery('#jform_php_import_display').closest('.control-group').show();
// add required attribute to php_import_display field // add required attribute to php_import_display field
if (jform_vvvvvyivwg_required) if (jform_vvvvvylvwh_required)
{ {
updateFieldRequired('php_import_display',0); updateFieldRequired('php_import_display',0);
jQuery('#jform_php_import_display').prop('required','required'); jQuery('#jform_php_import_display').prop('required','required');
jQuery('#jform_php_import_display').attr('aria-required',true); jQuery('#jform_php_import_display').attr('aria-required',true);
jQuery('#jform_php_import_display').addClass('required'); jQuery('#jform_php_import_display').addClass('required');
jform_vvvvvyivwg_required = false; jform_vvvvvylvwh_required = false;
} }
jQuery('#jform_php_import_ext').closest('.control-group').show(); jQuery('#jform_php_import_ext').closest('.control-group').show();
// add required attribute to php_import_ext field // add required attribute to php_import_ext field
if (jform_vvvvvyivwh_required) if (jform_vvvvvylvwi_required)
{ {
updateFieldRequired('php_import_ext',0); updateFieldRequired('php_import_ext',0);
jQuery('#jform_php_import_ext').prop('required','required'); jQuery('#jform_php_import_ext').prop('required','required');
jQuery('#jform_php_import_ext').attr('aria-required',true); jQuery('#jform_php_import_ext').attr('aria-required',true);
jQuery('#jform_php_import_ext').addClass('required'); jQuery('#jform_php_import_ext').addClass('required');
jform_vvvvvyivwh_required = false; jform_vvvvvylvwi_required = false;
} }
jQuery('#jform_php_import_headers').closest('.control-group').show(); jQuery('#jform_php_import_headers').closest('.control-group').show();
// add required attribute to php_import_headers field // add required attribute to php_import_headers field
if (jform_vvvvvyivwi_required) if (jform_vvvvvylvwj_required)
{ {
updateFieldRequired('php_import_headers',0); updateFieldRequired('php_import_headers',0);
jQuery('#jform_php_import_headers').prop('required','required'); jQuery('#jform_php_import_headers').prop('required','required');
jQuery('#jform_php_import_headers').attr('aria-required',true); jQuery('#jform_php_import_headers').attr('aria-required',true);
jQuery('#jform_php_import_headers').addClass('required'); jQuery('#jform_php_import_headers').addClass('required');
jform_vvvvvyivwi_required = false; jform_vvvvvylvwj_required = false;
} }
jQuery('#jform_php_import').closest('.control-group').show(); jQuery('#jform_php_import').closest('.control-group').show();
// add required attribute to php_import field // add required attribute to php_import field
if (jform_vvvvvyivwj_required) if (jform_vvvvvylvwk_required)
{ {
updateFieldRequired('php_import',0); updateFieldRequired('php_import',0);
jQuery('#jform_php_import').prop('required','required'); jQuery('#jform_php_import').prop('required','required');
jQuery('#jform_php_import').attr('aria-required',true); jQuery('#jform_php_import').attr('aria-required',true);
jQuery('#jform_php_import').addClass('required'); jQuery('#jform_php_import').addClass('required');
jform_vvvvvyivwj_required = false; jform_vvvvvylvwk_required = false;
} }
jQuery('#jform_php_import_save').closest('.control-group').show(); jQuery('#jform_php_import_save').closest('.control-group').show();
// add required attribute to php_import_save field // add required attribute to php_import_save field
if (jform_vvvvvyivwk_required) if (jform_vvvvvylvwl_required)
{ {
updateFieldRequired('php_import_save',0); updateFieldRequired('php_import_save',0);
jQuery('#jform_php_import_save').prop('required','required'); jQuery('#jform_php_import_save').prop('required','required');
jQuery('#jform_php_import_save').attr('aria-required',true); jQuery('#jform_php_import_save').attr('aria-required',true);
jQuery('#jform_php_import_save').addClass('required'); jQuery('#jform_php_import_save').addClass('required');
jform_vvvvvyivwk_required = false; jform_vvvvvylvwl_required = false;
} }
jQuery('#jform_php_import_setdata').closest('.control-group').show(); jQuery('#jform_php_import_setdata').closest('.control-group').show();
// add required attribute to php_import_setdata field // add required attribute to php_import_setdata field
if (jform_vvvvvyivwl_required) if (jform_vvvvvylvwm_required)
{ {
updateFieldRequired('php_import_setdata',0); updateFieldRequired('php_import_setdata',0);
jQuery('#jform_php_import_setdata').prop('required','required'); jQuery('#jform_php_import_setdata').prop('required','required');
jQuery('#jform_php_import_setdata').attr('aria-required',true); jQuery('#jform_php_import_setdata').attr('aria-required',true);
jQuery('#jform_php_import_setdata').addClass('required'); jQuery('#jform_php_import_setdata').addClass('required');
jform_vvvvvyivwl_required = false; jform_vvvvvylvwm_required = false;
} }
} }
else else
{ {
jQuery('#jform_html_import_view').closest('.control-group').hide(); jQuery('#jform_html_import_view').closest('.control-group').hide();
// remove required attribute from html_import_view field // remove required attribute from html_import_view field
if (!jform_vvvvvyivwf_required) if (!jform_vvvvvylvwg_required)
{ {
updateFieldRequired('html_import_view',1); updateFieldRequired('html_import_view',1);
jQuery('#jform_html_import_view').removeAttr('required'); jQuery('#jform_html_import_view').removeAttr('required');
jQuery('#jform_html_import_view').removeAttr('aria-required'); jQuery('#jform_html_import_view').removeAttr('aria-required');
jQuery('#jform_html_import_view').removeClass('required'); jQuery('#jform_html_import_view').removeClass('required');
jform_vvvvvyivwf_required = true; jform_vvvvvylvwg_required = true;
} }
jQuery('.note_advanced_import').closest('.control-group').hide(); jQuery('.note_advanced_import').closest('.control-group').hide();
jQuery('#jform_php_import_display').closest('.control-group').hide(); jQuery('#jform_php_import_display').closest('.control-group').hide();
// remove required attribute from php_import_display field // remove required attribute from php_import_display field
if (!jform_vvvvvyivwg_required) if (!jform_vvvvvylvwh_required)
{ {
updateFieldRequired('php_import_display',1); updateFieldRequired('php_import_display',1);
jQuery('#jform_php_import_display').removeAttr('required'); jQuery('#jform_php_import_display').removeAttr('required');
jQuery('#jform_php_import_display').removeAttr('aria-required'); jQuery('#jform_php_import_display').removeAttr('aria-required');
jQuery('#jform_php_import_display').removeClass('required'); jQuery('#jform_php_import_display').removeClass('required');
jform_vvvvvyivwg_required = true; jform_vvvvvylvwh_required = true;
} }
jQuery('#jform_php_import_ext').closest('.control-group').hide(); jQuery('#jform_php_import_ext').closest('.control-group').hide();
// remove required attribute from php_import_ext field // remove required attribute from php_import_ext field
if (!jform_vvvvvyivwh_required) if (!jform_vvvvvylvwi_required)
{ {
updateFieldRequired('php_import_ext',1); updateFieldRequired('php_import_ext',1);
jQuery('#jform_php_import_ext').removeAttr('required'); jQuery('#jform_php_import_ext').removeAttr('required');
jQuery('#jform_php_import_ext').removeAttr('aria-required'); jQuery('#jform_php_import_ext').removeAttr('aria-required');
jQuery('#jform_php_import_ext').removeClass('required'); jQuery('#jform_php_import_ext').removeClass('required');
jform_vvvvvyivwh_required = true; jform_vvvvvylvwi_required = true;
} }
jQuery('#jform_php_import_headers').closest('.control-group').hide(); jQuery('#jform_php_import_headers').closest('.control-group').hide();
// remove required attribute from php_import_headers field // remove required attribute from php_import_headers field
if (!jform_vvvvvyivwi_required) if (!jform_vvvvvylvwj_required)
{ {
updateFieldRequired('php_import_headers',1); updateFieldRequired('php_import_headers',1);
jQuery('#jform_php_import_headers').removeAttr('required'); jQuery('#jform_php_import_headers').removeAttr('required');
jQuery('#jform_php_import_headers').removeAttr('aria-required'); jQuery('#jform_php_import_headers').removeAttr('aria-required');
jQuery('#jform_php_import_headers').removeClass('required'); jQuery('#jform_php_import_headers').removeClass('required');
jform_vvvvvyivwi_required = true; jform_vvvvvylvwj_required = true;
} }
jQuery('#jform_php_import').closest('.control-group').hide(); jQuery('#jform_php_import').closest('.control-group').hide();
// remove required attribute from php_import field // remove required attribute from php_import field
if (!jform_vvvvvyivwj_required) if (!jform_vvvvvylvwk_required)
{ {
updateFieldRequired('php_import',1); updateFieldRequired('php_import',1);
jQuery('#jform_php_import').removeAttr('required'); jQuery('#jform_php_import').removeAttr('required');
jQuery('#jform_php_import').removeAttr('aria-required'); jQuery('#jform_php_import').removeAttr('aria-required');
jQuery('#jform_php_import').removeClass('required'); jQuery('#jform_php_import').removeClass('required');
jform_vvvvvyivwj_required = true; jform_vvvvvylvwk_required = true;
} }
jQuery('#jform_php_import_save').closest('.control-group').hide(); jQuery('#jform_php_import_save').closest('.control-group').hide();
// remove required attribute from php_import_save field // remove required attribute from php_import_save field
if (!jform_vvvvvyivwk_required) if (!jform_vvvvvylvwl_required)
{ {
updateFieldRequired('php_import_save',1); updateFieldRequired('php_import_save',1);
jQuery('#jform_php_import_save').removeAttr('required'); jQuery('#jform_php_import_save').removeAttr('required');
jQuery('#jform_php_import_save').removeAttr('aria-required'); jQuery('#jform_php_import_save').removeAttr('aria-required');
jQuery('#jform_php_import_save').removeClass('required'); jQuery('#jform_php_import_save').removeClass('required');
jform_vvvvvyivwk_required = true; jform_vvvvvylvwl_required = true;
} }
jQuery('#jform_php_import_setdata').closest('.control-group').hide(); jQuery('#jform_php_import_setdata').closest('.control-group').hide();
// remove required attribute from php_import_setdata field // remove required attribute from php_import_setdata field
if (!jform_vvvvvyivwl_required) if (!jform_vvvvvylvwm_required)
{ {
updateFieldRequired('php_import_setdata',1); updateFieldRequired('php_import_setdata',1);
jQuery('#jform_php_import_setdata').removeAttr('required'); jQuery('#jform_php_import_setdata').removeAttr('required');
jQuery('#jform_php_import_setdata').removeAttr('aria-required'); jQuery('#jform_php_import_setdata').removeAttr('aria-required');
jQuery('#jform_php_import_setdata').removeClass('required'); jQuery('#jform_php_import_setdata').removeClass('required');
jform_vvvvvyivwl_required = true; jform_vvvvvylvwm_required = true;
} }
} }
} }
// the vvvvvyj function // the vvvvvym function
function vvvvvyj(add_custom_import_vvvvvyj) function vvvvvym(add_custom_import_vvvvvym)
{ {
// set the function logic // set the function logic
if (add_custom_import_vvvvvyj == 0) if (add_custom_import_vvvvvym == 0)
{ {
jQuery('.note_beginner_import').closest('.control-group').show(); jQuery('.note_beginner_import').closest('.control-group').show();
} }
@ -733,11 +733,11 @@ function vvvvvyj(add_custom_import_vvvvvyj)
} }
} }
// the vvvvvyk function // the vvvvvyn function
function vvvvvyk(add_custom_button_vvvvvyk) function vvvvvyn(add_custom_button_vvvvvyn)
{ {
// set the function logic // set the function logic
if (add_custom_button_vvvvvyk == 1) if (add_custom_button_vvvvvyn == 1)
{ {
jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_custom_button-lbl').closest('.control-group').show();
jQuery('#jform_php_controller-lbl').closest('.control-group').show(); jQuery('#jform_php_controller-lbl').closest('.control-group').show();

View File

@ -127,9 +127,9 @@
label="COM_COMPONENTBUILDER_CLASS_EXTENDS_HEAD_LABEL" label="COM_COMPONENTBUILDER_CLASS_EXTENDS_HEAD_LABEL"
description="COM_COMPONENTBUILDER_CLASS_EXTENDS_HEAD_DESCRIPTION" description="COM_COMPONENTBUILDER_CLASS_EXTENDS_HEAD_DESCRIPTION"
width="100%" width="100%"
height="450px" height="100px"
cols="15" cols="15"
rows="30" rows="10"
buttons="no" buttons="no"
syntax="php" syntax="php"
editor="codemirror|none" editor="codemirror|none"

View File

@ -9,29 +9,29 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwaovxe_required = false; jform_vvvvwarvxf_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var extension_type_vvvvwao = jQuery("#jform_extension_type").val(); var extension_type_vvvvwar = jQuery("#jform_extension_type").val();
vvvvwao(extension_type_vvvvwao); vvvvwar(extension_type_vvvvwar);
}); });
// the vvvvwao function // the vvvvwar function
function vvvvwao(extension_type_vvvvwao) function vvvvwar(extension_type_vvvvwar)
{ {
if (isSet(extension_type_vvvvwao) && extension_type_vvvvwao.constructor !== Array) if (isSet(extension_type_vvvvwar) && extension_type_vvvvwar.constructor !== Array)
{ {
var temp_vvvvwao = extension_type_vvvvwao; var temp_vvvvwar = extension_type_vvvvwar;
var extension_type_vvvvwao = []; var extension_type_vvvvwar = [];
extension_type_vvvvwao.push(temp_vvvvwao); extension_type_vvvvwar.push(temp_vvvvwar);
} }
else if (!isSet(extension_type_vvvvwao)) else if (!isSet(extension_type_vvvvwar))
{ {
var extension_type_vvvvwao = []; var extension_type_vvvvwar = [];
} }
var extension_type = extension_type_vvvvwao.some(extension_type_vvvvwao_SomeFunc); var extension_type = extension_type_vvvvwar.some(extension_type_vvvvwar_SomeFunc);
// set this function logic // set this function logic
@ -39,35 +39,35 @@ function vvvvwao(extension_type_vvvvwao)
{ {
jQuery('#jform_joomla_plugin_group').closest('.control-group').show(); jQuery('#jform_joomla_plugin_group').closest('.control-group').show();
// add required attribute to joomla_plugin_group field // add required attribute to joomla_plugin_group field
if (jform_vvvvwaovxe_required) if (jform_vvvvwarvxf_required)
{ {
updateFieldRequired('joomla_plugin_group',0); updateFieldRequired('joomla_plugin_group',0);
jQuery('#jform_joomla_plugin_group').prop('required','required'); jQuery('#jform_joomla_plugin_group').prop('required','required');
jQuery('#jform_joomla_plugin_group').attr('aria-required',true); jQuery('#jform_joomla_plugin_group').attr('aria-required',true);
jQuery('#jform_joomla_plugin_group').addClass('required'); jQuery('#jform_joomla_plugin_group').addClass('required');
jform_vvvvwaovxe_required = false; jform_vvvvwarvxf_required = false;
} }
} }
else else
{ {
jQuery('#jform_joomla_plugin_group').closest('.control-group').hide(); jQuery('#jform_joomla_plugin_group').closest('.control-group').hide();
// remove required attribute from joomla_plugin_group field // remove required attribute from joomla_plugin_group field
if (!jform_vvvvwaovxe_required) if (!jform_vvvvwarvxf_required)
{ {
updateFieldRequired('joomla_plugin_group',1); updateFieldRequired('joomla_plugin_group',1);
jQuery('#jform_joomla_plugin_group').removeAttr('required'); jQuery('#jform_joomla_plugin_group').removeAttr('required');
jQuery('#jform_joomla_plugin_group').removeAttr('aria-required'); jQuery('#jform_joomla_plugin_group').removeAttr('aria-required');
jQuery('#jform_joomla_plugin_group').removeClass('required'); jQuery('#jform_joomla_plugin_group').removeClass('required');
jform_vvvvwaovxe_required = true; jform_vvvvwarvxf_required = true;
} }
} }
} }
// the vvvvwao Some function // the vvvvwar Some function
function extension_type_vvvvwao_SomeFunc(extension_type_vvvvwao) function extension_type_vvvvwar_SomeFunc(extension_type_vvvvwar)
{ {
// set the function logic // set the function logic
if (extension_type_vvvvwao == 'plugins' || extension_type_vvvvwao == 'plugin') if (extension_type_vvvvwar == 'plugins' || extension_type_vvvvwar == 'plugin')
{ {
return true; return true;
} }

View File

@ -9,29 +9,29 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwanvxd_required = false; jform_vvvvwaqvxe_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var extension_type_vvvvwan = jQuery("#jform_extension_type").val(); var extension_type_vvvvwaq = jQuery("#jform_extension_type").val();
vvvvwan(extension_type_vvvvwan); vvvvwaq(extension_type_vvvvwaq);
}); });
// the vvvvwan function // the vvvvwaq function
function vvvvwan(extension_type_vvvvwan) function vvvvwaq(extension_type_vvvvwaq)
{ {
if (isSet(extension_type_vvvvwan) && extension_type_vvvvwan.constructor !== Array) if (isSet(extension_type_vvvvwaq) && extension_type_vvvvwaq.constructor !== Array)
{ {
var temp_vvvvwan = extension_type_vvvvwan; var temp_vvvvwaq = extension_type_vvvvwaq;
var extension_type_vvvvwan = []; var extension_type_vvvvwaq = [];
extension_type_vvvvwan.push(temp_vvvvwan); extension_type_vvvvwaq.push(temp_vvvvwaq);
} }
else if (!isSet(extension_type_vvvvwan)) else if (!isSet(extension_type_vvvvwaq))
{ {
var extension_type_vvvvwan = []; var extension_type_vvvvwaq = [];
} }
var extension_type = extension_type_vvvvwan.some(extension_type_vvvvwan_SomeFunc); var extension_type = extension_type_vvvvwaq.some(extension_type_vvvvwaq_SomeFunc);
// set this function logic // set this function logic
@ -39,35 +39,35 @@ function vvvvwan(extension_type_vvvvwan)
{ {
jQuery('#jform_joomla_plugin_group').closest('.control-group').show(); jQuery('#jform_joomla_plugin_group').closest('.control-group').show();
// add required attribute to joomla_plugin_group field // add required attribute to joomla_plugin_group field
if (jform_vvvvwanvxd_required) if (jform_vvvvwaqvxe_required)
{ {
updateFieldRequired('joomla_plugin_group',0); updateFieldRequired('joomla_plugin_group',0);
jQuery('#jform_joomla_plugin_group').prop('required','required'); jQuery('#jform_joomla_plugin_group').prop('required','required');
jQuery('#jform_joomla_plugin_group').attr('aria-required',true); jQuery('#jform_joomla_plugin_group').attr('aria-required',true);
jQuery('#jform_joomla_plugin_group').addClass('required'); jQuery('#jform_joomla_plugin_group').addClass('required');
jform_vvvvwanvxd_required = false; jform_vvvvwaqvxe_required = false;
} }
} }
else else
{ {
jQuery('#jform_joomla_plugin_group').closest('.control-group').hide(); jQuery('#jform_joomla_plugin_group').closest('.control-group').hide();
// remove required attribute from joomla_plugin_group field // remove required attribute from joomla_plugin_group field
if (!jform_vvvvwanvxd_required) if (!jform_vvvvwaqvxe_required)
{ {
updateFieldRequired('joomla_plugin_group',1); updateFieldRequired('joomla_plugin_group',1);
jQuery('#jform_joomla_plugin_group').removeAttr('required'); jQuery('#jform_joomla_plugin_group').removeAttr('required');
jQuery('#jform_joomla_plugin_group').removeAttr('aria-required'); jQuery('#jform_joomla_plugin_group').removeAttr('aria-required');
jQuery('#jform_joomla_plugin_group').removeClass('required'); jQuery('#jform_joomla_plugin_group').removeClass('required');
jform_vvvvwanvxd_required = true; jform_vvvvwaqvxe_required = true;
} }
} }
} }
// the vvvvwan Some function // the vvvvwaq Some function
function extension_type_vvvvwan_SomeFunc(extension_type_vvvvwan) function extension_type_vvvvwaq_SomeFunc(extension_type_vvvvwaq)
{ {
// set the function logic // set the function logic
if (extension_type_vvvvwan == 'plugins' || extension_type_vvvvwan == 'plugin') if (extension_type_vvvvwaq == 'plugins' || extension_type_vvvvwaq == 'plugin')
{ {
return true; return true;
} }

View File

@ -11,42 +11,42 @@
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvyl = 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();
vvvvvyl(add_php_view_vvvvvyl); vvvvvyo(add_php_view_vvvvvyo);
var add_php_jview_display_vvvvvym = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyp = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvym(add_php_jview_display_vvvvvym); vvvvvyp(add_php_jview_display_vvvvvyp);
var add_php_jview_vvvvvyn = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyq = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyn(add_php_jview_vvvvvyn); vvvvvyq(add_php_jview_vvvvvyq);
var add_php_document_vvvvvyo = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyr = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyo(add_php_document_vvvvvyo); vvvvvyr(add_php_document_vvvvvyr);
var add_css_document_vvvvvyp = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvys = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyp(add_css_document_vvvvvyp); vvvvvys(add_css_document_vvvvvys);
var add_javascript_file_vvvvvyq = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvyt = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyq(add_javascript_file_vvvvvyq); vvvvvyt(add_javascript_file_vvvvvyt);
var add_js_document_vvvvvyr = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyu = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyr(add_js_document_vvvvvyr); vvvvvyu(add_js_document_vvvvvyu);
var add_custom_button_vvvvvys = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyv = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvys(add_custom_button_vvvvvys); vvvvvyv(add_custom_button_vvvvvyv);
var add_css_vvvvvyt = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyt(add_css_vvvvvyt); vvvvvyw(add_css_vvvvvyw);
var add_php_ajax_vvvvvyu = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyu(add_php_ajax_vvvvvyu); vvvvvyx(add_php_ajax_vvvvvyx);
}); });
// the vvvvvyl function // the vvvvvyo function
function vvvvvyl(add_php_view_vvvvvyl) function vvvvvyo(add_php_view_vvvvvyo)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvyl == 1) if (add_php_view_vvvvvyo == 1)
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').show(); jQuery('#jform_php_view-lbl').closest('.control-group').show();
} }
@ -56,11 +56,11 @@ function vvvvvyl(add_php_view_vvvvvyl)
} }
} }
// the vvvvvym function // the vvvvvyp function
function vvvvvym(add_php_jview_display_vvvvvym) function vvvvvyp(add_php_jview_display_vvvvvyp)
{ {
// set the function logic // set the function logic
if (add_php_jview_display_vvvvvym == 1) if (add_php_jview_display_vvvvvyp == 1)
{ {
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show(); jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
} }
@ -70,11 +70,11 @@ function vvvvvym(add_php_jview_display_vvvvvym)
} }
} }
// the vvvvvyn function // the vvvvvyq function
function vvvvvyn(add_php_jview_vvvvvyn) function vvvvvyq(add_php_jview_vvvvvyq)
{ {
// set the function logic // set the function logic
if (add_php_jview_vvvvvyn == 1) if (add_php_jview_vvvvvyq == 1)
{ {
jQuery('#jform_php_jview-lbl').closest('.control-group').show(); jQuery('#jform_php_jview-lbl').closest('.control-group').show();
} }
@ -84,11 +84,11 @@ function vvvvvyn(add_php_jview_vvvvvyn)
} }
} }
// the vvvvvyo function // the vvvvvyr function
function vvvvvyo(add_php_document_vvvvvyo) function vvvvvyr(add_php_document_vvvvvyr)
{ {
// set the function logic // set the function logic
if (add_php_document_vvvvvyo == 1) if (add_php_document_vvvvvyr == 1)
{ {
jQuery('#jform_php_document-lbl').closest('.control-group').show(); jQuery('#jform_php_document-lbl').closest('.control-group').show();
} }
@ -98,11 +98,11 @@ function vvvvvyo(add_php_document_vvvvvyo)
} }
} }
// the vvvvvyp function // the vvvvvys function
function vvvvvyp(add_css_document_vvvvvyp) function vvvvvys(add_css_document_vvvvvys)
{ {
// set the function logic // set the function logic
if (add_css_document_vvvvvyp == 1) if (add_css_document_vvvvvys == 1)
{ {
jQuery('#jform_css_document-lbl').closest('.control-group').show(); jQuery('#jform_css_document-lbl').closest('.control-group').show();
} }
@ -112,11 +112,11 @@ function vvvvvyp(add_css_document_vvvvvyp)
} }
} }
// the vvvvvyq function // the vvvvvyt function
function vvvvvyq(add_javascript_file_vvvvvyq) function vvvvvyt(add_javascript_file_vvvvvyt)
{ {
// set the function logic // set the function logic
if (add_javascript_file_vvvvvyq == 1) if (add_javascript_file_vvvvvyt == 1)
{ {
jQuery('#jform_javascript_file-lbl').closest('.control-group').show(); jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
} }
@ -126,11 +126,11 @@ function vvvvvyq(add_javascript_file_vvvvvyq)
} }
} }
// the vvvvvyr function // the vvvvvyu function
function vvvvvyr(add_js_document_vvvvvyr) function vvvvvyu(add_js_document_vvvvvyu)
{ {
// set the function logic // set the function logic
if (add_js_document_vvvvvyr == 1) if (add_js_document_vvvvvyu == 1)
{ {
jQuery('#jform_js_document-lbl').closest('.control-group').show(); jQuery('#jform_js_document-lbl').closest('.control-group').show();
} }
@ -140,11 +140,11 @@ function vvvvvyr(add_js_document_vvvvvyr)
} }
} }
// the vvvvvys function // the vvvvvyv function
function vvvvvys(add_custom_button_vvvvvys) function vvvvvyv(add_custom_button_vvvvvyv)
{ {
// set the function logic // set the function logic
if (add_custom_button_vvvvvys == 1) if (add_custom_button_vvvvvyv == 1)
{ {
jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_custom_button-lbl').closest('.control-group').show();
jQuery('#jform_php_controller-lbl').closest('.control-group').show(); jQuery('#jform_php_controller-lbl').closest('.control-group').show();
@ -158,11 +158,11 @@ function vvvvvys(add_custom_button_vvvvvys)
} }
} }
// the vvvvvyt function // the vvvvvyw function
function vvvvvyt(add_css_vvvvvyt) function vvvvvyw(add_css_vvvvvyw)
{ {
// set the function logic // set the function logic
if (add_css_vvvvvyt == 1) if (add_css_vvvvvyw == 1)
{ {
jQuery('#jform_css-lbl').closest('.control-group').show(); jQuery('#jform_css-lbl').closest('.control-group').show();
} }
@ -172,11 +172,11 @@ function vvvvvyt(add_css_vvvvvyt)
} }
} }
// the vvvvvyu function // the vvvvvyx function
function vvvvvyu(add_php_ajax_vvvvvyu) function vvvvvyx(add_php_ajax_vvvvvyx)
{ {
// set the function logic // set the function logic
if (add_php_ajax_vvvvvyu == 1) if (add_php_ajax_vvvvvyx == 1)
{ {
jQuery('#jform_ajax_input-lbl').closest('.control-group').show(); jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();

View File

@ -9,44 +9,44 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwajvwz_required = false; jform_vvvvwamvxa_required = false;
jform_vvvvwakvxa_required = false; jform_vvvvwanvxb_required = false;
jform_vvvvwakvxb_required = false; jform_vvvvwanvxc_required = false;
jform_vvvvwakvxc_required = false; jform_vvvvwanvxd_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var target_vvvvwaj = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaj(target_vvvvwaj);
var target_vvvvwak = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwak(target_vvvvwak);
var target_vvvvwal = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwal = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwal(target_vvvvwal,type_vvvvwal);
var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwam(type_vvvvwam,target_vvvvwam); vvvvwam(target_vvvvwam);
var target_vvvvwan = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwan(target_vvvvwan);
var target_vvvvwao = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwao(target_vvvvwao,type_vvvvwao);
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwap(type_vvvvwap,target_vvvvwap);
}); });
// the vvvvwaj function // the vvvvwam function
function vvvvwaj(target_vvvvwaj) function vvvvwam(target_vvvvwam)
{ {
// set the function logic // set the function logic
if (target_vvvvwaj == 2) if (target_vvvvwam == 2)
{ {
jQuery('#jform_function_name').closest('.control-group').show(); jQuery('#jform_function_name').closest('.control-group').show();
// add required attribute to function_name field // add required attribute to function_name field
if (jform_vvvvwajvwz_required) if (jform_vvvvwamvxa_required)
{ {
updateFieldRequired('function_name',0); updateFieldRequired('function_name',0);
jQuery('#jform_function_name').prop('required','required'); jQuery('#jform_function_name').prop('required','required');
jQuery('#jform_function_name').attr('aria-required',true); jQuery('#jform_function_name').attr('aria-required',true);
jQuery('#jform_function_name').addClass('required'); jQuery('#jform_function_name').addClass('required');
jform_vvvvwajvwz_required = false; jform_vvvvwamvxa_required = false;
} }
jQuery('.note_jcb_placeholder').closest('.control-group').show(); jQuery('.note_jcb_placeholder').closest('.control-group').show();
jQuery('#jform_system_name').closest('.control-group').show(); jQuery('#jform_system_name').closest('.control-group').show();
@ -55,102 +55,102 @@ function vvvvwaj(target_vvvvwaj)
{ {
jQuery('#jform_function_name').closest('.control-group').hide(); jQuery('#jform_function_name').closest('.control-group').hide();
// remove required attribute from function_name field // remove required attribute from function_name field
if (!jform_vvvvwajvwz_required) if (!jform_vvvvwamvxa_required)
{ {
updateFieldRequired('function_name',1); updateFieldRequired('function_name',1);
jQuery('#jform_function_name').removeAttr('required'); jQuery('#jform_function_name').removeAttr('required');
jQuery('#jform_function_name').removeAttr('aria-required'); jQuery('#jform_function_name').removeAttr('aria-required');
jQuery('#jform_function_name').removeClass('required'); jQuery('#jform_function_name').removeClass('required');
jform_vvvvwajvwz_required = true; jform_vvvvwamvxa_required = true;
} }
jQuery('.note_jcb_placeholder').closest('.control-group').hide(); jQuery('.note_jcb_placeholder').closest('.control-group').hide();
jQuery('#jform_system_name').closest('.control-group').hide(); jQuery('#jform_system_name').closest('.control-group').hide();
} }
} }
// the vvvvwak function // the vvvvwan function
function vvvvwak(target_vvvvwak) function vvvvwan(target_vvvvwan)
{ {
// set the function logic // set the function logic
if (target_vvvvwak == 1) if (target_vvvvwan == 1)
{ {
jQuery('#jform_component').closest('.control-group').show(); jQuery('#jform_component').closest('.control-group').show();
// add required attribute to component field // add required attribute to component field
if (jform_vvvvwakvxa_required) if (jform_vvvvwanvxb_required)
{ {
updateFieldRequired('component',0); updateFieldRequired('component',0);
jQuery('#jform_component').prop('required','required'); jQuery('#jform_component').prop('required','required');
jQuery('#jform_component').attr('aria-required',true); jQuery('#jform_component').attr('aria-required',true);
jQuery('#jform_component').addClass('required'); jQuery('#jform_component').addClass('required');
jform_vvvvwakvxa_required = false; jform_vvvvwanvxb_required = false;
} }
jQuery('#jform_path').closest('.control-group').show(); jQuery('#jform_path').closest('.control-group').show();
// add required attribute to path field // add required attribute to path field
if (jform_vvvvwakvxb_required) if (jform_vvvvwanvxc_required)
{ {
updateFieldRequired('path',0); updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required'); jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true); jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required'); jQuery('#jform_path').addClass('required');
jform_vvvvwakvxb_required = false; jform_vvvvwanvxc_required = false;
} }
jQuery('#jform_from_line').closest('.control-group').show(); jQuery('#jform_from_line').closest('.control-group').show();
jQuery('#jform_hashtarget').closest('.control-group').show(); jQuery('#jform_hashtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show(); jQuery('#jform_to_line').closest('.control-group').show();
jQuery('#jform_type').closest('.control-group').show(); jQuery('#jform_type').closest('.control-group').show();
// add required attribute to type field // add required attribute to type field
if (jform_vvvvwakvxc_required) if (jform_vvvvwanvxd_required)
{ {
updateFieldRequired('type',0); updateFieldRequired('type',0);
jQuery('#jform_type').prop('required','required'); jQuery('#jform_type').prop('required','required');
jQuery('#jform_type').attr('aria-required',true); jQuery('#jform_type').attr('aria-required',true);
jQuery('#jform_type').addClass('required'); jQuery('#jform_type').addClass('required');
jform_vvvvwakvxc_required = false; jform_vvvvwanvxd_required = false;
} }
} }
else else
{ {
jQuery('#jform_component').closest('.control-group').hide(); jQuery('#jform_component').closest('.control-group').hide();
// remove required attribute from component field // remove required attribute from component field
if (!jform_vvvvwakvxa_required) if (!jform_vvvvwanvxb_required)
{ {
updateFieldRequired('component',1); updateFieldRequired('component',1);
jQuery('#jform_component').removeAttr('required'); jQuery('#jform_component').removeAttr('required');
jQuery('#jform_component').removeAttr('aria-required'); jQuery('#jform_component').removeAttr('aria-required');
jQuery('#jform_component').removeClass('required'); jQuery('#jform_component').removeClass('required');
jform_vvvvwakvxa_required = true; jform_vvvvwanvxb_required = true;
} }
jQuery('#jform_path').closest('.control-group').hide(); jQuery('#jform_path').closest('.control-group').hide();
// remove required attribute from path field // remove required attribute from path field
if (!jform_vvvvwakvxb_required) if (!jform_vvvvwanvxc_required)
{ {
updateFieldRequired('path',1); updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required'); jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required'); jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required'); jQuery('#jform_path').removeClass('required');
jform_vvvvwakvxb_required = true; jform_vvvvwanvxc_required = true;
} }
jQuery('#jform_from_line').closest('.control-group').hide(); jQuery('#jform_from_line').closest('.control-group').hide();
jQuery('#jform_hashtarget').closest('.control-group').hide(); jQuery('#jform_hashtarget').closest('.control-group').hide();
jQuery('#jform_to_line').closest('.control-group').hide(); jQuery('#jform_to_line').closest('.control-group').hide();
jQuery('#jform_type').closest('.control-group').hide(); jQuery('#jform_type').closest('.control-group').hide();
// remove required attribute from type field // remove required attribute from type field
if (!jform_vvvvwakvxc_required) if (!jform_vvvvwanvxd_required)
{ {
updateFieldRequired('type',1); updateFieldRequired('type',1);
jQuery('#jform_type').removeAttr('required'); jQuery('#jform_type').removeAttr('required');
jQuery('#jform_type').removeAttr('aria-required'); jQuery('#jform_type').removeAttr('aria-required');
jQuery('#jform_type').removeClass('required'); jQuery('#jform_type').removeClass('required');
jform_vvvvwakvxc_required = true; jform_vvvvwanvxd_required = true;
} }
} }
} }
// the vvvvwal function // the vvvvwao function
function vvvvwal(target_vvvvwal,type_vvvvwal) function vvvvwao(target_vvvvwao,type_vvvvwao)
{ {
// set the function logic // set the function logic
if (target_vvvvwal == 1 && type_vvvvwal == 1) if (target_vvvvwao == 1 && type_vvvvwao == 1)
{ {
jQuery('#jform_hashendtarget').closest('.control-group').show(); jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show(); jQuery('#jform_to_line').closest('.control-group').show();
@ -162,11 +162,11 @@ function vvvvwal(target_vvvvwal,type_vvvvwal)
} }
} }
// the vvvvwam function // the vvvvwap function
function vvvvwam(type_vvvvwam,target_vvvvwam) function vvvvwap(type_vvvvwap,target_vvvvwap)
{ {
// set the function logic // set the function logic
if (type_vvvvwam == 1 && target_vvvvwam == 1) if (type_vvvvwap == 1 && target_vvvvwap == 1)
{ {
jQuery('#jform_hashendtarget').closest('.control-group').show(); jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show(); jQuery('#jform_to_line').closest('.control-group').show();

File diff suppressed because it is too large Load Diff

View File

@ -9,57 +9,57 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwaxvxh_required = false; jform_vvvvwbavxi_required = false;
jform_vvvvwayvxi_required = false; jform_vvvvwbbvxj_required = false;
jform_vvvvwazvxj_required = false; jform_vvvvwbcvxk_required = false;
jform_vvvvwbavxk_required = false; jform_vvvvwbdvxl_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var datalenght_vvvvwax = jQuery("#jform_datalenght").val(); var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
vvvvwax(datalenght_vvvvwax); vvvvwba(datalenght_vvvvwba);
var datadefault_vvvvway = jQuery("#jform_datadefault").val(); var datadefault_vvvvwbb = jQuery("#jform_datadefault").val();
vvvvway(datadefault_vvvvway); vvvvwbb(datadefault_vvvvwbb);
var datatype_vvvvwaz = jQuery("#jform_datatype").val(); var datatype_vvvvwbc = jQuery("#jform_datatype").val();
vvvvwaz(datatype_vvvvwaz); vvvvwbc(datatype_vvvvwbc);
var datatype_vvvvwba = jQuery("#jform_datatype").val(); var datatype_vvvvwbd = jQuery("#jform_datatype").val();
vvvvwba(datatype_vvvvwba); vvvvwbd(datatype_vvvvwbd);
var store_vvvvwbb = jQuery("#jform_store").val(); var store_vvvvwbe = jQuery("#jform_store").val();
var datatype_vvvvwbb = jQuery("#jform_datatype").val(); var datatype_vvvvwbe = jQuery("#jform_datatype").val();
vvvvwbb(store_vvvvwbb,datatype_vvvvwbb); vvvvwbe(store_vvvvwbe,datatype_vvvvwbe);
var add_css_view_vvvvwbd = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvwbg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwbd(add_css_view_vvvvwbd); vvvvwbg(add_css_view_vvvvwbg);
var add_css_views_vvvvwbe = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvwbh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwbe(add_css_views_vvvvwbe); vvvvwbh(add_css_views_vvvvwbh);
var add_javascript_view_footer_vvvvwbf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvwbi = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwbf(add_javascript_view_footer_vvvvwbf); vvvvwbi(add_javascript_view_footer_vvvvwbi);
var add_javascript_views_footer_vvvvwbg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvwbj = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwbg(add_javascript_views_footer_vvvvwbg); vvvvwbj(add_javascript_views_footer_vvvvwbj);
}); });
// the vvvvwax function // the vvvvwba function
function vvvvwax(datalenght_vvvvwax) function vvvvwba(datalenght_vvvvwba)
{ {
if (isSet(datalenght_vvvvwax) && datalenght_vvvvwax.constructor !== Array) if (isSet(datalenght_vvvvwba) && datalenght_vvvvwba.constructor !== Array)
{ {
var temp_vvvvwax = datalenght_vvvvwax; var temp_vvvvwba = datalenght_vvvvwba;
var datalenght_vvvvwax = []; var datalenght_vvvvwba = [];
datalenght_vvvvwax.push(temp_vvvvwax); datalenght_vvvvwba.push(temp_vvvvwba);
} }
else if (!isSet(datalenght_vvvvwax)) else if (!isSet(datalenght_vvvvwba))
{ {
var datalenght_vvvvwax = []; var datalenght_vvvvwba = [];
} }
var datalenght = datalenght_vvvvwax.some(datalenght_vvvvwax_SomeFunc); var datalenght = datalenght_vvvvwba.some(datalenght_vvvvwba_SomeFunc);
// set this function logic // set this function logic
@ -67,55 +67,55 @@ function vvvvwax(datalenght_vvvvwax)
{ {
jQuery('#jform_datalenght_other').closest('.control-group').show(); jQuery('#jform_datalenght_other').closest('.control-group').show();
// add required attribute to datalenght_other field // add required attribute to datalenght_other field
if (jform_vvvvwaxvxh_required) if (jform_vvvvwbavxi_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_vvvvwaxvxh_required = false; jform_vvvvwbavxi_required = false;
} }
} }
else else
{ {
jQuery('#jform_datalenght_other').closest('.control-group').hide(); jQuery('#jform_datalenght_other').closest('.control-group').hide();
// remove required attribute from datalenght_other field // remove required attribute from datalenght_other field
if (!jform_vvvvwaxvxh_required) if (!jform_vvvvwbavxi_required)
{ {
updateFieldRequired('datalenght_other',1); updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required'); jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required'); jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required'); jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvwaxvxh_required = true; jform_vvvvwbavxi_required = true;
} }
} }
} }
// the vvvvwax Some function // the vvvvwba Some function
function datalenght_vvvvwax_SomeFunc(datalenght_vvvvwax) function datalenght_vvvvwba_SomeFunc(datalenght_vvvvwba)
{ {
// set the function logic // set the function logic
if (datalenght_vvvvwax == 'Other') if (datalenght_vvvvwba == 'Other')
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvway function // the vvvvwbb function
function vvvvway(datadefault_vvvvway) function vvvvwbb(datadefault_vvvvwbb)
{ {
if (isSet(datadefault_vvvvway) && datadefault_vvvvway.constructor !== Array) if (isSet(datadefault_vvvvwbb) && datadefault_vvvvwbb.constructor !== Array)
{ {
var temp_vvvvway = datadefault_vvvvway; var temp_vvvvwbb = datadefault_vvvvwbb;
var datadefault_vvvvway = []; var datadefault_vvvvwbb = [];
datadefault_vvvvway.push(temp_vvvvway); datadefault_vvvvwbb.push(temp_vvvvwbb);
} }
else if (!isSet(datadefault_vvvvway)) else if (!isSet(datadefault_vvvvwbb))
{ {
var datadefault_vvvvway = []; var datadefault_vvvvwbb = [];
} }
var datadefault = datadefault_vvvvway.some(datadefault_vvvvway_SomeFunc); var datadefault = datadefault_vvvvwbb.some(datadefault_vvvvwbb_SomeFunc);
// set this function logic // set this function logic
@ -123,55 +123,55 @@ function vvvvway(datadefault_vvvvway)
{ {
jQuery('#jform_datadefault_other').closest('.control-group').show(); jQuery('#jform_datadefault_other').closest('.control-group').show();
// add required attribute to datadefault_other field // add required attribute to datadefault_other field
if (jform_vvvvwayvxi_required) if (jform_vvvvwbbvxj_required)
{ {
updateFieldRequired('datadefault_other',0); updateFieldRequired('datadefault_other',0);
jQuery('#jform_datadefault_other').prop('required','required'); jQuery('#jform_datadefault_other').prop('required','required');
jQuery('#jform_datadefault_other').attr('aria-required',true); jQuery('#jform_datadefault_other').attr('aria-required',true);
jQuery('#jform_datadefault_other').addClass('required'); jQuery('#jform_datadefault_other').addClass('required');
jform_vvvvwayvxi_required = false; jform_vvvvwbbvxj_required = false;
} }
} }
else else
{ {
jQuery('#jform_datadefault_other').closest('.control-group').hide(); jQuery('#jform_datadefault_other').closest('.control-group').hide();
// remove required attribute from datadefault_other field // remove required attribute from datadefault_other field
if (!jform_vvvvwayvxi_required) if (!jform_vvvvwbbvxj_required)
{ {
updateFieldRequired('datadefault_other',1); updateFieldRequired('datadefault_other',1);
jQuery('#jform_datadefault_other').removeAttr('required'); jQuery('#jform_datadefault_other').removeAttr('required');
jQuery('#jform_datadefault_other').removeAttr('aria-required'); jQuery('#jform_datadefault_other').removeAttr('aria-required');
jQuery('#jform_datadefault_other').removeClass('required'); jQuery('#jform_datadefault_other').removeClass('required');
jform_vvvvwayvxi_required = true; jform_vvvvwbbvxj_required = true;
} }
} }
} }
// the vvvvway Some function // the vvvvwbb Some function
function datadefault_vvvvway_SomeFunc(datadefault_vvvvway) function datadefault_vvvvwbb_SomeFunc(datadefault_vvvvwbb)
{ {
// set the function logic // set the function logic
if (datadefault_vvvvway == 'Other') if (datadefault_vvvvwbb == 'Other')
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwaz function // the vvvvwbc function
function vvvvwaz(datatype_vvvvwaz) function vvvvwbc(datatype_vvvvwbc)
{ {
if (isSet(datatype_vvvvwaz) && datatype_vvvvwaz.constructor !== Array) if (isSet(datatype_vvvvwbc) && datatype_vvvvwbc.constructor !== Array)
{ {
var temp_vvvvwaz = datatype_vvvvwaz; var temp_vvvvwbc = datatype_vvvvwbc;
var datatype_vvvvwaz = []; var datatype_vvvvwbc = [];
datatype_vvvvwaz.push(temp_vvvvwaz); datatype_vvvvwbc.push(temp_vvvvwbc);
} }
else if (!isSet(datatype_vvvvwaz)) else if (!isSet(datatype_vvvvwbc))
{ {
var datatype_vvvvwaz = []; var datatype_vvvvwbc = [];
} }
var datatype = datatype_vvvvwaz.some(datatype_vvvvwaz_SomeFunc); var datatype = datatype_vvvvwbc.some(datatype_vvvvwbc_SomeFunc);
// set this function logic // set this function logic
@ -181,13 +181,13 @@ function vvvvwaz(datatype_vvvvwaz)
jQuery('#jform_datalenght').closest('.control-group').show(); jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show(); jQuery('#jform_indexes').closest('.control-group').show();
// add required attribute to indexes field // add required attribute to indexes field
if (jform_vvvvwazvxj_required) if (jform_vvvvwbcvxk_required)
{ {
updateFieldRequired('indexes',0); updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required'); jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true); jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required'); jQuery('#jform_indexes').addClass('required');
jform_vvvvwazvxj_required = false; jform_vvvvwbcvxk_required = false;
} }
} }
else else
@ -196,42 +196,42 @@ function vvvvwaz(datatype_vvvvwaz)
jQuery('#jform_datalenght').closest('.control-group').hide(); jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide(); jQuery('#jform_indexes').closest('.control-group').hide();
// remove required attribute from indexes field // remove required attribute from indexes field
if (!jform_vvvvwazvxj_required) if (!jform_vvvvwbcvxk_required)
{ {
updateFieldRequired('indexes',1); updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required'); jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required'); jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required'); jQuery('#jform_indexes').removeClass('required');
jform_vvvvwazvxj_required = true; jform_vvvvwbcvxk_required = true;
} }
} }
} }
// the vvvvwaz Some function // the vvvvwbc Some function
function datatype_vvvvwaz_SomeFunc(datatype_vvvvwaz) function datatype_vvvvwbc_SomeFunc(datatype_vvvvwbc)
{ {
// set the function logic // set the function logic
if (datatype_vvvvwaz == 'CHAR' || datatype_vvvvwaz == 'VARCHAR' || datatype_vvvvwaz == 'DATETIME' || datatype_vvvvwaz == 'DATE' || datatype_vvvvwaz == 'TIME' || datatype_vvvvwaz == 'INT' || datatype_vvvvwaz == 'TINYINT' || datatype_vvvvwaz == 'BIGINT' || datatype_vvvvwaz == 'FLOAT' || datatype_vvvvwaz == 'DECIMAL' || datatype_vvvvwaz == 'DOUBLE') if (datatype_vvvvwbc == 'CHAR' || datatype_vvvvwbc == 'VARCHAR' || datatype_vvvvwbc == 'DATETIME' || datatype_vvvvwbc == 'DATE' || datatype_vvvvwbc == 'TIME' || datatype_vvvvwbc == 'INT' || datatype_vvvvwbc == 'TINYINT' || datatype_vvvvwbc == 'BIGINT' || datatype_vvvvwbc == 'FLOAT' || datatype_vvvvwbc == 'DECIMAL' || datatype_vvvvwbc == 'DOUBLE')
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwba function // the vvvvwbd function
function vvvvwba(datatype_vvvvwba) function vvvvwbd(datatype_vvvvwbd)
{ {
if (isSet(datatype_vvvvwba) && datatype_vvvvwba.constructor !== Array) if (isSet(datatype_vvvvwbd) && datatype_vvvvwbd.constructor !== Array)
{ {
var temp_vvvvwba = datatype_vvvvwba; var temp_vvvvwbd = datatype_vvvvwbd;
var datatype_vvvvwba = []; var datatype_vvvvwbd = [];
datatype_vvvvwba.push(temp_vvvvwba); datatype_vvvvwbd.push(temp_vvvvwbd);
} }
else if (!isSet(datatype_vvvvwba)) else if (!isSet(datatype_vvvvwbd))
{ {
var datatype_vvvvwba = []; var datatype_vvvvwbd = [];
} }
var datatype = datatype_vvvvwba.some(datatype_vvvvwba_SomeFunc); var datatype = datatype_vvvvwbd.some(datatype_vvvvwbd_SomeFunc);
// set this function logic // set this function logic
@ -239,67 +239,67 @@ function vvvvwba(datatype_vvvvwba)
{ {
jQuery('#jform_store').closest('.control-group').show(); jQuery('#jform_store').closest('.control-group').show();
// add required attribute to store field // add required attribute to store field
if (jform_vvvvwbavxk_required) if (jform_vvvvwbdvxl_required)
{ {
updateFieldRequired('store',0); updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required'); jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true); jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required'); jQuery('#jform_store').addClass('required');
jform_vvvvwbavxk_required = false; jform_vvvvwbdvxl_required = false;
} }
} }
else else
{ {
jQuery('#jform_store').closest('.control-group').hide(); jQuery('#jform_store').closest('.control-group').hide();
// remove required attribute from store field // remove required attribute from store field
if (!jform_vvvvwbavxk_required) if (!jform_vvvvwbdvxl_required)
{ {
updateFieldRequired('store',1); updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required'); jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required'); jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required'); jQuery('#jform_store').removeClass('required');
jform_vvvvwbavxk_required = true; jform_vvvvwbdvxl_required = true;
} }
} }
} }
// the vvvvwba Some function // the vvvvwbd Some function
function datatype_vvvvwba_SomeFunc(datatype_vvvvwba) function datatype_vvvvwbd_SomeFunc(datatype_vvvvwbd)
{ {
// set the function logic // set the function logic
if (datatype_vvvvwba == 'CHAR' || datatype_vvvvwba == 'VARCHAR' || datatype_vvvvwba == 'TEXT' || datatype_vvvvwba == 'MEDIUMTEXT' || datatype_vvvvwba == 'LONGTEXT' || datatype_vvvvwba == 'BLOB' || datatype_vvvvwba == 'TINYBLOB' || datatype_vvvvwba == 'MEDIUMBLOB' || datatype_vvvvwba == 'LONGBLOB') if (datatype_vvvvwbd == 'CHAR' || datatype_vvvvwbd == 'VARCHAR' || datatype_vvvvwbd == 'TEXT' || datatype_vvvvwbd == 'MEDIUMTEXT' || datatype_vvvvwbd == 'LONGTEXT' || datatype_vvvvwbd == 'BLOB' || datatype_vvvvwbd == 'TINYBLOB' || datatype_vvvvwbd == 'MEDIUMBLOB' || datatype_vvvvwbd == 'LONGBLOB')
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbb function // the vvvvwbe function
function vvvvwbb(store_vvvvwbb,datatype_vvvvwbb) function vvvvwbe(store_vvvvwbe,datatype_vvvvwbe)
{ {
if (isSet(store_vvvvwbb) && store_vvvvwbb.constructor !== Array) if (isSet(store_vvvvwbe) && store_vvvvwbe.constructor !== Array)
{ {
var temp_vvvvwbb = store_vvvvwbb; var temp_vvvvwbe = store_vvvvwbe;
var store_vvvvwbb = []; var store_vvvvwbe = [];
store_vvvvwbb.push(temp_vvvvwbb); store_vvvvwbe.push(temp_vvvvwbe);
} }
else if (!isSet(store_vvvvwbb)) else if (!isSet(store_vvvvwbe))
{ {
var store_vvvvwbb = []; var store_vvvvwbe = [];
} }
var store = store_vvvvwbb.some(store_vvvvwbb_SomeFunc); var store = store_vvvvwbe.some(store_vvvvwbe_SomeFunc);
if (isSet(datatype_vvvvwbb) && datatype_vvvvwbb.constructor !== Array) if (isSet(datatype_vvvvwbe) && datatype_vvvvwbe.constructor !== Array)
{ {
var temp_vvvvwbb = datatype_vvvvwbb; var temp_vvvvwbe = datatype_vvvvwbe;
var datatype_vvvvwbb = []; var datatype_vvvvwbe = [];
datatype_vvvvwbb.push(temp_vvvvwbb); datatype_vvvvwbe.push(temp_vvvvwbe);
} }
else if (!isSet(datatype_vvvvwbb)) else if (!isSet(datatype_vvvvwbe))
{ {
var datatype_vvvvwbb = []; var datatype_vvvvwbe = [];
} }
var datatype = datatype_vvvvwbb.some(datatype_vvvvwbb_SomeFunc); var datatype = datatype_vvvvwbe.some(datatype_vvvvwbe_SomeFunc);
// set this function logic // set this function logic
@ -313,33 +313,33 @@ function vvvvwbb(store_vvvvwbb,datatype_vvvvwbb)
} }
} }
// the vvvvwbb Some function // the vvvvwbe Some function
function store_vvvvwbb_SomeFunc(store_vvvvwbb) function store_vvvvwbe_SomeFunc(store_vvvvwbe)
{ {
// set the function logic // set the function logic
if (store_vvvvwbb == 4) if (store_vvvvwbe == 4)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbb Some function // the vvvvwbe Some function
function datatype_vvvvwbb_SomeFunc(datatype_vvvvwbb) function datatype_vvvvwbe_SomeFunc(datatype_vvvvwbe)
{ {
// set the function logic // set the function logic
if (datatype_vvvvwbb == 'CHAR' || datatype_vvvvwbb == 'VARCHAR' || datatype_vvvvwbb == 'TEXT' || datatype_vvvvwbb == 'MEDIUMTEXT' || datatype_vvvvwbb == 'LONGTEXT' || datatype_vvvvwbb == 'BLOB' || datatype_vvvvwbb == 'TINYBLOB' || datatype_vvvvwbb == 'MEDIUMBLOB' || datatype_vvvvwbb == 'LONGBLOB') if (datatype_vvvvwbe == 'CHAR' || datatype_vvvvwbe == 'VARCHAR' || datatype_vvvvwbe == 'TEXT' || datatype_vvvvwbe == 'MEDIUMTEXT' || datatype_vvvvwbe == 'LONGTEXT' || datatype_vvvvwbe == 'BLOB' || datatype_vvvvwbe == 'TINYBLOB' || datatype_vvvvwbe == 'MEDIUMBLOB' || datatype_vvvvwbe == 'LONGBLOB')
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbd function // the vvvvwbg function
function vvvvwbd(add_css_view_vvvvwbd) function vvvvwbg(add_css_view_vvvvwbg)
{ {
// set the function logic // set the function logic
if (add_css_view_vvvvwbd == 1) if (add_css_view_vvvvwbg == 1)
{ {
jQuery('#jform_css_view-lbl').closest('.control-group').show(); jQuery('#jform_css_view-lbl').closest('.control-group').show();
} }
@ -349,11 +349,11 @@ function vvvvwbd(add_css_view_vvvvwbd)
} }
} }
// the vvvvwbe function // the vvvvwbh function
function vvvvwbe(add_css_views_vvvvwbe) function vvvvwbh(add_css_views_vvvvwbh)
{ {
// set the function logic // set the function logic
if (add_css_views_vvvvwbe == 1) if (add_css_views_vvvvwbh == 1)
{ {
jQuery('#jform_css_views-lbl').closest('.control-group').show(); jQuery('#jform_css_views-lbl').closest('.control-group').show();
} }
@ -363,11 +363,11 @@ function vvvvwbe(add_css_views_vvvvwbe)
} }
} }
// the vvvvwbf function // the vvvvwbi function
function vvvvwbf(add_javascript_view_footer_vvvvwbf) function vvvvwbi(add_javascript_view_footer_vvvvwbi)
{ {
// set the function logic // set the function logic
if (add_javascript_view_footer_vvvvwbf == 1) if (add_javascript_view_footer_vvvvwbi == 1)
{ {
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show(); jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
} }
@ -377,11 +377,11 @@ function vvvvwbf(add_javascript_view_footer_vvvvwbf)
} }
} }
// the vvvvwbg function // the vvvvwbj function
function vvvvwbg(add_javascript_views_footer_vvvvwbg) function vvvvwbj(add_javascript_views_footer_vvvvwbj)
{ {
// set the function logic // set the function logic
if (add_javascript_views_footer_vvvvwbg == 1) if (add_javascript_views_footer_vvvvwbj == 1)
{ {
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show(); jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
} }

File diff suppressed because it is too large Load Diff

View File

@ -9,112 +9,112 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwcdvyd_required = false; jform_vvvvwcgvye_required = false;
jform_vvvvwcevye_required = false; jform_vvvvwchvyf_required = false;
jform_vvvvwcfvyf_required = false; jform_vvvvwcivyg_required = false;
jform_vvvvwcgvyg_required = false; jform_vvvvwcjvyh_required = false;
jform_vvvvwcivyh_required = false; jform_vvvvwclvyi_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var location_vvvvwcd = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvwcg = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwcd(location_vvvvwcd); vvvvwcg(location_vvvvwcg);
var location_vvvvwce = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvwch = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwce(location_vvvvwce); vvvvwch(location_vvvvwch);
var type_vvvvwcf = jQuery("#jform_type").val(); var type_vvvvwci = jQuery("#jform_type").val();
vvvvwcf(type_vvvvwcf); vvvvwci(type_vvvvwci);
var type_vvvvwcg = jQuery("#jform_type").val(); var type_vvvvwcj = jQuery("#jform_type").val();
vvvvwcg(type_vvvvwcg); vvvvwcj(type_vvvvwcj);
var type_vvvvwch = jQuery("#jform_type").val(); var type_vvvvwck = jQuery("#jform_type").val();
vvvvwch(type_vvvvwch); vvvvwck(type_vvvvwck);
var target_vvvvwci = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwcl = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwci(target_vvvvwci); vvvvwcl(target_vvvvwcl);
}); });
// the vvvvwcd function // the vvvvwcg function
function vvvvwcd(location_vvvvwcd) function vvvvwcg(location_vvvvwcg)
{ {
// set the function logic // set the function logic
if (location_vvvvwcd == 1) if (location_vvvvwcg == 1)
{ {
jQuery('#jform_admin_view').closest('.control-group').show(); jQuery('#jform_admin_view').closest('.control-group').show();
// add required attribute to admin_view field // add required attribute to admin_view field
if (jform_vvvvwcdvyd_required) if (jform_vvvvwcgvye_required)
{ {
updateFieldRequired('admin_view',0); updateFieldRequired('admin_view',0);
jQuery('#jform_admin_view').prop('required','required'); jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_admin_view').attr('aria-required',true); jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_admin_view').addClass('required'); jQuery('#jform_admin_view').addClass('required');
jform_vvvvwcdvyd_required = false; jform_vvvvwcgvye_required = false;
} }
} }
else else
{ {
jQuery('#jform_admin_view').closest('.control-group').hide(); jQuery('#jform_admin_view').closest('.control-group').hide();
// remove required attribute from admin_view field // remove required attribute from admin_view field
if (!jform_vvvvwcdvyd_required) if (!jform_vvvvwcgvye_required)
{ {
updateFieldRequired('admin_view',1); updateFieldRequired('admin_view',1);
jQuery('#jform_admin_view').removeAttr('required'); jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_admin_view').removeAttr('aria-required'); jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_admin_view').removeClass('required'); jQuery('#jform_admin_view').removeClass('required');
jform_vvvvwcdvyd_required = true; jform_vvvvwcgvye_required = true;
} }
} }
} }
// the vvvvwce function // the vvvvwch function
function vvvvwce(location_vvvvwce) function vvvvwch(location_vvvvwch)
{ {
// set the function logic // set the function logic
if (location_vvvvwce == 2) if (location_vvvvwch == 2)
{ {
jQuery('#jform_site_view').closest('.control-group').show(); jQuery('#jform_site_view').closest('.control-group').show();
// add required attribute to site_view field // add required attribute to site_view field
if (jform_vvvvwcevye_required) if (jform_vvvvwchvyf_required)
{ {
updateFieldRequired('site_view',0); updateFieldRequired('site_view',0);
jQuery('#jform_site_view').prop('required','required'); jQuery('#jform_site_view').prop('required','required');
jQuery('#jform_site_view').attr('aria-required',true); jQuery('#jform_site_view').attr('aria-required',true);
jQuery('#jform_site_view').addClass('required'); jQuery('#jform_site_view').addClass('required');
jform_vvvvwcevye_required = false; jform_vvvvwchvyf_required = false;
} }
} }
else else
{ {
jQuery('#jform_site_view').closest('.control-group').hide(); jQuery('#jform_site_view').closest('.control-group').hide();
// remove required attribute from site_view field // remove required attribute from site_view field
if (!jform_vvvvwcevye_required) if (!jform_vvvvwchvyf_required)
{ {
updateFieldRequired('site_view',1); updateFieldRequired('site_view',1);
jQuery('#jform_site_view').removeAttr('required'); jQuery('#jform_site_view').removeAttr('required');
jQuery('#jform_site_view').removeAttr('aria-required'); jQuery('#jform_site_view').removeAttr('aria-required');
jQuery('#jform_site_view').removeClass('required'); jQuery('#jform_site_view').removeClass('required');
jform_vvvvwcevye_required = true; jform_vvvvwchvyf_required = true;
} }
} }
} }
// the vvvvwcf function // the vvvvwci function
function vvvvwcf(type_vvvvwcf) function vvvvwci(type_vvvvwci)
{ {
if (isSet(type_vvvvwcf) && type_vvvvwcf.constructor !== Array) if (isSet(type_vvvvwci) && type_vvvvwci.constructor !== Array)
{ {
var temp_vvvvwcf = type_vvvvwcf; var temp_vvvvwci = type_vvvvwci;
var type_vvvvwcf = []; var type_vvvvwci = [];
type_vvvvwcf.push(temp_vvvvwcf); type_vvvvwci.push(temp_vvvvwci);
} }
else if (!isSet(type_vvvvwcf)) else if (!isSet(type_vvvvwci))
{ {
var type_vvvvwcf = []; var type_vvvvwci = [];
} }
var type = type_vvvvwcf.some(type_vvvvwcf_SomeFunc); var type = type_vvvvwci.some(type_vvvvwci_SomeFunc);
// set this function logic // set this function logic
@ -122,55 +122,55 @@ function vvvvwcf(type_vvvvwcf)
{ {
jQuery('#jform_url').closest('.control-group').show(); jQuery('#jform_url').closest('.control-group').show();
// add required attribute to url field // add required attribute to url field
if (jform_vvvvwcfvyf_required) if (jform_vvvvwcivyg_required)
{ {
updateFieldRequired('url',0); updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required'); jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true); jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required'); jQuery('#jform_url').addClass('required');
jform_vvvvwcfvyf_required = false; jform_vvvvwcivyg_required = false;
} }
} }
else else
{ {
jQuery('#jform_url').closest('.control-group').hide(); jQuery('#jform_url').closest('.control-group').hide();
// remove required attribute from url field // remove required attribute from url field
if (!jform_vvvvwcfvyf_required) if (!jform_vvvvwcivyg_required)
{ {
updateFieldRequired('url',1); updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required'); jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required'); jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required'); jQuery('#jform_url').removeClass('required');
jform_vvvvwcfvyf_required = true; jform_vvvvwcivyg_required = true;
} }
} }
} }
// the vvvvwcf Some function // the vvvvwci Some function
function type_vvvvwcf_SomeFunc(type_vvvvwcf) function type_vvvvwci_SomeFunc(type_vvvvwci)
{ {
// set the function logic // set the function logic
if (type_vvvvwcf == 3) if (type_vvvvwci == 3)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwcg function // the vvvvwcj function
function vvvvwcg(type_vvvvwcg) function vvvvwcj(type_vvvvwcj)
{ {
if (isSet(type_vvvvwcg) && type_vvvvwcg.constructor !== Array) if (isSet(type_vvvvwcj) && type_vvvvwcj.constructor !== Array)
{ {
var temp_vvvvwcg = type_vvvvwcg; var temp_vvvvwcj = type_vvvvwcj;
var type_vvvvwcg = []; var type_vvvvwcj = [];
type_vvvvwcg.push(temp_vvvvwcg); type_vvvvwcj.push(temp_vvvvwcj);
} }
else if (!isSet(type_vvvvwcg)) else if (!isSet(type_vvvvwcj))
{ {
var type_vvvvwcg = []; var type_vvvvwcj = [];
} }
var type = type_vvvvwcg.some(type_vvvvwcg_SomeFunc); var type = type_vvvvwcj.some(type_vvvvwcj_SomeFunc);
// set this function logic // set this function logic
@ -178,55 +178,55 @@ function vvvvwcg(type_vvvvwcg)
{ {
jQuery('#jform_article').closest('.control-group').show(); jQuery('#jform_article').closest('.control-group').show();
// add required attribute to article field // add required attribute to article field
if (jform_vvvvwcgvyg_required) if (jform_vvvvwcjvyh_required)
{ {
updateFieldRequired('article',0); updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required'); jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true); jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required'); jQuery('#jform_article').addClass('required');
jform_vvvvwcgvyg_required = false; jform_vvvvwcjvyh_required = false;
} }
} }
else else
{ {
jQuery('#jform_article').closest('.control-group').hide(); jQuery('#jform_article').closest('.control-group').hide();
// remove required attribute from article field // remove required attribute from article field
if (!jform_vvvvwcgvyg_required) if (!jform_vvvvwcjvyh_required)
{ {
updateFieldRequired('article',1); updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required'); jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required'); jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required'); jQuery('#jform_article').removeClass('required');
jform_vvvvwcgvyg_required = true; jform_vvvvwcjvyh_required = true;
} }
} }
} }
// the vvvvwcg Some function // the vvvvwcj Some function
function type_vvvvwcg_SomeFunc(type_vvvvwcg) function type_vvvvwcj_SomeFunc(type_vvvvwcj)
{ {
// set the function logic // set the function logic
if (type_vvvvwcg == 1) if (type_vvvvwcj == 1)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwch function // the vvvvwck function
function vvvvwch(type_vvvvwch) function vvvvwck(type_vvvvwck)
{ {
if (isSet(type_vvvvwch) && type_vvvvwch.constructor !== Array) if (isSet(type_vvvvwck) && type_vvvvwck.constructor !== Array)
{ {
var temp_vvvvwch = type_vvvvwch; var temp_vvvvwck = type_vvvvwck;
var type_vvvvwch = []; var type_vvvvwck = [];
type_vvvvwch.push(temp_vvvvwch); type_vvvvwck.push(temp_vvvvwck);
} }
else if (!isSet(type_vvvvwch)) else if (!isSet(type_vvvvwck))
{ {
var type_vvvvwch = []; var type_vvvvwck = [];
} }
var type = type_vvvvwch.some(type_vvvvwch_SomeFunc); var type = type_vvvvwck.some(type_vvvvwck_SomeFunc);
// set this function logic // set this function logic
@ -240,45 +240,45 @@ function vvvvwch(type_vvvvwch)
} }
} }
// the vvvvwch Some function // the vvvvwck Some function
function type_vvvvwch_SomeFunc(type_vvvvwch) function type_vvvvwck_SomeFunc(type_vvvvwck)
{ {
// set the function logic // set the function logic
if (type_vvvvwch == 2) if (type_vvvvwck == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwci function // the vvvvwcl function
function vvvvwci(target_vvvvwci) function vvvvwcl(target_vvvvwcl)
{ {
// set the function logic // set the function logic
if (target_vvvvwci == 1) if (target_vvvvwcl == 1)
{ {
jQuery('#jform_groups').closest('.control-group').show(); jQuery('#jform_groups').closest('.control-group').show();
// add required attribute to groups field // add required attribute to groups field
if (jform_vvvvwcivyh_required) if (jform_vvvvwclvyi_required)
{ {
updateFieldRequired('groups',0); updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required'); jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required'); jQuery('#jform_groups').addClass('required');
jform_vvvvwcivyh_required = false; jform_vvvvwclvyi_required = false;
} }
} }
else else
{ {
jQuery('#jform_groups').closest('.control-group').hide(); jQuery('#jform_groups').closest('.control-group').hide();
// remove required attribute from groups field // remove required attribute from groups field
if (!jform_vvvvwcivyh_required) if (!jform_vvvvwclvyi_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_vvvvwcivyh_required = true; jform_vvvvwclvyi_required = true;
} }
} }
} }

View File

@ -8,6 +8,9 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt * @license GNU General Public License version 2 or later; see LICENSE.txt
*/ */
// Some Global Values
jform_vvvvvxevwd_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
@ -18,6 +21,13 @@ jQuery(document).ready(function()
var joomla_plugin_group_vvvvvxc = jQuery("#jform_joomla_plugin_group").val(); var joomla_plugin_group_vvvvvxc = jQuery("#jform_joomla_plugin_group").val();
var class_extends_vvvvvxc = jQuery("#jform_class_extends").val(); var class_extends_vvvvvxc = jQuery("#jform_class_extends").val();
vvvvvxc(joomla_plugin_group_vvvvvxc,class_extends_vvvvvxc); vvvvvxc(joomla_plugin_group_vvvvvxc,class_extends_vvvvvxc);
var class_extends_vvvvvxd = jQuery("#jform_class_extends").val();
vvvvvxd(class_extends_vvvvvxd);
var add_head_vvvvvxe = jQuery("#jform_add_head input[type='radio']:checked").val();
var class_extends_vvvvvxe = jQuery("#jform_class_extends").val();
vvvvvxe(add_head_vvvvvxe,class_extends_vvvvvxe);
}); });
// the vvvvvxb function // the vvvvvxb function
@ -150,6 +160,150 @@ function class_extends_vvvvvxc_SomeFunc(class_extends_vvvvvxc)
return false; return false;
} }
// the vvvvvxd function
function vvvvvxd(class_extends_vvvvvxd)
{
if (isSet(class_extends_vvvvvxd) && class_extends_vvvvvxd.constructor !== Array)
{
var temp_vvvvvxd = class_extends_vvvvvxd;
var class_extends_vvvvvxd = [];
class_extends_vvvvvxd.push(temp_vvvvvxd);
}
else if (!isSet(class_extends_vvvvvxd))
{
var class_extends_vvvvvxd = [];
}
var class_extends = class_extends_vvvvvxd.some(class_extends_vvvvvxd_SomeFunc);
// set this function logic
if (class_extends)
{
jQuery('#jform_add_head').closest('.control-group').show();
}
else
{
jQuery('#jform_add_head').closest('.control-group').hide();
}
}
// the vvvvvxd Some function
function class_extends_vvvvvxd_SomeFunc(class_extends_vvvvvxd)
{
// set the function logic
if (isSet(class_extends_vvvvvxd))
{
return true;
}
return false;
}
// the vvvvvxe function
function vvvvvxe(add_head_vvvvvxe,class_extends_vvvvvxe)
{
if (isSet(add_head_vvvvvxe) && add_head_vvvvvxe.constructor !== Array)
{
var temp_vvvvvxe = add_head_vvvvvxe;
var add_head_vvvvvxe = [];
add_head_vvvvvxe.push(temp_vvvvvxe);
}
else if (!isSet(add_head_vvvvvxe))
{
var add_head_vvvvvxe = [];
}
var add_head = add_head_vvvvvxe.some(add_head_vvvvvxe_SomeFunc);
if (isSet(class_extends_vvvvvxe) && class_extends_vvvvvxe.constructor !== Array)
{
var temp_vvvvvxe = class_extends_vvvvvxe;
var class_extends_vvvvvxe = [];
class_extends_vvvvvxe.push(temp_vvvvvxe);
}
else if (!isSet(class_extends_vvvvvxe))
{
var class_extends_vvvvvxe = [];
}
var class_extends = class_extends_vvvvvxe.some(class_extends_vvvvvxe_SomeFunc);
// set this function logic
if (add_head && class_extends)
{
jQuery('#jform_head-lbl').closest('.control-group').show();
// add required attribute to head field
if (jform_vvvvvxevwd_required)
{
updateFieldRequired('head',0);
jQuery('#jform_head').prop('required','required');
jQuery('#jform_head').attr('aria-required',true);
jQuery('#jform_head').addClass('required');
jform_vvvvvxevwd_required = false;
}
}
else
{
jQuery('#jform_head-lbl').closest('.control-group').hide();
// remove required attribute from head field
if (!jform_vvvvvxevwd_required)
{
updateFieldRequired('head',1);
jQuery('#jform_head').removeAttr('required');
jQuery('#jform_head').removeAttr('aria-required');
jQuery('#jform_head').removeClass('required');
jform_vvvvvxevwd_required = true;
}
}
}
// the vvvvvxe Some function
function add_head_vvvvvxe_SomeFunc(add_head_vvvvvxe)
{
// set the function logic
if (add_head_vvvvvxe == 1)
{
return true;
}
return false;
}
// the vvvvvxe Some function
function class_extends_vvvvvxe_SomeFunc(class_extends_vvvvvxe)
{
// set the function logic
if (isSet(class_extends_vvvvvxe))
{
return true;
}
return false;
}
// update required fields
function updateFieldRequired(name,status)
{
var not_required = jQuery('#jform_not_required').val();
if(status == 1)
{
if (isSet(not_required) && not_required != 0)
{
not_required = not_required+','+name;
}
else
{
not_required = ','+name;
}
}
else
{
if (isSet(not_required) && not_required != 0)
{
not_required = not_required.replace(','+name,'');
}
}
jQuery('#jform_not_required').val(not_required);
}
// the isSet function // the isSet function
function isSet(val) function isSet(val)
{ {
@ -165,15 +319,8 @@ jQuery(document).ready(function()
// get the linked details // get the linked details
getLinked(); getLinked();
// load the active array values // load the active array values
buildSelectionArray('property'); buildSelectionMemory('property');
buildSelectionArray('method'); buildSelectionMemory('method');
// set joomla_plugin_group Array
selectionArray['joomla_plugin_group'] = {};
jQuery("#jform_joomla_plugin_group option").each(function() {
var key = jQuery(this).val();
var text = jQuery(this).text();
selectionArray['joomla_plugin_group'][key] = text;
});
// load the active selection array values // load the active selection array values
getClassCodeIds('joomla_plugin_group', 'jform_class_extends', false); getClassCodeIds('joomla_plugin_group', 'jform_class_extends', false);
getClassCodeIds('property', 'jform_joomla_plugin_group', false); getClassCodeIds('property', 'jform_joomla_plugin_group', false);
@ -184,6 +331,23 @@ jQuery(document).ready(function()
rowWatcher(); rowWatcher();
}); });
// set selection the options
selectionMemory = {'property':{},'method':{}};
selectionActiveArray = {'property':{},'method':{}};
selectedIdRemoved = {'property':'not','method':'not'};
function buildSelectionMemory(type) {
var i;
for (i = 0; i < 70; i++) {
// build ID
var id_check = 'jform_'+type+'_selection'+'__'+type+'_selection'+i+'__'+type;
// set memory
if (jQuery("#"+id_check).length) {
selectionMemory[type][id_check] = jQuery("#"+id_check+" option:selected").val();
}
}
}
function getClassStuff_server(id, type, callingName){ function getClassStuff_server(id, type, callingName){
var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax."+callingName+"&format=json&raw=true"); var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax."+callingName+"&format=json&raw=true");
if(token.length > 0 && id > 0 && type.length > 0){ if(token.length > 0 && id > 0 && type.length > 0){
@ -198,6 +362,30 @@ function getClassStuff_server(id, type, callingName){
}); });
} }
function getClassHeaderCode(){
// now get the values
var value = jQuery("#jform_class_extends option:selected").val();
var add_value = jQuery("#jform_add_head input[type='radio']:checked").val();
if (add_value == 1 && value > 0){
// we first check local memory
var _result = jQuery.jStorage.get('extends_header_'+value, null);
if (_result) {
// now set the code
addCodeToEditor(_result, "jform_head", false);
} else {
// now get the code
getClassStuff_server(value, 'extends', 'getClassHeaderCode').done(function(result) {
if(result){
// now set the code
addCodeToEditor(result, "jform_head", false);
// add result to local memory
jQuery.jStorage.set('extends_header_'+value, result, {TTL: expire});
}
});
}
}
}
function getClassCodeIds(type, target_field, reset_all){ function getClassCodeIds(type, target_field, reset_all){
// now get the value // now get the value
var value = jQuery('#'+target_field).val(); var value = jQuery('#'+target_field).val();
@ -207,7 +395,7 @@ function getClassCodeIds(type, target_field, reset_all){
// reset the selection // reset the selection
selectionActiveArray[type] = {}; selectionActiveArray[type] = {};
// update the active array // update the active array
jQuery.each( result, function(i, prop) { jQuery.each(result, function(i, prop) {
selectionActiveArray[type][prop] = selectionArray[type][prop]; selectionActiveArray[type][prop] = selectionArray[type][prop];
}); });
// update the active field selection // update the active field selection
@ -276,6 +464,7 @@ function resetAll(type) {
} }
} }
Joomla.editors.instances['jform_main_class_code'].setValue(''); Joomla.editors.instances['jform_main_class_code'].setValue('');
selectionMemory = {'property':{},'method':{}};
} }
function getClassCode(field, type){ function getClassCode(field, type){
@ -283,6 +472,31 @@ function getClassCode(field, type){
var id = jQuery(field).attr('id'); var id = jQuery(field).attr('id');
// now get the value // now get the value
var value = jQuery('#' + id).val(); var value = jQuery('#' + id).val();
// check if we have a memory for this field, if true remove code of old selection and clear memory
if (selectionMemory[type].hasOwnProperty(id) && selectionMemory[type][id] > 0) {
// the old id to remove
var old_value = selectionMemory[type][id];
// remove the code // we first check local memory
var _result = jQuery.jStorage.get('code_4_'+type+'_'+old_value, null);
if (_result) {
// now remove the code
if (removeCodeFromEditor(_result)) {
selectionMemory[type][id] = 0;
}
} else {
// now get the code
getClassStuff_server(old_value, type, 'getClassCode').done(function(result) {
if(result){
// now remove the code
if (removeCodeFromEditor(result)) {
selectionMemory[type][id] = 0;
}
// add result to local memory
jQuery.jStorage.set('code_4_'+type+'_'+old_value, result, {TTL: expire});
}
});
}
}
if (propertyIsSet(value, id, type)) { if (propertyIsSet(value, id, type)) {
// reset the selection // reset the selection
jQuery('#'+id).val(''); jQuery('#'+id).val('');
@ -294,69 +508,81 @@ function getClassCode(field, type){
selectedIdRemoved[type] = id; selectedIdRemoved[type] = id;
// do a dynamic update (to remove what was already used) // do a dynamic update (to remove what was already used)
selectionDynamicUpdate(type); selectionDynamicUpdate(type);
// now get the code // we first check local memory
getClassStuff_server(value, type, 'getClassCode').done(function(result) { var _result = jQuery.jStorage.get('code_4_'+type+'_'+value, null);
if(result){ if (_result) {
if (Joomla.editors.instances.hasOwnProperty("jform_main_class_code")) { // now set the code
var old_result = Joomla.editors.instances['jform_main_class_code'].getValue(); if (addCodeToEditor(_result, "jform_main_class_code", true)) {
if (old_result.length > 0) { selectionMemory[type][id] = value;
// make sure not to load the same string twice
if (old_result.indexOf(result) !== -1) {
// reset the selection
jQuery('#'+id).val('');
jQuery('#'+id).trigger("liszt:updated");
// give out a notice
jQuery.UIkit.notify({message: Joomla.JText._('COM_COMPONENTBUILDER_ALREADY_SELECTED_TRY_ANOTHER'), timeout: 5000, status: 'warning', pos: 'top-center'});
} else {
Joomla.editors.instances['jform_main_class_code'].setValue(old_result + "\n\n" + result);
}
} else {
Joomla.editors.instances['jform_main_class_code'].setValue(result);
}
} else {
var old_result = jQuery('textarea#jform_main_class_code').val();
if (old_result.length > 0) {
// make sure not to load the same string twice
if (old_result.indexOf(result) !== -1) {
// reset the selection
jQuery('#'+id).val('');
jQuery('#'+id).trigger("liszt:updated");
// give out a notice
jQuery.UIkit.notify({message: Joomla.JText._('COM_COMPONENTBUILDER_ALREADY_SELECTED_TRY_ANOTHER'), timeout: 5000, status: 'warning', pos: 'top-center'});
} else {
jQuery('textarea#jform_main_class_code').val(old_result + "\n\n" + result);
}
} else {
jQuery('textarea#jform_main_class_code').val(result);
}
}
} }
}); } else {
// now get the code
getClassStuff_server(value, type, 'getClassCode').done(function(result) {
if(result){
// now set the code
if (addCodeToEditor(result, "jform_main_class_code", true)) {
selectionMemory[type][id] = value;
}
// add result to local memory
jQuery.jStorage.set('code_4_'+type+'_'+value, result, {TTL: expire});
}
});
}
} }
} }
// set selection the options function addCodeToEditor(code_string, editor_id, merge){
selectionArray = {'property':{},'method':{}}; if (Joomla.editors.instances.hasOwnProperty(editor_id)) {
selectionActiveArray = {'property':{},'method':{}}; var old_code_string = Joomla.editors.instances[editor_id].getValue();
selectedIdRemoved = {'property':'not','method':'not'}; if (merge && old_code_string.length > 0) {
justonce = {'property':1,'method':1}; // make sure not to load the same string twice
if (old_code_string.indexOf(code_string) == -1) {
function buildSelectionArray(type) { Joomla.editors.instances[editor_id].setValue(old_code_string + "\n\n" + code_string);
var i; return true;
for (i = 0; i < 10; i++) { }
// build ID } else {
var id_check = 'jform_'+type+'_selection'+'__'+type+'_selection'+i+'__'+type; Joomla.editors.instances[editor_id].setValue(code_string);
// first check if Id is on page as that not the same as the one currently calling return true;
if (justonce[type] == 1 && jQuery("#"+id_check).length) { }
// set buckets } else {
jQuery("#"+id_check+" option").each(function() { var old_code_string = jQuery('textarea#'+editor_id).val();
var key = jQuery(this).val(); if (merge && old_code_string.length > 0) {
var text = jQuery(this).text(); // make sure not to load the same string twice
selectionArray[type][key] = text; if (old_code_string.indexOf(code_string) == -1) {
}); jQuery('textarea#'+editor_id).val(old_code_string + "\n\n" + code_string);
justonce[type]++; return true;
}
} else {
jQuery('textarea#'+editor_id).val(code_string);
return true;
} }
} }
return false;
}
function removeCodeFromEditor(code_string){
if (Joomla.editors.instances.hasOwnProperty("jform_main_class_code")) {
var old_code_string = Joomla.editors.instances['jform_main_class_code'].getValue();
if (old_code_string.length > 0) {
// make sure not to load the same string twice
if (old_code_string.indexOf(code_string) !== -1) {
// remove the code
Joomla.editors.instances['jform_main_class_code'].setValue(old_code_string.replace(code_string+"\n\n",'').replace("\n\n"+code_string,'').replace(code_string,''));
return true;
}
}
} else {
var old_code_string = jQuery('textarea#jform_main_class_code').val();
if (old_code_string.length > 0) {
// make sure not to load the same string twice
if (old_code_string.indexOf(code_string) !== -1) {
// remove the code
jQuery('textarea#jform_main_class_code').val(old_code_string.replace(code_string+"\n\n",'').replace("\n\n"+code_string,'').replace(code_string,''));
return true;
}
}
}
return false;
} }
function selectionDynamicUpdate(type) { function selectionDynamicUpdate(type) {
@ -379,8 +605,6 @@ function selectionDynamicUpdate(type) {
jQuery("#"+id_check).find('option').remove().end(); jQuery("#"+id_check).find('option').remove().end();
} }
} }
// trigger chosen on the list fields
// jQuery('.'+type+'_selection_list').chosen({"disable_search_threshold":10,"search_contains":true,"allow_single_deselect":true,"placeholder_text_multiple":Joomla.JText._("COM_COMPONENTBUILDER_TYPE_OR_SELECT_SOME_OPTIONS"),"placeholder_text_single":Joomla.JText._("COM_COMPONENTBUILDER_SELECT_A_PROPERTY"),"no_results_text":Joomla.JText._("COM_COMPONENTBUILDER_NO_RESULTS_MATCH")});
// now build the list to keep // now build the list to keep
jQuery.each( selectionActiveArray[type], function( prop, name ) { jQuery.each( selectionActiveArray[type], function( prop, name ) {
if (!selectionSelectedArray.hasOwnProperty(prop)) { if (!selectionSelectedArray.hasOwnProperty(prop)) {
@ -416,29 +640,28 @@ function rowWatcher() {
selectionDynamicUpdate(type_call); selectionDynamicUpdate(type_call);
// also remove from code // also remove from code
var valid_value = jQuery(row.innerHTML).find('#' + valid_call + ' option:selected').val(); var valid_value = jQuery(row.innerHTML).find('#' + valid_call + ' option:selected').val();
getClassStuff_server(valid_value, type_call, 'getClassCode').done(function(result) { if (valid_value === '') {
if(result){ valid_value = selectionMemory[type_call][valid_call];
if (Joomla.editors.instances.hasOwnProperty("jform_main_class_code")) { }
var old_result = Joomla.editors.instances['jform_main_class_code'].getValue(); // remove the code // we first check local memory
if (old_result.length > 0) { var _result = jQuery.jStorage.get('code_4_'+type_call+'_'+valid_value, null);
// make sure not to load the same string twice if (_result) {
if (old_result.indexOf(result) !== -1) { // now remove the code
// remove the code if (removeCodeFromEditor(_result)) {
Joomla.editors.instances['jform_main_class_code'].setValue(old_result.replace(result+"\n\n",'').replace("\n\n"+result,'').replace(result,'')); selectionMemory[type_call][valid_call] = 0;
}
}
} else {
var old_result = jQuery('textarea#jform_main_class_code').val();
if (old_result.length > 0) {
// make sure not to load the same string twice
if (old_result.indexOf(result) !== -1) {
// remove the code
jQuery('textarea#jform_main_class_code').val(old_result.replace(result+"\n\n",'').replace("\n\n"+result,'').replace(result,''));
}
}
}
} }
}); } else {
// now get the code
getClassStuff_server(valid_value, type_call, 'getClassCode').done(function(result) {
if(result){
if (removeCodeFromEditor(result)) {
selectionMemory[type_call][valid_call] = 0;;
}
// add result to local memory
jQuery.jStorage.set('code_4_'+type_call+'_'+valid_value, result, {TTL: expire});
}
});
}
} }
}); });
jQuery(document).on('subform-row-add', function(event, row){ jQuery(document).on('subform-row-add', function(event, row){

View File

@ -85,21 +85,19 @@
filter="unset" filter="unset"
/> />
<!-- Dynamic Fields. --> <!-- Dynamic Fields. -->
<!-- Name Field. Type: Text. (joomla) --> <!-- System_name Field. Type: Text. (joomla) -->
<field <field
type="text" type="text"
name="name" name="system_name"
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_LABEL" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_LABEL"
size="40" size="10"
maxlength="150" maxlength="50"
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_DESCRIPTION" default=""
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_DESCRIPTION"
class="text_area" class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING" filter="STRING"
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_MESSAGE" message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_MESSAGE"
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_HINT" hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_HINT"
/> />
<!-- Class_extends Field. Type: Classextends. (custom) --> <!-- Class_extends Field. Type: Classextends. (custom) -->
<field <field
@ -180,6 +178,23 @@
filter="raw" filter="raw"
validate="code" validate="code"
/> />
<!-- Head Field. Type: Editor. (joomla) -->
<field
type="editor"
name="head"
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD_DESCRIPTION"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
/>
<!-- Method_selection Field. Type: Subform. (joomla) --> <!-- Method_selection Field. Type: Subform. (joomla) -->
<field <field
type="subform" type="subform"
@ -234,6 +249,36 @@
</field> </field>
<!-- Note_plugin Field. Type: Note. A None Database Field. (joomla) --> <!-- Note_plugin Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_plugin" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_PLUGIN_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_PLUGIN_DESCRIPTION" heading="h4" class="alert alert-info note_plugin" /> <field type="note" name="note_plugin" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_PLUGIN_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_PLUGIN_DESCRIPTION" heading="h4" class="alert alert-info note_plugin" />
<!-- Add_head Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_head"
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_HEAD_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_HEAD_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
<option value="0">
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
</field>
<!-- Name Field. Type: Text. (joomla) -->
<field
type="text"
name="name"
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_DESCRIPTION"
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_MESSAGE"
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_HINT"
/>
<!-- Note_beta_stage Field. Type: Note. A None Database Field. (joomla) --> <!-- Note_beta_stage Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_beta_stage" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_DESCRIPTION" heading="h4" class="alert alert-warning note_beta_stage" /> <field type="note" name="note_beta_stage" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_DESCRIPTION" heading="h4" class="alert alert-warning note_beta_stage" />
</fieldset> </fieldset>

View File

@ -11,15 +11,15 @@
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvzh = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvzk = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzh(add_php_view_vvvvvzh); vvvvvzk(add_php_view_vvvvvzk);
}); });
// the vvvvvzh function // the vvvvvzk function
function vvvvvzh(add_php_view_vvvvvzh) function vvvvvzk(add_php_view_vvvvvzk)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvzh == 1) if (add_php_view_vvvvvzk == 1)
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').show(); jQuery('#jform_php_view-lbl').closest('.control-group').show();
} }

View File

@ -9,21 +9,12 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwaqvxf_required = false; jform_vvvvwatvxg_required = false;
jform_vvvvwawvxg_required = false; jform_vvvvwazvxh_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var how_vvvvwap = jQuery("#jform_how").val();
vvvvwap(how_vvvvwap);
var how_vvvvwaq = jQuery("#jform_how").val();
vvvvwaq(how_vvvvwaq);
var how_vvvvwar = jQuery("#jform_how").val();
vvvvwar(how_vvvvwar);
var how_vvvvwas = jQuery("#jform_how").val(); var how_vvvvwas = jQuery("#jform_how").val();
vvvvwas(how_vvvvwas); vvvvwas(how_vvvvwas);
@ -36,142 +27,19 @@ jQuery(document).ready(function()
var how_vvvvwav = jQuery("#jform_how").val(); var how_vvvvwav = jQuery("#jform_how").val();
vvvvwav(how_vvvvwav); vvvvwav(how_vvvvwav);
var type_vvvvwaw = jQuery("#jform_type input[type='radio']:checked").val(); var how_vvvvwaw = jQuery("#jform_how").val();
vvvvwaw(type_vvvvwaw); vvvvwaw(how_vvvvwaw);
var how_vvvvwax = jQuery("#jform_how").val();
vvvvwax(how_vvvvwax);
var how_vvvvway = jQuery("#jform_how").val();
vvvvway(how_vvvvway);
var type_vvvvwaz = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwaz(type_vvvvwaz);
}); });
// the vvvvwap function
function vvvvwap(how_vvvvwap)
{
if (isSet(how_vvvvwap) && how_vvvvwap.constructor !== Array)
{
var temp_vvvvwap = how_vvvvwap;
var how_vvvvwap = [];
how_vvvvwap.push(temp_vvvvwap);
}
else if (!isSet(how_vvvvwap))
{
var how_vvvvwap = [];
}
var how = how_vvvvwap.some(how_vvvvwap_SomeFunc);
// set this function logic
if (how)
{
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
}
else
{
jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
}
}
// the vvvvwap Some function
function how_vvvvwap_SomeFunc(how_vvvvwap)
{
// set the function logic
if (how_vvvvwap == 2)
{
return true;
}
return false;
}
// the vvvvwaq function
function vvvvwaq(how_vvvvwaq)
{
if (isSet(how_vvvvwaq) && how_vvvvwaq.constructor !== Array)
{
var temp_vvvvwaq = how_vvvvwaq;
var how_vvvvwaq = [];
how_vvvvwaq.push(temp_vvvvwaq);
}
else if (!isSet(how_vvvvwaq))
{
var how_vvvvwaq = [];
}
var how = how_vvvvwaq.some(how_vvvvwaq_SomeFunc);
// set this function logic
if (how)
{
jQuery('#jform_php_setdocument').closest('.control-group').show();
// add required attribute to php_setdocument field
if (jform_vvvvwaqvxf_required)
{
updateFieldRequired('php_setdocument',0);
jQuery('#jform_php_setdocument').prop('required','required');
jQuery('#jform_php_setdocument').attr('aria-required',true);
jQuery('#jform_php_setdocument').addClass('required');
jform_vvvvwaqvxf_required = false;
}
}
else
{
jQuery('#jform_php_setdocument').closest('.control-group').hide();
// remove required attribute from php_setdocument field
if (!jform_vvvvwaqvxf_required)
{
updateFieldRequired('php_setdocument',1);
jQuery('#jform_php_setdocument').removeAttr('required');
jQuery('#jform_php_setdocument').removeAttr('aria-required');
jQuery('#jform_php_setdocument').removeClass('required');
jform_vvvvwaqvxf_required = true;
}
}
}
// the vvvvwaq Some function
function how_vvvvwaq_SomeFunc(how_vvvvwaq)
{
// set the function logic
if (how_vvvvwaq == 3)
{
return true;
}
return false;
}
// the vvvvwar function
function vvvvwar(how_vvvvwar)
{
if (isSet(how_vvvvwar) && how_vvvvwar.constructor !== Array)
{
var temp_vvvvwar = how_vvvvwar;
var how_vvvvwar = [];
how_vvvvwar.push(temp_vvvvwar);
}
else if (!isSet(how_vvvvwar))
{
var how_vvvvwar = [];
}
var how = how_vvvvwar.some(how_vvvvwar_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_display_library_config').closest('.control-group').show();
}
else
{
jQuery('.note_display_library_config').closest('.control-group').hide();
}
}
// the vvvvwar Some function
function how_vvvvwar_SomeFunc(how_vvvvwar)
{
// set the function logic
if (how_vvvvwar == 2 || how_vvvvwar == 3)
{
return true;
}
return false;
}
// the vvvvwas function // the vvvvwas function
function vvvvwas(how_vvvvwas) function vvvvwas(how_vvvvwas)
{ {
@ -191,11 +59,11 @@ function vvvvwas(how_vvvvwas)
// set this function logic // set this function logic
if (how) if (how)
{ {
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show(); jQuery('#jform_addconditions-lbl').closest('.control-group').show();
} }
else else
{ {
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide(); jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
} }
} }
@ -203,7 +71,7 @@ function vvvvwas(how_vvvvwas)
function how_vvvvwas_SomeFunc(how_vvvvwas) function how_vvvvwas_SomeFunc(how_vvvvwas)
{ {
// set the function logic // set the function logic
if (how_vvvvwas == 1 || how_vvvvwas == 2 || how_vvvvwas == 3) if (how_vvvvwas == 2)
{ {
return true; return true;
} }
@ -229,15 +97,29 @@ function vvvvwat(how_vvvvwat)
// set this function logic // set this function logic
if (how) if (how)
{ {
jQuery('.note_no_behaviour_one').closest('.control-group').show(); jQuery('#jform_php_setdocument').closest('.control-group').show();
jQuery('.note_no_behaviour_three').closest('.control-group').show(); // add required attribute to php_setdocument field
jQuery('.note_no_behaviour_two').closest('.control-group').show(); if (jform_vvvvwatvxg_required)
{
updateFieldRequired('php_setdocument',0);
jQuery('#jform_php_setdocument').prop('required','required');
jQuery('#jform_php_setdocument').attr('aria-required',true);
jQuery('#jform_php_setdocument').addClass('required');
jform_vvvvwatvxg_required = false;
}
} }
else else
{ {
jQuery('.note_no_behaviour_one').closest('.control-group').hide(); jQuery('#jform_php_setdocument').closest('.control-group').hide();
jQuery('.note_no_behaviour_three').closest('.control-group').hide(); // remove required attribute from php_setdocument field
jQuery('.note_no_behaviour_two').closest('.control-group').hide(); if (!jform_vvvvwatvxg_required)
{
updateFieldRequired('php_setdocument',1);
jQuery('#jform_php_setdocument').removeAttr('required');
jQuery('#jform_php_setdocument').removeAttr('aria-required');
jQuery('#jform_php_setdocument').removeClass('required');
jform_vvvvwatvxg_required = true;
}
} }
} }
@ -245,7 +127,7 @@ function vvvvwat(how_vvvvwat)
function how_vvvvwat_SomeFunc(how_vvvvwat) function how_vvvvwat_SomeFunc(how_vvvvwat)
{ {
// set the function logic // set the function logic
if (how_vvvvwat == 0) if (how_vvvvwat == 3)
{ {
return true; return true;
} }
@ -271,13 +153,11 @@ function vvvvwau(how_vvvvwau)
// set this function logic // set this function logic
if (how) if (how)
{ {
jQuery('.note_yes_behaviour_one').closest('.control-group').show(); jQuery('.note_display_library_config').closest('.control-group').show();
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
} }
else else
{ {
jQuery('.note_yes_behaviour_one').closest('.control-group').hide(); jQuery('.note_display_library_config').closest('.control-group').hide();
jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
} }
} }
@ -285,7 +165,7 @@ function vvvvwau(how_vvvvwau)
function how_vvvvwau_SomeFunc(how_vvvvwau) function how_vvvvwau_SomeFunc(how_vvvvwau)
{ {
// set the function logic // set the function logic
if (how_vvvvwau == 1) if (how_vvvvwau == 2 || how_vvvvwau == 3)
{ {
return true; return true;
} }
@ -308,6 +188,126 @@ function vvvvwav(how_vvvvwav)
var how = how_vvvvwav.some(how_vvvvwav_SomeFunc); var how = how_vvvvwav.some(how_vvvvwav_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
}
else
{
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
}
}
// the vvvvwav Some function
function how_vvvvwav_SomeFunc(how_vvvvwav)
{
// set the function logic
if (how_vvvvwav == 1 || how_vvvvwav == 2 || how_vvvvwav == 3)
{
return true;
}
return false;
}
// the vvvvwaw function
function vvvvwaw(how_vvvvwaw)
{
if (isSet(how_vvvvwaw) && how_vvvvwaw.constructor !== Array)
{
var temp_vvvvwaw = how_vvvvwaw;
var how_vvvvwaw = [];
how_vvvvwaw.push(temp_vvvvwaw);
}
else if (!isSet(how_vvvvwaw))
{
var how_vvvvwaw = [];
}
var how = how_vvvvwaw.some(how_vvvvwaw_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_no_behaviour_one').closest('.control-group').show();
jQuery('.note_no_behaviour_three').closest('.control-group').show();
jQuery('.note_no_behaviour_two').closest('.control-group').show();
}
else
{
jQuery('.note_no_behaviour_one').closest('.control-group').hide();
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
}
}
// the vvvvwaw Some function
function how_vvvvwaw_SomeFunc(how_vvvvwaw)
{
// set the function logic
if (how_vvvvwaw == 0)
{
return true;
}
return false;
}
// the vvvvwax function
function vvvvwax(how_vvvvwax)
{
if (isSet(how_vvvvwax) && how_vvvvwax.constructor !== Array)
{
var temp_vvvvwax = how_vvvvwax;
var how_vvvvwax = [];
how_vvvvwax.push(temp_vvvvwax);
}
else if (!isSet(how_vvvvwax))
{
var how_vvvvwax = [];
}
var how = how_vvvvwax.some(how_vvvvwax_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_yes_behaviour_one').closest('.control-group').show();
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
}
else
{
jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
}
}
// the vvvvwax Some function
function how_vvvvwax_SomeFunc(how_vvvvwax)
{
// set the function logic
if (how_vvvvwax == 1)
{
return true;
}
return false;
}
// the vvvvway function
function vvvvway(how_vvvvway)
{
if (isSet(how_vvvvway) && how_vvvvway.constructor !== Array)
{
var temp_vvvvway = how_vvvvway;
var how_vvvvway = [];
how_vvvvway.push(temp_vvvvway);
}
else if (!isSet(how_vvvvway))
{
var how_vvvvway = [];
}
var how = how_vvvvway.some(how_vvvvway_SomeFunc);
// set this function logic // set this function logic
if (how) if (how)
{ {
@ -323,45 +323,45 @@ function vvvvwav(how_vvvvwav)
} }
} }
// the vvvvwav Some function // the vvvvway Some function
function how_vvvvwav_SomeFunc(how_vvvvwav) function how_vvvvway_SomeFunc(how_vvvvway)
{ {
// set the function logic // set the function logic
if (how_vvvvwav == 4) if (how_vvvvway == 4)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwaw function // the vvvvwaz function
function vvvvwaw(type_vvvvwaw) function vvvvwaz(type_vvvvwaz)
{ {
// set the function logic // set the function logic
if (type_vvvvwaw == 2) if (type_vvvvwaz == 2)
{ {
jQuery('#jform_libraries').closest('.control-group').show(); jQuery('#jform_libraries').closest('.control-group').show();
// add required attribute to libraries field // add required attribute to libraries field
if (jform_vvvvwawvxg_required) if (jform_vvvvwazvxh_required)
{ {
updateFieldRequired('libraries',0); updateFieldRequired('libraries',0);
jQuery('#jform_libraries').prop('required','required'); jQuery('#jform_libraries').prop('required','required');
jQuery('#jform_libraries').attr('aria-required',true); jQuery('#jform_libraries').attr('aria-required',true);
jQuery('#jform_libraries').addClass('required'); jQuery('#jform_libraries').addClass('required');
jform_vvvvwawvxg_required = false; jform_vvvvwazvxh_required = false;
} }
} }
else else
{ {
jQuery('#jform_libraries').closest('.control-group').hide(); jQuery('#jform_libraries').closest('.control-group').hide();
// remove required attribute from libraries field // remove required attribute from libraries field
if (!jform_vvvvwawvxg_required) if (!jform_vvvvwazvxh_required)
{ {
updateFieldRequired('libraries',1); updateFieldRequired('libraries',1);
jQuery('#jform_libraries').removeAttr('required'); jQuery('#jform_libraries').removeAttr('required');
jQuery('#jform_libraries').removeAttr('aria-required'); jQuery('#jform_libraries').removeAttr('aria-required');
jQuery('#jform_libraries').removeClass('required'); jQuery('#jform_libraries').removeClass('required');
jform_vvvvwawvxg_required = true; jform_vvvvwazvxh_required = true;
} }
} }
} }

View File

@ -9,56 +9,56 @@
*/ */
// Some Global Values // Some Global Values
jform_vvvvwbtvxt_required = false; jform_vvvvwbwvxu_required = false;
jform_vvvvwbtvxu_required = false; jform_vvvvwbwvxv_required = false;
jform_vvvvwbtvxv_required = false; jform_vvvvwbwvxw_required = false;
jform_vvvvwbtvxw_required = false; jform_vvvvwbwvxx_required = false;
jform_vvvvwbtvxx_required = false; jform_vvvvwbwvxy_required = false;
jform_vvvvwbuvxy_required = false; jform_vvvvwbxvxz_required = false;
jform_vvvvwbvvxz_required = false; jform_vvvvwbyvya_required = false;
jform_vvvvwbxvya_required = false; jform_vvvvwcavyb_required = false;
jform_vvvvwbzvyb_required = false; jform_vvvvwccvyc_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var protocol_vvvvwbt = jQuery("#jform_protocol").val(); var protocol_vvvvwbw = jQuery("#jform_protocol").val();
vvvvwbt(protocol_vvvvwbt); vvvvwbw(protocol_vvvvwbw);
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
vvvvwbu(protocol_vvvvwbu);
var protocol_vvvvwbv = jQuery("#jform_protocol").val();
var authentication_vvvvwbv = jQuery("#jform_authentication").val();
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv);
var protocol_vvvvwbx = jQuery("#jform_protocol").val(); var protocol_vvvvwbx = jQuery("#jform_protocol").val();
var authentication_vvvvwbx = jQuery("#jform_authentication").val(); vvvvwbx(protocol_vvvvwbx);
vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx);
var protocol_vvvvwbz = jQuery("#jform_protocol").val(); var protocol_vvvvwby = jQuery("#jform_protocol").val();
var authentication_vvvvwbz = jQuery("#jform_authentication").val(); var authentication_vvvvwby = jQuery("#jform_authentication").val();
vvvvwbz(protocol_vvvvwbz,authentication_vvvvwbz); vvvvwby(protocol_vvvvwby,authentication_vvvvwby);
var protocol_vvvvwcb = jQuery("#jform_protocol").val(); var protocol_vvvvwca = jQuery("#jform_protocol").val();
var authentication_vvvvwcb = jQuery("#jform_authentication").val(); var authentication_vvvvwca = jQuery("#jform_authentication").val();
vvvvwcb(protocol_vvvvwcb,authentication_vvvvwcb); vvvvwca(protocol_vvvvwca,authentication_vvvvwca);
var protocol_vvvvwcc = jQuery("#jform_protocol").val();
var authentication_vvvvwcc = jQuery("#jform_authentication").val();
vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc);
var protocol_vvvvwce = jQuery("#jform_protocol").val();
var authentication_vvvvwce = jQuery("#jform_authentication").val();
vvvvwce(protocol_vvvvwce,authentication_vvvvwce);
}); });
// the vvvvwbt function // the vvvvwbw function
function vvvvwbt(protocol_vvvvwbt) function vvvvwbw(protocol_vvvvwbw)
{ {
if (isSet(protocol_vvvvwbt) && protocol_vvvvwbt.constructor !== Array) if (isSet(protocol_vvvvwbw) && protocol_vvvvwbw.constructor !== Array)
{ {
var temp_vvvvwbt = protocol_vvvvwbt; var temp_vvvvwbw = protocol_vvvvwbw;
var protocol_vvvvwbt = []; var protocol_vvvvwbw = [];
protocol_vvvvwbt.push(temp_vvvvwbt); protocol_vvvvwbw.push(temp_vvvvwbw);
} }
else if (!isSet(protocol_vvvvwbt)) else if (!isSet(protocol_vvvvwbw))
{ {
var protocol_vvvvwbt = []; var protocol_vvvvwbw = [];
} }
var protocol = protocol_vvvvwbt.some(protocol_vvvvwbt_SomeFunc); var protocol = protocol_vvvvwbw.some(protocol_vvvvwbw_SomeFunc);
// set this function logic // set this function logic
@ -66,254 +66,117 @@ function vvvvwbt(protocol_vvvvwbt)
{ {
jQuery('#jform_authentication').closest('.control-group').show(); jQuery('#jform_authentication').closest('.control-group').show();
// add required attribute to authentication field // add required attribute to authentication field
if (jform_vvvvwbtvxt_required) if (jform_vvvvwbwvxu_required)
{ {
updateFieldRequired('authentication',0); updateFieldRequired('authentication',0);
jQuery('#jform_authentication').prop('required','required'); jQuery('#jform_authentication').prop('required','required');
jQuery('#jform_authentication').attr('aria-required',true); jQuery('#jform_authentication').attr('aria-required',true);
jQuery('#jform_authentication').addClass('required'); jQuery('#jform_authentication').addClass('required');
jform_vvvvwbtvxt_required = false; jform_vvvvwbwvxu_required = false;
} }
jQuery('#jform_host').closest('.control-group').show(); jQuery('#jform_host').closest('.control-group').show();
// add required attribute to host field // add required attribute to host field
if (jform_vvvvwbtvxu_required) if (jform_vvvvwbwvxv_required)
{ {
updateFieldRequired('host',0); updateFieldRequired('host',0);
jQuery('#jform_host').prop('required','required'); jQuery('#jform_host').prop('required','required');
jQuery('#jform_host').attr('aria-required',true); jQuery('#jform_host').attr('aria-required',true);
jQuery('#jform_host').addClass('required'); jQuery('#jform_host').addClass('required');
jform_vvvvwbtvxu_required = false; jform_vvvvwbwvxv_required = false;
} }
jQuery('#jform_port').closest('.control-group').show(); jQuery('#jform_port').closest('.control-group').show();
// add required attribute to port field // add required attribute to port field
if (jform_vvvvwbtvxv_required) if (jform_vvvvwbwvxw_required)
{ {
updateFieldRequired('port',0); updateFieldRequired('port',0);
jQuery('#jform_port').prop('required','required'); jQuery('#jform_port').prop('required','required');
jQuery('#jform_port').attr('aria-required',true); jQuery('#jform_port').attr('aria-required',true);
jQuery('#jform_port').addClass('required'); jQuery('#jform_port').addClass('required');
jform_vvvvwbtvxv_required = false; jform_vvvvwbwvxw_required = false;
} }
jQuery('#jform_path').closest('.control-group').show(); jQuery('#jform_path').closest('.control-group').show();
// add required attribute to path field // add required attribute to path field
if (jform_vvvvwbtvxw_required) if (jform_vvvvwbwvxx_required)
{ {
updateFieldRequired('path',0); updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required'); jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true); jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required'); jQuery('#jform_path').addClass('required');
jform_vvvvwbtvxw_required = false; jform_vvvvwbwvxx_required = false;
} }
jQuery('.note_ssh_security').closest('.control-group').show(); jQuery('.note_ssh_security').closest('.control-group').show();
jQuery('#jform_username').closest('.control-group').show(); jQuery('#jform_username').closest('.control-group').show();
// add required attribute to username field // add required attribute to username field
if (jform_vvvvwbtvxx_required) if (jform_vvvvwbwvxy_required)
{ {
updateFieldRequired('username',0); updateFieldRequired('username',0);
jQuery('#jform_username').prop('required','required'); jQuery('#jform_username').prop('required','required');
jQuery('#jform_username').attr('aria-required',true); jQuery('#jform_username').attr('aria-required',true);
jQuery('#jform_username').addClass('required'); jQuery('#jform_username').addClass('required');
jform_vvvvwbtvxx_required = false; jform_vvvvwbwvxy_required = false;
} }
} }
else else
{ {
jQuery('#jform_authentication').closest('.control-group').hide(); jQuery('#jform_authentication').closest('.control-group').hide();
// remove required attribute from authentication field // remove required attribute from authentication field
if (!jform_vvvvwbtvxt_required) if (!jform_vvvvwbwvxu_required)
{ {
updateFieldRequired('authentication',1); updateFieldRequired('authentication',1);
jQuery('#jform_authentication').removeAttr('required'); jQuery('#jform_authentication').removeAttr('required');
jQuery('#jform_authentication').removeAttr('aria-required'); jQuery('#jform_authentication').removeAttr('aria-required');
jQuery('#jform_authentication').removeClass('required'); jQuery('#jform_authentication').removeClass('required');
jform_vvvvwbtvxt_required = true; jform_vvvvwbwvxu_required = true;
} }
jQuery('#jform_host').closest('.control-group').hide(); jQuery('#jform_host').closest('.control-group').hide();
// remove required attribute from host field // remove required attribute from host field
if (!jform_vvvvwbtvxu_required) if (!jform_vvvvwbwvxv_required)
{ {
updateFieldRequired('host',1); updateFieldRequired('host',1);
jQuery('#jform_host').removeAttr('required'); jQuery('#jform_host').removeAttr('required');
jQuery('#jform_host').removeAttr('aria-required'); jQuery('#jform_host').removeAttr('aria-required');
jQuery('#jform_host').removeClass('required'); jQuery('#jform_host').removeClass('required');
jform_vvvvwbtvxu_required = true; jform_vvvvwbwvxv_required = true;
} }
jQuery('#jform_port').closest('.control-group').hide(); jQuery('#jform_port').closest('.control-group').hide();
// remove required attribute from port field // remove required attribute from port field
if (!jform_vvvvwbtvxv_required) if (!jform_vvvvwbwvxw_required)
{ {
updateFieldRequired('port',1); updateFieldRequired('port',1);
jQuery('#jform_port').removeAttr('required'); jQuery('#jform_port').removeAttr('required');
jQuery('#jform_port').removeAttr('aria-required'); jQuery('#jform_port').removeAttr('aria-required');
jQuery('#jform_port').removeClass('required'); jQuery('#jform_port').removeClass('required');
jform_vvvvwbtvxv_required = true; jform_vvvvwbwvxw_required = true;
} }
jQuery('#jform_path').closest('.control-group').hide(); jQuery('#jform_path').closest('.control-group').hide();
// remove required attribute from path field // remove required attribute from path field
if (!jform_vvvvwbtvxw_required) if (!jform_vvvvwbwvxx_required)
{ {
updateFieldRequired('path',1); updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required'); jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required'); jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required'); jQuery('#jform_path').removeClass('required');
jform_vvvvwbtvxw_required = true; jform_vvvvwbwvxx_required = true;
} }
jQuery('.note_ssh_security').closest('.control-group').hide(); jQuery('.note_ssh_security').closest('.control-group').hide();
jQuery('#jform_username').closest('.control-group').hide(); jQuery('#jform_username').closest('.control-group').hide();
// remove required attribute from username field // remove required attribute from username field
if (!jform_vvvvwbtvxx_required) if (!jform_vvvvwbwvxy_required)
{ {
updateFieldRequired('username',1); updateFieldRequired('username',1);
jQuery('#jform_username').removeAttr('required'); jQuery('#jform_username').removeAttr('required');
jQuery('#jform_username').removeAttr('aria-required'); jQuery('#jform_username').removeAttr('aria-required');
jQuery('#jform_username').removeClass('required'); jQuery('#jform_username').removeClass('required');
jform_vvvvwbtvxx_required = true; jform_vvvvwbwvxy_required = true;
} }
} }
} }
// the vvvvwbt Some function // the vvvvwbw Some function
function protocol_vvvvwbt_SomeFunc(protocol_vvvvwbt) function protocol_vvvvwbw_SomeFunc(protocol_vvvvwbw)
{ {
// set the function logic // set the function logic
if (protocol_vvvvwbt == 2) if (protocol_vvvvwbw == 2)
{
return true;
}
return false;
}
// the vvvvwbu function
function vvvvwbu(protocol_vvvvwbu)
{
if (isSet(protocol_vvvvwbu) && protocol_vvvvwbu.constructor !== Array)
{
var temp_vvvvwbu = protocol_vvvvwbu;
var protocol_vvvvwbu = [];
protocol_vvvvwbu.push(temp_vvvvwbu);
}
else if (!isSet(protocol_vvvvwbu))
{
var protocol_vvvvwbu = [];
}
var protocol = protocol_vvvvwbu.some(protocol_vvvvwbu_SomeFunc);
// set this function logic
if (protocol)
{
jQuery('.note_ftp_signature').closest('.control-group').show();
jQuery('#jform_signature').closest('.control-group').show();
// add required attribute to signature field
if (jform_vvvvwbuvxy_required)
{
updateFieldRequired('signature',0);
jQuery('#jform_signature').prop('required','required');
jQuery('#jform_signature').attr('aria-required',true);
jQuery('#jform_signature').addClass('required');
jform_vvvvwbuvxy_required = false;
}
}
else
{
jQuery('.note_ftp_signature').closest('.control-group').hide();
jQuery('#jform_signature').closest('.control-group').hide();
// remove required attribute from signature field
if (!jform_vvvvwbuvxy_required)
{
updateFieldRequired('signature',1);
jQuery('#jform_signature').removeAttr('required');
jQuery('#jform_signature').removeAttr('aria-required');
jQuery('#jform_signature').removeClass('required');
jform_vvvvwbuvxy_required = true;
}
}
}
// the vvvvwbu Some function
function protocol_vvvvwbu_SomeFunc(protocol_vvvvwbu)
{
// set the function logic
if (protocol_vvvvwbu == 1)
{
return true;
}
return false;
}
// the vvvvwbv function
function vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv)
{
if (isSet(protocol_vvvvwbv) && protocol_vvvvwbv.constructor !== Array)
{
var temp_vvvvwbv = protocol_vvvvwbv;
var protocol_vvvvwbv = [];
protocol_vvvvwbv.push(temp_vvvvwbv);
}
else if (!isSet(protocol_vvvvwbv))
{
var protocol_vvvvwbv = [];
}
var protocol = protocol_vvvvwbv.some(protocol_vvvvwbv_SomeFunc);
if (isSet(authentication_vvvvwbv) && authentication_vvvvwbv.constructor !== Array)
{
var temp_vvvvwbv = authentication_vvvvwbv;
var authentication_vvvvwbv = [];
authentication_vvvvwbv.push(temp_vvvvwbv);
}
else if (!isSet(authentication_vvvvwbv))
{
var authentication_vvvvwbv = [];
}
var authentication = authentication_vvvvwbv.some(authentication_vvvvwbv_SomeFunc);
// set this function logic
if (protocol && authentication)
{
jQuery('#jform_password').closest('.control-group').show();
// add required attribute to password field
if (jform_vvvvwbvvxz_required)
{
updateFieldRequired('password',0);
jQuery('#jform_password').prop('required','required');
jQuery('#jform_password').attr('aria-required',true);
jQuery('#jform_password').addClass('required');
jform_vvvvwbvvxz_required = false;
}
}
else
{
jQuery('#jform_password').closest('.control-group').hide();
// remove required attribute from password field
if (!jform_vvvvwbvvxz_required)
{
updateFieldRequired('password',1);
jQuery('#jform_password').removeAttr('required');
jQuery('#jform_password').removeAttr('aria-required');
jQuery('#jform_password').removeClass('required');
jform_vvvvwbvvxz_required = true;
}
}
}
// the vvvvwbv Some function
function protocol_vvvvwbv_SomeFunc(protocol_vvvvwbv)
{
// set the function logic
if (protocol_vvvvwbv == 2)
{
return true;
}
return false;
}
// the vvvvwbv Some function
function authentication_vvvvwbv_SomeFunc(authentication_vvvvwbv)
{
// set the function logic
if (authentication_vvvvwbv == 1 || authentication_vvvvwbv == 3 || authentication_vvvvwbv == 5)
{ {
return true; return true;
} }
@ -321,7 +184,7 @@ function authentication_vvvvwbv_SomeFunc(authentication_vvvvwbv)
} }
// the vvvvwbx function // the vvvvwbx function
function vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx) function vvvvwbx(protocol_vvvvwbx)
{ {
if (isSet(protocol_vvvvwbx) && protocol_vvvvwbx.constructor !== Array) if (isSet(protocol_vvvvwbx) && protocol_vvvvwbx.constructor !== Array)
{ {
@ -335,44 +198,34 @@ function vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx)
} }
var protocol = protocol_vvvvwbx.some(protocol_vvvvwbx_SomeFunc); var protocol = protocol_vvvvwbx.some(protocol_vvvvwbx_SomeFunc);
if (isSet(authentication_vvvvwbx) && authentication_vvvvwbx.constructor !== Array)
{
var temp_vvvvwbx = authentication_vvvvwbx;
var authentication_vvvvwbx = [];
authentication_vvvvwbx.push(temp_vvvvwbx);
}
else if (!isSet(authentication_vvvvwbx))
{
var authentication_vvvvwbx = [];
}
var authentication = authentication_vvvvwbx.some(authentication_vvvvwbx_SomeFunc);
// set this function logic // set this function logic
if (protocol && authentication) if (protocol)
{ {
jQuery('#jform_private').closest('.control-group').show(); jQuery('.note_ftp_signature').closest('.control-group').show();
// add required attribute to private field jQuery('#jform_signature').closest('.control-group').show();
if (jform_vvvvwbxvya_required) // add required attribute to signature field
if (jform_vvvvwbxvxz_required)
{ {
updateFieldRequired('private',0); updateFieldRequired('signature',0);
jQuery('#jform_private').prop('required','required'); jQuery('#jform_signature').prop('required','required');
jQuery('#jform_private').attr('aria-required',true); jQuery('#jform_signature').attr('aria-required',true);
jQuery('#jform_private').addClass('required'); jQuery('#jform_signature').addClass('required');
jform_vvvvwbxvya_required = false; jform_vvvvwbxvxz_required = false;
} }
} }
else else
{ {
jQuery('#jform_private').closest('.control-group').hide(); jQuery('.note_ftp_signature').closest('.control-group').hide();
// remove required attribute from private field jQuery('#jform_signature').closest('.control-group').hide();
if (!jform_vvvvwbxvya_required) // remove required attribute from signature field
if (!jform_vvvvwbxvxz_required)
{ {
updateFieldRequired('private',1); updateFieldRequired('signature',1);
jQuery('#jform_private').removeAttr('required'); jQuery('#jform_signature').removeAttr('required');
jQuery('#jform_private').removeAttr('aria-required'); jQuery('#jform_signature').removeAttr('aria-required');
jQuery('#jform_private').removeClass('required'); jQuery('#jform_signature').removeClass('required');
jform_vvvvwbxvya_required = true; jform_vvvvwbxvxz_required = true;
} }
} }
} }
@ -381,50 +234,197 @@ function vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx)
function protocol_vvvvwbx_SomeFunc(protocol_vvvvwbx) function protocol_vvvvwbx_SomeFunc(protocol_vvvvwbx)
{ {
// set the function logic // set the function logic
if (protocol_vvvvwbx == 2) if (protocol_vvvvwbx == 1)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbx Some function // the vvvvwby function
function authentication_vvvvwbx_SomeFunc(authentication_vvvvwbx) function vvvvwby(protocol_vvvvwby,authentication_vvvvwby)
{
if (isSet(protocol_vvvvwby) && protocol_vvvvwby.constructor !== Array)
{
var temp_vvvvwby = protocol_vvvvwby;
var protocol_vvvvwby = [];
protocol_vvvvwby.push(temp_vvvvwby);
}
else if (!isSet(protocol_vvvvwby))
{
var protocol_vvvvwby = [];
}
var protocol = protocol_vvvvwby.some(protocol_vvvvwby_SomeFunc);
if (isSet(authentication_vvvvwby) && authentication_vvvvwby.constructor !== Array)
{
var temp_vvvvwby = authentication_vvvvwby;
var authentication_vvvvwby = [];
authentication_vvvvwby.push(temp_vvvvwby);
}
else if (!isSet(authentication_vvvvwby))
{
var authentication_vvvvwby = [];
}
var authentication = authentication_vvvvwby.some(authentication_vvvvwby_SomeFunc);
// set this function logic
if (protocol && authentication)
{
jQuery('#jform_password').closest('.control-group').show();
// add required attribute to password field
if (jform_vvvvwbyvya_required)
{
updateFieldRequired('password',0);
jQuery('#jform_password').prop('required','required');
jQuery('#jform_password').attr('aria-required',true);
jQuery('#jform_password').addClass('required');
jform_vvvvwbyvya_required = false;
}
}
else
{
jQuery('#jform_password').closest('.control-group').hide();
// remove required attribute from password field
if (!jform_vvvvwbyvya_required)
{
updateFieldRequired('password',1);
jQuery('#jform_password').removeAttr('required');
jQuery('#jform_password').removeAttr('aria-required');
jQuery('#jform_password').removeClass('required');
jform_vvvvwbyvya_required = true;
}
}
}
// the vvvvwby Some function
function protocol_vvvvwby_SomeFunc(protocol_vvvvwby)
{ {
// set the function logic // set the function logic
if (authentication_vvvvwbx == 2 || authentication_vvvvwbx == 3) if (protocol_vvvvwby == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbz function // the vvvvwby Some function
function vvvvwbz(protocol_vvvvwbz,authentication_vvvvwbz) function authentication_vvvvwby_SomeFunc(authentication_vvvvwby)
{ {
if (isSet(protocol_vvvvwbz) && protocol_vvvvwbz.constructor !== Array) // set the function logic
if (authentication_vvvvwby == 1 || authentication_vvvvwby == 3 || authentication_vvvvwby == 5)
{ {
var temp_vvvvwbz = protocol_vvvvwbz; return true;
var protocol_vvvvwbz = [];
protocol_vvvvwbz.push(temp_vvvvwbz);
} }
else if (!isSet(protocol_vvvvwbz)) return false;
{ }
var protocol_vvvvwbz = [];
}
var protocol = protocol_vvvvwbz.some(protocol_vvvvwbz_SomeFunc);
if (isSet(authentication_vvvvwbz) && authentication_vvvvwbz.constructor !== Array) // the vvvvwca function
function vvvvwca(protocol_vvvvwca,authentication_vvvvwca)
{
if (isSet(protocol_vvvvwca) && protocol_vvvvwca.constructor !== Array)
{ {
var temp_vvvvwbz = authentication_vvvvwbz; var temp_vvvvwca = protocol_vvvvwca;
var authentication_vvvvwbz = []; var protocol_vvvvwca = [];
authentication_vvvvwbz.push(temp_vvvvwbz); protocol_vvvvwca.push(temp_vvvvwca);
} }
else if (!isSet(authentication_vvvvwbz)) else if (!isSet(protocol_vvvvwca))
{ {
var authentication_vvvvwbz = []; var protocol_vvvvwca = [];
} }
var authentication = authentication_vvvvwbz.some(authentication_vvvvwbz_SomeFunc); var protocol = protocol_vvvvwca.some(protocol_vvvvwca_SomeFunc);
if (isSet(authentication_vvvvwca) && authentication_vvvvwca.constructor !== Array)
{
var temp_vvvvwca = authentication_vvvvwca;
var authentication_vvvvwca = [];
authentication_vvvvwca.push(temp_vvvvwca);
}
else if (!isSet(authentication_vvvvwca))
{
var authentication_vvvvwca = [];
}
var authentication = authentication_vvvvwca.some(authentication_vvvvwca_SomeFunc);
// set this function logic
if (protocol && authentication)
{
jQuery('#jform_private').closest('.control-group').show();
// add required attribute to private field
if (jform_vvvvwcavyb_required)
{
updateFieldRequired('private',0);
jQuery('#jform_private').prop('required','required');
jQuery('#jform_private').attr('aria-required',true);
jQuery('#jform_private').addClass('required');
jform_vvvvwcavyb_required = false;
}
}
else
{
jQuery('#jform_private').closest('.control-group').hide();
// remove required attribute from private field
if (!jform_vvvvwcavyb_required)
{
updateFieldRequired('private',1);
jQuery('#jform_private').removeAttr('required');
jQuery('#jform_private').removeAttr('aria-required');
jQuery('#jform_private').removeClass('required');
jform_vvvvwcavyb_required = true;
}
}
}
// the vvvvwca Some function
function protocol_vvvvwca_SomeFunc(protocol_vvvvwca)
{
// set the function logic
if (protocol_vvvvwca == 2)
{
return true;
}
return false;
}
// the vvvvwca Some function
function authentication_vvvvwca_SomeFunc(authentication_vvvvwca)
{
// set the function logic
if (authentication_vvvvwca == 2 || authentication_vvvvwca == 3)
{
return true;
}
return false;
}
// the vvvvwcc function
function vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc)
{
if (isSet(protocol_vvvvwcc) && protocol_vvvvwcc.constructor !== Array)
{
var temp_vvvvwcc = protocol_vvvvwcc;
var protocol_vvvvwcc = [];
protocol_vvvvwcc.push(temp_vvvvwcc);
}
else if (!isSet(protocol_vvvvwcc))
{
var protocol_vvvvwcc = [];
}
var protocol = protocol_vvvvwcc.some(protocol_vvvvwcc_SomeFunc);
if (isSet(authentication_vvvvwcc) && authentication_vvvvwcc.constructor !== Array)
{
var temp_vvvvwcc = authentication_vvvvwcc;
var authentication_vvvvwcc = [];
authentication_vvvvwcc.push(temp_vvvvwcc);
}
else if (!isSet(authentication_vvvvwcc))
{
var authentication_vvvvwcc = [];
}
var authentication = authentication_vvvvwcc.some(authentication_vvvvwcc_SomeFunc);
// set this function logic // set this function logic
@ -432,78 +432,78 @@ function vvvvwbz(protocol_vvvvwbz,authentication_vvvvwbz)
{ {
jQuery('#jform_private_key').closest('.control-group').show(); jQuery('#jform_private_key').closest('.control-group').show();
// add required attribute to private_key field // add required attribute to private_key field
if (jform_vvvvwbzvyb_required) if (jform_vvvvwccvyc_required)
{ {
updateFieldRequired('private_key',0); updateFieldRequired('private_key',0);
jQuery('#jform_private_key').prop('required','required'); jQuery('#jform_private_key').prop('required','required');
jQuery('#jform_private_key').attr('aria-required',true); jQuery('#jform_private_key').attr('aria-required',true);
jQuery('#jform_private_key').addClass('required'); jQuery('#jform_private_key').addClass('required');
jform_vvvvwbzvyb_required = false; jform_vvvvwccvyc_required = false;
} }
} }
else else
{ {
jQuery('#jform_private_key').closest('.control-group').hide(); jQuery('#jform_private_key').closest('.control-group').hide();
// remove required attribute from private_key field // remove required attribute from private_key field
if (!jform_vvvvwbzvyb_required) if (!jform_vvvvwccvyc_required)
{ {
updateFieldRequired('private_key',1); updateFieldRequired('private_key',1);
jQuery('#jform_private_key').removeAttr('required'); jQuery('#jform_private_key').removeAttr('required');
jQuery('#jform_private_key').removeAttr('aria-required'); jQuery('#jform_private_key').removeAttr('aria-required');
jQuery('#jform_private_key').removeClass('required'); jQuery('#jform_private_key').removeClass('required');
jform_vvvvwbzvyb_required = true; jform_vvvvwccvyc_required = true;
} }
} }
} }
// the vvvvwbz Some function // the vvvvwcc Some function
function protocol_vvvvwbz_SomeFunc(protocol_vvvvwbz) function protocol_vvvvwcc_SomeFunc(protocol_vvvvwcc)
{ {
// set the function logic // set the function logic
if (protocol_vvvvwbz == 2) if (protocol_vvvvwcc == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwbz Some function // the vvvvwcc Some function
function authentication_vvvvwbz_SomeFunc(authentication_vvvvwbz) function authentication_vvvvwcc_SomeFunc(authentication_vvvvwcc)
{ {
// set the function logic // set the function logic
if (authentication_vvvvwbz == 4 || authentication_vvvvwbz == 5) if (authentication_vvvvwcc == 4 || authentication_vvvvwcc == 5)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwcb function // the vvvvwce function
function vvvvwcb(protocol_vvvvwcb,authentication_vvvvwcb) function vvvvwce(protocol_vvvvwce,authentication_vvvvwce)
{ {
if (isSet(protocol_vvvvwcb) && protocol_vvvvwcb.constructor !== Array) if (isSet(protocol_vvvvwce) && protocol_vvvvwce.constructor !== Array)
{ {
var temp_vvvvwcb = protocol_vvvvwcb; var temp_vvvvwce = protocol_vvvvwce;
var protocol_vvvvwcb = []; var protocol_vvvvwce = [];
protocol_vvvvwcb.push(temp_vvvvwcb); protocol_vvvvwce.push(temp_vvvvwce);
} }
else if (!isSet(protocol_vvvvwcb)) else if (!isSet(protocol_vvvvwce))
{ {
var protocol_vvvvwcb = []; var protocol_vvvvwce = [];
} }
var protocol = protocol_vvvvwcb.some(protocol_vvvvwcb_SomeFunc); var protocol = protocol_vvvvwce.some(protocol_vvvvwce_SomeFunc);
if (isSet(authentication_vvvvwcb) && authentication_vvvvwcb.constructor !== Array) if (isSet(authentication_vvvvwce) && authentication_vvvvwce.constructor !== Array)
{ {
var temp_vvvvwcb = authentication_vvvvwcb; var temp_vvvvwce = authentication_vvvvwce;
var authentication_vvvvwcb = []; var authentication_vvvvwce = [];
authentication_vvvvwcb.push(temp_vvvvwcb); authentication_vvvvwce.push(temp_vvvvwce);
} }
else if (!isSet(authentication_vvvvwcb)) else if (!isSet(authentication_vvvvwce))
{ {
var authentication_vvvvwcb = []; var authentication_vvvvwce = [];
} }
var authentication = authentication_vvvvwcb.some(authentication_vvvvwcb_SomeFunc); var authentication = authentication_vvvvwce.some(authentication_vvvvwce_SomeFunc);
// set this function logic // set this function logic
@ -517,22 +517,22 @@ function vvvvwcb(protocol_vvvvwcb,authentication_vvvvwcb)
} }
} }
// the vvvvwcb Some function // the vvvvwce Some function
function protocol_vvvvwcb_SomeFunc(protocol_vvvvwcb) function protocol_vvvvwce_SomeFunc(protocol_vvvvwce)
{ {
// set the function logic // set the function logic
if (protocol_vvvvwcb == 2) if (protocol_vvvvwce == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvwcb Some function // the vvvvwce Some function
function authentication_vvvvwcb_SomeFunc(authentication_vvvvwcb) function authentication_vvvvwce_SomeFunc(authentication_vvvvwce)
{ {
// set the function logic // set the function logic
if (authentication_vvvvwcb == 2 || authentication_vvvvwcb == 3 || authentication_vvvvwcb == 4 || authentication_vvvvwcb == 5) if (authentication_vvvvwce == 2 || authentication_vvvvwce == 3 || authentication_vvvvwce == 4 || authentication_vvvvwce == 5)
{ {
return true; return true;
} }

View File

@ -11,45 +11,45 @@
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvyv = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyy = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyv(add_php_view_vvvvvyv); vvvvvyy(add_php_view_vvvvvyy);
var add_php_jview_display_vvvvvyw = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyz = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyw(add_php_jview_display_vvvvvyw); vvvvvyz(add_php_jview_display_vvvvvyz);
var add_php_jview_vvvvvyx = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvza = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyx(add_php_jview_vvvvvyx); vvvvvza(add_php_jview_vvvvvza);
var add_php_document_vvvvvyy = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvzb = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyy(add_php_document_vvvvvyy); vvvvvzb(add_php_document_vvvvvzb);
var add_css_document_vvvvvyz = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvzc = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyz(add_css_document_vvvvvyz); vvvvvzc(add_css_document_vvvvvzc);
var add_javascript_file_vvvvvza = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvzd = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvza(add_javascript_file_vvvvvza); vvvvvzd(add_javascript_file_vvvvvzd);
var add_js_document_vvvvvzb = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvze = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvzb(add_js_document_vvvvvzb); vvvvvze(add_js_document_vvvvvze);
var add_css_vvvvvzc = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvzf = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvzc(add_css_vvvvvzc); vvvvvzf(add_css_vvvvvzf);
var add_php_ajax_vvvvvzd = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvzg = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvzd(add_php_ajax_vvvvvzd); vvvvvzg(add_php_ajax_vvvvvzg);
var add_custom_button_vvvvvze = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvzh = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvze(add_custom_button_vvvvvze); vvvvvzh(add_custom_button_vvvvvzh);
var button_position_vvvvvzf = jQuery("#jform_button_position").val(); var button_position_vvvvvzi = jQuery("#jform_button_position").val();
vvvvvzf(button_position_vvvvvzf); vvvvvzi(button_position_vvvvvzi);
}); });
// the vvvvvyv function // the vvvvvyy function
function vvvvvyv(add_php_view_vvvvvyv) function vvvvvyy(add_php_view_vvvvvyy)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvyv == 1) if (add_php_view_vvvvvyy == 1)
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').show(); jQuery('#jform_php_view-lbl').closest('.control-group').show();
} }
@ -59,11 +59,11 @@ function vvvvvyv(add_php_view_vvvvvyv)
} }
} }
// the vvvvvyw function // the vvvvvyz function
function vvvvvyw(add_php_jview_display_vvvvvyw) function vvvvvyz(add_php_jview_display_vvvvvyz)
{ {
// set the function logic // set the function logic
if (add_php_jview_display_vvvvvyw == 1) if (add_php_jview_display_vvvvvyz == 1)
{ {
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show(); jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
} }
@ -73,11 +73,11 @@ function vvvvvyw(add_php_jview_display_vvvvvyw)
} }
} }
// the vvvvvyx function // the vvvvvza function
function vvvvvyx(add_php_jview_vvvvvyx) function vvvvvza(add_php_jview_vvvvvza)
{ {
// set the function logic // set the function logic
if (add_php_jview_vvvvvyx == 1) if (add_php_jview_vvvvvza == 1)
{ {
jQuery('#jform_php_jview-lbl').closest('.control-group').show(); jQuery('#jform_php_jview-lbl').closest('.control-group').show();
} }
@ -87,11 +87,11 @@ function vvvvvyx(add_php_jview_vvvvvyx)
} }
} }
// the vvvvvyy function // the vvvvvzb function
function vvvvvyy(add_php_document_vvvvvyy) function vvvvvzb(add_php_document_vvvvvzb)
{ {
// set the function logic // set the function logic
if (add_php_document_vvvvvyy == 1) if (add_php_document_vvvvvzb == 1)
{ {
jQuery('#jform_php_document-lbl').closest('.control-group').show(); jQuery('#jform_php_document-lbl').closest('.control-group').show();
} }
@ -101,11 +101,11 @@ function vvvvvyy(add_php_document_vvvvvyy)
} }
} }
// the vvvvvyz function // the vvvvvzc function
function vvvvvyz(add_css_document_vvvvvyz) function vvvvvzc(add_css_document_vvvvvzc)
{ {
// set the function logic // set the function logic
if (add_css_document_vvvvvyz == 1) if (add_css_document_vvvvvzc == 1)
{ {
jQuery('#jform_css_document-lbl').closest('.control-group').show(); jQuery('#jform_css_document-lbl').closest('.control-group').show();
} }
@ -115,11 +115,11 @@ function vvvvvyz(add_css_document_vvvvvyz)
} }
} }
// the vvvvvza function // the vvvvvzd function
function vvvvvza(add_javascript_file_vvvvvza) function vvvvvzd(add_javascript_file_vvvvvzd)
{ {
// set the function logic // set the function logic
if (add_javascript_file_vvvvvza == 1) if (add_javascript_file_vvvvvzd == 1)
{ {
jQuery('#jform_javascript_file-lbl').closest('.control-group').show(); jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
} }
@ -129,11 +129,11 @@ function vvvvvza(add_javascript_file_vvvvvza)
} }
} }
// the vvvvvzb function // the vvvvvze function
function vvvvvzb(add_js_document_vvvvvzb) function vvvvvze(add_js_document_vvvvvze)
{ {
// set the function logic // set the function logic
if (add_js_document_vvvvvzb == 1) if (add_js_document_vvvvvze == 1)
{ {
jQuery('#jform_js_document-lbl').closest('.control-group').show(); jQuery('#jform_js_document-lbl').closest('.control-group').show();
} }
@ -143,11 +143,11 @@ function vvvvvzb(add_js_document_vvvvvzb)
} }
} }
// the vvvvvzc function // the vvvvvzf function
function vvvvvzc(add_css_vvvvvzc) function vvvvvzf(add_css_vvvvvzf)
{ {
// set the function logic // set the function logic
if (add_css_vvvvvzc == 1) if (add_css_vvvvvzf == 1)
{ {
jQuery('#jform_css-lbl').closest('.control-group').show(); jQuery('#jform_css-lbl').closest('.control-group').show();
} }
@ -157,11 +157,11 @@ function vvvvvzc(add_css_vvvvvzc)
} }
} }
// the vvvvvzd function // the vvvvvzg function
function vvvvvzd(add_php_ajax_vvvvvzd) function vvvvvzg(add_php_ajax_vvvvvzg)
{ {
// set the function logic // set the function logic
if (add_php_ajax_vvvvvzd == 1) if (add_php_ajax_vvvvvzg == 1)
{ {
jQuery('#jform_ajax_input-lbl').closest('.control-group').show(); jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
@ -173,11 +173,11 @@ function vvvvvzd(add_php_ajax_vvvvvzd)
} }
} }
// the vvvvvze function // the vvvvvzh function
function vvvvvze(add_custom_button_vvvvvze) function vvvvvzh(add_custom_button_vvvvvzh)
{ {
// set the function logic // set the function logic
if (add_custom_button_vvvvvze == 1) if (add_custom_button_vvvvvzh == 1)
{ {
jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_custom_button-lbl').closest('.control-group').show();
jQuery('#jform_php_controller-lbl').closest('.control-group').show(); jQuery('#jform_php_controller-lbl').closest('.control-group').show();
@ -191,20 +191,20 @@ function vvvvvze(add_custom_button_vvvvvze)
} }
} }
// the vvvvvzf function // the vvvvvzi function
function vvvvvzf(button_position_vvvvvzf) function vvvvvzi(button_position_vvvvvzi)
{ {
if (isSet(button_position_vvvvvzf) && button_position_vvvvvzf.constructor !== Array) if (isSet(button_position_vvvvvzi) && button_position_vvvvvzi.constructor !== Array)
{ {
var temp_vvvvvzf = button_position_vvvvvzf; var temp_vvvvvzi = button_position_vvvvvzi;
var button_position_vvvvvzf = []; var button_position_vvvvvzi = [];
button_position_vvvvvzf.push(temp_vvvvvzf); button_position_vvvvvzi.push(temp_vvvvvzi);
} }
else if (!isSet(button_position_vvvvvzf)) else if (!isSet(button_position_vvvvvzi))
{ {
var button_position_vvvvvzf = []; var button_position_vvvvvzi = [];
} }
var button_position = button_position_vvvvvzf.some(button_position_vvvvvzf_SomeFunc); var button_position = button_position_vvvvvzi.some(button_position_vvvvvzi_SomeFunc);
// set this function logic // set this function logic
@ -218,11 +218,11 @@ function vvvvvzf(button_position_vvvvvzf)
} }
} }
// the vvvvvzf Some function // the vvvvvzi Some function
function button_position_vvvvvzf_SomeFunc(button_position_vvvvvzf) function button_position_vvvvvzi_SomeFunc(button_position_vvvvvzi)
{ {
// set the function logic // set the function logic
if (button_position_vvvvvzf == 5) if (button_position_vvvvvzi == 5)
{ {
return true; return true;
} }

View File

@ -11,15 +11,15 @@
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvzg = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvzj = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzg(add_php_view_vvvvvzg); vvvvvzj(add_php_view_vvvvvzj);
}); });
// the vvvvvzg function // the vvvvvzj function
function vvvvvzg(add_php_view_vvvvvzg) function vvvvvzj(add_php_view_vvvvvzj)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvzg == 1) if (add_php_view_vvvvvzj == 1)
{ {
jQuery('#jform_php_view-lbl').closest('.control-group').show(); jQuery('#jform_php_view-lbl').closest('.control-group').show();
} }

View File

@ -698,12 +698,12 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
} }
// the array of tables to store // the array of tables to store
$tables = array( $tables = array(
'validation_rule', 'fieldtype', 'field', 'admin_view', 'snippet', 'dynamic_get', 'custom_admin_view', 'site_view', 'validation_rule','class_extends', 'fieldtype', 'field', 'admin_view', 'snippet', 'dynamic_get', 'custom_admin_view', 'site_view','joomla_plugin_group',
'template', 'layout', 'joomla_component', 'language', 'language_translation', 'custom_code', 'placeholder', 'template', 'layout', 'joomla_component', 'language', 'language_translation', 'custom_code', 'placeholder','class_property','class_method','joomla_plugin',
'admin_fields', 'admin_fields_conditions', 'admin_fields_relations', 'admin_custom_tabs', 'component_admin_views', 'admin_fields', 'admin_fields_conditions', 'admin_fields_relations', 'admin_custom_tabs', 'component_admin_views',
'component_site_views', 'component_custom_admin_views', 'component_updates', 'component_mysql_tweaks', 'component_site_views', 'component_custom_admin_views', 'component_updates', 'component_mysql_tweaks',
'component_custom_admin_menus', 'component_config', 'component_dashboard', 'component_files_folders', 'component_custom_admin_menus', 'component_config', 'component_dashboard', 'component_files_folders',
'component_placeholders' 'component_placeholders','component_plugins'
); );
// get prefix // get prefix
$prefix = $this->_db->getPrefix(); $prefix = $this->_db->getPrefix();
@ -2065,6 +2065,21 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
$item = $this->setNewID($item, 'joomla_component', 'joomla_component', $type); $item = $this->setNewID($item, 'joomla_component', 'joomla_component', $type);
} }
break; break;
case 'component_plugins':
// diverged id already updated
if (!$diverged)
{
// update the joomla_component ID where needed
$item = $this->setNewID($item, 'joomla_component', 'joomla_component', $type);
}
// subform fields to target
$updaterT = array(
// subformfield => array( field => type_value )
'addjoomla_plugins' => array('plugin' => 'joomla_plugin')
);
// update the subform ids
$this->updateSubformsIDs($item, 'component_plugins', $updaterT);
break;
case 'component_files_folders': case 'component_files_folders':
// diverged id already updated // diverged id already updated
if (!$diverged) if (!$diverged)
@ -2859,6 +2874,7 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
case 'component_config': case 'component_config':
case 'component_dashboard': case 'component_dashboard':
case 'component_placeholders': case 'component_placeholders':
case 'component_plugins':
case 'component_files_folders': case 'component_files_folders':
// get by joomla_component (since there should only be one of each component) // get by joomla_component (since there should only be one of each component)
$getter = array('joomla_component'); $getter = array('joomla_component');

View File

@ -25,9 +25,13 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
* @var array * @var array
*/ */
protected $tabLayoutFields = array( protected $tabLayoutFields = array(
'details' => array( 'code' => array(
'left' => array( 'left' => array(
'note_beta_stage', 'note_beta_stage',
'name',
'class_extends',
'joomla_plugin_group',
'add_head',
'note_plugin' 'note_plugin'
), ),
'right' => array( 'right' => array(
@ -35,13 +39,12 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
'method_selection' 'method_selection'
), ),
'fullwidth' => array( 'fullwidth' => array(
'head',
'main_class_code', 'main_class_code',
'note_linked_to_notice' 'note_linked_to_notice'
), ),
'above' => array( 'above' => array(
'name', 'system_name'
'class_extends',
'joomla_plugin_group'
) )
), ),
'configparams' => array( 'configparams' => array(
@ -131,6 +134,12 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
$item->main_class_code = base64_decode($item->main_class_code); $item->main_class_code = base64_decode($item->main_class_code);
} }
if (!empty($item->head))
{
// base64 Decode head.
$item->head = base64_decode($item->head);
}
if (!empty($item->fields)) if (!empty($item->fields))
{ {
// Convert the fields field to an array. // Convert the fields field to an array.
@ -461,6 +470,42 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
return $data; return $data;
} }
/**
* Method to validate the form data.
*
* @param JForm $form The form to validate against.
* @param array $data The data to validate.
* @param string $group The name of the field group to validate.
*
* @return mixed Array of filtered data if valid, false otherwise.
*
* @see JFormRule
* @see JFilterInput
* @since 12.2
*/
public function validate($form, $data, $group = null)
{
// check if the not_required field is set
if (ComponentbuilderHelper::checkString($data['not_required']))
{
$requiredFields = (array) explode(',',(string) $data['not_required']);
$requiredFields = array_unique($requiredFields);
// now change the required field attributes value
foreach ($requiredFields as $requiredField)
{
// make sure there is a string value
if (ComponentbuilderHelper::checkString($requiredField))
{
// change to false
$form->setFieldAttribute($requiredField, 'required', 'false');
// also clear the data set
$data[$requiredField] = '';
}
}
}
return parent::validate($form, $data, $group);
}
/** /**
* Method to get the unique fields of this table. * Method to get the unique fields of this table.
* *
@ -685,9 +730,9 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
} }
// Only for strings // Only for strings
if (ComponentbuilderHelper::checkString($this->table->name) && !is_numeric($this->table->name)) if (ComponentbuilderHelper::checkString($this->table->system_name) && !is_numeric($this->table->system_name))
{ {
$this->table->name = $this->generateUniqe('name',$this->table->name); $this->table->system_name = $this->generateUniqe('system_name',$this->table->system_name);
} }
// insert all set values // insert all set values
@ -933,6 +978,12 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
if (isset($data['main_class_code'])) if (isset($data['main_class_code']))
{ {
$data['main_class_code'] = base64_encode($data['main_class_code']); $data['main_class_code'] = base64_encode($data['main_class_code']);
}
// Set the head string to base64 string.
if (isset($data['head']))
{
$data['head'] = base64_encode($data['head']);
} }
// Set the Params Items to data // Set the Params Items to data

View File

@ -27,7 +27,7 @@ class ComponentbuilderModelJoomla_plugins extends JModelList
'a.ordering','ordering', 'a.ordering','ordering',
'a.created_by','created_by', 'a.created_by','created_by',
'a.modified_by','modified_by', 'a.modified_by','modified_by',
'a.name','name', 'a.system_name','system_name',
'a.class_extends','class_extends', 'a.class_extends','class_extends',
'a.joomla_plugin_group','joomla_plugin_group' 'a.joomla_plugin_group','joomla_plugin_group'
); );
@ -237,8 +237,8 @@ class ComponentbuilderModelJoomla_plugins extends JModelList
{ {
$this->context .= '.' . $layout; $this->context .= '.' . $layout;
} }
$name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name'); $system_name = $this->getUserStateFromRequest($this->context . '.filter.system_name', 'filter_system_name');
$this->setState('filter.name', $name); $this->setState('filter.system_name', $system_name);
$class_extends = $this->getUserStateFromRequest($this->context . '.filter.class_extends', 'filter_class_extends'); $class_extends = $this->getUserStateFromRequest($this->context . '.filter.class_extends', 'filter_class_extends');
$this->setState('filter.class_extends', $class_extends); $this->setState('filter.class_extends', $class_extends);
@ -363,15 +363,10 @@ class ComponentbuilderModelJoomla_plugins extends JModelList
else else
{ {
$search = $db->quote('%' . $db->escape($search) . '%'); $search = $db->quote('%' . $db->escape($search) . '%');
$query->where('(a.name LIKE '.$search.' OR a.class_extends LIKE '.$search.' OR g.name LIKE '.$search.' OR a.joomla_plugin_group LIKE '.$search.' OR h.name LIKE '.$search.')'); $query->where('(a.system_name LIKE '.$search.' OR a.class_extends LIKE '.$search.' OR g.name LIKE '.$search.' OR a.joomla_plugin_group LIKE '.$search.' OR h.name LIKE '.$search.' OR a.name LIKE '.$search.')');
} }
} }
// Filter by Name.
if ($name = $this->getState('filter.name'))
{
$query->where('a.name = ' . $db->quote($db->escape($name)));
}
// Filter by class_extends. // Filter by class_extends.
if ($class_extends = $this->getState('filter.class_extends')) if ($class_extends = $this->getState('filter.class_extends'))
{ {
@ -392,106 +387,6 @@ class ComponentbuilderModelJoomla_plugins extends JModelList
} }
return $query; return $query;
}
/**
* Method to get list export data.
*
* @return mixed An array of data items on success, false on failure.
*/
public function getExportData($pks)
{
// setup the query
if (ComponentbuilderHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.
$db = JFactory::getDBO();
$query = $db->getQuery(true);
// Select some fields
$query->select('a.*');
// From the componentbuilder_joomla_plugin table
$query->from($db->quoteName('#__componentbuilder_joomla_plugin', 'a'));
$query->where('a.id IN (' . implode(',',$pks) . ')');
// Implement View Level Access
if (!$user->authorise('core.options', 'com_componentbuilder'))
{
$groups = implode(',', $user->getAuthorisedViewLevels());
$query->where('a.access IN (' . $groups . ')');
}
// Order the results by ordering
$query->order('a.ordering ASC');
// Load the items
$db->setQuery($query);
$db->execute();
if ($db->getNumRows())
{
$items = $db->loadObjectList();
// set values to display correctly.
if (ComponentbuilderHelper::checkArray($items))
{
foreach ($items as $nr => &$item)
{
$access = (JFactory::getUser()->authorise('joomla_plugin.access', 'com_componentbuilder.joomla_plugin.' . (int) $item->id) && JFactory::getUser()->authorise('joomla_plugin.access', 'com_componentbuilder'));
if (!$access)
{
unset($items[$nr]);
continue;
}
// decode main_class_code
$item->main_class_code = base64_decode($item->main_class_code);
// unset the values we don't want exported.
unset($item->asset_id);
unset($item->checked_out);
unset($item->checked_out_time);
}
}
// Add headers to items array.
$headers = $this->getExImPortHeaders();
if (ComponentbuilderHelper::checkObject($headers))
{
array_unshift($items,$headers);
}
return $items;
}
}
return false;
}
/**
* Method to get header.
*
* @return mixed An array of data items on success, false on failure.
*/
public function getExImPortHeaders()
{
// Get a db connection.
$db = JFactory::getDbo();
// get the columns
$columns = $db->getTableColumns("#__componentbuilder_joomla_plugin");
if (ComponentbuilderHelper::checkArray($columns))
{
// remove the headers you don't import/export.
unset($columns['asset_id']);
unset($columns['checked_out']);
unset($columns['checked_out_time']);
$headers = new stdClass();
foreach ($columns as $column => $type)
{
$headers->{$column} = $column;
}
return $headers;
}
return false;
} }
/** /**
@ -509,7 +404,7 @@ class ComponentbuilderModelJoomla_plugins extends JModelList
$id .= ':' . $this->getState('filter.ordering'); $id .= ':' . $this->getState('filter.ordering');
$id .= ':' . $this->getState('filter.created_by'); $id .= ':' . $this->getState('filter.created_by');
$id .= ':' . $this->getState('filter.modified_by'); $id .= ':' . $this->getState('filter.modified_by');
$id .= ':' . $this->getState('filter.name'); $id .= ':' . $this->getState('filter.system_name');
$id .= ':' . $this->getState('filter.class_extends'); $id .= ':' . $this->getState('filter.class_extends');
$id .= ':' . $this->getState('filter.joomla_plugin_group'); $id .= ':' . $this->getState('filter.joomla_plugin_group');

View File

@ -21,5 +21,36 @@ use Joomla\Registry\Registry;
*/ */
class JFormRuleInt extends FormRule class JFormRuleInt extends FormRule
{ {
/**
* Method to test that an integer value was added.
*
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* For example if the field has name="foo" and the group value is set to "bar" then the
* full field name would end up being "bar[foo]".
* @param Registry $input An optional Registry object with the entire data set to validate against the entire form.
* @param Form $form The form object for which the field is being tested.
*
* @return boolean True if the value is valid integer, false otherwise.
*
*/
public function test(\SimpleXMLElement $element, $value, $group = null, Registry $input = null, Form $form = null)
{
// Check if the field is required.
$required = ((string) $element['required'] == 'true' || (string) $element['required'] == 'required');
// If the value is empty and the field is not required return True.
if (($value === '' || $value === null) && ! $required)
{
return true;
}
// now validate the value to be an integer
// we need to validate a string with the integer in it
// since this is how Joomla passes the value to the test method
// so we use type coercion along with is_numeric
return is_numeric($value) && is_int(+$value);
// if you have a better idea... lets hear it.
}
} }

View File

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

View File

@ -144,13 +144,16 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` (
CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin` ( CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin` (
`id` INT(11) NOT NULL AUTO_INCREMENT, `id` INT(11) NOT NULL AUTO_INCREMENT,
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`add_head` TINYINT(1) NOT NULL DEFAULT 0,
`class_extends` INT(11) NOT NULL DEFAULT 0, `class_extends` INT(11) NOT NULL DEFAULT 0,
`fields` TEXT NOT NULL, `fields` TEXT NOT NULL,
`head` TEXT NOT NULL,
`joomla_plugin_group` INT(11) NOT NULL DEFAULT 0, `joomla_plugin_group` INT(11) NOT NULL DEFAULT 0,
`main_class_code` MEDIUMTEXT NOT NULL, `main_class_code` MEDIUMTEXT NOT NULL,
`method_selection` TEXT NOT NULL, `method_selection` TEXT NOT NULL,
`name` VARCHAR(255) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '',
`property_selection` TEXT NOT NULL, `property_selection` TEXT NOT NULL,
`system_name` VARCHAR(255) NOT NULL DEFAULT '',
`params` text NOT NULL, `params` text NOT NULL,
`published` TINYINT(3) NOT NULL DEFAULT 1, `published` TINYINT(3) NOT NULL DEFAULT 1,
`created_by` INT(10) unsigned NOT NULL DEFAULT 0, `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
@ -169,9 +172,10 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin` (
KEY `idx_createdby` (`created_by`), KEY `idx_createdby` (`created_by`),
KEY `idx_modifiedby` (`modified_by`), KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`), KEY `idx_state` (`published`),
KEY `idx_name` (`name`), KEY `idx_system_name` (`system_name`),
KEY `idx_class_extends` (`class_extends`), KEY `idx_class_extends` (`class_extends`),
KEY `idx_joomla_plugin_group` (`joomla_plugin_group`) KEY `idx_joomla_plugin_group` (`joomla_plugin_group`),
KEY `idx_name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` ( CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (

View File

@ -0,0 +1,5 @@
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_head` TINYINT(1) NOT NULL DEFAULT 0 AFTER `asset_id`;
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `head` TEXT NOT NULL AFTER `fields`;
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `system_name` VARCHAR(255) NOT NULL DEFAULT '' AFTER `property_selection`;

View File

@ -208,521 +208,521 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_css_view listeners for add_css_view_vvvvvxd function // #jform_add_css_view listeners for add_css_view_vvvvvxg function
jQuery('#jform_add_css_view').on('keyup',function() jQuery('#jform_add_css_view').on('keyup',function()
{ {
var add_css_view_vvvvvxd = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvxg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvxd(add_css_view_vvvvvxd); vvvvvxg(add_css_view_vvvvvxg);
}); });
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_vvvvvxd = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvxg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvxd(add_css_view_vvvvvxd); vvvvvxg(add_css_view_vvvvvxg);
}); });
// #jform_add_css_views listeners for add_css_views_vvvvvxe function // #jform_add_css_views listeners for add_css_views_vvvvvxh function
jQuery('#jform_add_css_views').on('keyup',function() jQuery('#jform_add_css_views').on('keyup',function()
{ {
var add_css_views_vvvvvxe = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvxh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvxe(add_css_views_vvvvvxe); vvvvvxh(add_css_views_vvvvvxh);
}); });
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_vvvvvxe = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvxh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvxe(add_css_views_vvvvvxe); vvvvvxh(add_css_views_vvvvvxh);
}); });
// #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvxf function // #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvxi function
jQuery('#jform_add_javascript_view_file').on('keyup',function() jQuery('#jform_add_javascript_view_file').on('keyup',function()
{ {
var add_javascript_view_file_vvvvvxf = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); var add_javascript_view_file_vvvvvxi = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
vvvvvxf(add_javascript_view_file_vvvvvxf); vvvvvxi(add_javascript_view_file_vvvvvxi);
}); });
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_vvvvvxf = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); var add_javascript_view_file_vvvvvxi = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
vvvvvxf(add_javascript_view_file_vvvvvxf); vvvvvxi(add_javascript_view_file_vvvvvxi);
}); });
// #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvxg function // #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvxj function
jQuery('#jform_add_javascript_views_file').on('keyup',function() jQuery('#jform_add_javascript_views_file').on('keyup',function()
{ {
var add_javascript_views_file_vvvvvxg = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); var add_javascript_views_file_vvvvvxj = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
vvvvvxg(add_javascript_views_file_vvvvvxg); vvvvvxj(add_javascript_views_file_vvvvvxj);
}); });
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_vvvvvxg = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); var add_javascript_views_file_vvvvvxj = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
vvvvvxg(add_javascript_views_file_vvvvvxg); vvvvvxj(add_javascript_views_file_vvvvvxj);
}); });
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvxh function // #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvxk function
jQuery('#jform_add_javascript_view_footer').on('keyup',function() jQuery('#jform_add_javascript_view_footer').on('keyup',function()
{ {
var add_javascript_view_footer_vvvvvxh = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvxk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvxh(add_javascript_view_footer_vvvvvxh); vvvvvxk(add_javascript_view_footer_vvvvvxk);
}); });
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_vvvvvxh = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvxk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvxh(add_javascript_view_footer_vvvvvxh); vvvvvxk(add_javascript_view_footer_vvvvvxk);
}); });
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvxi function // #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvxl function
jQuery('#jform_add_javascript_views_footer').on('keyup',function() jQuery('#jform_add_javascript_views_footer').on('keyup',function()
{ {
var add_javascript_views_footer_vvvvvxi = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvxl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvxi(add_javascript_views_footer_vvvvvxi); vvvvvxl(add_javascript_views_footer_vvvvvxl);
}); });
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_vvvvvxi = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvxl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvxi(add_javascript_views_footer_vvvvvxi); vvvvvxl(add_javascript_views_footer_vvvvvxl);
}); });
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvxj function // #jform_add_php_ajax listeners for add_php_ajax_vvvvvxm function
jQuery('#jform_add_php_ajax').on('keyup',function() jQuery('#jform_add_php_ajax').on('keyup',function()
{ {
var add_php_ajax_vvvvvxj = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvxm = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvxj(add_php_ajax_vvvvvxj); vvvvvxm(add_php_ajax_vvvvvxm);
}); });
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_vvvvvxj = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvxm = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvxj(add_php_ajax_vvvvvxj); vvvvvxm(add_php_ajax_vvvvvxm);
}); });
// #jform_add_php_getitem listeners for add_php_getitem_vvvvvxk function // #jform_add_php_getitem listeners for add_php_getitem_vvvvvxn function
jQuery('#jform_add_php_getitem').on('keyup',function() jQuery('#jform_add_php_getitem').on('keyup',function()
{ {
var add_php_getitem_vvvvvxk = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); var add_php_getitem_vvvvvxn = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
vvvvvxk(add_php_getitem_vvvvvxk); vvvvvxn(add_php_getitem_vvvvvxn);
}); });
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_vvvvvxk = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); var add_php_getitem_vvvvvxn = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
vvvvvxk(add_php_getitem_vvvvvxk); vvvvvxn(add_php_getitem_vvvvvxn);
}); });
// #jform_add_php_getitems listeners for add_php_getitems_vvvvvxl function // #jform_add_php_getitems listeners for add_php_getitems_vvvvvxo function
jQuery('#jform_add_php_getitems').on('keyup',function() jQuery('#jform_add_php_getitems').on('keyup',function()
{ {
var add_php_getitems_vvvvvxl = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); var add_php_getitems_vvvvvxo = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvxl(add_php_getitems_vvvvvxl); vvvvvxo(add_php_getitems_vvvvvxo);
}); });
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_vvvvvxl = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); var add_php_getitems_vvvvvxo = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvxl(add_php_getitems_vvvvvxl); vvvvvxo(add_php_getitems_vvvvvxo);
}); });
// #jform_add_php_getitems_after_all listeners for add_php_getitems_after_all_vvvvvxm function // #jform_add_php_getitems_after_all listeners for add_php_getitems_after_all_vvvvvxp 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_vvvvvxm = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val(); var add_php_getitems_after_all_vvvvvxp = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
vvvvvxm(add_php_getitems_after_all_vvvvvxm); vvvvvxp(add_php_getitems_after_all_vvvvvxp);
}); });
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_vvvvvxm = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val(); var add_php_getitems_after_all_vvvvvxp = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
vvvvvxm(add_php_getitems_after_all_vvvvvxm); vvvvvxp(add_php_getitems_after_all_vvvvvxp);
}); });
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvxn function // #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvxq function
jQuery('#jform_add_php_getlistquery').on('keyup',function() jQuery('#jform_add_php_getlistquery').on('keyup',function()
{ {
var add_php_getlistquery_vvvvvxn = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvxq = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvxn(add_php_getlistquery_vvvvvxn); vvvvvxq(add_php_getlistquery_vvvvvxq);
}); });
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_vvvvvxn = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvxq = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvxn(add_php_getlistquery_vvvvvxn); vvvvvxq(add_php_getlistquery_vvvvvxq);
}); });
// #jform_add_php_getform listeners for add_php_getform_vvvvvxo function // #jform_add_php_getform listeners for add_php_getform_vvvvvxr function
jQuery('#jform_add_php_getform').on('keyup',function() jQuery('#jform_add_php_getform').on('keyup',function()
{ {
var add_php_getform_vvvvvxo = jQuery("#jform_add_php_getform input[type='radio']:checked").val(); var add_php_getform_vvvvvxr = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
vvvvvxo(add_php_getform_vvvvvxo); vvvvvxr(add_php_getform_vvvvvxr);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_getform',function (e) jQuery('#adminForm').on('change', '#jform_add_php_getform',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getform_vvvvvxo = jQuery("#jform_add_php_getform input[type='radio']:checked").val(); var add_php_getform_vvvvvxr = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
vvvvvxo(add_php_getform_vvvvvxo); vvvvvxr(add_php_getform_vvvvvxr);
}); });
// #jform_add_php_before_save listeners for add_php_before_save_vvvvvxp function // #jform_add_php_before_save listeners for add_php_before_save_vvvvvxs function
jQuery('#jform_add_php_before_save').on('keyup',function() jQuery('#jform_add_php_before_save').on('keyup',function()
{ {
var add_php_before_save_vvvvvxp = jQuery("#jform_add_php_before_save input[type='radio']:checked").val(); var add_php_before_save_vvvvvxs = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
vvvvvxp(add_php_before_save_vvvvvxp); vvvvvxs(add_php_before_save_vvvvvxs);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_before_save',function (e) jQuery('#adminForm').on('change', '#jform_add_php_before_save',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_save_vvvvvxp = jQuery("#jform_add_php_before_save input[type='radio']:checked").val(); var add_php_before_save_vvvvvxs = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
vvvvvxp(add_php_before_save_vvvvvxp); vvvvvxs(add_php_before_save_vvvvvxs);
}); });
// #jform_add_php_save listeners for add_php_save_vvvvvxq function // #jform_add_php_save listeners for add_php_save_vvvvvxt function
jQuery('#jform_add_php_save').on('keyup',function() jQuery('#jform_add_php_save').on('keyup',function()
{ {
var add_php_save_vvvvvxq = jQuery("#jform_add_php_save input[type='radio']:checked").val(); var add_php_save_vvvvvxt = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvxq(add_php_save_vvvvvxq); vvvvvxt(add_php_save_vvvvvxt);
}); });
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_vvvvvxq = jQuery("#jform_add_php_save input[type='radio']:checked").val(); var add_php_save_vvvvvxt = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvxq(add_php_save_vvvvvxq); vvvvvxt(add_php_save_vvvvvxt);
}); });
// #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvxr function // #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvxu function
jQuery('#jform_add_php_postsavehook').on('keyup',function() jQuery('#jform_add_php_postsavehook').on('keyup',function()
{ {
var add_php_postsavehook_vvvvvxr = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); var add_php_postsavehook_vvvvvxu = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvxr(add_php_postsavehook_vvvvvxr); vvvvvxu(add_php_postsavehook_vvvvvxu);
}); });
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_vvvvvxr = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); var add_php_postsavehook_vvvvvxu = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvxr(add_php_postsavehook_vvvvvxr); vvvvvxu(add_php_postsavehook_vvvvvxu);
}); });
// #jform_add_php_allowadd listeners for add_php_allowadd_vvvvvxs function // #jform_add_php_allowadd listeners for add_php_allowadd_vvvvvxv function
jQuery('#jform_add_php_allowadd').on('keyup',function() jQuery('#jform_add_php_allowadd').on('keyup',function()
{ {
var add_php_allowadd_vvvvvxs = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val(); var add_php_allowadd_vvvvvxv = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
vvvvvxs(add_php_allowadd_vvvvvxs); vvvvvxv(add_php_allowadd_vvvvvxv);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_allowadd',function (e) jQuery('#adminForm').on('change', '#jform_add_php_allowadd',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_allowadd_vvvvvxs = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val(); var add_php_allowadd_vvvvvxv = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
vvvvvxs(add_php_allowadd_vvvvvxs); vvvvvxv(add_php_allowadd_vvvvvxv);
}); });
// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxt function // #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxw function
jQuery('#jform_add_php_allowedit').on('keyup',function() jQuery('#jform_add_php_allowedit').on('keyup',function()
{ {
var add_php_allowedit_vvvvvxt = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); var add_php_allowedit_vvvvvxw = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxt(add_php_allowedit_vvvvvxt); vvvvvxw(add_php_allowedit_vvvvvxw);
}); });
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_vvvvvxt = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); var add_php_allowedit_vvvvvxw = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxt(add_php_allowedit_vvvvvxt); vvvvvxw(add_php_allowedit_vvvvvxw);
}); });
// #jform_add_php_before_cancel listeners for add_php_before_cancel_vvvvvxu function // #jform_add_php_before_cancel listeners for add_php_before_cancel_vvvvvxx function
jQuery('#jform_add_php_before_cancel').on('keyup',function() jQuery('#jform_add_php_before_cancel').on('keyup',function()
{ {
var add_php_before_cancel_vvvvvxu = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val(); var add_php_before_cancel_vvvvvxx = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
vvvvvxu(add_php_before_cancel_vvvvvxu); vvvvvxx(add_php_before_cancel_vvvvvxx);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_before_cancel',function (e) jQuery('#adminForm').on('change', '#jform_add_php_before_cancel',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_cancel_vvvvvxu = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val(); var add_php_before_cancel_vvvvvxx = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
vvvvvxu(add_php_before_cancel_vvvvvxu); vvvvvxx(add_php_before_cancel_vvvvvxx);
}); });
// #jform_add_php_after_cancel listeners for add_php_after_cancel_vvvvvxv function // #jform_add_php_after_cancel listeners for add_php_after_cancel_vvvvvxy function
jQuery('#jform_add_php_after_cancel').on('keyup',function() jQuery('#jform_add_php_after_cancel').on('keyup',function()
{ {
var add_php_after_cancel_vvvvvxv = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val(); var add_php_after_cancel_vvvvvxy = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
vvvvvxv(add_php_after_cancel_vvvvvxv); vvvvvxy(add_php_after_cancel_vvvvvxy);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_after_cancel',function (e) jQuery('#adminForm').on('change', '#jform_add_php_after_cancel',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_after_cancel_vvvvvxv = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val(); var add_php_after_cancel_vvvvvxy = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
vvvvvxv(add_php_after_cancel_vvvvvxv); vvvvvxy(add_php_after_cancel_vvvvvxy);
}); });
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxw function // #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxz function
jQuery('#jform_add_php_batchcopy').on('keyup',function() jQuery('#jform_add_php_batchcopy').on('keyup',function()
{ {
var add_php_batchcopy_vvvvvxw = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); var add_php_batchcopy_vvvvvxz = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxw(add_php_batchcopy_vvvvvxw); vvvvvxz(add_php_batchcopy_vvvvvxz);
}); });
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_vvvvvxw = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); var add_php_batchcopy_vvvvvxz = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxw(add_php_batchcopy_vvvvvxw); vvvvvxz(add_php_batchcopy_vvvvvxz);
}); });
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxx function // #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvya function
jQuery('#jform_add_php_batchmove').on('keyup',function() jQuery('#jform_add_php_batchmove').on('keyup',function()
{ {
var add_php_batchmove_vvvvvxx = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); var add_php_batchmove_vvvvvya = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxx(add_php_batchmove_vvvvvxx); vvvvvya(add_php_batchmove_vvvvvya);
}); });
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_vvvvvxx = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); var add_php_batchmove_vvvvvya = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxx(add_php_batchmove_vvvvvxx); vvvvvya(add_php_batchmove_vvvvvya);
}); });
// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxy function // #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvyb function
jQuery('#jform_add_php_before_publish').on('keyup',function() jQuery('#jform_add_php_before_publish').on('keyup',function()
{ {
var add_php_before_publish_vvvvvxy = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); var add_php_before_publish_vvvvvyb = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxy(add_php_before_publish_vvvvvxy); vvvvvyb(add_php_before_publish_vvvvvyb);
}); });
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_vvvvvxy = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val(); var add_php_before_publish_vvvvvyb = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxy(add_php_before_publish_vvvvvxy); vvvvvyb(add_php_before_publish_vvvvvyb);
}); });
// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxz function // #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvyc function
jQuery('#jform_add_php_after_publish').on('keyup',function() jQuery('#jform_add_php_after_publish').on('keyup',function()
{ {
var add_php_after_publish_vvvvvxz = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); var add_php_after_publish_vvvvvyc = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxz(add_php_after_publish_vvvvvxz); vvvvvyc(add_php_after_publish_vvvvvyc);
}); });
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_vvvvvxz = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val(); var add_php_after_publish_vvvvvyc = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxz(add_php_after_publish_vvvvvxz); vvvvvyc(add_php_after_publish_vvvvvyc);
}); });
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvya function // #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvyd function
jQuery('#jform_add_php_before_delete').on('keyup',function() jQuery('#jform_add_php_before_delete').on('keyup',function()
{ {
var add_php_before_delete_vvvvvya = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); var add_php_before_delete_vvvvvyd = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvya(add_php_before_delete_vvvvvya); vvvvvyd(add_php_before_delete_vvvvvyd);
}); });
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_vvvvvya = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); var add_php_before_delete_vvvvvyd = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvya(add_php_before_delete_vvvvvya); vvvvvyd(add_php_before_delete_vvvvvyd);
}); });
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvyb function // #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvye function
jQuery('#jform_add_php_after_delete').on('keyup',function() jQuery('#jform_add_php_after_delete').on('keyup',function()
{ {
var add_php_after_delete_vvvvvyb = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); var add_php_after_delete_vvvvvye = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvyb(add_php_after_delete_vvvvvyb); vvvvvye(add_php_after_delete_vvvvvye);
}); });
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_vvvvvyb = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); var add_php_after_delete_vvvvvye = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvyb(add_php_after_delete_vvvvvyb); vvvvvye(add_php_after_delete_vvvvvye);
}); });
// #jform_add_php_document listeners for add_php_document_vvvvvyc function // #jform_add_php_document listeners for add_php_document_vvvvvyf function
jQuery('#jform_add_php_document').on('keyup',function() jQuery('#jform_add_php_document').on('keyup',function()
{ {
var add_php_document_vvvvvyc = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyf = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyc(add_php_document_vvvvvyc); vvvvvyf(add_php_document_vvvvvyf);
}); });
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_vvvvvyc = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyf = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyc(add_php_document_vvvvvyc); vvvvvyf(add_php_document_vvvvvyf);
});
// #jform_add_sql listeners for add_sql_vvvvvyd function
jQuery('#jform_add_sql').on('keyup',function()
{
var add_sql_vvvvvyd = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyd(add_sql_vvvvvyd);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var add_sql_vvvvvyd = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyd(add_sql_vvvvvyd);
});
// #jform_source listeners for source_vvvvvye function
jQuery('#jform_source').on('keyup',function()
{
var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvye(source_vvvvvye,add_sql_vvvvvye);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvye(source_vvvvvye,add_sql_vvvvvye);
});
// #jform_add_sql listeners for add_sql_vvvvvye function
jQuery('#jform_add_sql').on('keyup',function()
{
var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvye(source_vvvvvye,add_sql_vvvvvye);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvye(source_vvvvvye,add_sql_vvvvvye);
});
// #jform_source listeners for source_vvvvvyg function
jQuery('#jform_source').on('keyup',function()
{
var source_vvvvvyg = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
var source_vvvvvyg = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg);
}); });
// #jform_add_sql listeners for add_sql_vvvvvyg function // #jform_add_sql listeners for add_sql_vvvvvyg function
jQuery('#jform_add_sql').on('keyup',function() jQuery('#jform_add_sql').on('keyup',function()
{ {
var source_vvvvvyg = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg); vvvvvyg(add_sql_vvvvvyg);
}); });
jQuery('#adminForm').on('change', '#jform_add_sql',function (e) jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_vvvvvyg = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg); vvvvvyg(add_sql_vvvvvyg);
}); });
// #jform_add_custom_import listeners for add_custom_import_vvvvvyi function // #jform_source listeners for source_vvvvvyh function
jQuery('#jform_source').on('keyup',function()
{
var source_vvvvvyh = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyh = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
var source_vvvvvyh = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyh = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh);
});
// #jform_add_sql listeners for add_sql_vvvvvyh function
jQuery('#jform_add_sql').on('keyup',function()
{
var source_vvvvvyh = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyh = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var source_vvvvvyh = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyh = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh);
});
// #jform_source listeners for source_vvvvvyj function
jQuery('#jform_source').on('keyup',function()
{
var source_vvvvvyj = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyj = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
var source_vvvvvyj = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyj = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj);
});
// #jform_add_sql listeners for add_sql_vvvvvyj function
jQuery('#jform_add_sql').on('keyup',function()
{
var source_vvvvvyj = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyj = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var source_vvvvvyj = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyj = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj);
});
// #jform_add_custom_import listeners for add_custom_import_vvvvvyl function
jQuery('#jform_add_custom_import').on('keyup',function() jQuery('#jform_add_custom_import').on('keyup',function()
{ {
var add_custom_import_vvvvvyi = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var add_custom_import_vvvvvyl = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyi(add_custom_import_vvvvvyi); vvvvvyl(add_custom_import_vvvvvyl);
}); });
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e) jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_custom_import_vvvvvyi = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var add_custom_import_vvvvvyl = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyi(add_custom_import_vvvvvyi); vvvvvyl(add_custom_import_vvvvvyl);
}); });
// #jform_add_custom_import listeners for add_custom_import_vvvvvyj function // #jform_add_custom_import listeners for add_custom_import_vvvvvym function
jQuery('#jform_add_custom_import').on('keyup',function() jQuery('#jform_add_custom_import').on('keyup',function()
{ {
var add_custom_import_vvvvvyj = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var add_custom_import_vvvvvym = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyj(add_custom_import_vvvvvyj); vvvvvym(add_custom_import_vvvvvym);
}); });
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e) jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_custom_import_vvvvvyj = jQuery("#jform_add_custom_import input[type='radio']:checked").val(); var add_custom_import_vvvvvym = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyj(add_custom_import_vvvvvyj); vvvvvym(add_custom_import_vvvvvym);
}); });
// #jform_add_custom_button listeners for add_custom_button_vvvvvyk 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_vvvvvyk = 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();
vvvvvyk(add_custom_button_vvvvvyk); 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_vvvvvyk = 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();
vvvvvyk(add_custom_button_vvvvvyk); vvvvvyn(add_custom_button_vvvvvyn);
}); });

View File

@ -112,18 +112,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_extension_type listeners for extension_type_vvvvwao function // #jform_extension_type listeners for extension_type_vvvvwar function
jQuery('#jform_extension_type').on('keyup',function() jQuery('#jform_extension_type').on('keyup',function()
{ {
var extension_type_vvvvwao = jQuery("#jform_extension_type").val(); var extension_type_vvvvwar = jQuery("#jform_extension_type").val();
vvvvwao(extension_type_vvvvwao); vvvvwar(extension_type_vvvvwar);
}); });
jQuery('#adminForm').on('change', '#jform_extension_type',function (e) jQuery('#adminForm').on('change', '#jform_extension_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var extension_type_vvvvwao = jQuery("#jform_extension_type").val(); var extension_type_vvvvwar = jQuery("#jform_extension_type").val();
vvvvwao(extension_type_vvvvwao); vvvvwar(extension_type_vvvvwar);
}); });

View File

@ -107,18 +107,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_extension_type listeners for extension_type_vvvvwan function // #jform_extension_type listeners for extension_type_vvvvwaq function
jQuery('#jform_extension_type').on('keyup',function() jQuery('#jform_extension_type').on('keyup',function()
{ {
var extension_type_vvvvwan = jQuery("#jform_extension_type").val(); var extension_type_vvvvwaq = jQuery("#jform_extension_type").val();
vvvvwan(extension_type_vvvvwan); vvvvwaq(extension_type_vvvvwaq);
}); });
jQuery('#adminForm').on('change', '#jform_extension_type',function (e) jQuery('#adminForm').on('change', '#jform_extension_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var extension_type_vvvvwan = jQuery("#jform_extension_type").val(); var extension_type_vvvvwaq = jQuery("#jform_extension_type").val();
vvvvwan(extension_type_vvvvwan); vvvvwaq(extension_type_vvvvwaq);
}); });

View File

@ -163,153 +163,153 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvyl 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_vvvvvyl = 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();
vvvvvyl(add_php_view_vvvvvyl); 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_vvvvvyl = 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();
vvvvvyl(add_php_view_vvvvvyl); vvvvvyo(add_php_view_vvvvvyo);
}); });
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvym function // #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyp function
jQuery('#jform_add_php_jview_display').on('keyup',function() jQuery('#jform_add_php_jview_display').on('keyup',function()
{ {
var add_php_jview_display_vvvvvym = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyp = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvym(add_php_jview_display_vvvvvym); vvvvvyp(add_php_jview_display_vvvvvyp);
}); });
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_vvvvvym = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyp = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvym(add_php_jview_display_vvvvvym); vvvvvyp(add_php_jview_display_vvvvvyp);
}); });
// #jform_add_php_jview listeners for add_php_jview_vvvvvyn function // #jform_add_php_jview listeners for add_php_jview_vvvvvyq function
jQuery('#jform_add_php_jview').on('keyup',function() jQuery('#jform_add_php_jview').on('keyup',function()
{ {
var add_php_jview_vvvvvyn = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyq = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyn(add_php_jview_vvvvvyn); vvvvvyq(add_php_jview_vvvvvyq);
}); });
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_vvvvvyn = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvyq = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyn(add_php_jview_vvvvvyn); vvvvvyq(add_php_jview_vvvvvyq);
}); });
// #jform_add_php_document listeners for add_php_document_vvvvvyo function // #jform_add_php_document listeners for add_php_document_vvvvvyr function
jQuery('#jform_add_php_document').on('keyup',function() jQuery('#jform_add_php_document').on('keyup',function()
{ {
var add_php_document_vvvvvyo = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyr = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyo(add_php_document_vvvvvyo); vvvvvyr(add_php_document_vvvvvyr);
}); });
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_vvvvvyo = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvyr = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyo(add_php_document_vvvvvyo); vvvvvyr(add_php_document_vvvvvyr);
}); });
// #jform_add_css_document listeners for add_css_document_vvvvvyp function // #jform_add_css_document listeners for add_css_document_vvvvvys function
jQuery('#jform_add_css_document').on('keyup',function() jQuery('#jform_add_css_document').on('keyup',function()
{ {
var add_css_document_vvvvvyp = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvys = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyp(add_css_document_vvvvvyp); vvvvvys(add_css_document_vvvvvys);
}); });
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_vvvvvyp = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvys = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyp(add_css_document_vvvvvyp); vvvvvys(add_css_document_vvvvvys);
}); });
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvyq function // #jform_add_javascript_file listeners for add_javascript_file_vvvvvyt function
jQuery('#jform_add_javascript_file').on('keyup',function() jQuery('#jform_add_javascript_file').on('keyup',function()
{ {
var add_javascript_file_vvvvvyq = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvyt = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyq(add_javascript_file_vvvvvyq); vvvvvyt(add_javascript_file_vvvvvyt);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_file_vvvvvyq = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvyt = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyq(add_javascript_file_vvvvvyq); vvvvvyt(add_javascript_file_vvvvvyt);
}); });
// #jform_add_js_document listeners for add_js_document_vvvvvyr function // #jform_add_js_document listeners for add_js_document_vvvvvyu function
jQuery('#jform_add_js_document').on('keyup',function() jQuery('#jform_add_js_document').on('keyup',function()
{ {
var add_js_document_vvvvvyr = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyu = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyr(add_js_document_vvvvvyr); vvvvvyu(add_js_document_vvvvvyu);
}); });
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_vvvvvyr = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvyu = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyr(add_js_document_vvvvvyr); vvvvvyu(add_js_document_vvvvvyu);
}); });
// #jform_add_custom_button listeners for add_custom_button_vvvvvys function // #jform_add_custom_button listeners for add_custom_button_vvvvvyv function
jQuery('#jform_add_custom_button').on('keyup',function() jQuery('#jform_add_custom_button').on('keyup',function()
{ {
var add_custom_button_vvvvvys = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyv = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvys(add_custom_button_vvvvvys); vvvvvyv(add_custom_button_vvvvvyv);
}); });
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_vvvvvys = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvyv = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvys(add_custom_button_vvvvvys); vvvvvyv(add_custom_button_vvvvvyv);
}); });
// #jform_add_css listeners for add_css_vvvvvyt function // #jform_add_css listeners for add_css_vvvvvyw function
jQuery('#jform_add_css').on('keyup',function() jQuery('#jform_add_css').on('keyup',function()
{ {
var add_css_vvvvvyt = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyt(add_css_vvvvvyt); vvvvvyw(add_css_vvvvvyw);
}); });
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_vvvvvyt = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyt(add_css_vvvvvyt); vvvvvyw(add_css_vvvvvyw);
}); });
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyu function // #jform_add_php_ajax listeners for add_php_ajax_vvvvvyx function
jQuery('#jform_add_php_ajax').on('keyup',function() jQuery('#jform_add_php_ajax').on('keyup',function()
{ {
var add_php_ajax_vvvvvyu = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyu(add_php_ajax_vvvvvyu); vvvvvyx(add_php_ajax_vvvvvyx);
}); });
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_vvvvvyu = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyu(add_php_ajax_vvvvvyu); vvvvvyx(add_php_ajax_vvvvvyx);
}); });

View File

@ -116,101 +116,101 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_target listeners for target_vvvvwaj function
jQuery('#jform_target').on('keyup',function()
{
var target_vvvvwaj = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaj(target_vvvvwaj);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target_vvvvwaj = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaj(target_vvvvwaj);
});
// #jform_target listeners for target_vvvvwak function
jQuery('#jform_target').on('keyup',function()
{
var target_vvvvwak = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwak(target_vvvvwak);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target_vvvvwak = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwak(target_vvvvwak);
});
// #jform_target listeners for target_vvvvwal function
jQuery('#jform_target').on('keyup',function()
{
var target_vvvvwal = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwal = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwal(target_vvvvwal,type_vvvvwal);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target_vvvvwal = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwal = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwal(target_vvvvwal,type_vvvvwal);
});
// #jform_type listeners for type_vvvvwal function
jQuery('#jform_type').on('keyup',function()
{
var target_vvvvwal = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwal = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwal(target_vvvvwal,type_vvvvwal);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var target_vvvvwal = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwal = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwal(target_vvvvwal,type_vvvvwal);
});
// #jform_type listeners for type_vvvvwam function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwam(type_vvvvwam,target_vvvvwam);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwam(type_vvvvwam,target_vvvvwam);
});
// #jform_target listeners for target_vvvvwam function // #jform_target listeners for target_vvvvwam function
jQuery('#jform_target').on('keyup',function() jQuery('#jform_target').on('keyup',function()
{ {
var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwam(type_vvvvwam,target_vvvvwam); vvvvwam(target_vvvvwam);
}); });
jQuery('#adminForm').on('change', '#jform_target',function (e) jQuery('#adminForm').on('change', '#jform_target',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwam(type_vvvvwam,target_vvvvwam); vvvvwam(target_vvvvwam);
});
// #jform_target listeners for target_vvvvwan function
jQuery('#jform_target').on('keyup',function()
{
var target_vvvvwan = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwan(target_vvvvwan);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target_vvvvwan = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwan(target_vvvvwan);
});
// #jform_target listeners for target_vvvvwao function
jQuery('#jform_target').on('keyup',function()
{
var target_vvvvwao = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwao(target_vvvvwao,type_vvvvwao);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target_vvvvwao = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwao(target_vvvvwao,type_vvvvwao);
});
// #jform_type listeners for type_vvvvwao function
jQuery('#jform_type').on('keyup',function()
{
var target_vvvvwao = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwao(target_vvvvwao,type_vvvvwao);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var target_vvvvwao = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwao(target_vvvvwao,type_vvvvwao);
});
// #jform_type listeners for type_vvvvwap function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwap(type_vvvvwap,target_vvvvwap);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwap(type_vvvvwap,target_vvvvwap);
});
// #jform_target listeners for target_vvvvwap function
jQuery('#jform_target').on('keyup',function()
{
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwap(type_vvvvwap,target_vvvvwap);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwap(type_vvvvwap,target_vvvvwap);
}); });

View File

@ -159,63 +159,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_gettype listeners for gettype_vvvvvzi function // #jform_gettype listeners for gettype_vvvvvzl function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvvzi = jQuery("#jform_gettype").val(); var gettype_vvvvvzl = jQuery("#jform_gettype").val();
vvvvvzi(gettype_vvvvvzi); vvvvvzl(gettype_vvvvvzl);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvvzi = jQuery("#jform_gettype").val(); var gettype_vvvvvzl = jQuery("#jform_gettype").val();
vvvvvzi(gettype_vvvvvzi); vvvvvzl(gettype_vvvvvzl);
});
// #jform_main_source listeners for main_source_vvvvvzj function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvzj = jQuery("#jform_main_source").val();
vvvvvzj(main_source_vvvvvzj);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvzj = jQuery("#jform_main_source").val();
vvvvvzj(main_source_vvvvvzj);
});
// #jform_main_source listeners for main_source_vvvvvzk function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvzk = jQuery("#jform_main_source").val();
vvvvvzk(main_source_vvvvvzk);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvzk = jQuery("#jform_main_source").val();
vvvvvzk(main_source_vvvvvzk);
});
// #jform_main_source listeners for main_source_vvvvvzl function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvzl = jQuery("#jform_main_source").val();
vvvvvzl(main_source_vvvvvzl);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvzl = jQuery("#jform_main_source").val();
vvvvvzl(main_source_vvvvvzl);
}); });
@ -249,346 +204,346 @@ jQuery('#adminForm').on('change', '#jform_main_source',function (e)
}); });
// #jform_addcalculation listeners for addcalculation_vvvvvzo function // #jform_main_source listeners for main_source_vvvvvzo function
jQuery('#jform_addcalculation').on('keyup',function()
{
var addcalculation_vvvvvzo = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvzo(addcalculation_vvvvvzo);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzo = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvzo(addcalculation_vvvvvzo);
});
// #jform_addcalculation listeners for addcalculation_vvvvvzp function
jQuery('#jform_addcalculation').on('keyup',function()
{
var addcalculation_vvvvvzp = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzp = jQuery("#jform_gettype").val();
vvvvvzp(addcalculation_vvvvvzp,gettype_vvvvvzp);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzp = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzp = jQuery("#jform_gettype").val();
vvvvvzp(addcalculation_vvvvvzp,gettype_vvvvvzp);
});
// #jform_gettype listeners for gettype_vvvvvzp function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvzp = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzp = jQuery("#jform_gettype").val();
vvvvvzp(addcalculation_vvvvvzp,gettype_vvvvvzp);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzp = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzp = jQuery("#jform_gettype").val();
vvvvvzp(addcalculation_vvvvvzp,gettype_vvvvvzp);
});
// #jform_addcalculation listeners for addcalculation_vvvvvzq function
jQuery('#jform_addcalculation').on('keyup',function()
{
var addcalculation_vvvvvzq = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
vvvvvzq(addcalculation_vvvvvzq,gettype_vvvvvzq);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzq = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
vvvvvzq(addcalculation_vvvvvzq,gettype_vvvvvzq);
});
// #jform_gettype listeners for gettype_vvvvvzq function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvzq = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
vvvvvzq(addcalculation_vvvvvzq,gettype_vvvvvzq);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzq = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
vvvvvzq(addcalculation_vvvvvzq,gettype_vvvvvzq);
});
// #jform_main_source listeners for main_source_vvvvvzt function
jQuery('#jform_main_source').on('keyup',function() jQuery('#jform_main_source').on('keyup',function()
{ {
var main_source_vvvvvzt = jQuery("#jform_main_source").val(); var main_source_vvvvvzo = jQuery("#jform_main_source").val();
vvvvvzt(main_source_vvvvvzt); vvvvvzo(main_source_vvvvvzo);
}); });
jQuery('#adminForm').on('change', '#jform_main_source',function (e) jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var main_source_vvvvvzt = jQuery("#jform_main_source").val(); var main_source_vvvvvzo = jQuery("#jform_main_source").val();
vvvvvzt(main_source_vvvvvzt); vvvvvzo(main_source_vvvvvzo);
}); });
// #jform_main_source listeners for main_source_vvvvvzu function // #jform_main_source listeners for main_source_vvvvvzp function
jQuery('#jform_main_source').on('keyup',function() jQuery('#jform_main_source').on('keyup',function()
{ {
var main_source_vvvvvzu = jQuery("#jform_main_source").val(); var main_source_vvvvvzp = jQuery("#jform_main_source").val();
vvvvvzu(main_source_vvvvvzu); vvvvvzp(main_source_vvvvvzp);
}); });
jQuery('#adminForm').on('change', '#jform_main_source',function (e) jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var main_source_vvvvvzu = jQuery("#jform_main_source").val(); var main_source_vvvvvzp = jQuery("#jform_main_source").val();
vvvvvzu(main_source_vvvvvzu); vvvvvzp(main_source_vvvvvzp);
}); });
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvzv function // #jform_main_source listeners for main_source_vvvvvzq function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvzq = jQuery("#jform_main_source").val();
vvvvvzq(main_source_vvvvvzq);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvzq = jQuery("#jform_main_source").val();
vvvvvzq(main_source_vvvvvzq);
});
// #jform_addcalculation listeners for addcalculation_vvvvvzr function
jQuery('#jform_addcalculation').on('keyup',function()
{
var addcalculation_vvvvvzr = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvzr(addcalculation_vvvvvzr);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzr = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvzr(addcalculation_vvvvvzr);
});
// #jform_addcalculation listeners for addcalculation_vvvvvzs function
jQuery('#jform_addcalculation').on('keyup',function()
{
var addcalculation_vvvvvzs = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(addcalculation_vvvvvzs,gettype_vvvvvzs);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzs = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(addcalculation_vvvvvzs,gettype_vvvvvzs);
});
// #jform_gettype listeners for gettype_vvvvvzs function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvzs = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(addcalculation_vvvvvzs,gettype_vvvvvzs);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzs = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(addcalculation_vvvvvzs,gettype_vvvvvzs);
});
// #jform_addcalculation listeners for addcalculation_vvvvvzt function
jQuery('#jform_addcalculation').on('keyup',function()
{
var addcalculation_vvvvvzt = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(addcalculation_vvvvvzt,gettype_vvvvvzt);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzt = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(addcalculation_vvvvvzt,gettype_vvvvvzt);
});
// #jform_gettype listeners for gettype_vvvvvzt function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvzt = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(addcalculation_vvvvvzt,gettype_vvvvvzt);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzt = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(addcalculation_vvvvvzt,gettype_vvvvvzt);
});
// #jform_main_source listeners for main_source_vvvvvzw function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvzw = jQuery("#jform_main_source").val();
vvvvvzw(main_source_vvvvvzw);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvzw = jQuery("#jform_main_source").val();
vvvvvzw(main_source_vvvvvzw);
});
// #jform_main_source listeners for main_source_vvvvvzx function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvzx = jQuery("#jform_main_source").val();
vvvvvzx(main_source_vvvvvzx);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvzx = jQuery("#jform_main_source").val();
vvvvvzx(main_source_vvvvvzx);
});
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvzy function
jQuery('#jform_add_php_before_getitem').on('keyup',function() jQuery('#jform_add_php_before_getitem').on('keyup',function()
{ {
var add_php_before_getitem_vvvvvzv = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvzy = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val(); var gettype_vvvvvzy = jQuery("#jform_gettype").val();
vvvvvzv(add_php_before_getitem_vvvvvzv,gettype_vvvvvzv); vvvvvzy(add_php_before_getitem_vvvvvzy,gettype_vvvvvzy);
}); });
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_vvvvvzv = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvzy = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val(); var gettype_vvvvvzy = jQuery("#jform_gettype").val();
vvvvvzv(add_php_before_getitem_vvvvvzv,gettype_vvvvvzv); vvvvvzy(add_php_before_getitem_vvvvvzy,gettype_vvvvvzy);
});
// #jform_gettype listeners for gettype_vvvvvzv function
jQuery('#jform_gettype').on('keyup',function()
{
var add_php_before_getitem_vvvvvzv = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
vvvvvzv(add_php_before_getitem_vvvvvzv,gettype_vvvvvzv);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var add_php_before_getitem_vvvvvzv = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
vvvvvzv(add_php_before_getitem_vvvvvzv,gettype_vvvvvzv);
});
// #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvzw function
jQuery('#jform_add_php_after_getitem').on('keyup',function()
{
var add_php_after_getitem_vvvvvzw = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
vvvvvzw(add_php_after_getitem_vvvvvzw,gettype_vvvvvzw);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
{
e.preventDefault();
var add_php_after_getitem_vvvvvzw = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
vvvvvzw(add_php_after_getitem_vvvvvzw,gettype_vvvvvzw);
});
// #jform_gettype listeners for gettype_vvvvvzw function
jQuery('#jform_gettype').on('keyup',function()
{
var add_php_after_getitem_vvvvvzw = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
vvvvvzw(add_php_after_getitem_vvvvvzw,gettype_vvvvvzw);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var add_php_after_getitem_vvvvvzw = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
vvvvvzw(add_php_after_getitem_vvvvvzw,gettype_vvvvvzw);
}); });
// #jform_gettype listeners for gettype_vvvvvzy function // #jform_gettype listeners for gettype_vvvvvzy function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_before_getitem_vvvvvzy = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzy = jQuery("#jform_gettype").val(); var gettype_vvvvvzy = jQuery("#jform_gettype").val();
vvvvvzy(gettype_vvvvvzy); vvvvvzy(add_php_before_getitem_vvvvvzy,gettype_vvvvvzy);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_getitem_vvvvvzy = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzy = jQuery("#jform_gettype").val(); var gettype_vvvvvzy = jQuery("#jform_gettype").val();
vvvvvzy(gettype_vvvvvzy); vvvvvzy(add_php_before_getitem_vvvvvzy,gettype_vvvvvzy);
}); });
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvzz function // #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvzz function
jQuery('#jform_add_php_getlistquery').on('keyup',function() jQuery('#jform_add_php_after_getitem').on('keyup',function()
{ {
var add_php_getlistquery_vvvvvzz = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_after_getitem_vvvvvzz = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzz = jQuery("#jform_gettype").val(); var gettype_vvvvvzz = jQuery("#jform_gettype").val();
vvvvvzz(add_php_getlistquery_vvvvvzz,gettype_vvvvvzz); vvvvvzz(add_php_after_getitem_vvvvvzz,gettype_vvvvvzz);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e) jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getlistquery_vvvvvzz = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_after_getitem_vvvvvzz = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzz = jQuery("#jform_gettype").val(); var gettype_vvvvvzz = jQuery("#jform_gettype").val();
vvvvvzz(add_php_getlistquery_vvvvvzz,gettype_vvvvvzz); vvvvvzz(add_php_after_getitem_vvvvvzz,gettype_vvvvvzz);
}); });
// #jform_gettype listeners for gettype_vvvvvzz function // #jform_gettype listeners for gettype_vvvvvzz function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_getlistquery_vvvvvzz = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_after_getitem_vvvvvzz = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzz = jQuery("#jform_gettype").val(); var gettype_vvvvvzz = jQuery("#jform_gettype").val();
vvvvvzz(add_php_getlistquery_vvvvvzz,gettype_vvvvvzz); vvvvvzz(add_php_after_getitem_vvvvvzz,gettype_vvvvvzz);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getlistquery_vvvvvzz = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_after_getitem_vvvvvzz = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzz = jQuery("#jform_gettype").val(); var gettype_vvvvvzz = jQuery("#jform_gettype").val();
vvvvvzz(add_php_getlistquery_vvvvvzz,gettype_vvvvvzz); vvvvvzz(add_php_after_getitem_vvvvvzz,gettype_vvvvvzz);
});
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvwaa function
jQuery('#jform_add_php_before_getitems').on('keyup',function()
{
var add_php_before_getitems_vvvvwaa = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvwaa = jQuery("#jform_gettype").val();
vvvvwaa(add_php_before_getitems_vvvvwaa,gettype_vvvvwaa);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e)
{
e.preventDefault();
var add_php_before_getitems_vvvvwaa = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvwaa = jQuery("#jform_gettype").val();
vvvvwaa(add_php_before_getitems_vvvvwaa,gettype_vvvvwaa);
});
// #jform_gettype listeners for gettype_vvvvwaa function
jQuery('#jform_gettype').on('keyup',function()
{
var add_php_before_getitems_vvvvwaa = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvwaa = jQuery("#jform_gettype").val();
vvvvwaa(add_php_before_getitems_vvvvwaa,gettype_vvvvwaa);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var add_php_before_getitems_vvvvwaa = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvwaa = jQuery("#jform_gettype").val();
vvvvwaa(add_php_before_getitems_vvvvwaa,gettype_vvvvwaa);
});
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvwab function
jQuery('#jform_add_php_after_getitems').on('keyup',function()
{
var add_php_after_getitems_vvvvwab = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvwab = jQuery("#jform_gettype").val();
vvvvwab(add_php_after_getitems_vvvvwab,gettype_vvvvwab);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e)
{
e.preventDefault();
var add_php_after_getitems_vvvvwab = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvwab = jQuery("#jform_gettype").val();
vvvvwab(add_php_after_getitems_vvvvwab,gettype_vvvvwab);
}); });
// #jform_gettype listeners for gettype_vvvvwab function // #jform_gettype listeners for gettype_vvvvwab function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_after_getitems_vvvvwab = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvwab = jQuery("#jform_gettype").val(); var gettype_vvvvwab = jQuery("#jform_gettype").val();
vvvvwab(add_php_after_getitems_vvvvwab,gettype_vvvvwab); vvvvwab(gettype_vvvvwab);
}); });
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_vvvvwab = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvwab = jQuery("#jform_gettype").val(); var gettype_vvvvwab = jQuery("#jform_gettype").val();
vvvvwab(add_php_after_getitems_vvvvwab,gettype_vvvvwab); vvvvwab(gettype_vvvvwab);
});
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvwac function
jQuery('#jform_add_php_getlistquery').on('keyup',function()
{
var add_php_getlistquery_vvvvwac = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvwac = jQuery("#jform_gettype").val();
vvvvwac(add_php_getlistquery_vvvvwac,gettype_vvvvwac);
});
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
{
e.preventDefault();
var add_php_getlistquery_vvvvwac = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvwac = jQuery("#jform_gettype").val();
vvvvwac(add_php_getlistquery_vvvvwac,gettype_vvvvwac);
});
// #jform_gettype listeners for gettype_vvvvwac function
jQuery('#jform_gettype').on('keyup',function()
{
var add_php_getlistquery_vvvvwac = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvwac = jQuery("#jform_gettype").val();
vvvvwac(add_php_getlistquery_vvvvwac,gettype_vvvvwac);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var add_php_getlistquery_vvvvwac = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvwac = jQuery("#jform_gettype").val();
vvvvwac(add_php_getlistquery_vvvvwac,gettype_vvvvwac);
});
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvwad function
jQuery('#jform_add_php_before_getitems').on('keyup',function()
{
var add_php_before_getitems_vvvvwad = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvwad = jQuery("#jform_gettype").val();
vvvvwad(add_php_before_getitems_vvvvwad,gettype_vvvvwad);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e)
{
e.preventDefault();
var add_php_before_getitems_vvvvwad = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvwad = jQuery("#jform_gettype").val();
vvvvwad(add_php_before_getitems_vvvvwad,gettype_vvvvwad);
}); });
// #jform_gettype listeners for gettype_vvvvwad function // #jform_gettype listeners for gettype_vvvvwad function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_before_getitems_vvvvwad = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvwad = jQuery("#jform_gettype").val(); var gettype_vvvvwad = jQuery("#jform_gettype").val();
vvvvwad(gettype_vvvvwad); vvvvwad(add_php_before_getitems_vvvvwad,gettype_vvvvwad);
}); });
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_vvvvwad = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvwad = jQuery("#jform_gettype").val(); var gettype_vvvvwad = jQuery("#jform_gettype").val();
vvvvwad(gettype_vvvvwad); vvvvwad(add_php_before_getitems_vvvvwad,gettype_vvvvwad);
});
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvwae function
jQuery('#jform_add_php_after_getitems').on('keyup',function()
{
var add_php_after_getitems_vvvvwae = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvwae = jQuery("#jform_gettype").val();
vvvvwae(add_php_after_getitems_vvvvwae,gettype_vvvvwae);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e)
{
e.preventDefault();
var add_php_after_getitems_vvvvwae = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvwae = jQuery("#jform_gettype").val();
vvvvwae(add_php_after_getitems_vvvvwae,gettype_vvvvwae);
}); });
// #jform_gettype listeners for gettype_vvvvwae function // #jform_gettype listeners for gettype_vvvvwae function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_after_getitems_vvvvwae = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvwae = jQuery("#jform_gettype").val(); var gettype_vvvvwae = jQuery("#jform_gettype").val();
vvvvwae(gettype_vvvvwae); vvvvwae(add_php_after_getitems_vvvvwae,gettype_vvvvwae);
}); });
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_vvvvwae = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvwae = jQuery("#jform_gettype").val(); var gettype_vvvvwae = jQuery("#jform_gettype").val();
vvvvwae(gettype_vvvvwae); vvvvwae(add_php_after_getitems_vvvvwae,gettype_vvvvwae);
});
// #jform_gettype listeners for gettype_vvvvwaf function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvwaf = jQuery("#jform_gettype").val();
vvvvwaf(gettype_vvvvwaf);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvwaf = jQuery("#jform_gettype").val();
vvvvwaf(gettype_vvvvwaf);
}); });
@ -596,33 +551,29 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvwag = jQuery("#jform_gettype").val(); var gettype_vvvvwag = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwag = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val(); vvvvwag(gettype_vvvvwag);
vvvvwag(gettype_vvvvwag,add_php_router_parse_vvvvwag);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvwag = jQuery("#jform_gettype").val(); var gettype_vvvvwag = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwag = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val(); vvvvwag(gettype_vvvvwag);
vvvvwag(gettype_vvvvwag,add_php_router_parse_vvvvwag);
}); });
// #jform_add_php_router_parse listeners for add_php_router_parse_vvvvwag function // #jform_gettype listeners for gettype_vvvvwah function
jQuery('#jform_add_php_router_parse').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvwag = jQuery("#jform_gettype").val(); var gettype_vvvvwah = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwag = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val(); vvvvwah(gettype_vvvvwah);
vvvvwag(gettype_vvvvwag,add_php_router_parse_vvvvwag);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_router_parse',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvwag = jQuery("#jform_gettype").val(); var gettype_vvvvwah = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwag = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val(); vvvvwah(gettype_vvvvwah);
vvvvwag(gettype_vvvvwag,add_php_router_parse_vvvvwag);
}); });
@ -641,6 +592,55 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
}); });
// #jform_gettype listeners for gettype_vvvvwaj function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvwaj = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwaj = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwaj(gettype_vvvvwaj,add_php_router_parse_vvvvwaj);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvwaj = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwaj = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwaj(gettype_vvvvwaj,add_php_router_parse_vvvvwaj);
});
// #jform_add_php_router_parse listeners for add_php_router_parse_vvvvwaj function
jQuery('#jform_add_php_router_parse').on('keyup',function()
{
var gettype_vvvvwaj = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwaj = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwaj(gettype_vvvvwaj,add_php_router_parse_vvvvwaj);
});
jQuery('#adminForm').on('change', '#jform_add_php_router_parse',function (e)
{
e.preventDefault();
var gettype_vvvvwaj = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwaj = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwaj(gettype_vvvvwaj,add_php_router_parse_vvvvwaj);
});
// #jform_gettype listeners for gettype_vvvvwal function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvwal = jQuery("#jform_gettype").val();
vvvvwal(gettype_vvvvwal);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvwal = jQuery("#jform_gettype").val();
vvvvwal(gettype_vvvvwal);
});
<?php $fieldNrs = range(0,50,1); ?> <?php $fieldNrs = range(0,50,1); ?>

View File

@ -147,157 +147,157 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_datalenght listeners for datalenght_vvvvwax function // #jform_datalenght listeners for datalenght_vvvvwba function
jQuery('#jform_datalenght').on('keyup',function() jQuery('#jform_datalenght').on('keyup',function()
{ {
var datalenght_vvvvwax = jQuery("#jform_datalenght").val(); var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
vvvvwax(datalenght_vvvvwax); vvvvwba(datalenght_vvvvwba);
}); });
jQuery('#adminForm').on('change', '#jform_datalenght',function (e) jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datalenght_vvvvwax = jQuery("#jform_datalenght").val(); var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
vvvvwax(datalenght_vvvvwax); vvvvwba(datalenght_vvvvwba);
}); });
// #jform_datadefault listeners for datadefault_vvvvway function // #jform_datadefault listeners for datadefault_vvvvwbb function
jQuery('#jform_datadefault').on('keyup',function() jQuery('#jform_datadefault').on('keyup',function()
{ {
var datadefault_vvvvway = jQuery("#jform_datadefault").val(); var datadefault_vvvvwbb = jQuery("#jform_datadefault").val();
vvvvway(datadefault_vvvvway); vvvvwbb(datadefault_vvvvwbb);
}); });
jQuery('#adminForm').on('change', '#jform_datadefault',function (e) jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datadefault_vvvvway = jQuery("#jform_datadefault").val(); var datadefault_vvvvwbb = jQuery("#jform_datadefault").val();
vvvvway(datadefault_vvvvway); vvvvwbb(datadefault_vvvvwbb);
}); });
// #jform_datatype listeners for datatype_vvvvwaz function // #jform_datatype listeners for datatype_vvvvwbc function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var datatype_vvvvwaz = jQuery("#jform_datatype").val(); var datatype_vvvvwbc = jQuery("#jform_datatype").val();
vvvvwaz(datatype_vvvvwaz); vvvvwbc(datatype_vvvvwbc);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datatype_vvvvwaz = jQuery("#jform_datatype").val(); var datatype_vvvvwbc = jQuery("#jform_datatype").val();
vvvvwaz(datatype_vvvvwaz); vvvvwbc(datatype_vvvvwbc);
}); });
// #jform_datatype listeners for datatype_vvvvwba function // #jform_datatype listeners for datatype_vvvvwbd function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var datatype_vvvvwba = jQuery("#jform_datatype").val(); var datatype_vvvvwbd = jQuery("#jform_datatype").val();
vvvvwba(datatype_vvvvwba); vvvvwbd(datatype_vvvvwbd);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datatype_vvvvwba = jQuery("#jform_datatype").val(); var datatype_vvvvwbd = jQuery("#jform_datatype").val();
vvvvwba(datatype_vvvvwba); vvvvwbd(datatype_vvvvwbd);
}); });
// #jform_store listeners for store_vvvvwbb function // #jform_store listeners for store_vvvvwbe function
jQuery('#jform_store').on('keyup',function() jQuery('#jform_store').on('keyup',function()
{ {
var store_vvvvwbb = jQuery("#jform_store").val(); var store_vvvvwbe = jQuery("#jform_store").val();
var datatype_vvvvwbb = jQuery("#jform_datatype").val(); var datatype_vvvvwbe = jQuery("#jform_datatype").val();
vvvvwbb(store_vvvvwbb,datatype_vvvvwbb); vvvvwbe(store_vvvvwbe,datatype_vvvvwbe);
}); });
jQuery('#adminForm').on('change', '#jform_store',function (e) jQuery('#adminForm').on('change', '#jform_store',function (e)
{ {
e.preventDefault(); e.preventDefault();
var store_vvvvwbb = jQuery("#jform_store").val(); var store_vvvvwbe = jQuery("#jform_store").val();
var datatype_vvvvwbb = jQuery("#jform_datatype").val(); var datatype_vvvvwbe = jQuery("#jform_datatype").val();
vvvvwbb(store_vvvvwbb,datatype_vvvvwbb); vvvvwbe(store_vvvvwbe,datatype_vvvvwbe);
}); });
// #jform_datatype listeners for datatype_vvvvwbb function // #jform_datatype listeners for datatype_vvvvwbe function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var store_vvvvwbb = jQuery("#jform_store").val(); var store_vvvvwbe = jQuery("#jform_store").val();
var datatype_vvvvwbb = jQuery("#jform_datatype").val(); var datatype_vvvvwbe = jQuery("#jform_datatype").val();
vvvvwbb(store_vvvvwbb,datatype_vvvvwbb); vvvvwbe(store_vvvvwbe,datatype_vvvvwbe);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var store_vvvvwbb = jQuery("#jform_store").val(); var store_vvvvwbe = jQuery("#jform_store").val();
var datatype_vvvvwbb = jQuery("#jform_datatype").val(); var datatype_vvvvwbe = jQuery("#jform_datatype").val();
vvvvwbb(store_vvvvwbb,datatype_vvvvwbb); vvvvwbe(store_vvvvwbe,datatype_vvvvwbe);
}); });
// #jform_add_css_view listeners for add_css_view_vvvvwbd function // #jform_add_css_view listeners for add_css_view_vvvvwbg function
jQuery('#jform_add_css_view').on('keyup',function() jQuery('#jform_add_css_view').on('keyup',function()
{ {
var add_css_view_vvvvwbd = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvwbg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwbd(add_css_view_vvvvwbd); vvvvwbg(add_css_view_vvvvwbg);
}); });
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_vvvvwbd = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvwbg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwbd(add_css_view_vvvvwbd); vvvvwbg(add_css_view_vvvvwbg);
}); });
// #jform_add_css_views listeners for add_css_views_vvvvwbe function // #jform_add_css_views listeners for add_css_views_vvvvwbh function
jQuery('#jform_add_css_views').on('keyup',function() jQuery('#jform_add_css_views').on('keyup',function()
{ {
var add_css_views_vvvvwbe = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvwbh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwbe(add_css_views_vvvvwbe); vvvvwbh(add_css_views_vvvvwbh);
}); });
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_vvvvwbe = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvwbh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwbe(add_css_views_vvvvwbe); vvvvwbh(add_css_views_vvvvwbh);
}); });
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvwbf function // #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvwbi function
jQuery('#jform_add_javascript_view_footer').on('keyup',function() jQuery('#jform_add_javascript_view_footer').on('keyup',function()
{ {
var add_javascript_view_footer_vvvvwbf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvwbi = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwbf(add_javascript_view_footer_vvvvwbf); vvvvwbi(add_javascript_view_footer_vvvvwbi);
}); });
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_vvvvwbf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvwbi = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwbf(add_javascript_view_footer_vvvvwbf); vvvvwbi(add_javascript_view_footer_vvvvwbi);
}); });
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvwbg function // #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvwbj function
jQuery('#jform_add_javascript_views_footer').on('keyup',function() jQuery('#jform_add_javascript_views_footer').on('keyup',function()
{ {
var add_javascript_views_footer_vvvvwbg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvwbj = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwbg(add_javascript_views_footer_vvvvwbg); vvvvwbj(add_javascript_views_footer_vvvvwbj);
}); });
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_vvvvwbg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvwbj = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwbg(add_javascript_views_footer_vvvvwbg); vvvvwbj(add_javascript_views_footer_vvvvwbj);
}); });

View File

@ -136,230 +136,139 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_datalenght listeners for datalenght_vvvvwbh function // #jform_datalenght listeners for datalenght_vvvvwbk function
jQuery('#jform_datalenght').on('keyup',function() jQuery('#jform_datalenght').on('keyup',function()
{ {
var datalenght_vvvvwbh = jQuery("#jform_datalenght").val(); var datalenght_vvvvwbk = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbh(datalenght_vvvvwbh,has_defaults_vvvvwbh); vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk);
}); });
jQuery('#adminForm').on('change', '#jform_datalenght',function (e) jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datalenght_vvvvwbh = jQuery("#jform_datalenght").val(); var datalenght_vvvvwbk = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbh(datalenght_vvvvwbh,has_defaults_vvvvwbh); vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk);
}); });
// #jform_has_defaults listeners for has_defaults_vvvvwbh function // #jform_has_defaults listeners for has_defaults_vvvvwbk function
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var datalenght_vvvvwbh = jQuery("#jform_datalenght").val(); var datalenght_vvvvwbk = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbh(datalenght_vvvvwbh,has_defaults_vvvvwbh); vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datalenght_vvvvwbh = jQuery("#jform_datalenght").val(); var datalenght_vvvvwbk = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbh(datalenght_vvvvwbh,has_defaults_vvvvwbh); vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk);
}); });
// #jform_datadefault listeners for datadefault_vvvvwbj function // #jform_datadefault listeners for datadefault_vvvvwbm function
jQuery('#jform_datadefault').on('keyup',function() jQuery('#jform_datadefault').on('keyup',function()
{ {
var datadefault_vvvvwbj = jQuery("#jform_datadefault").val(); var datadefault_vvvvwbm = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbj(datadefault_vvvvwbj,has_defaults_vvvvwbj); vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm);
}); });
jQuery('#adminForm').on('change', '#jform_datadefault',function (e) jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datadefault_vvvvwbj = jQuery("#jform_datadefault").val(); var datadefault_vvvvwbm = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbj(datadefault_vvvvwbj,has_defaults_vvvvwbj); vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbj function
jQuery('#jform_has_defaults').on('keyup',function()
{
var datadefault_vvvvwbj = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbj(datadefault_vvvvwbj,has_defaults_vvvvwbj);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var datadefault_vvvvwbj = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbj(datadefault_vvvvwbj,has_defaults_vvvvwbj);
});
// #jform_datatype listeners for datatype_vvvvwbl function
jQuery('#jform_datatype').on('keyup',function()
{
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbl(datatype_vvvvwbl,has_defaults_vvvvwbl);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbl(datatype_vvvvwbl,has_defaults_vvvvwbl);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbl function
jQuery('#jform_has_defaults').on('keyup',function()
{
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbl(datatype_vvvvwbl,has_defaults_vvvvwbl);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbl(datatype_vvvvwbl,has_defaults_vvvvwbl);
}); });
// #jform_has_defaults listeners for has_defaults_vvvvwbm function // #jform_has_defaults listeners for has_defaults_vvvvwbm function
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var datadefault_vvvvwbm = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbm = jQuery("#jform_datatype").val(); vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm);
vvvvwbm(has_defaults_vvvvwbm,datatype_vvvvwbm);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datadefault_vvvvwbm = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbm = jQuery("#jform_datatype").val(); vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm);
vvvvwbm(has_defaults_vvvvwbm,datatype_vvvvwbm);
}); });
// #jform_datatype listeners for datatype_vvvvwbm function // #jform_datatype listeners for datatype_vvvvwbo function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var datatype_vvvvwbo = jQuery("#jform_datatype").val();
var datatype_vvvvwbm = jQuery("#jform_datatype").val(); var has_defaults_vvvvwbo = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbm(has_defaults_vvvvwbm,datatype_vvvvwbm); vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var datatype_vvvvwbo = jQuery("#jform_datatype").val();
var datatype_vvvvwbm = jQuery("#jform_datatype").val(); var has_defaults_vvvvwbo = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbm(has_defaults_vvvvwbm,datatype_vvvvwbm); vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo);
}); });
// #jform_datatype listeners for datatype_vvvvwbn function // #jform_has_defaults listeners for has_defaults_vvvvwbo function
jQuery('#jform_datatype').on('keyup',function()
{
var datatype_vvvvwbn = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbn = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbn(datatype_vvvvwbn,has_defaults_vvvvwbn);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var datatype_vvvvwbn = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbn = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbn(datatype_vvvvwbn,has_defaults_vvvvwbn);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbn function
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var datatype_vvvvwbn = jQuery("#jform_datatype").val(); var datatype_vvvvwbo = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbn = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbo = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbn(datatype_vvvvwbn,has_defaults_vvvvwbn); vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datatype_vvvvwbn = jQuery("#jform_datatype").val(); var datatype_vvvvwbo = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbn = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbo = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbn(datatype_vvvvwbn,has_defaults_vvvvwbn); vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo);
});
// #jform_store listeners for store_vvvvwbp function
jQuery('#jform_store').on('keyup',function()
{
var store_vvvvwbp = jQuery("#jform_store").val();
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbp(store_vvvvwbp,datatype_vvvvwbp,has_defaults_vvvvwbp);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var store_vvvvwbp = jQuery("#jform_store").val();
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbp(store_vvvvwbp,datatype_vvvvwbp,has_defaults_vvvvwbp);
});
// #jform_datatype listeners for datatype_vvvvwbp function
jQuery('#jform_datatype').on('keyup',function()
{
var store_vvvvwbp = jQuery("#jform_store").val();
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbp(store_vvvvwbp,datatype_vvvvwbp,has_defaults_vvvvwbp);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var store_vvvvwbp = jQuery("#jform_store").val();
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbp(store_vvvvwbp,datatype_vvvvwbp,has_defaults_vvvvwbp);
}); });
// #jform_has_defaults listeners for has_defaults_vvvvwbp function // #jform_has_defaults listeners for has_defaults_vvvvwbp function
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var store_vvvvwbp = jQuery("#jform_store").val();
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbp(store_vvvvwbp,datatype_vvvvwbp,has_defaults_vvvvwbp); var datatype_vvvvwbp = jQuery("#jform_datatype").val();
vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var store_vvvvwbp = jQuery("#jform_store").val();
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbp(store_vvvvwbp,datatype_vvvvwbp,has_defaults_vvvvwbp); var datatype_vvvvwbp = jQuery("#jform_datatype").val();
vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp);
});
// #jform_datatype listeners for datatype_vvvvwbp function
jQuery('#jform_datatype').on('keyup',function()
{
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp);
}); });
@ -367,37 +276,16 @@ jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var datatype_vvvvwbq = jQuery("#jform_datatype").val(); var datatype_vvvvwbq = jQuery("#jform_datatype").val();
var store_vvvvwbq = jQuery("#jform_store").val();
var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbq(datatype_vvvvwbq,store_vvvvwbq,has_defaults_vvvvwbq); vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datatype_vvvvwbq = jQuery("#jform_datatype").val(); var datatype_vvvvwbq = jQuery("#jform_datatype").val();
var store_vvvvwbq = jQuery("#jform_store").val();
var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbq(datatype_vvvvwbq,store_vvvvwbq,has_defaults_vvvvwbq); vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq);
});
// #jform_store listeners for store_vvvvwbq function
jQuery('#jform_store').on('keyup',function()
{
var datatype_vvvvwbq = jQuery("#jform_datatype").val();
var store_vvvvwbq = jQuery("#jform_store").val();
var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbq(datatype_vvvvwbq,store_vvvvwbq,has_defaults_vvvvwbq);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var datatype_vvvvwbq = jQuery("#jform_datatype").val();
var store_vvvvwbq = jQuery("#jform_store").val();
var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbq(datatype_vvvvwbq,store_vvvvwbq,has_defaults_vvvvwbq);
}); });
@ -405,90 +293,202 @@ jQuery('#adminForm').on('change', '#jform_store',function (e)
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var datatype_vvvvwbq = jQuery("#jform_datatype").val(); var datatype_vvvvwbq = jQuery("#jform_datatype").val();
var store_vvvvwbq = jQuery("#jform_store").val();
var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbq(datatype_vvvvwbq,store_vvvvwbq,has_defaults_vvvvwbq); vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datatype_vvvvwbq = jQuery("#jform_datatype").val(); var datatype_vvvvwbq = jQuery("#jform_datatype").val();
var store_vvvvwbq = jQuery("#jform_store").val();
var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbq(datatype_vvvvwbq,store_vvvvwbq,has_defaults_vvvvwbq); vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq);
}); });
// #jform_has_defaults listeners for has_defaults_vvvvwbr function // #jform_store listeners for store_vvvvwbs function
jQuery('#jform_has_defaults').on('keyup',function()
{
var has_defaults_vvvvwbr = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbr = jQuery("#jform_store").val();
var datatype_vvvvwbr = jQuery("#jform_datatype").val();
vvvvwbr(has_defaults_vvvvwbr,store_vvvvwbr,datatype_vvvvwbr);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbr = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbr = jQuery("#jform_store").val();
var datatype_vvvvwbr = jQuery("#jform_datatype").val();
vvvvwbr(has_defaults_vvvvwbr,store_vvvvwbr,datatype_vvvvwbr);
});
// #jform_store listeners for store_vvvvwbr function
jQuery('#jform_store').on('keyup',function() jQuery('#jform_store').on('keyup',function()
{ {
var has_defaults_vvvvwbr = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var store_vvvvwbs = jQuery("#jform_store").val();
var store_vvvvwbr = jQuery("#jform_store").val(); var datatype_vvvvwbs = jQuery("#jform_datatype").val();
var datatype_vvvvwbr = jQuery("#jform_datatype").val(); var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbr(has_defaults_vvvvwbr,store_vvvvwbr,datatype_vvvvwbr); vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
}); });
jQuery('#adminForm').on('change', '#jform_store',function (e) jQuery('#adminForm').on('change', '#jform_store',function (e)
{ {
e.preventDefault(); e.preventDefault();
var has_defaults_vvvvwbr = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var store_vvvvwbs = jQuery("#jform_store").val();
var store_vvvvwbr = jQuery("#jform_store").val(); var datatype_vvvvwbs = jQuery("#jform_datatype").val();
var datatype_vvvvwbr = jQuery("#jform_datatype").val(); var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbr(has_defaults_vvvvwbr,store_vvvvwbr,datatype_vvvvwbr); vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
}); });
// #jform_datatype listeners for datatype_vvvvwbr function // #jform_datatype listeners for datatype_vvvvwbs function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var has_defaults_vvvvwbr = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var store_vvvvwbs = jQuery("#jform_store").val();
var store_vvvvwbr = jQuery("#jform_store").val(); var datatype_vvvvwbs = jQuery("#jform_datatype").val();
var datatype_vvvvwbr = jQuery("#jform_datatype").val(); var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbr(has_defaults_vvvvwbr,store_vvvvwbr,datatype_vvvvwbr); vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var has_defaults_vvvvwbr = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var store_vvvvwbs = jQuery("#jform_store").val();
var store_vvvvwbr = jQuery("#jform_store").val(); var datatype_vvvvwbs = jQuery("#jform_datatype").val();
var datatype_vvvvwbr = jQuery("#jform_datatype").val(); var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbr(has_defaults_vvvvwbr,store_vvvvwbr,datatype_vvvvwbr); vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
}); });
// #jform_has_defaults listeners for has_defaults_vvvvwbs function // #jform_has_defaults listeners for has_defaults_vvvvwbs function
jQuery('#jform_has_defaults').on('keyup',function() jQuery('#jform_has_defaults').on('keyup',function()
{ {
var store_vvvvwbs = jQuery("#jform_store").val();
var datatype_vvvvwbs = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbs(has_defaults_vvvvwbs); vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
}); });
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e) jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{ {
e.preventDefault(); e.preventDefault();
var store_vvvvwbs = jQuery("#jform_store").val();
var datatype_vvvvwbs = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val(); var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbs(has_defaults_vvvvwbs); vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
});
// #jform_datatype listeners for datatype_vvvvwbt function
jQuery('#jform_datatype').on('keyup',function()
{
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
var store_vvvvwbt = jQuery("#jform_store").val();
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
var store_vvvvwbt = jQuery("#jform_store").val();
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
});
// #jform_store listeners for store_vvvvwbt function
jQuery('#jform_store').on('keyup',function()
{
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
var store_vvvvwbt = jQuery("#jform_store").val();
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
var store_vvvvwbt = jQuery("#jform_store").val();
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbt function
jQuery('#jform_has_defaults').on('keyup',function()
{
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
var store_vvvvwbt = jQuery("#jform_store").val();
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
var store_vvvvwbt = jQuery("#jform_store").val();
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbu function
jQuery('#jform_has_defaults').on('keyup',function()
{
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbu = jQuery("#jform_store").val();
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbu = jQuery("#jform_store").val();
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
});
// #jform_store listeners for store_vvvvwbu function
jQuery('#jform_store').on('keyup',function()
{
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbu = jQuery("#jform_store").val();
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbu = jQuery("#jform_store").val();
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
});
// #jform_datatype listeners for datatype_vvvvwbu function
jQuery('#jform_datatype').on('keyup',function()
{
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbu = jQuery("#jform_store").val();
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var store_vvvvwbu = jQuery("#jform_store").val();
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbv function
jQuery('#jform_has_defaults').on('keyup',function()
{
var has_defaults_vvvvwbv = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbv(has_defaults_vvvvwbv);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var has_defaults_vvvvwbv = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbv(has_defaults_vvvvwbv);
}); });

View File

@ -57,7 +57,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->vxsfields = $this->get('Vxsfields'); $this->vxtfields = $this->get('Vxtfields');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -116,93 +116,93 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_location listeners for location_vvvvwcd function // #jform_location listeners for location_vvvvwcg function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var location_vvvvwcd = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvwcg = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwcd(location_vvvvwcd); vvvvwcg(location_vvvvwcg);
}); });
jQuery('#adminForm').on('change', '#jform_location',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var location_vvvvwcd = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvwcg = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwcd(location_vvvvwcd); vvvvwcg(location_vvvvwcg);
}); });
// #jform_location listeners for location_vvvvwce function // #jform_location listeners for location_vvvvwch function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var location_vvvvwce = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvwch = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwce(location_vvvvwce); vvvvwch(location_vvvvwch);
}); });
jQuery('#adminForm').on('change', '#jform_location',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var location_vvvvwce = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvwch = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwce(location_vvvvwce); vvvvwch(location_vvvvwch);
}); });
// #jform_type listeners for type_vvvvwcf function // #jform_type listeners for type_vvvvwci function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_vvvvwcf = jQuery("#jform_type").val(); var type_vvvvwci = jQuery("#jform_type").val();
vvvvwcf(type_vvvvwcf); vvvvwci(type_vvvvwci);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_vvvvwcf = jQuery("#jform_type").val(); var type_vvvvwci = jQuery("#jform_type").val();
vvvvwcf(type_vvvvwcf); vvvvwci(type_vvvvwci);
}); });
// #jform_type listeners for type_vvvvwcg function // #jform_type listeners for type_vvvvwcj function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_vvvvwcg = jQuery("#jform_type").val(); var type_vvvvwcj = jQuery("#jform_type").val();
vvvvwcg(type_vvvvwcg); vvvvwcj(type_vvvvwcj);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_vvvvwcg = jQuery("#jform_type").val(); var type_vvvvwcj = jQuery("#jform_type").val();
vvvvwcg(type_vvvvwcg); vvvvwcj(type_vvvvwcj);
}); });
// #jform_type listeners for type_vvvvwch function // #jform_type listeners for type_vvvvwck function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_vvvvwch = jQuery("#jform_type").val(); var type_vvvvwck = jQuery("#jform_type").val();
vvvvwch(type_vvvvwch); vvvvwck(type_vvvvwck);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_vvvvwch = jQuery("#jform_type").val(); var type_vvvvwck = jQuery("#jform_type").val();
vvvvwch(type_vvvvwch); vvvvwck(type_vvvvwck);
}); });
// #jform_target listeners for target_vvvvwci function // #jform_target listeners for target_vvvvwcl function
jQuery('#jform_target').on('keyup',function() jQuery('#jform_target').on('keyup',function()
{ {
var target_vvvvwci = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwcl = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwci(target_vvvvwci); vvvvwcl(target_vvvvwcl);
}); });
jQuery('#adminForm').on('change', '#jform_target',function (e) jQuery('#adminForm').on('change', '#jform_target',function (e)
{ {
e.preventDefault(); e.preventDefault();
var target_vvvvwci = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvwcl = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwci(target_vvvvwci); vvvvwcl(target_vvvvwcl);
}); });

View File

@ -44,23 +44,23 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<div id="componentbuilder_loader" style="display: none;"> <div id="componentbuilder_loader" style="display: none;">
<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='. (int) $this->item->id . $this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> <form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='. (int) $this->item->id . $this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
<?php echo JLayoutHelper::render('joomla_plugin.details_above', $this); ?> <?php echo JLayoutHelper::render('joomla_plugin.code_above', $this); ?>
<div class="form-horizontal"> <div class="form-horizontal">
<?php echo JHtml::_('bootstrap.startTabSet', 'joomla_pluginTab', array('active' => 'details')); ?> <?php echo JHtml::_('bootstrap.startTabSet', 'joomla_pluginTab', array('active' => 'code')); ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_pluginTab', 'details', JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_DETAILS', true)); ?> <?php echo JHtml::_('bootstrap.addTab', 'joomla_pluginTab', 'code', JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CODE', true)); ?>
<div class="row-fluid form-horizontal-desktop"> <div class="row-fluid form-horizontal-desktop">
<div class="span6"> <div class="span6">
<?php echo JLayoutHelper::render('joomla_plugin.details_left', $this); ?> <?php echo JLayoutHelper::render('joomla_plugin.code_left', $this); ?>
</div> </div>
<div class="span6"> <div class="span6">
<?php echo JLayoutHelper::render('joomla_plugin.details_right', $this); ?> <?php echo JLayoutHelper::render('joomla_plugin.code_right', $this); ?>
</div> </div>
</div> </div>
<div class="row-fluid form-horizontal-desktop"> <div class="row-fluid form-horizontal-desktop">
<div class="span12"> <div class="span12">
<?php echo JLayoutHelper::render('joomla_plugin.details_fullwidth', $this); ?> <?php echo JLayoutHelper::render('joomla_plugin.code_fullwidth', $this); ?>
</div> </div>
</div> </div>
<?php echo JHtml::_('bootstrap.endTab'); ?> <?php echo JHtml::_('bootstrap.endTab'); ?>
@ -191,6 +191,55 @@ jQuery('#adminForm').on('change', '#jform_class_extends',function (e)
}); });
// #jform_class_extends listeners for class_extends_vvvvvxd function
jQuery('#jform_class_extends').on('keyup',function()
{
var class_extends_vvvvvxd = jQuery("#jform_class_extends").val();
vvvvvxd(class_extends_vvvvvxd);
});
jQuery('#adminForm').on('change', '#jform_class_extends',function (e)
{
e.preventDefault();
var class_extends_vvvvvxd = jQuery("#jform_class_extends").val();
vvvvvxd(class_extends_vvvvvxd);
});
// #jform_add_head listeners for add_head_vvvvvxe function
jQuery('#jform_add_head').on('keyup',function()
{
var add_head_vvvvvxe = jQuery("#jform_add_head input[type='radio']:checked").val();
var class_extends_vvvvvxe = jQuery("#jform_class_extends").val();
vvvvvxe(add_head_vvvvvxe,class_extends_vvvvvxe);
});
jQuery('#adminForm').on('change', '#jform_add_head',function (e)
{
e.preventDefault();
var add_head_vvvvvxe = jQuery("#jform_add_head input[type='radio']:checked").val();
var class_extends_vvvvvxe = jQuery("#jform_class_extends").val();
vvvvvxe(add_head_vvvvvxe,class_extends_vvvvvxe);
});
// #jform_class_extends listeners for class_extends_vvvvvxe function
jQuery('#jform_class_extends').on('keyup',function()
{
var add_head_vvvvvxe = jQuery("#jform_add_head input[type='radio']:checked").val();
var class_extends_vvvvvxe = jQuery("#jform_class_extends").val();
vvvvvxe(add_head_vvvvvxe,class_extends_vvvvvxe);
});
jQuery('#adminForm').on('change', '#jform_class_extends',function (e)
{
e.preventDefault();
var add_head_vvvvvxe = jQuery("#jform_add_head input[type='radio']:checked").val();
var class_extends_vvvvvxe = jQuery("#jform_class_extends").val();
vvvvvxe(add_head_vvvvvxe,class_extends_vvvvvxe);
});
jQuery('#adminForm').on('change', '#jform_joomla_plugin_group',function (e) jQuery('#adminForm').on('change', '#jform_joomla_plugin_group',function (e)
@ -203,6 +252,11 @@ jQuery('#adminForm').on('change', '#jform_class_extends',function (e)
{ {
// load the active array values // load the active array values
getClassCodeIds('joomla_plugin_group', 'jform_class_extends', true); getClassCodeIds('joomla_plugin_group', 'jform_class_extends', true);
getClassHeaderCode();
});
jQuery('#adminForm').on('change', '#jform_add_head',function (e)
{
getClassHeaderCode();
}); });
<?php <?php

View File

@ -201,6 +201,10 @@ class ComponentbuilderViewJoomla_plugin extends JViewLegacy
$this->document->addScript( JURI::root(true) .'/media/com_componentbuilder/uikit-v2/js/uikit.min.js' , (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); $this->document->addScript( JURI::root(true) .'/media/com_componentbuilder/uikit-v2/js/uikit.min.js' , (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript');
$this->document->addScript( JURI::root(true) .'/media/com_componentbuilder/uikit-v2/js/components/lightbox.min.js', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('type' => 'text/javascript', 'async' => 'async') : true); $this->document->addScript( JURI::root(true) .'/media/com_componentbuilder/uikit-v2/js/components/lightbox.min.js', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('type' => 'text/javascript', 'async' => 'async') : true);
$this->document->addScript( JURI::root(true) .'/media/com_componentbuilder/uikit-v2/js/components/notify.min.js', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('type' => 'text/javascript', 'async' => 'async') : true); $this->document->addScript( JURI::root(true) .'/media/com_componentbuilder/uikit-v2/js/components/notify.min.js', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('type' => 'text/javascript', 'async' => 'async') : true);
// Add the JavaScript for JStore
$this->document->addScript(JURI::root() .'media/com_componentbuilder/js/jquery.json.min.js');
$this->document->addScript(JURI::root() .'media/com_componentbuilder/js/jstorage.min.js');
$this->document->addScript(JURI::root() .'media/com_componentbuilder/js/strtotime.js');
// add var key // add var key
$this->document->addScriptDeclaration("var vastDevMod = '" . $this->get('VDM') . "';"); $this->document->addScriptDeclaration("var vastDevMod = '" . $this->get('VDM') . "';");
// add return_here // add return_here
@ -211,6 +215,73 @@ class ComponentbuilderViewJoomla_plugin extends JViewLegacy
JText::script('COM_COMPONENTBUILDER_NO_RESULTS_MATCH'); JText::script('COM_COMPONENTBUILDER_NO_RESULTS_MATCH');
JText::script('COM_COMPONENTBUILDER_SELECT_A_PROPERTY'); JText::script('COM_COMPONENTBUILDER_SELECT_A_PROPERTY');
JText::script('COM_COMPONENTBUILDER_NO_DESCRIPTION_FOUND'); JText::script('COM_COMPONENTBUILDER_NO_DESCRIPTION_FOUND');
// check if we should use browser storage
$setBrowserStorage = $this->params->get('set_browser_storage', null);
if ($setBrowserStorage)
{
// check what (Time To Live) show we use
$storageTimeToLive = $this->params->get('storage_time_to_live', 'global');
if ('global' == $storageTimeToLive)
{
// use the global session time
$session = JFactory::getSession();
// must have itin milliseconds
$expire = ($session->getExpire()*60)* 1000;
}
else
{
// use the Componentbuilder Global setting
if (0 != $storageTimeToLive)
{
// this will convert the time into milliseconds
$storageTimeToLive = $storageTimeToLive * 1000;
}
$expire = $storageTimeToLive;
}
}
else
{
// set to use no storage
$expire = 30000; // only 30 seconds
}
// Set the Time To Live To JavaScript
$this->document->addScriptDeclaration("var expire = ". (int) $expire.";");
$this->document->addScriptDeclaration("selectionArray = {'property':{},'method':{}};");
// add a few field options via PHP
JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields');
$tmp_ = JFormHelper::loadFieldType('joomlaplugingroups')->options;
if (ComponentbuilderHelper::checkArray($tmp_))
{
$_tmp = array();
foreach ($tmp_ as $item)
{
$_tmp[$item->value] = $item->text;
}
// Set the values to JavaScript
$this->document->addScriptDeclaration("selectionArray['joomla_plugin_group'] = ". json_encode($_tmp) . ";");
}
$tmp_ = JFormHelper::loadFieldType('pluginsclassproperties')->options;
if (ComponentbuilderHelper::checkArray($tmp_))
{
$_tmp = array();
foreach ($tmp_ as $item)
{
$_tmp[$item->value] = $item->text;
}
// Set the values to JavaScript
$this->document->addScriptDeclaration("selectionArray['property'] = ". json_encode($_tmp) . ";");
}
$tmp_ = JFormHelper::loadFieldType('pluginsclassmethods')->options;
if (ComponentbuilderHelper::checkArray($tmp_))
{
$_tmp = array();
foreach ($tmp_ as $item)
{
$_tmp[$item->value] = $item->text;
}
// Set the values to JavaScript
$this->document->addScriptDeclaration("selectionArray['method'] = ". json_encode($_tmp) . ";");
}
JText::script('view not acceptable. Error'); JText::script('view not acceptable. Error');
} }
} }

View File

@ -63,12 +63,12 @@ $edit = "index.php?option=com_componentbuilder&view=joomla_plugins&task=joomla_p
<td class="nowrap"> <td class="nowrap">
<div class="name"> <div class="name">
<?php if ($canDo->get('joomla_plugin.edit')): ?> <?php if ($canDo->get('joomla_plugin.edit')): ?>
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->name); ?></a> <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->system_name); ?></a>
<?php if ($item->checked_out): ?> <?php if ($item->checked_out): ?>
<?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'joomla_plugins.', $canCheckin); ?> <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'joomla_plugins.', $canCheckin); ?>
<?php endif; ?> <?php endif; ?>
<?php else: ?> <?php else: ?>
<?php echo $this->escape($item->name); ?> <?php echo $this->escape($item->system_name); ?>
<?php endif; ?> <?php endif; ?>
</div> </div>
</td> </td>

View File

@ -30,7 +30,7 @@ defined('_JEXEC') or die('Restricted access');
</th> </th>
<?php endif; ?> <?php endif; ?>
<th class="nowrap" > <th class="nowrap" >
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_LABEL', 'name', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_LABEL', 'system_name', $this->listDirn, $this->listOrder); ?>
</th> </th>
<th class="nowrap" > <th class="nowrap" >
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS_LABEL', 'class_extends_name', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS_LABEL', 'class_extends_name', $this->listDirn, $this->listOrder); ?>

View File

@ -127,11 +127,6 @@ class ComponentbuilderViewJoomla_plugins extends JViewLegacy
elseif ($this->canState && $this->canDelete) elseif ($this->canState && $this->canDelete)
{ {
JToolbarHelper::trash('joomla_plugins.trash'); JToolbarHelper::trash('joomla_plugins.trash');
}
if ($this->canDo->get('core.export') && $this->canDo->get('joomla_plugin.export'))
{
JToolBarHelper::custom('joomla_plugins.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true);
} }
} }
if ($this->user->authorise('joomla_plugin.run_expansion', 'com_componentbuilder')) if ($this->user->authorise('joomla_plugin.run_expansion', 'com_componentbuilder'))
@ -153,11 +148,6 @@ class ComponentbuilderViewJoomla_plugins extends JViewLegacy
{ {
// add Properties button. // add Properties button.
JToolBarHelper::custom('joomla_plugins.openClassProperties', 'joomla', '', 'COM_COMPONENTBUILDER_PROPERTIES', false); JToolBarHelper::custom('joomla_plugins.openClassProperties', 'joomla', '', 'COM_COMPONENTBUILDER_PROPERTIES', false);
}
if ($this->canDo->get('core.import') && $this->canDo->get('joomla_plugin.import'))
{
JToolBarHelper::custom('joomla_plugins.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false);
} }
// set help url for this view if found // set help url for this view if found
@ -206,36 +196,6 @@ class ComponentbuilderViewJoomla_plugins extends JViewLegacy
); );
} }
// Set Name Selection
$this->nameOptions = $this->getTheNameSelections();
// We do some sanitation for Name filter
if (ComponentbuilderHelper::checkArray($this->nameOptions) &&
isset($this->nameOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->nameOptions[0]->value))
{
unset($this->nameOptions[0]);
}
// Only load Name filter if it has values
if (ComponentbuilderHelper::checkArray($this->nameOptions))
{
// Name Filter
JHtmlSidebar::addFilter(
'- Select '.JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_LABEL').' -',
'filter_name',
JHtml::_('select.options', $this->nameOptions, 'value', 'text', $this->state->get('filter.name'))
);
if ($this->canBatch && $this->canCreate && $this->canEdit)
{
// Name Batch Selection
JHtmlBatch_::addListSelection(
'- Keep Original '.JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_LABEL').' -',
'batch[name]',
JHtml::_('select.options', $this->nameOptions, 'value', 'text')
);
}
}
// Set Class Extends Name Selection // Set Class Extends Name Selection
$this->class_extendsNameOptions = JFormHelper::loadFieldType('Classextends')->options; $this->class_extendsNameOptions = JFormHelper::loadFieldType('Classextends')->options;
// We do some sanitation for Class Extends Name filter // We do some sanitation for Class Extends Name filter
@ -340,42 +300,10 @@ class ComponentbuilderViewJoomla_plugins extends JViewLegacy
return array( return array(
'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'),
'a.published' => JText::_('JSTATUS'), 'a.published' => JText::_('JSTATUS'),
'a.name' => JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_LABEL'), 'a.system_name' => JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_LABEL'),
'g.name' => JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS_LABEL'), 'g.name' => JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS_LABEL'),
'h.name' => JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_JOOMLA_PLUGIN_GROUP_LABEL'), 'h.name' => JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_JOOMLA_PLUGIN_GROUP_LABEL'),
'a.id' => JText::_('JGRID_HEADING_ID') 'a.id' => JText::_('JGRID_HEADING_ID')
); );
}
protected function getTheNameSelections()
{
// Get a db connection.
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true);
// Select the text.
$query->select($db->quoteName('name'));
$query->from($db->quoteName('#__componentbuilder_joomla_plugin'));
$query->order($db->quoteName('name') . ' ASC');
// Reset the query using our newly populated query object.
$db->setQuery($query);
$results = $db->loadColumn();
if ($results)
{
$results = array_unique($results);
$_filter = array();
foreach ($results as $name)
{
// Now add the name and its text to the options array
$_filter[] = JHtml::_('select.option', $name, $name);
}
return $_filter;
}
return false;
} }
} }

View File

@ -129,18 +129,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvzh function // #jform_add_php_view listeners for add_php_view_vvvvvzk function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvzh = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvzk = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzh(add_php_view_vvvvvzh); vvvvvzk(add_php_view_vvvvvzk);
}); });
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_vvvvvzh = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvzk = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzh(add_php_view_vvvvvzh); vvvvvzk(add_php_view_vvvvvzk);
}); });

View File

@ -146,51 +146,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_how listeners for how_vvvvwap function
jQuery('#jform_how').on('keyup',function()
{
var how_vvvvwap = jQuery("#jform_how").val();
vvvvwap(how_vvvvwap);
});
jQuery('#adminForm').on('change', '#jform_how',function (e)
{
e.preventDefault();
var how_vvvvwap = jQuery("#jform_how").val();
vvvvwap(how_vvvvwap);
});
// #jform_how listeners for how_vvvvwaq function
jQuery('#jform_how').on('keyup',function()
{
var how_vvvvwaq = jQuery("#jform_how").val();
vvvvwaq(how_vvvvwaq);
});
jQuery('#adminForm').on('change', '#jform_how',function (e)
{
e.preventDefault();
var how_vvvvwaq = jQuery("#jform_how").val();
vvvvwaq(how_vvvvwaq);
});
// #jform_how listeners for how_vvvvwar function
jQuery('#jform_how').on('keyup',function()
{
var how_vvvvwar = jQuery("#jform_how").val();
vvvvwar(how_vvvvwar);
});
jQuery('#adminForm').on('change', '#jform_how',function (e)
{
e.preventDefault();
var how_vvvvwar = jQuery("#jform_how").val();
vvvvwar(how_vvvvwar);
});
// #jform_how listeners for how_vvvvwas function // #jform_how listeners for how_vvvvwas function
jQuery('#jform_how').on('keyup',function() jQuery('#jform_how').on('keyup',function()
{ {
@ -251,18 +206,63 @@ jQuery('#adminForm').on('change', '#jform_how',function (e)
}); });
// #jform_type listeners for type_vvvvwaw function // #jform_how listeners for how_vvvvwaw function
jQuery('#jform_how').on('keyup',function()
{
var how_vvvvwaw = jQuery("#jform_how").val();
vvvvwaw(how_vvvvwaw);
});
jQuery('#adminForm').on('change', '#jform_how',function (e)
{
e.preventDefault();
var how_vvvvwaw = jQuery("#jform_how").val();
vvvvwaw(how_vvvvwaw);
});
// #jform_how listeners for how_vvvvwax function
jQuery('#jform_how').on('keyup',function()
{
var how_vvvvwax = jQuery("#jform_how").val();
vvvvwax(how_vvvvwax);
});
jQuery('#adminForm').on('change', '#jform_how',function (e)
{
e.preventDefault();
var how_vvvvwax = jQuery("#jform_how").val();
vvvvwax(how_vvvvwax);
});
// #jform_how listeners for how_vvvvway function
jQuery('#jform_how').on('keyup',function()
{
var how_vvvvway = jQuery("#jform_how").val();
vvvvway(how_vvvvway);
});
jQuery('#adminForm').on('change', '#jform_how',function (e)
{
e.preventDefault();
var how_vvvvway = jQuery("#jform_how").val();
vvvvway(how_vvvvway);
});
// #jform_type listeners for type_vvvvwaz function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_vvvvwaw = jQuery("#jform_type input[type='radio']:checked").val(); var type_vvvvwaz = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwaw(type_vvvvwaw); vvvvwaz(type_vvvvwaz);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_vvvvwaw = jQuery("#jform_type input[type='radio']:checked").val(); var type_vvvvwaz = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwaw(type_vvvvwaw); vvvvwaz(type_vvvvwaz);
}); });

View File

@ -125,67 +125,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_protocol listeners for protocol_vvvvwbt function // #jform_protocol listeners for protocol_vvvvwbw function
jQuery('#jform_protocol').on('keyup',function() jQuery('#jform_protocol').on('keyup',function()
{ {
var protocol_vvvvwbt = jQuery("#jform_protocol").val(); var protocol_vvvvwbw = jQuery("#jform_protocol").val();
vvvvwbt(protocol_vvvvwbt); vvvvwbw(protocol_vvvvwbw);
}); });
jQuery('#adminForm').on('change', '#jform_protocol',function (e) jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwbt = jQuery("#jform_protocol").val(); var protocol_vvvvwbw = jQuery("#jform_protocol").val();
vvvvwbt(protocol_vvvvwbt); vvvvwbw(protocol_vvvvwbw);
});
// #jform_protocol listeners for protocol_vvvvwbu function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
vvvvwbu(protocol_vvvvwbu);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
vvvvwbu(protocol_vvvvwbu);
});
// #jform_protocol listeners for protocol_vvvvwbv function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwbv = jQuery("#jform_protocol").val();
var authentication_vvvvwbv = jQuery("#jform_authentication").val();
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbv = jQuery("#jform_protocol").val();
var authentication_vvvvwbv = jQuery("#jform_authentication").val();
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv);
});
// #jform_authentication listeners for authentication_vvvvwbv function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwbv = jQuery("#jform_protocol").val();
var authentication_vvvvwbv = jQuery("#jform_authentication").val();
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwbv = jQuery("#jform_protocol").val();
var authentication_vvvvwbv = jQuery("#jform_authentication").val();
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv);
}); });
@ -193,101 +144,150 @@ jQuery('#adminForm').on('change', '#jform_authentication',function (e)
jQuery('#jform_protocol').on('keyup',function() jQuery('#jform_protocol').on('keyup',function()
{ {
var protocol_vvvvwbx = jQuery("#jform_protocol").val(); var protocol_vvvvwbx = jQuery("#jform_protocol").val();
var authentication_vvvvwbx = jQuery("#jform_authentication").val(); vvvvwbx(protocol_vvvvwbx);
vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx);
}); });
jQuery('#adminForm').on('change', '#jform_protocol',function (e) jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwbx = jQuery("#jform_protocol").val(); var protocol_vvvvwbx = jQuery("#jform_protocol").val();
var authentication_vvvvwbx = jQuery("#jform_authentication").val(); vvvvwbx(protocol_vvvvwbx);
vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx);
}); });
// #jform_authentication listeners for authentication_vvvvwbx function // #jform_protocol listeners for protocol_vvvvwby function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwbx = jQuery("#jform_protocol").val();
var authentication_vvvvwbx = jQuery("#jform_authentication").val();
vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwbx = jQuery("#jform_protocol").val();
var authentication_vvvvwbx = jQuery("#jform_authentication").val();
vvvvwbx(protocol_vvvvwbx,authentication_vvvvwbx);
});
// #jform_protocol listeners for protocol_vvvvwbz function
jQuery('#jform_protocol').on('keyup',function() jQuery('#jform_protocol').on('keyup',function()
{ {
var protocol_vvvvwbz = jQuery("#jform_protocol").val(); var protocol_vvvvwby = jQuery("#jform_protocol").val();
var authentication_vvvvwbz = jQuery("#jform_authentication").val(); var authentication_vvvvwby = jQuery("#jform_authentication").val();
vvvvwbz(protocol_vvvvwbz,authentication_vvvvwbz); vvvvwby(protocol_vvvvwby,authentication_vvvvwby);
}); });
jQuery('#adminForm').on('change', '#jform_protocol',function (e) jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwbz = jQuery("#jform_protocol").val(); var protocol_vvvvwby = jQuery("#jform_protocol").val();
var authentication_vvvvwbz = jQuery("#jform_authentication").val(); var authentication_vvvvwby = jQuery("#jform_authentication").val();
vvvvwbz(protocol_vvvvwbz,authentication_vvvvwbz); vvvvwby(protocol_vvvvwby,authentication_vvvvwby);
}); });
// #jform_authentication listeners for authentication_vvvvwbz function // #jform_authentication listeners for authentication_vvvvwby function
jQuery('#jform_authentication').on('keyup',function() jQuery('#jform_authentication').on('keyup',function()
{ {
var protocol_vvvvwbz = jQuery("#jform_protocol").val(); var protocol_vvvvwby = jQuery("#jform_protocol").val();
var authentication_vvvvwbz = jQuery("#jform_authentication").val(); var authentication_vvvvwby = jQuery("#jform_authentication").val();
vvvvwbz(protocol_vvvvwbz,authentication_vvvvwbz); vvvvwby(protocol_vvvvwby,authentication_vvvvwby);
}); });
jQuery('#adminForm').on('change', '#jform_authentication',function (e) jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwbz = jQuery("#jform_protocol").val(); var protocol_vvvvwby = jQuery("#jform_protocol").val();
var authentication_vvvvwbz = jQuery("#jform_authentication").val(); var authentication_vvvvwby = jQuery("#jform_authentication").val();
vvvvwbz(protocol_vvvvwbz,authentication_vvvvwbz); vvvvwby(protocol_vvvvwby,authentication_vvvvwby);
}); });
// #jform_protocol listeners for protocol_vvvvwcb function // #jform_protocol listeners for protocol_vvvvwca function
jQuery('#jform_protocol').on('keyup',function() jQuery('#jform_protocol').on('keyup',function()
{ {
var protocol_vvvvwcb = jQuery("#jform_protocol").val(); var protocol_vvvvwca = jQuery("#jform_protocol").val();
var authentication_vvvvwcb = jQuery("#jform_authentication").val(); var authentication_vvvvwca = jQuery("#jform_authentication").val();
vvvvwcb(protocol_vvvvwcb,authentication_vvvvwcb); vvvvwca(protocol_vvvvwca,authentication_vvvvwca);
}); });
jQuery('#adminForm').on('change', '#jform_protocol',function (e) jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwcb = jQuery("#jform_protocol").val(); var protocol_vvvvwca = jQuery("#jform_protocol").val();
var authentication_vvvvwcb = jQuery("#jform_authentication").val(); var authentication_vvvvwca = jQuery("#jform_authentication").val();
vvvvwcb(protocol_vvvvwcb,authentication_vvvvwcb); vvvvwca(protocol_vvvvwca,authentication_vvvvwca);
}); });
// #jform_authentication listeners for authentication_vvvvwcb function // #jform_authentication listeners for authentication_vvvvwca function
jQuery('#jform_authentication').on('keyup',function() jQuery('#jform_authentication').on('keyup',function()
{ {
var protocol_vvvvwcb = jQuery("#jform_protocol").val(); var protocol_vvvvwca = jQuery("#jform_protocol").val();
var authentication_vvvvwcb = jQuery("#jform_authentication").val(); var authentication_vvvvwca = jQuery("#jform_authentication").val();
vvvvwcb(protocol_vvvvwcb,authentication_vvvvwcb); vvvvwca(protocol_vvvvwca,authentication_vvvvwca);
}); });
jQuery('#adminForm').on('change', '#jform_authentication',function (e) jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{ {
e.preventDefault(); e.preventDefault();
var protocol_vvvvwcb = jQuery("#jform_protocol").val(); var protocol_vvvvwca = jQuery("#jform_protocol").val();
var authentication_vvvvwcb = jQuery("#jform_authentication").val(); var authentication_vvvvwca = jQuery("#jform_authentication").val();
vvvvwcb(protocol_vvvvwcb,authentication_vvvvwcb); vvvvwca(protocol_vvvvwca,authentication_vvvvwca);
});
// #jform_protocol listeners for protocol_vvvvwcc function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwcc = jQuery("#jform_protocol").val();
var authentication_vvvvwcc = jQuery("#jform_authentication").val();
vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwcc = jQuery("#jform_protocol").val();
var authentication_vvvvwcc = jQuery("#jform_authentication").val();
vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc);
});
// #jform_authentication listeners for authentication_vvvvwcc function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwcc = jQuery("#jform_protocol").val();
var authentication_vvvvwcc = jQuery("#jform_authentication").val();
vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwcc = jQuery("#jform_protocol").val();
var authentication_vvvvwcc = jQuery("#jform_authentication").val();
vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc);
});
// #jform_protocol listeners for protocol_vvvvwce function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwce = jQuery("#jform_protocol").val();
var authentication_vvvvwce = jQuery("#jform_authentication").val();
vvvvwce(protocol_vvvvwce,authentication_vvvvwce);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwce = jQuery("#jform_protocol").val();
var authentication_vvvvwce = jQuery("#jform_authentication").val();
vvvvwce(protocol_vvvvwce,authentication_vvvvwce);
});
// #jform_authentication listeners for authentication_vvvvwce function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwce = jQuery("#jform_protocol").val();
var authentication_vvvvwce = jQuery("#jform_authentication").val();
vvvvwce(protocol_vvvvwce,authentication_vvvvwce);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwce = jQuery("#jform_protocol").val();
var authentication_vvvvwce = jQuery("#jform_authentication").val();
vvvvwce(protocol_vvvvwce,authentication_vvvvwce);
}); });

View File

@ -57,7 +57,7 @@ class ComponentbuilderViewServer extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->vyclinked_components = $this->get('Vyclinked_components'); $this->vydlinked_components = $this->get('Vydlinked_components');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -166,168 +166,168 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvyv function // #jform_add_php_view listeners for add_php_view_vvvvvyy function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvyv = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyy = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyv(add_php_view_vvvvvyv); vvvvvyy(add_php_view_vvvvvyy);
}); });
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_vvvvvyv = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvyy = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyv(add_php_view_vvvvvyv); vvvvvyy(add_php_view_vvvvvyy);
}); });
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyw function // #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyz function
jQuery('#jform_add_php_jview_display').on('keyup',function() jQuery('#jform_add_php_jview_display').on('keyup',function()
{ {
var add_php_jview_display_vvvvvyw = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyz = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyw(add_php_jview_display_vvvvvyw); vvvvvyz(add_php_jview_display_vvvvvyz);
}); });
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_vvvvvyw = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvyz = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyw(add_php_jview_display_vvvvvyw); vvvvvyz(add_php_jview_display_vvvvvyz);
}); });
// #jform_add_php_jview listeners for add_php_jview_vvvvvyx function // #jform_add_php_jview listeners for add_php_jview_vvvvvza function
jQuery('#jform_add_php_jview').on('keyup',function() jQuery('#jform_add_php_jview').on('keyup',function()
{ {
var add_php_jview_vvvvvyx = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvza = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyx(add_php_jview_vvvvvyx); vvvvvza(add_php_jview_vvvvvza);
}); });
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_vvvvvyx = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvza = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyx(add_php_jview_vvvvvyx); vvvvvza(add_php_jview_vvvvvza);
}); });
// #jform_add_php_document listeners for add_php_document_vvvvvyy function // #jform_add_php_document listeners for add_php_document_vvvvvzb function
jQuery('#jform_add_php_document').on('keyup',function() jQuery('#jform_add_php_document').on('keyup',function()
{ {
var add_php_document_vvvvvyy = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvzb = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyy(add_php_document_vvvvvyy); vvvvvzb(add_php_document_vvvvvzb);
}); });
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_vvvvvyy = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvzb = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyy(add_php_document_vvvvvyy); vvvvvzb(add_php_document_vvvvvzb);
}); });
// #jform_add_css_document listeners for add_css_document_vvvvvyz function // #jform_add_css_document listeners for add_css_document_vvvvvzc function
jQuery('#jform_add_css_document').on('keyup',function() jQuery('#jform_add_css_document').on('keyup',function()
{ {
var add_css_document_vvvvvyz = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvzc = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyz(add_css_document_vvvvvyz); vvvvvzc(add_css_document_vvvvvzc);
}); });
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_vvvvvyz = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvzc = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyz(add_css_document_vvvvvyz); vvvvvzc(add_css_document_vvvvvzc);
}); });
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvza function // #jform_add_javascript_file listeners for add_javascript_file_vvvvvzd function
jQuery('#jform_add_javascript_file').on('keyup',function() jQuery('#jform_add_javascript_file').on('keyup',function()
{ {
var add_javascript_file_vvvvvza = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvzd = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvza(add_javascript_file_vvvvvza); vvvvvzd(add_javascript_file_vvvvvzd);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_file_vvvvvza = jQuery("#jform_add_javascript_file input[type='radio']:checked").val(); var add_javascript_file_vvvvvzd = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvza(add_javascript_file_vvvvvza); vvvvvzd(add_javascript_file_vvvvvzd);
}); });
// #jform_add_js_document listeners for add_js_document_vvvvvzb function // #jform_add_js_document listeners for add_js_document_vvvvvze function
jQuery('#jform_add_js_document').on('keyup',function() jQuery('#jform_add_js_document').on('keyup',function()
{ {
var add_js_document_vvvvvzb = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvze = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvzb(add_js_document_vvvvvzb); vvvvvze(add_js_document_vvvvvze);
}); });
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_vvvvvzb = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvze = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvzb(add_js_document_vvvvvzb); vvvvvze(add_js_document_vvvvvze);
}); });
// #jform_add_css listeners for add_css_vvvvvzc function // #jform_add_css listeners for add_css_vvvvvzf function
jQuery('#jform_add_css').on('keyup',function() jQuery('#jform_add_css').on('keyup',function()
{ {
var add_css_vvvvvzc = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvzf = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvzc(add_css_vvvvvzc); vvvvvzf(add_css_vvvvvzf);
}); });
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_vvvvvzc = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvzf = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvzc(add_css_vvvvvzc); vvvvvzf(add_css_vvvvvzf);
}); });
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvzd function // #jform_add_php_ajax listeners for add_php_ajax_vvvvvzg function
jQuery('#jform_add_php_ajax').on('keyup',function() jQuery('#jform_add_php_ajax').on('keyup',function()
{ {
var add_php_ajax_vvvvvzd = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvzg = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvzd(add_php_ajax_vvvvvzd); vvvvvzg(add_php_ajax_vvvvvzg);
}); });
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_vvvvvzd = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvzg = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvzd(add_php_ajax_vvvvvzd); vvvvvzg(add_php_ajax_vvvvvzg);
}); });
// #jform_add_custom_button listeners for add_custom_button_vvvvvze function // #jform_add_custom_button listeners for add_custom_button_vvvvvzh function
jQuery('#jform_add_custom_button').on('keyup',function() jQuery('#jform_add_custom_button').on('keyup',function()
{ {
var add_custom_button_vvvvvze = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvzh = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvze(add_custom_button_vvvvvze); vvvvvzh(add_custom_button_vvvvvzh);
}); });
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_vvvvvze = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvzh = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvze(add_custom_button_vvvvvze); vvvvvzh(add_custom_button_vvvvvzh);
}); });
// #jform_button_position listeners for button_position_vvvvvzf function // #jform_button_position listeners for button_position_vvvvvzi function
jQuery('#jform_button_position').on('keyup',function() jQuery('#jform_button_position').on('keyup',function()
{ {
var button_position_vvvvvzf = jQuery("#jform_button_position").val(); var button_position_vvvvvzi = jQuery("#jform_button_position").val();
vvvvvzf(button_position_vvvvvzf); vvvvvzi(button_position_vvvvvzi);
}); });
jQuery('#adminForm').on('change', '#jform_button_position',function (e) jQuery('#adminForm').on('change', '#jform_button_position',function (e)
{ {
e.preventDefault(); e.preventDefault();
var button_position_vvvvvzf = jQuery("#jform_button_position").val(); var button_position_vvvvvzi = jQuery("#jform_button_position").val();
vvvvvzf(button_position_vvvvvzf); vvvvvzi(button_position_vvvvvzi);
}); });

View File

@ -129,18 +129,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvzg function // #jform_add_php_view listeners for add_php_view_vvvvvzj function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvzg = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvzj = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzg(add_php_view_vvvvvzg); vvvvvzj(add_php_view_vvvvvzj);
}); });
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_vvvvvzg = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvzj = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzg(add_php_view_vvvvvzg); vvvvvzj(add_php_view_vvvvvzj);
}); });

View File

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

View File

@ -721,7 +721,7 @@
<version>2.9.31</version> <version>2.9.31</version>
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl> <infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
<downloads> <downloads>
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.33/JCB_v2.9.33.zip</downloadurl> <downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.34/JCB_v2.9.34.zip</downloadurl>
</downloads> </downloads>
<tags> <tags>
<tag>stable</tag> <tag>stable</tag>
@ -738,7 +738,7 @@
<version>2.9.32</version> <version>2.9.32</version>
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl> <infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
<downloads> <downloads>
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.33/JCB_v2.9.33.zip</downloadurl> <downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.34/JCB_v2.9.34.zip</downloadurl>
</downloads> </downloads>
<tags> <tags>
<tag>stable</tag> <tag>stable</tag>
@ -755,7 +755,24 @@
<version>2.9.33</version> <version>2.9.33</version>
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl> <infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
<downloads> <downloads>
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.33/JCB_v2.9.33.zip</downloadurl> <downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.34/JCB_v2.9.34.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Llewellyn van der Merwe</maintainer>
<maintainerurl>http://www.joomlacomponentbuilder.com</maintainerurl>
<targetplatform name="joomla" version="3.*"/>
</update>
<update>
<name>Component Builder</name>
<description>Builds Complex Joomla Components</description>
<element>com_componentbuilder</element>
<type>component</type>
<version>2.9.34</version>
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.34/JCB_v2.9.34.zip</downloadurl>
</downloads> </downloads>
<tags> <tags>
<tag>stable</tag> <tag>stable</tag>

View File

@ -4208,9 +4208,9 @@ class com_componentbuilderInstallerScript
$joomla_plugin->type_title = 'Componentbuilder Joomla_plugin'; $joomla_plugin->type_title = 'Componentbuilder Joomla_plugin';
$joomla_plugin->type_alias = 'com_componentbuilder.joomla_plugin'; $joomla_plugin->type_alias = 'com_componentbuilder.joomla_plugin';
$joomla_plugin->table = '{"special": {"dbtable": "#__componentbuilder_joomla_plugin","key": "id","type": "Joomla_plugin","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; $joomla_plugin->table = '{"special": {"dbtable": "#__componentbuilder_joomla_plugin","key": "id","type": "Joomla_plugin","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
$joomla_plugin->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "main_class_code","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","class_extends":"class_extends","joomla_plugin_group":"joomla_plugin_group","main_class_code":"main_class_code"}}'; $joomla_plugin->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "system_name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "main_class_code","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","class_extends":"class_extends","joomla_plugin_group":"joomla_plugin_group","main_class_code":"main_class_code","head":"head","add_head":"add_head","name":"name"}}';
$joomla_plugin->router = 'ComponentbuilderHelperRoute::getJoomla_pluginRoute'; $joomla_plugin->router = 'ComponentbuilderHelperRoute::getJoomla_pluginRoute';
$joomla_plugin->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_plugin.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","class_extends","joomla_plugin_group"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "class_extends","targetTable": "#__componentbuilder_class_extends","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "joomla_plugin_group","targetTable": "#__componentbuilder_joomla_plugin_group","targetColumn": "id","displayColumn": "name"}]}'; $joomla_plugin->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_plugin.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","class_extends","joomla_plugin_group","add_head"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "class_extends","targetTable": "#__componentbuilder_class_extends","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "joomla_plugin_group","targetTable": "#__componentbuilder_joomla_plugin_group","targetColumn": "id","displayColumn": "name"}]}';
// Set the object into the content types table. // Set the object into the content types table.
$joomla_plugin_Inserted = $db->insertObject('#__content_types', $joomla_plugin); $joomla_plugin_Inserted = $db->insertObject('#__content_types', $joomla_plugin);
@ -4712,7 +4712,7 @@ class com_componentbuilderInstallerScript
$query = $db->getQuery(true); $query = $db->getQuery(true);
// Field to update. // Field to update.
$fields = array( $fields = array(
$db->quoteName('params') . ' = ' . $db->quote('{"autorName":"Llewellyn van der Merwe","autorEmail":"llewellyn@joomlacomponentbuilder.com","editor":"none","manage_jcb_package_directories":"2","add_menu_prefix":"1","menu_prefix":"»","minify":"0","set_browser_storage":"1","storage_time_to_live":"global","language":"en-GB","percentagelanguageadd":"50","compiler_field_builder_type":"2","field_name_builder":"1","development_method":"1","expansion":"0","return_options_build":"2","cronjob_backup_type":"1","cronjob_backup_server":"0","backup_package_name":"JCB_Backup_[YEAR]_[MONTH]_[DAY]","export_license":"GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html","export_copyright":"Copyright (C) 2015. All Rights Reserved","check_in":"-1 day","save_history":"1","history_limit":"10","uikit_load":"1","uikit_min":"","uikit_style":""}'), $db->quoteName('params') . ' = ' . $db->quote('{"autorName":"Llewellyn van der Merwe","autorEmail":"llewellyn@joomlacomponentbuilder.com","editor":"none","manage_jcb_package_directories":"2","add_menu_prefix":"1","menu_prefix":"»","minify":"0","set_browser_storage":"1","storage_time_to_live":"global","language":"en-GB","percentagelanguageadd":"50","compiler_field_builder_type":"2","field_name_builder":"1","type_name_builder":"1","development_method":"1","expansion":"0","return_options_build":"2","cronjob_backup_type":"1","cronjob_backup_server":"0","backup_package_name":"JCB_Backup_[YEAR]_[MONTH]_[DAY]","export_license":"GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html","export_copyright":"Copyright (C) 2015. All Rights Reserved","check_in":"-1 day","save_history":"1","history_limit":"10","uikit_load":"1","uikit_min":"","uikit_style":""}'),
); );
// Condition. // Condition.
$conditions = array( $conditions = array(
@ -4767,9 +4767,9 @@ class com_componentbuilderInstallerScript
$joomla_plugin->type_title = 'Componentbuilder Joomla_plugin'; $joomla_plugin->type_title = 'Componentbuilder Joomla_plugin';
$joomla_plugin->type_alias = 'com_componentbuilder.joomla_plugin'; $joomla_plugin->type_alias = 'com_componentbuilder.joomla_plugin';
$joomla_plugin->table = '{"special": {"dbtable": "#__componentbuilder_joomla_plugin","key": "id","type": "Joomla_plugin","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; $joomla_plugin->table = '{"special": {"dbtable": "#__componentbuilder_joomla_plugin","key": "id","type": "Joomla_plugin","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
$joomla_plugin->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "main_class_code","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","class_extends":"class_extends","joomla_plugin_group":"joomla_plugin_group","main_class_code":"main_class_code"}}'; $joomla_plugin->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "system_name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "main_class_code","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","class_extends":"class_extends","joomla_plugin_group":"joomla_plugin_group","main_class_code":"main_class_code","head":"head","add_head":"add_head","name":"name"}}';
$joomla_plugin->router = 'ComponentbuilderHelperRoute::getJoomla_pluginRoute'; $joomla_plugin->router = 'ComponentbuilderHelperRoute::getJoomla_pluginRoute';
$joomla_plugin->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_plugin.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","class_extends","joomla_plugin_group"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "class_extends","targetTable": "#__componentbuilder_class_extends","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "joomla_plugin_group","targetTable": "#__componentbuilder_joomla_plugin_group","targetColumn": "id","displayColumn": "name"}]}'; $joomla_plugin->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_plugin.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","class_extends","joomla_plugin_group","add_head"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "class_extends","targetTable": "#__componentbuilder_class_extends","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "joomla_plugin_group","targetTable": "#__componentbuilder_joomla_plugin_group","targetColumn": "id","displayColumn": "name"}]}';
// Check if joomla_plugin type is already in content_type DB. // Check if joomla_plugin type is already in content_type DB.
$joomla_plugin_id = null; $joomla_plugin_id = null;
@ -6188,7 +6188,7 @@ class com_componentbuilderInstallerScript
echo '<a target="_blank" href="http://www.joomlacomponentbuilder.com" title="Component Builder"> echo '<a target="_blank" href="http://www.joomlacomponentbuilder.com" title="Component Builder">
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/> <img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
</a> </a>
<h3>Upgrade to Version 2.9.33 Was Successful! Let us know if anything is not working as expected.</h3>'; <h3>Upgrade to Version 2.9.34 Was Successful! Let us know if anything is not working as expected.</h3>';
} }
} }

View File

@ -712,6 +712,48 @@ abstract class ComponentbuilderHelper
return self::safeString($string); return self::safeString($string);
} }
/**
* The type builder switch
**/
protected static $typeNameBuilder = false;
/**
* Making field type name safe
*
* @input string The you would like to make safe
*
* @returns string on success
**/
public static function safeTypeName($string)
{
// get global value
if (self::$typeNameBuilder === false)
{
self::$typeNameBuilder = JComponentHelper::getParams('com_componentbuilder')->get('type_name_builder', 1);
}
// use the new convention
if (2 == self::$typeNameBuilder)
{
// 0nly continue if we have a string
if (self::checkString($string))
{
// check that the first character is not a number
if (is_numeric(substr($string, 0, 1)))
{
$string = self::replaceNumbers($string);
}
// remove all and keep only characters and numbers and point (TODO just one point)
$string = trim(preg_replace("/[^A-Za-z0-9\.]/", '', $string));
// best is to return lower (for all string equality in compiler)
return strtolower($string);
}
// not a string
return '';
}
// use the default (original behaviour/convention)
return self::safeString($string);
}
/* /*
* Get the Array of Existing Validation Rule Names * Get the Array of Existing Validation Rule Names
* *