diff --git a/README.md b/README.md
index 14829e7f9..91045a102 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
-You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.10.4) 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.10.5) 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)
@@ -144,11 +144,11 @@ TODO
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 9th November, 2019
-+ *Version*: 2.10.4
++ *Version*: 2.10.5
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
-+ *Line count*: **255944**
-+ *Field count*: **1350**
++ *Line count*: **255982**
++ *Field count*: **1351**
+ *File count*: **1614**
+ *Folder count*: **256**
diff --git a/admin/README.txt b/admin/README.txt
index 14829e7f9..91045a102 100644
--- a/admin/README.txt
+++ b/admin/README.txt
@@ -11,7 +11,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
-You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.10.4) 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.10.5) 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)
@@ -144,11 +144,11 @@ TODO
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 9th November, 2019
-+ *Version*: 2.10.4
++ *Version*: 2.10.5
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
-+ *Line count*: **255944**
-+ *Field count*: **1350**
++ *Line count*: **255982**
++ *Field count*: **1351**
+ *File count*: **1614**
+ *Folder count*: **256**
diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini
index 7a57aa860..e74b21dc7 100644
--- a/admin/language/en-GB/en-GB.com_componentbuilder.ini
+++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini
@@ -7050,6 +7050,8 @@ COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_DESCRIPTION="There is no be
COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_LABEL="No Behaviour"
COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_DESCRIPTION="There is no behaviour set for this library. This means JCB will not add any files unless you custom code it in somewhere."
COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_LABEL="No Behaviour"
+COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_LIBRARY_DESCRIPTION="We are working on this feature it is not yet ready, but soon enough you will be able to build real Joomla library integration here."
+COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_LIBRARY_LABEL="Set Behaviour"
COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_DESCRIPTION="All the library files linked to this library will always be added to a view if linked to the view."
COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_LABEL="Set Behaviour"
COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_DESCRIPTION="All the library files linked to this library will always be added to a view if linked to the view."
diff --git a/admin/layouts/library/behaviour_fullwidth.php b/admin/layouts/library/behaviour_fullwidth.php
index fb59668b7..7d89d8c10 100644
--- a/admin/layouts/library/behaviour_fullwidth.php
+++ b/admin/layouts/library/behaviour_fullwidth.php
@@ -29,6 +29,7 @@ $fields = $displayData->get($fields_tab_layout) ?: array(
'note_no_behaviour_one',
'note_yes_behaviour_one',
'note_build_in_behaviour_one',
+ 'note_yes_behaviour_library',
'addconditions',
'php_setdocument'
);
diff --git a/admin/models/forms/field.js b/admin/models/forms/field.js
index 49334681d..69e2fef36 100644
--- a/admin/models/forms/field.js
+++ b/admin/models/forms/field.js
@@ -9,31 +9,28 @@
*/
// Some Global Values
-jform_vvvvwccvxn_required = false;
-jform_vvvvwcdvxo_required = false;
-jform_vvvvwcevxp_required = false;
-jform_vvvvwcfvxq_required = false;
-jform_vvvvwcgvxr_required = false;
-jform_vvvvwcjvxs_required = false;
-jform_vvvvwcjvxt_required = false;
-jform_vvvvwcjvxu_required = false;
-jform_vvvvwcjvxv_required = false;
-jform_vvvvwckvxw_required = false;
-jform_vvvvwckvxx_required = false;
-jform_vvvvwckvxy_required = false;
-jform_vvvvwckvxz_required = false;
+jform_vvvvwcdvxn_required = false;
+jform_vvvvwcevxo_required = false;
+jform_vvvvwcfvxp_required = false;
+jform_vvvvwcgvxq_required = false;
+jform_vvvvwchvxr_required = false;
+jform_vvvvwckvxs_required = false;
+jform_vvvvwckvxt_required = false;
+jform_vvvvwckvxu_required = false;
+jform_vvvvwckvxv_required = false;
+jform_vvvvwclvxw_required = false;
+jform_vvvvwclvxx_required = false;
+jform_vvvvwclvxy_required = false;
+jform_vvvvwclvxz_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var datalenght_vvvvwcc = jQuery("#jform_datalenght").val();
- vvvvwcc(datalenght_vvvvwcc);
+ var datalenght_vvvvwcd = jQuery("#jform_datalenght").val();
+ vvvvwcd(datalenght_vvvvwcd);
- var datadefault_vvvvwcd = jQuery("#jform_datadefault").val();
- vvvvwcd(datadefault_vvvvwcd);
-
- var datatype_vvvvwce = jQuery("#jform_datatype").val();
- vvvvwce(datatype_vvvvwce);
+ var datadefault_vvvvwce = jQuery("#jform_datadefault").val();
+ vvvvwce(datadefault_vvvvwce);
var datatype_vvvvwcf = jQuery("#jform_datatype").val();
vvvvwcf(datatype_vvvvwcf);
@@ -41,45 +38,48 @@ jQuery(document).ready(function()
var datatype_vvvvwcg = jQuery("#jform_datatype").val();
vvvvwcg(datatype_vvvvwcg);
- var store_vvvvwch = jQuery("#jform_store").val();
var datatype_vvvvwch = jQuery("#jform_datatype").val();
- vvvvwch(store_vvvvwch,datatype_vvvvwch);
+ vvvvwch(datatype_vvvvwch);
- var store_vvvvwcj = jQuery("#jform_store").val();
- var datatype_vvvvwcj = jQuery("#jform_datatype").val();
- vvvvwcj(store_vvvvwcj,datatype_vvvvwcj);
+ var store_vvvvwci = jQuery("#jform_store").val();
+ var datatype_vvvvwci = jQuery("#jform_datatype").val();
+ vvvvwci(store_vvvvwci,datatype_vvvvwci);
- var datatype_vvvvwck = jQuery("#jform_datatype").val();
var store_vvvvwck = jQuery("#jform_store").val();
- vvvvwck(datatype_vvvvwck,store_vvvvwck);
+ var datatype_vvvvwck = jQuery("#jform_datatype").val();
+ vvvvwck(store_vvvvwck,datatype_vvvvwck);
- var add_css_view_vvvvwcl = jQuery("#jform_add_css_view input[type='radio']:checked").val();
- vvvvwcl(add_css_view_vvvvwcl);
+ var datatype_vvvvwcl = jQuery("#jform_datatype").val();
+ var store_vvvvwcl = jQuery("#jform_store").val();
+ vvvvwcl(datatype_vvvvwcl,store_vvvvwcl);
- var add_css_views_vvvvwcm = jQuery("#jform_add_css_views input[type='radio']:checked").val();
- vvvvwcm(add_css_views_vvvvwcm);
+ var add_css_view_vvvvwcm = jQuery("#jform_add_css_view input[type='radio']:checked").val();
+ vvvvwcm(add_css_view_vvvvwcm);
- var add_javascript_view_footer_vvvvwcn = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
- vvvvwcn(add_javascript_view_footer_vvvvwcn);
+ var add_css_views_vvvvwcn = jQuery("#jform_add_css_views input[type='radio']:checked").val();
+ vvvvwcn(add_css_views_vvvvwcn);
- var add_javascript_views_footer_vvvvwco = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
- vvvvwco(add_javascript_views_footer_vvvvwco);
+ var add_javascript_view_footer_vvvvwco = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
+ vvvvwco(add_javascript_view_footer_vvvvwco);
+
+ var add_javascript_views_footer_vvvvwcp = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
+ vvvvwcp(add_javascript_views_footer_vvvvwcp);
});
-// the vvvvwcc function
-function vvvvwcc(datalenght_vvvvwcc)
+// the vvvvwcd function
+function vvvvwcd(datalenght_vvvvwcd)
{
- if (isSet(datalenght_vvvvwcc) && datalenght_vvvvwcc.constructor !== Array)
+ if (isSet(datalenght_vvvvwcd) && datalenght_vvvvwcd.constructor !== Array)
{
- var temp_vvvvwcc = datalenght_vvvvwcc;
- var datalenght_vvvvwcc = [];
- datalenght_vvvvwcc.push(temp_vvvvwcc);
+ var temp_vvvvwcd = datalenght_vvvvwcd;
+ var datalenght_vvvvwcd = [];
+ datalenght_vvvvwcd.push(temp_vvvvwcd);
}
- else if (!isSet(datalenght_vvvvwcc))
+ else if (!isSet(datalenght_vvvvwcd))
{
- var datalenght_vvvvwcc = [];
+ var datalenght_vvvvwcd = [];
}
- var datalenght = datalenght_vvvvwcc.some(datalenght_vvvvwcc_SomeFunc);
+ var datalenght = datalenght_vvvvwcd.some(datalenght_vvvvwcd_SomeFunc);
// set this function logic
@@ -87,91 +87,35 @@ function vvvvwcc(datalenght_vvvvwcc)
{
jQuery('#jform_datalenght_other').closest('.control-group').show();
// add required attribute to datalenght_other field
- if (jform_vvvvwccvxn_required)
+ if (jform_vvvvwcdvxn_required)
{
updateFieldRequired('datalenght_other',0);
jQuery('#jform_datalenght_other').prop('required','required');
jQuery('#jform_datalenght_other').attr('aria-required',true);
jQuery('#jform_datalenght_other').addClass('required');
- jform_vvvvwccvxn_required = false;
+ jform_vvvvwcdvxn_required = false;
}
}
else
{
jQuery('#jform_datalenght_other').closest('.control-group').hide();
// remove required attribute from datalenght_other field
- if (!jform_vvvvwccvxn_required)
+ if (!jform_vvvvwcdvxn_required)
{
updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required');
- jform_vvvvwccvxn_required = true;
- }
- }
-}
-
-// the vvvvwcc Some function
-function datalenght_vvvvwcc_SomeFunc(datalenght_vvvvwcc)
-{
- // set the function logic
- if (datalenght_vvvvwcc == 'Other')
- {
- return true;
- }
- return false;
-}
-
-// the vvvvwcd function
-function vvvvwcd(datadefault_vvvvwcd)
-{
- if (isSet(datadefault_vvvvwcd) && datadefault_vvvvwcd.constructor !== Array)
- {
- var temp_vvvvwcd = datadefault_vvvvwcd;
- var datadefault_vvvvwcd = [];
- datadefault_vvvvwcd.push(temp_vvvvwcd);
- }
- else if (!isSet(datadefault_vvvvwcd))
- {
- var datadefault_vvvvwcd = [];
- }
- var datadefault = datadefault_vvvvwcd.some(datadefault_vvvvwcd_SomeFunc);
-
-
- // set this function logic
- if (datadefault)
- {
- jQuery('#jform_datadefault_other').closest('.control-group').show();
- // add required attribute to datadefault_other field
- if (jform_vvvvwcdvxo_required)
- {
- updateFieldRequired('datadefault_other',0);
- jQuery('#jform_datadefault_other').prop('required','required');
- jQuery('#jform_datadefault_other').attr('aria-required',true);
- jQuery('#jform_datadefault_other').addClass('required');
- jform_vvvvwcdvxo_required = false;
- }
- }
- else
- {
- jQuery('#jform_datadefault_other').closest('.control-group').hide();
- // remove required attribute from datadefault_other field
- if (!jform_vvvvwcdvxo_required)
- {
- updateFieldRequired('datadefault_other',1);
- jQuery('#jform_datadefault_other').removeAttr('required');
- jQuery('#jform_datadefault_other').removeAttr('aria-required');
- jQuery('#jform_datadefault_other').removeClass('required');
- jform_vvvvwcdvxo_required = true;
+ jform_vvvvwcdvxn_required = true;
}
}
}
// the vvvvwcd Some function
-function datadefault_vvvvwcd_SomeFunc(datadefault_vvvvwcd)
+function datalenght_vvvvwcd_SomeFunc(datalenght_vvvvwcd)
{
// set the function logic
- if (datadefault_vvvvwcd == 'Other')
+ if (datalenght_vvvvwcd == 'Other')
{
return true;
}
@@ -179,57 +123,55 @@ function datadefault_vvvvwcd_SomeFunc(datadefault_vvvvwcd)
}
// the vvvvwce function
-function vvvvwce(datatype_vvvvwce)
+function vvvvwce(datadefault_vvvvwce)
{
- if (isSet(datatype_vvvvwce) && datatype_vvvvwce.constructor !== Array)
+ if (isSet(datadefault_vvvvwce) && datadefault_vvvvwce.constructor !== Array)
{
- var temp_vvvvwce = datatype_vvvvwce;
- var datatype_vvvvwce = [];
- datatype_vvvvwce.push(temp_vvvvwce);
+ var temp_vvvvwce = datadefault_vvvvwce;
+ var datadefault_vvvvwce = [];
+ datadefault_vvvvwce.push(temp_vvvvwce);
}
- else if (!isSet(datatype_vvvvwce))
+ else if (!isSet(datadefault_vvvvwce))
{
- var datatype_vvvvwce = [];
+ var datadefault_vvvvwce = [];
}
- var datatype = datatype_vvvvwce.some(datatype_vvvvwce_SomeFunc);
+ var datadefault = datadefault_vvvvwce.some(datadefault_vvvvwce_SomeFunc);
// set this function logic
- if (datatype)
+ if (datadefault)
{
- jQuery('#jform_datadefault').closest('.control-group').show();
- jQuery('#jform_indexes').closest('.control-group').show();
- // add required attribute to indexes field
- if (jform_vvvvwcevxp_required)
+ jQuery('#jform_datadefault_other').closest('.control-group').show();
+ // add required attribute to datadefault_other field
+ if (jform_vvvvwcevxo_required)
{
- updateFieldRequired('indexes',0);
- jQuery('#jform_indexes').prop('required','required');
- jQuery('#jform_indexes').attr('aria-required',true);
- jQuery('#jform_indexes').addClass('required');
- jform_vvvvwcevxp_required = false;
+ updateFieldRequired('datadefault_other',0);
+ jQuery('#jform_datadefault_other').prop('required','required');
+ jQuery('#jform_datadefault_other').attr('aria-required',true);
+ jQuery('#jform_datadefault_other').addClass('required');
+ jform_vvvvwcevxo_required = false;
}
}
else
{
- jQuery('#jform_datadefault').closest('.control-group').hide();
- jQuery('#jform_indexes').closest('.control-group').hide();
- // remove required attribute from indexes field
- if (!jform_vvvvwcevxp_required)
+ jQuery('#jform_datadefault_other').closest('.control-group').hide();
+ // remove required attribute from datadefault_other field
+ if (!jform_vvvvwcevxo_required)
{
- updateFieldRequired('indexes',1);
- jQuery('#jform_indexes').removeAttr('required');
- jQuery('#jform_indexes').removeAttr('aria-required');
- jQuery('#jform_indexes').removeClass('required');
- jform_vvvvwcevxp_required = true;
+ updateFieldRequired('datadefault_other',1);
+ jQuery('#jform_datadefault_other').removeAttr('required');
+ jQuery('#jform_datadefault_other').removeAttr('aria-required');
+ jQuery('#jform_datadefault_other').removeClass('required');
+ jform_vvvvwcevxo_required = true;
}
}
}
// the vvvvwce Some function
-function datatype_vvvvwce_SomeFunc(datatype_vvvvwce)
+function datadefault_vvvvwce_SomeFunc(datadefault_vvvvwce)
{
// set the function logic
- if (datatype_vvvvwce == 'CHAR' || datatype_vvvvwce == 'VARCHAR' || datatype_vvvvwce == 'DATETIME' || datatype_vvvvwce == 'DATE' || datatype_vvvvwce == 'TIME' || datatype_vvvvwce == 'INT' || datatype_vvvvwce == 'TINYINT' || datatype_vvvvwce == 'BIGINT' || datatype_vvvvwce == 'FLOAT' || datatype_vvvvwce == 'DECIMAL' || datatype_vvvvwce == 'DOUBLE')
+ if (datadefault_vvvvwce == 'Other')
{
return true;
}
@@ -255,28 +197,30 @@ function vvvvwcf(datatype_vvvvwcf)
// set this function logic
if (datatype)
{
- jQuery('#jform_datalenght').closest('.control-group').show();
- // add required attribute to datalenght field
- if (jform_vvvvwcfvxq_required)
+ jQuery('#jform_datadefault').closest('.control-group').show();
+ jQuery('#jform_indexes').closest('.control-group').show();
+ // add required attribute to indexes field
+ if (jform_vvvvwcfvxp_required)
{
- updateFieldRequired('datalenght',0);
- jQuery('#jform_datalenght').prop('required','required');
- jQuery('#jform_datalenght').attr('aria-required',true);
- jQuery('#jform_datalenght').addClass('required');
- jform_vvvvwcfvxq_required = false;
+ updateFieldRequired('indexes',0);
+ jQuery('#jform_indexes').prop('required','required');
+ jQuery('#jform_indexes').attr('aria-required',true);
+ jQuery('#jform_indexes').addClass('required');
+ jform_vvvvwcfvxp_required = false;
}
}
else
{
- jQuery('#jform_datalenght').closest('.control-group').hide();
- // remove required attribute from datalenght field
- if (!jform_vvvvwcfvxq_required)
+ jQuery('#jform_datadefault').closest('.control-group').hide();
+ jQuery('#jform_indexes').closest('.control-group').hide();
+ // remove required attribute from indexes field
+ if (!jform_vvvvwcfvxp_required)
{
- updateFieldRequired('datalenght',1);
- jQuery('#jform_datalenght').removeAttr('required');
- jQuery('#jform_datalenght').removeAttr('aria-required');
- jQuery('#jform_datalenght').removeClass('required');
- jform_vvvvwcfvxq_required = true;
+ updateFieldRequired('indexes',1);
+ jQuery('#jform_indexes').removeAttr('required');
+ jQuery('#jform_indexes').removeAttr('aria-required');
+ jQuery('#jform_indexes').removeClass('required');
+ jform_vvvvwcfvxp_required = true;
}
}
}
@@ -285,7 +229,7 @@ function vvvvwcf(datatype_vvvvwcf)
function datatype_vvvvwcf_SomeFunc(datatype_vvvvwcf)
{
// set the function logic
- if (datatype_vvvvwcf == 'CHAR' || datatype_vvvvwcf == 'VARCHAR' || datatype_vvvvwcf == 'INT' || datatype_vvvvwcf == 'TINYINT' || datatype_vvvvwcf == 'BIGINT' || datatype_vvvvwcf == 'FLOAT' || datatype_vvvvwcf == 'DECIMAL' || datatype_vvvvwcf == 'DOUBLE')
+ if (datatype_vvvvwcf == 'CHAR' || datatype_vvvvwcf == 'VARCHAR' || datatype_vvvvwcf == 'DATETIME' || datatype_vvvvwcf == 'DATE' || datatype_vvvvwcf == 'TIME' || datatype_vvvvwcf == 'INT' || datatype_vvvvwcf == 'TINYINT' || datatype_vvvvwcf == 'BIGINT' || datatype_vvvvwcf == 'FLOAT' || datatype_vvvvwcf == 'DECIMAL' || datatype_vvvvwcf == 'DOUBLE')
{
return true;
}
@@ -311,28 +255,28 @@ function vvvvwcg(datatype_vvvvwcg)
// set this function logic
if (datatype)
{
- jQuery('#jform_store').closest('.control-group').show();
- // add required attribute to store field
- if (jform_vvvvwcgvxr_required)
+ jQuery('#jform_datalenght').closest('.control-group').show();
+ // add required attribute to datalenght field
+ if (jform_vvvvwcgvxq_required)
{
- updateFieldRequired('store',0);
- jQuery('#jform_store').prop('required','required');
- jQuery('#jform_store').attr('aria-required',true);
- jQuery('#jform_store').addClass('required');
- jform_vvvvwcgvxr_required = false;
+ updateFieldRequired('datalenght',0);
+ jQuery('#jform_datalenght').prop('required','required');
+ jQuery('#jform_datalenght').attr('aria-required',true);
+ jQuery('#jform_datalenght').addClass('required');
+ jform_vvvvwcgvxq_required = false;
}
}
else
{
- jQuery('#jform_store').closest('.control-group').hide();
- // remove required attribute from store field
- if (!jform_vvvvwcgvxr_required)
+ jQuery('#jform_datalenght').closest('.control-group').hide();
+ // remove required attribute from datalenght field
+ if (!jform_vvvvwcgvxq_required)
{
- updateFieldRequired('store',1);
- jQuery('#jform_store').removeAttr('required');
- jQuery('#jform_store').removeAttr('aria-required');
- jQuery('#jform_store').removeClass('required');
- jform_vvvvwcgvxr_required = true;
+ updateFieldRequired('datalenght',1);
+ jQuery('#jform_datalenght').removeAttr('required');
+ jQuery('#jform_datalenght').removeAttr('aria-required');
+ jQuery('#jform_datalenght').removeClass('required');
+ jform_vvvvwcgvxq_required = true;
}
}
}
@@ -341,7 +285,7 @@ function vvvvwcg(datatype_vvvvwcg)
function datatype_vvvvwcg_SomeFunc(datatype_vvvvwcg)
{
// set the function logic
- if (datatype_vvvvwcg == 'CHAR' || datatype_vvvvwcg == 'VARCHAR' || datatype_vvvvwcg == 'TEXT' || datatype_vvvvwcg == 'MEDIUMTEXT' || datatype_vvvvwcg == 'LONGTEXT' || datatype_vvvvwcg == 'BLOB' || datatype_vvvvwcg == 'TINYBLOB' || datatype_vvvvwcg == 'MEDIUMBLOB' || datatype_vvvvwcg == 'LONGBLOB')
+ if (datatype_vvvvwcg == 'CHAR' || datatype_vvvvwcg == 'VARCHAR' || datatype_vvvvwcg == 'INT' || datatype_vvvvwcg == 'TINYINT' || datatype_vvvvwcg == 'BIGINT' || datatype_vvvvwcg == 'FLOAT' || datatype_vvvvwcg == 'DECIMAL' || datatype_vvvvwcg == 'DOUBLE')
{
return true;
}
@@ -349,20 +293,8 @@ function datatype_vvvvwcg_SomeFunc(datatype_vvvvwcg)
}
// the vvvvwch function
-function vvvvwch(store_vvvvwch,datatype_vvvvwch)
+function vvvvwch(datatype_vvvvwch)
{
- if (isSet(store_vvvvwch) && store_vvvvwch.constructor !== Array)
- {
- var temp_vvvvwch = store_vvvvwch;
- var store_vvvvwch = [];
- store_vvvvwch.push(temp_vvvvwch);
- }
- else if (!isSet(store_vvvvwch))
- {
- var store_vvvvwch = [];
- }
- var store = store_vvvvwch.some(store_vvvvwch_SomeFunc);
-
if (isSet(datatype_vvvvwch) && datatype_vvvvwch.constructor !== Array)
{
var temp_vvvvwch = datatype_vvvvwch;
@@ -377,27 +309,34 @@ function vvvvwch(store_vvvvwch,datatype_vvvvwch)
// set this function logic
- if (store && datatype)
+ if (datatype)
{
- jQuery('.note_whmcs_encryption').closest('.control-group').show();
+ jQuery('#jform_store').closest('.control-group').show();
+ // add required attribute to store field
+ if (jform_vvvvwchvxr_required)
+ {
+ updateFieldRequired('store',0);
+ jQuery('#jform_store').prop('required','required');
+ jQuery('#jform_store').attr('aria-required',true);
+ jQuery('#jform_store').addClass('required');
+ jform_vvvvwchvxr_required = false;
+ }
}
else
{
- jQuery('.note_whmcs_encryption').closest('.control-group').hide();
+ jQuery('#jform_store').closest('.control-group').hide();
+ // remove required attribute from store field
+ if (!jform_vvvvwchvxr_required)
+ {
+ updateFieldRequired('store',1);
+ jQuery('#jform_store').removeAttr('required');
+ jQuery('#jform_store').removeAttr('aria-required');
+ jQuery('#jform_store').removeClass('required');
+ jform_vvvvwchvxr_required = true;
+ }
}
}
-// the vvvvwch Some function
-function store_vvvvwch_SomeFunc(store_vvvvwch)
-{
- // set the function logic
- if (store_vvvvwch == 4)
- {
- return true;
- }
- return false;
-}
-
// the vvvvwch Some function
function datatype_vvvvwch_SomeFunc(datatype_vvvvwch)
{
@@ -409,141 +348,61 @@ function datatype_vvvvwch_SomeFunc(datatype_vvvvwch)
return false;
}
-// the vvvvwcj function
-function vvvvwcj(store_vvvvwcj,datatype_vvvvwcj)
+// the vvvvwci function
+function vvvvwci(store_vvvvwci,datatype_vvvvwci)
{
- if (isSet(store_vvvvwcj) && store_vvvvwcj.constructor !== Array)
+ if (isSet(store_vvvvwci) && store_vvvvwci.constructor !== Array)
{
- var temp_vvvvwcj = store_vvvvwcj;
- var store_vvvvwcj = [];
- store_vvvvwcj.push(temp_vvvvwcj);
+ var temp_vvvvwci = store_vvvvwci;
+ var store_vvvvwci = [];
+ store_vvvvwci.push(temp_vvvvwci);
}
- else if (!isSet(store_vvvvwcj))
+ else if (!isSet(store_vvvvwci))
{
- var store_vvvvwcj = [];
+ var store_vvvvwci = [];
}
- var store = store_vvvvwcj.some(store_vvvvwcj_SomeFunc);
+ var store = store_vvvvwci.some(store_vvvvwci_SomeFunc);
- if (isSet(datatype_vvvvwcj) && datatype_vvvvwcj.constructor !== Array)
+ if (isSet(datatype_vvvvwci) && datatype_vvvvwci.constructor !== Array)
{
- var temp_vvvvwcj = datatype_vvvvwcj;
- var datatype_vvvvwcj = [];
- datatype_vvvvwcj.push(temp_vvvvwcj);
+ var temp_vvvvwci = datatype_vvvvwci;
+ var datatype_vvvvwci = [];
+ datatype_vvvvwci.push(temp_vvvvwci);
}
- else if (!isSet(datatype_vvvvwcj))
+ else if (!isSet(datatype_vvvvwci))
{
- var datatype_vvvvwcj = [];
+ var datatype_vvvvwci = [];
}
- var datatype = datatype_vvvvwcj.some(datatype_vvvvwcj_SomeFunc);
+ var datatype = datatype_vvvvwci.some(datatype_vvvvwci_SomeFunc);
// set this function logic
if (store && datatype)
{
- jQuery('#jform_initiator_on_get_model').closest('.control-group').show();
- // add required attribute to initiator_on_get_model field
- if (jform_vvvvwcjvxs_required)
- {
- updateFieldRequired('initiator_on_get_model',0);
- jQuery('#jform_initiator_on_get_model').prop('required','required');
- jQuery('#jform_initiator_on_get_model').attr('aria-required',true);
- jQuery('#jform_initiator_on_get_model').addClass('required');
- jform_vvvvwcjvxs_required = false;
- }
- jQuery('#jform_initiator_on_save_model').closest('.control-group').show();
- // add required attribute to initiator_on_save_model field
- if (jform_vvvvwcjvxt_required)
- {
- updateFieldRequired('initiator_on_save_model',0);
- jQuery('#jform_initiator_on_save_model').prop('required','required');
- jQuery('#jform_initiator_on_save_model').attr('aria-required',true);
- jQuery('#jform_initiator_on_save_model').addClass('required');
- jform_vvvvwcjvxt_required = false;
- }
- jQuery('#jform_on_save_model_field').closest('.control-group').show();
- // add required attribute to on_save_model_field field
- if (jform_vvvvwcjvxu_required)
- {
- updateFieldRequired('on_save_model_field',0);
- jQuery('#jform_on_save_model_field').prop('required','required');
- jQuery('#jform_on_save_model_field').attr('aria-required',true);
- jQuery('#jform_on_save_model_field').addClass('required');
- jform_vvvvwcjvxu_required = false;
- }
- jQuery('.note_expert_field_save_mode').closest('.control-group').show();
- jQuery('#jform_on_get_model_field').closest('.control-group').show();
- // add required attribute to on_get_model_field field
- if (jform_vvvvwcjvxv_required)
- {
- updateFieldRequired('on_get_model_field',0);
- jQuery('#jform_on_get_model_field').prop('required','required');
- jQuery('#jform_on_get_model_field').attr('aria-required',true);
- jQuery('#jform_on_get_model_field').addClass('required');
- jform_vvvvwcjvxv_required = false;
- }
+ jQuery('.note_whmcs_encryption').closest('.control-group').show();
}
else
{
- jQuery('#jform_initiator_on_get_model').closest('.control-group').hide();
- // remove required attribute from initiator_on_get_model field
- if (!jform_vvvvwcjvxs_required)
- {
- updateFieldRequired('initiator_on_get_model',1);
- jQuery('#jform_initiator_on_get_model').removeAttr('required');
- jQuery('#jform_initiator_on_get_model').removeAttr('aria-required');
- jQuery('#jform_initiator_on_get_model').removeClass('required');
- jform_vvvvwcjvxs_required = true;
- }
- jQuery('#jform_initiator_on_save_model').closest('.control-group').hide();
- // remove required attribute from initiator_on_save_model field
- if (!jform_vvvvwcjvxt_required)
- {
- updateFieldRequired('initiator_on_save_model',1);
- jQuery('#jform_initiator_on_save_model').removeAttr('required');
- jQuery('#jform_initiator_on_save_model').removeAttr('aria-required');
- jQuery('#jform_initiator_on_save_model').removeClass('required');
- jform_vvvvwcjvxt_required = true;
- }
- jQuery('#jform_on_save_model_field').closest('.control-group').hide();
- // remove required attribute from on_save_model_field field
- if (!jform_vvvvwcjvxu_required)
- {
- updateFieldRequired('on_save_model_field',1);
- jQuery('#jform_on_save_model_field').removeAttr('required');
- jQuery('#jform_on_save_model_field').removeAttr('aria-required');
- jQuery('#jform_on_save_model_field').removeClass('required');
- jform_vvvvwcjvxu_required = true;
- }
- jQuery('.note_expert_field_save_mode').closest('.control-group').hide();
- jQuery('#jform_on_get_model_field').closest('.control-group').hide();
- // remove required attribute from on_get_model_field field
- if (!jform_vvvvwcjvxv_required)
- {
- updateFieldRequired('on_get_model_field',1);
- jQuery('#jform_on_get_model_field').removeAttr('required');
- jQuery('#jform_on_get_model_field').removeAttr('aria-required');
- jQuery('#jform_on_get_model_field').removeClass('required');
- jform_vvvvwcjvxv_required = true;
- }
+ jQuery('.note_whmcs_encryption').closest('.control-group').hide();
}
}
-// the vvvvwcj Some function
-function store_vvvvwcj_SomeFunc(store_vvvvwcj)
+// the vvvvwci Some function
+function store_vvvvwci_SomeFunc(store_vvvvwci)
{
// set the function logic
- if (store_vvvvwcj == 6)
+ if (store_vvvvwci == 4)
{
return true;
}
return false;
}
-// the vvvvwcj Some function
-function datatype_vvvvwcj_SomeFunc(datatype_vvvvwcj)
+// the vvvvwci Some function
+function datatype_vvvvwci_SomeFunc(datatype_vvvvwci)
{
// set the function logic
- if (datatype_vvvvwcj == 'CHAR' || datatype_vvvvwcj == 'VARCHAR' || datatype_vvvvwcj == 'TEXT' || datatype_vvvvwcj == 'MEDIUMTEXT' || datatype_vvvvwcj == 'LONGTEXT' || datatype_vvvvwcj == 'BLOB' || datatype_vvvvwcj == 'TINYBLOB' || datatype_vvvvwcj == 'MEDIUMBLOB' || datatype_vvvvwcj == 'LONGBLOB')
+ if (datatype_vvvvwci == 'CHAR' || datatype_vvvvwci == 'VARCHAR' || datatype_vvvvwci == 'TEXT' || datatype_vvvvwci == 'MEDIUMTEXT' || datatype_vvvvwci == 'LONGTEXT' || datatype_vvvvwci == 'BLOB' || datatype_vvvvwci == 'TINYBLOB' || datatype_vvvvwci == 'MEDIUMBLOB' || datatype_vvvvwci == 'LONGBLOB')
{
return true;
}
@@ -551,20 +410,8 @@ function datatype_vvvvwcj_SomeFunc(datatype_vvvvwcj)
}
// the vvvvwck function
-function vvvvwck(datatype_vvvvwck,store_vvvvwck)
+function vvvvwck(store_vvvvwck,datatype_vvvvwck)
{
- if (isSet(datatype_vvvvwck) && datatype_vvvvwck.constructor !== Array)
- {
- var temp_vvvvwck = datatype_vvvvwck;
- var datatype_vvvvwck = [];
- datatype_vvvvwck.push(temp_vvvvwck);
- }
- else if (!isSet(datatype_vvvvwck))
- {
- var datatype_vvvvwck = [];
- }
- var datatype = datatype_vvvvwck.some(datatype_vvvvwck_SomeFunc);
-
if (isSet(store_vvvvwck) && store_vvvvwck.constructor !== Array)
{
var temp_vvvvwck = store_vvvvwck;
@@ -577,109 +424,110 @@ function vvvvwck(datatype_vvvvwck,store_vvvvwck)
}
var store = store_vvvvwck.some(store_vvvvwck_SomeFunc);
+ if (isSet(datatype_vvvvwck) && datatype_vvvvwck.constructor !== Array)
+ {
+ var temp_vvvvwck = datatype_vvvvwck;
+ var datatype_vvvvwck = [];
+ datatype_vvvvwck.push(temp_vvvvwck);
+ }
+ else if (!isSet(datatype_vvvvwck))
+ {
+ var datatype_vvvvwck = [];
+ }
+ var datatype = datatype_vvvvwck.some(datatype_vvvvwck_SomeFunc);
+
// set this function logic
- if (datatype && store)
+ if (store && datatype)
{
jQuery('#jform_initiator_on_get_model').closest('.control-group').show();
// add required attribute to initiator_on_get_model field
- if (jform_vvvvwckvxw_required)
+ if (jform_vvvvwckvxs_required)
{
updateFieldRequired('initiator_on_get_model',0);
jQuery('#jform_initiator_on_get_model').prop('required','required');
jQuery('#jform_initiator_on_get_model').attr('aria-required',true);
jQuery('#jform_initiator_on_get_model').addClass('required');
- jform_vvvvwckvxw_required = false;
+ jform_vvvvwckvxs_required = false;
}
jQuery('#jform_initiator_on_save_model').closest('.control-group').show();
// add required attribute to initiator_on_save_model field
- if (jform_vvvvwckvxx_required)
+ if (jform_vvvvwckvxt_required)
{
updateFieldRequired('initiator_on_save_model',0);
jQuery('#jform_initiator_on_save_model').prop('required','required');
jQuery('#jform_initiator_on_save_model').attr('aria-required',true);
jQuery('#jform_initiator_on_save_model').addClass('required');
- jform_vvvvwckvxx_required = false;
+ jform_vvvvwckvxt_required = false;
}
jQuery('#jform_on_save_model_field').closest('.control-group').show();
// add required attribute to on_save_model_field field
- if (jform_vvvvwckvxy_required)
+ if (jform_vvvvwckvxu_required)
{
updateFieldRequired('on_save_model_field',0);
jQuery('#jform_on_save_model_field').prop('required','required');
jQuery('#jform_on_save_model_field').attr('aria-required',true);
jQuery('#jform_on_save_model_field').addClass('required');
- jform_vvvvwckvxy_required = false;
+ jform_vvvvwckvxu_required = false;
}
jQuery('.note_expert_field_save_mode').closest('.control-group').show();
jQuery('#jform_on_get_model_field').closest('.control-group').show();
// add required attribute to on_get_model_field field
- if (jform_vvvvwckvxz_required)
+ if (jform_vvvvwckvxv_required)
{
updateFieldRequired('on_get_model_field',0);
jQuery('#jform_on_get_model_field').prop('required','required');
jQuery('#jform_on_get_model_field').attr('aria-required',true);
jQuery('#jform_on_get_model_field').addClass('required');
- jform_vvvvwckvxz_required = false;
+ jform_vvvvwckvxv_required = false;
}
}
else
{
jQuery('#jform_initiator_on_get_model').closest('.control-group').hide();
// remove required attribute from initiator_on_get_model field
- if (!jform_vvvvwckvxw_required)
+ if (!jform_vvvvwckvxs_required)
{
updateFieldRequired('initiator_on_get_model',1);
jQuery('#jform_initiator_on_get_model').removeAttr('required');
jQuery('#jform_initiator_on_get_model').removeAttr('aria-required');
jQuery('#jform_initiator_on_get_model').removeClass('required');
- jform_vvvvwckvxw_required = true;
+ jform_vvvvwckvxs_required = true;
}
jQuery('#jform_initiator_on_save_model').closest('.control-group').hide();
// remove required attribute from initiator_on_save_model field
- if (!jform_vvvvwckvxx_required)
+ if (!jform_vvvvwckvxt_required)
{
updateFieldRequired('initiator_on_save_model',1);
jQuery('#jform_initiator_on_save_model').removeAttr('required');
jQuery('#jform_initiator_on_save_model').removeAttr('aria-required');
jQuery('#jform_initiator_on_save_model').removeClass('required');
- jform_vvvvwckvxx_required = true;
+ jform_vvvvwckvxt_required = true;
}
jQuery('#jform_on_save_model_field').closest('.control-group').hide();
// remove required attribute from on_save_model_field field
- if (!jform_vvvvwckvxy_required)
+ if (!jform_vvvvwckvxu_required)
{
updateFieldRequired('on_save_model_field',1);
jQuery('#jform_on_save_model_field').removeAttr('required');
jQuery('#jform_on_save_model_field').removeAttr('aria-required');
jQuery('#jform_on_save_model_field').removeClass('required');
- jform_vvvvwckvxy_required = true;
+ jform_vvvvwckvxu_required = true;
}
jQuery('.note_expert_field_save_mode').closest('.control-group').hide();
jQuery('#jform_on_get_model_field').closest('.control-group').hide();
// remove required attribute from on_get_model_field field
- if (!jform_vvvvwckvxz_required)
+ if (!jform_vvvvwckvxv_required)
{
updateFieldRequired('on_get_model_field',1);
jQuery('#jform_on_get_model_field').removeAttr('required');
jQuery('#jform_on_get_model_field').removeAttr('aria-required');
jQuery('#jform_on_get_model_field').removeClass('required');
- jform_vvvvwckvxz_required = true;
+ jform_vvvvwckvxv_required = true;
}
}
}
-// the vvvvwck Some function
-function datatype_vvvvwck_SomeFunc(datatype_vvvvwck)
-{
- // set the function logic
- if (datatype_vvvvwck == 'CHAR' || datatype_vvvvwck == 'VARCHAR' || datatype_vvvvwck == 'TEXT' || datatype_vvvvwck == 'MEDIUMTEXT' || datatype_vvvvwck == 'LONGTEXT' || datatype_vvvvwck == 'BLOB' || datatype_vvvvwck == 'TINYBLOB' || datatype_vvvvwck == 'MEDIUMBLOB' || datatype_vvvvwck == 'LONGBLOB')
- {
- return true;
- }
- return false;
-}
-
// the vvvvwck Some function
function store_vvvvwck_SomeFunc(store_vvvvwck)
{
@@ -691,11 +539,163 @@ function store_vvvvwck_SomeFunc(store_vvvvwck)
return false;
}
-// the vvvvwcl function
-function vvvvwcl(add_css_view_vvvvwcl)
+// the vvvvwck Some function
+function datatype_vvvvwck_SomeFunc(datatype_vvvvwck)
{
// set the function logic
- if (add_css_view_vvvvwcl == 1)
+ if (datatype_vvvvwck == 'CHAR' || datatype_vvvvwck == 'VARCHAR' || datatype_vvvvwck == 'TEXT' || datatype_vvvvwck == 'MEDIUMTEXT' || datatype_vvvvwck == 'LONGTEXT' || datatype_vvvvwck == 'BLOB' || datatype_vvvvwck == 'TINYBLOB' || datatype_vvvvwck == 'MEDIUMBLOB' || datatype_vvvvwck == 'LONGBLOB')
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvwcl function
+function vvvvwcl(datatype_vvvvwcl,store_vvvvwcl)
+{
+ if (isSet(datatype_vvvvwcl) && datatype_vvvvwcl.constructor !== Array)
+ {
+ var temp_vvvvwcl = datatype_vvvvwcl;
+ var datatype_vvvvwcl = [];
+ datatype_vvvvwcl.push(temp_vvvvwcl);
+ }
+ else if (!isSet(datatype_vvvvwcl))
+ {
+ var datatype_vvvvwcl = [];
+ }
+ var datatype = datatype_vvvvwcl.some(datatype_vvvvwcl_SomeFunc);
+
+ if (isSet(store_vvvvwcl) && store_vvvvwcl.constructor !== Array)
+ {
+ var temp_vvvvwcl = store_vvvvwcl;
+ var store_vvvvwcl = [];
+ store_vvvvwcl.push(temp_vvvvwcl);
+ }
+ else if (!isSet(store_vvvvwcl))
+ {
+ var store_vvvvwcl = [];
+ }
+ var store = store_vvvvwcl.some(store_vvvvwcl_SomeFunc);
+
+
+ // set this function logic
+ if (datatype && store)
+ {
+ jQuery('#jform_initiator_on_get_model').closest('.control-group').show();
+ // add required attribute to initiator_on_get_model field
+ if (jform_vvvvwclvxw_required)
+ {
+ updateFieldRequired('initiator_on_get_model',0);
+ jQuery('#jform_initiator_on_get_model').prop('required','required');
+ jQuery('#jform_initiator_on_get_model').attr('aria-required',true);
+ jQuery('#jform_initiator_on_get_model').addClass('required');
+ jform_vvvvwclvxw_required = false;
+ }
+ jQuery('#jform_initiator_on_save_model').closest('.control-group').show();
+ // add required attribute to initiator_on_save_model field
+ if (jform_vvvvwclvxx_required)
+ {
+ updateFieldRequired('initiator_on_save_model',0);
+ jQuery('#jform_initiator_on_save_model').prop('required','required');
+ jQuery('#jform_initiator_on_save_model').attr('aria-required',true);
+ jQuery('#jform_initiator_on_save_model').addClass('required');
+ jform_vvvvwclvxx_required = false;
+ }
+ jQuery('#jform_on_save_model_field').closest('.control-group').show();
+ // add required attribute to on_save_model_field field
+ if (jform_vvvvwclvxy_required)
+ {
+ updateFieldRequired('on_save_model_field',0);
+ jQuery('#jform_on_save_model_field').prop('required','required');
+ jQuery('#jform_on_save_model_field').attr('aria-required',true);
+ jQuery('#jform_on_save_model_field').addClass('required');
+ jform_vvvvwclvxy_required = false;
+ }
+ jQuery('.note_expert_field_save_mode').closest('.control-group').show();
+ jQuery('#jform_on_get_model_field').closest('.control-group').show();
+ // add required attribute to on_get_model_field field
+ if (jform_vvvvwclvxz_required)
+ {
+ updateFieldRequired('on_get_model_field',0);
+ jQuery('#jform_on_get_model_field').prop('required','required');
+ jQuery('#jform_on_get_model_field').attr('aria-required',true);
+ jQuery('#jform_on_get_model_field').addClass('required');
+ jform_vvvvwclvxz_required = false;
+ }
+ }
+ else
+ {
+ jQuery('#jform_initiator_on_get_model').closest('.control-group').hide();
+ // remove required attribute from initiator_on_get_model field
+ if (!jform_vvvvwclvxw_required)
+ {
+ updateFieldRequired('initiator_on_get_model',1);
+ jQuery('#jform_initiator_on_get_model').removeAttr('required');
+ jQuery('#jform_initiator_on_get_model').removeAttr('aria-required');
+ jQuery('#jform_initiator_on_get_model').removeClass('required');
+ jform_vvvvwclvxw_required = true;
+ }
+ jQuery('#jform_initiator_on_save_model').closest('.control-group').hide();
+ // remove required attribute from initiator_on_save_model field
+ if (!jform_vvvvwclvxx_required)
+ {
+ updateFieldRequired('initiator_on_save_model',1);
+ jQuery('#jform_initiator_on_save_model').removeAttr('required');
+ jQuery('#jform_initiator_on_save_model').removeAttr('aria-required');
+ jQuery('#jform_initiator_on_save_model').removeClass('required');
+ jform_vvvvwclvxx_required = true;
+ }
+ jQuery('#jform_on_save_model_field').closest('.control-group').hide();
+ // remove required attribute from on_save_model_field field
+ if (!jform_vvvvwclvxy_required)
+ {
+ updateFieldRequired('on_save_model_field',1);
+ jQuery('#jform_on_save_model_field').removeAttr('required');
+ jQuery('#jform_on_save_model_field').removeAttr('aria-required');
+ jQuery('#jform_on_save_model_field').removeClass('required');
+ jform_vvvvwclvxy_required = true;
+ }
+ jQuery('.note_expert_field_save_mode').closest('.control-group').hide();
+ jQuery('#jform_on_get_model_field').closest('.control-group').hide();
+ // remove required attribute from on_get_model_field field
+ if (!jform_vvvvwclvxz_required)
+ {
+ updateFieldRequired('on_get_model_field',1);
+ jQuery('#jform_on_get_model_field').removeAttr('required');
+ jQuery('#jform_on_get_model_field').removeAttr('aria-required');
+ jQuery('#jform_on_get_model_field').removeClass('required');
+ jform_vvvvwclvxz_required = true;
+ }
+ }
+}
+
+// the vvvvwcl Some function
+function datatype_vvvvwcl_SomeFunc(datatype_vvvvwcl)
+{
+ // set the function logic
+ if (datatype_vvvvwcl == 'CHAR' || datatype_vvvvwcl == 'VARCHAR' || datatype_vvvvwcl == 'TEXT' || datatype_vvvvwcl == 'MEDIUMTEXT' || datatype_vvvvwcl == 'LONGTEXT' || datatype_vvvvwcl == 'BLOB' || datatype_vvvvwcl == 'TINYBLOB' || datatype_vvvvwcl == 'MEDIUMBLOB' || datatype_vvvvwcl == 'LONGBLOB')
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvwcl Some function
+function store_vvvvwcl_SomeFunc(store_vvvvwcl)
+{
+ // set the function logic
+ if (store_vvvvwcl == 6)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvwcm function
+function vvvvwcm(add_css_view_vvvvwcm)
+{
+ // set the function logic
+ if (add_css_view_vvvvwcm == 1)
{
jQuery('#jform_css_view-lbl').closest('.control-group').show();
}
@@ -705,11 +705,11 @@ function vvvvwcl(add_css_view_vvvvwcl)
}
}
-// the vvvvwcm function
-function vvvvwcm(add_css_views_vvvvwcm)
+// the vvvvwcn function
+function vvvvwcn(add_css_views_vvvvwcn)
{
// set the function logic
- if (add_css_views_vvvvwcm == 1)
+ if (add_css_views_vvvvwcn == 1)
{
jQuery('#jform_css_views-lbl').closest('.control-group').show();
}
@@ -719,11 +719,11 @@ function vvvvwcm(add_css_views_vvvvwcm)
}
}
-// the vvvvwcn function
-function vvvvwcn(add_javascript_view_footer_vvvvwcn)
+// the vvvvwco function
+function vvvvwco(add_javascript_view_footer_vvvvwco)
{
// set the function logic
- if (add_javascript_view_footer_vvvvwcn == 1)
+ if (add_javascript_view_footer_vvvvwco == 1)
{
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
}
@@ -733,11 +733,11 @@ function vvvvwcn(add_javascript_view_footer_vvvvwcn)
}
}
-// the vvvvwco function
-function vvvvwco(add_javascript_views_footer_vvvvwco)
+// the vvvvwcp function
+function vvvvwcp(add_javascript_views_footer_vvvvwcp)
{
// set the function logic
- if (add_javascript_views_footer_vvvvwco == 1)
+ if (add_javascript_views_footer_vvvvwcp == 1)
{
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
}
diff --git a/admin/models/forms/fieldtype.js b/admin/models/forms/fieldtype.js
index c64228a12..1b37f3685 100644
--- a/admin/models/forms/fieldtype.js
+++ b/admin/models/forms/fieldtype.js
@@ -9,87 +9,87 @@
*/
// Some Global Values
-jform_vvvvwcpvya_required = false;
-jform_vvvvwcrvyb_required = false;
-jform_vvvvwctvyc_required = false;
-jform_vvvvwcvvyd_required = false;
-jform_vvvvwcwvye_required = false;
-jform_vvvvwcxvyf_required = false;
-jform_vvvvwdcvyg_required = false;
-jform_vvvvwdcvyh_required = false;
+jform_vvvvwcqvya_required = false;
+jform_vvvvwcsvyb_required = false;
+jform_vvvvwcuvyc_required = false;
+jform_vvvvwcwvyd_required = false;
+jform_vvvvwcxvye_required = false;
+jform_vvvvwcyvyf_required = false;
+jform_vvvvwddvyg_required = false;
+jform_vvvvwddvyh_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var datalenght_vvvvwcp = jQuery("#jform_datalenght").val();
- var has_defaults_vvvvwcp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
- vvvvwcp(datalenght_vvvvwcp,has_defaults_vvvvwcp);
+ var datalenght_vvvvwcq = jQuery("#jform_datalenght").val();
+ var has_defaults_vvvvwcq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
+ vvvvwcq(datalenght_vvvvwcq,has_defaults_vvvvwcq);
- var datadefault_vvvvwcr = jQuery("#jform_datadefault").val();
- var has_defaults_vvvvwcr = jQuery("#jform_has_defaults input[type='radio']:checked").val();
- vvvvwcr(datadefault_vvvvwcr,has_defaults_vvvvwcr);
+ var datadefault_vvvvwcs = jQuery("#jform_datadefault").val();
+ var has_defaults_vvvvwcs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
+ vvvvwcs(datadefault_vvvvwcs,has_defaults_vvvvwcs);
- var datatype_vvvvwct = jQuery("#jform_datatype").val();
- var has_defaults_vvvvwct = jQuery("#jform_has_defaults input[type='radio']:checked").val();
- vvvvwct(datatype_vvvvwct,has_defaults_vvvvwct);
+ var datatype_vvvvwcu = jQuery("#jform_datatype").val();
+ var has_defaults_vvvvwcu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
+ vvvvwcu(datatype_vvvvwcu,has_defaults_vvvvwcu);
- var datatype_vvvvwcv = jQuery("#jform_datatype").val();
- var has_defaults_vvvvwcv = jQuery("#jform_has_defaults input[type='radio']:checked").val();
- vvvvwcv(datatype_vvvvwcv,has_defaults_vvvvwcv);
-
- var has_defaults_vvvvwcw = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwcw = jQuery("#jform_datatype").val();
- vvvvwcw(has_defaults_vvvvwcw,datatype_vvvvwcw);
+ var has_defaults_vvvvwcw = jQuery("#jform_has_defaults input[type='radio']:checked").val();
+ vvvvwcw(datatype_vvvvwcw,has_defaults_vvvvwcw);
- var datatype_vvvvwcx = jQuery("#jform_datatype").val();
var has_defaults_vvvvwcx = jQuery("#jform_has_defaults input[type='radio']:checked").val();
- vvvvwcx(datatype_vvvvwcx,has_defaults_vvvvwcx);
+ var datatype_vvvvwcx = jQuery("#jform_datatype").val();
+ vvvvwcx(has_defaults_vvvvwcx,datatype_vvvvwcx);
- var store_vvvvwcz = jQuery("#jform_store").val();
- var datatype_vvvvwcz = jQuery("#jform_datatype").val();
- var has_defaults_vvvvwcz = jQuery("#jform_has_defaults input[type='radio']:checked").val();
- vvvvwcz(store_vvvvwcz,datatype_vvvvwcz,has_defaults_vvvvwcz);
+ var datatype_vvvvwcy = jQuery("#jform_datatype").val();
+ var has_defaults_vvvvwcy = jQuery("#jform_has_defaults input[type='radio']:checked").val();
+ vvvvwcy(datatype_vvvvwcy,has_defaults_vvvvwcy);
- var datatype_vvvvwda = jQuery("#jform_datatype").val();
var store_vvvvwda = jQuery("#jform_store").val();
+ var datatype_vvvvwda = jQuery("#jform_datatype").val();
var has_defaults_vvvvwda = jQuery("#jform_has_defaults input[type='radio']:checked").val();
- vvvvwda(datatype_vvvvwda,store_vvvvwda,has_defaults_vvvvwda);
+ vvvvwda(store_vvvvwda,datatype_vvvvwda,has_defaults_vvvvwda);
- var has_defaults_vvvvwdb = jQuery("#jform_has_defaults input[type='radio']:checked").val();
- var store_vvvvwdb = jQuery("#jform_store").val();
var datatype_vvvvwdb = jQuery("#jform_datatype").val();
- vvvvwdb(has_defaults_vvvvwdb,store_vvvvwdb,datatype_vvvvwdb);
+ var store_vvvvwdb = jQuery("#jform_store").val();
+ var has_defaults_vvvvwdb = jQuery("#jform_has_defaults input[type='radio']:checked").val();
+ vvvvwdb(datatype_vvvvwdb,store_vvvvwdb,has_defaults_vvvvwdb);
var has_defaults_vvvvwdc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
- vvvvwdc(has_defaults_vvvvwdc);
+ var store_vvvvwdc = jQuery("#jform_store").val();
+ var datatype_vvvvwdc = jQuery("#jform_datatype").val();
+ vvvvwdc(has_defaults_vvvvwdc,store_vvvvwdc,datatype_vvvvwdc);
+
+ var has_defaults_vvvvwdd = jQuery("#jform_has_defaults input[type='radio']:checked").val();
+ vvvvwdd(has_defaults_vvvvwdd);
});
-// the vvvvwcp function
-function vvvvwcp(datalenght_vvvvwcp,has_defaults_vvvvwcp)
+// the vvvvwcq function
+function vvvvwcq(datalenght_vvvvwcq,has_defaults_vvvvwcq)
{
- if (isSet(datalenght_vvvvwcp) && datalenght_vvvvwcp.constructor !== Array)
+ if (isSet(datalenght_vvvvwcq) && datalenght_vvvvwcq.constructor !== Array)
{
- var temp_vvvvwcp = datalenght_vvvvwcp;
- var datalenght_vvvvwcp = [];
- datalenght_vvvvwcp.push(temp_vvvvwcp);
+ var temp_vvvvwcq = datalenght_vvvvwcq;
+ var datalenght_vvvvwcq = [];
+ datalenght_vvvvwcq.push(temp_vvvvwcq);
}
- else if (!isSet(datalenght_vvvvwcp))
+ else if (!isSet(datalenght_vvvvwcq))
{
- var datalenght_vvvvwcp = [];
+ var datalenght_vvvvwcq = [];
}
- var datalenght = datalenght_vvvvwcp.some(datalenght_vvvvwcp_SomeFunc);
+ var datalenght = datalenght_vvvvwcq.some(datalenght_vvvvwcq_SomeFunc);
- if (isSet(has_defaults_vvvvwcp) && has_defaults_vvvvwcp.constructor !== Array)
+ if (isSet(has_defaults_vvvvwcq) && has_defaults_vvvvwcq.constructor !== Array)
{
- var temp_vvvvwcp = has_defaults_vvvvwcp;
- var has_defaults_vvvvwcp = [];
- has_defaults_vvvvwcp.push(temp_vvvvwcp);
+ var temp_vvvvwcq = has_defaults_vvvvwcq;
+ var has_defaults_vvvvwcq = [];
+ has_defaults_vvvvwcq.push(temp_vvvvwcq);
}
- else if (!isSet(has_defaults_vvvvwcp))
+ else if (!isSet(has_defaults_vvvvwcq))
{
- var has_defaults_vvvvwcp = [];
+ var has_defaults_vvvvwcq = [];
}
- var has_defaults = has_defaults_vvvvwcp.some(has_defaults_vvvvwcp_SomeFunc);
+ var has_defaults = has_defaults_vvvvwcq.some(has_defaults_vvvvwcq_SomeFunc);
// set this function logic
@@ -97,78 +97,78 @@ function vvvvwcp(datalenght_vvvvwcp,has_defaults_vvvvwcp)
{
jQuery('#jform_datalenght_other').closest('.control-group').show();
// add required attribute to datalenght_other field
- if (jform_vvvvwcpvya_required)
+ if (jform_vvvvwcqvya_required)
{
updateFieldRequired('datalenght_other',0);
jQuery('#jform_datalenght_other').prop('required','required');
jQuery('#jform_datalenght_other').attr('aria-required',true);
jQuery('#jform_datalenght_other').addClass('required');
- jform_vvvvwcpvya_required = false;
+ jform_vvvvwcqvya_required = false;
}
}
else
{
jQuery('#jform_datalenght_other').closest('.control-group').hide();
// remove required attribute from datalenght_other field
- if (!jform_vvvvwcpvya_required)
+ if (!jform_vvvvwcqvya_required)
{
updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required');
- jform_vvvvwcpvya_required = true;
+ jform_vvvvwcqvya_required = true;
}
}
}
-// the vvvvwcp Some function
-function datalenght_vvvvwcp_SomeFunc(datalenght_vvvvwcp)
+// the vvvvwcq Some function
+function datalenght_vvvvwcq_SomeFunc(datalenght_vvvvwcq)
{
// set the function logic
- if (datalenght_vvvvwcp == 'Other')
+ if (datalenght_vvvvwcq == 'Other')
{
return true;
}
return false;
}
-// the vvvvwcp Some function
-function has_defaults_vvvvwcp_SomeFunc(has_defaults_vvvvwcp)
+// the vvvvwcq Some function
+function has_defaults_vvvvwcq_SomeFunc(has_defaults_vvvvwcq)
{
// set the function logic
- if (has_defaults_vvvvwcp == 1)
+ if (has_defaults_vvvvwcq == 1)
{
return true;
}
return false;
}
-// the vvvvwcr function
-function vvvvwcr(datadefault_vvvvwcr,has_defaults_vvvvwcr)
+// the vvvvwcs function
+function vvvvwcs(datadefault_vvvvwcs,has_defaults_vvvvwcs)
{
- if (isSet(datadefault_vvvvwcr) && datadefault_vvvvwcr.constructor !== Array)
+ if (isSet(datadefault_vvvvwcs) && datadefault_vvvvwcs.constructor !== Array)
{
- var temp_vvvvwcr = datadefault_vvvvwcr;
- var datadefault_vvvvwcr = [];
- datadefault_vvvvwcr.push(temp_vvvvwcr);
+ var temp_vvvvwcs = datadefault_vvvvwcs;
+ var datadefault_vvvvwcs = [];
+ datadefault_vvvvwcs.push(temp_vvvvwcs);
}
- else if (!isSet(datadefault_vvvvwcr))
+ else if (!isSet(datadefault_vvvvwcs))
{
- var datadefault_vvvvwcr = [];
+ var datadefault_vvvvwcs = [];
}
- var datadefault = datadefault_vvvvwcr.some(datadefault_vvvvwcr_SomeFunc);
+ var datadefault = datadefault_vvvvwcs.some(datadefault_vvvvwcs_SomeFunc);
- if (isSet(has_defaults_vvvvwcr) && has_defaults_vvvvwcr.constructor !== Array)
+ if (isSet(has_defaults_vvvvwcs) && has_defaults_vvvvwcs.constructor !== Array)
{
- var temp_vvvvwcr = has_defaults_vvvvwcr;
- var has_defaults_vvvvwcr = [];
- has_defaults_vvvvwcr.push(temp_vvvvwcr);
+ var temp_vvvvwcs = has_defaults_vvvvwcs;
+ var has_defaults_vvvvwcs = [];
+ has_defaults_vvvvwcs.push(temp_vvvvwcs);
}
- else if (!isSet(has_defaults_vvvvwcr))
+ else if (!isSet(has_defaults_vvvvwcs))
{
- var has_defaults_vvvvwcr = [];
+ var has_defaults_vvvvwcs = [];
}
- var has_defaults = has_defaults_vvvvwcr.some(has_defaults_vvvvwcr_SomeFunc);
+ var has_defaults = has_defaults_vvvvwcs.some(has_defaults_vvvvwcs_SomeFunc);
// set this function logic
@@ -176,78 +176,78 @@ function vvvvwcr(datadefault_vvvvwcr,has_defaults_vvvvwcr)
{
jQuery('#jform_datadefault_other').closest('.control-group').show();
// add required attribute to datadefault_other field
- if (jform_vvvvwcrvyb_required)
+ if (jform_vvvvwcsvyb_required)
{
updateFieldRequired('datadefault_other',0);
jQuery('#jform_datadefault_other').prop('required','required');
jQuery('#jform_datadefault_other').attr('aria-required',true);
jQuery('#jform_datadefault_other').addClass('required');
- jform_vvvvwcrvyb_required = false;
+ jform_vvvvwcsvyb_required = false;
}
}
else
{
jQuery('#jform_datadefault_other').closest('.control-group').hide();
// remove required attribute from datadefault_other field
- if (!jform_vvvvwcrvyb_required)
+ if (!jform_vvvvwcsvyb_required)
{
updateFieldRequired('datadefault_other',1);
jQuery('#jform_datadefault_other').removeAttr('required');
jQuery('#jform_datadefault_other').removeAttr('aria-required');
jQuery('#jform_datadefault_other').removeClass('required');
- jform_vvvvwcrvyb_required = true;
+ jform_vvvvwcsvyb_required = true;
}
}
}
-// the vvvvwcr Some function
-function datadefault_vvvvwcr_SomeFunc(datadefault_vvvvwcr)
+// the vvvvwcs Some function
+function datadefault_vvvvwcs_SomeFunc(datadefault_vvvvwcs)
{
// set the function logic
- if (datadefault_vvvvwcr == 'Other')
+ if (datadefault_vvvvwcs == 'Other')
{
return true;
}
return false;
}
-// the vvvvwcr Some function
-function has_defaults_vvvvwcr_SomeFunc(has_defaults_vvvvwcr)
+// the vvvvwcs Some function
+function has_defaults_vvvvwcs_SomeFunc(has_defaults_vvvvwcs)
{
// set the function logic
- if (has_defaults_vvvvwcr == 1)
+ if (has_defaults_vvvvwcs == 1)
{
return true;
}
return false;
}
-// the vvvvwct function
-function vvvvwct(datatype_vvvvwct,has_defaults_vvvvwct)
+// the vvvvwcu function
+function vvvvwcu(datatype_vvvvwcu,has_defaults_vvvvwcu)
{
- if (isSet(datatype_vvvvwct) && datatype_vvvvwct.constructor !== Array)
+ if (isSet(datatype_vvvvwcu) && datatype_vvvvwcu.constructor !== Array)
{
- var temp_vvvvwct = datatype_vvvvwct;
- var datatype_vvvvwct = [];
- datatype_vvvvwct.push(temp_vvvvwct);
+ var temp_vvvvwcu = datatype_vvvvwcu;
+ var datatype_vvvvwcu = [];
+ datatype_vvvvwcu.push(temp_vvvvwcu);
}
- else if (!isSet(datatype_vvvvwct))
+ else if (!isSet(datatype_vvvvwcu))
{
- var datatype_vvvvwct = [];
+ var datatype_vvvvwcu = [];
}
- var datatype = datatype_vvvvwct.some(datatype_vvvvwct_SomeFunc);
+ var datatype = datatype_vvvvwcu.some(datatype_vvvvwcu_SomeFunc);
- if (isSet(has_defaults_vvvvwct) && has_defaults_vvvvwct.constructor !== Array)
+ if (isSet(has_defaults_vvvvwcu) && has_defaults_vvvvwcu.constructor !== Array)
{
- var temp_vvvvwct = has_defaults_vvvvwct;
- var has_defaults_vvvvwct = [];
- has_defaults_vvvvwct.push(temp_vvvvwct);
+ var temp_vvvvwcu = has_defaults_vvvvwcu;
+ var has_defaults_vvvvwcu = [];
+ has_defaults_vvvvwcu.push(temp_vvvvwcu);
}
- else if (!isSet(has_defaults_vvvvwct))
+ else if (!isSet(has_defaults_vvvvwcu))
{
- var has_defaults_vvvvwct = [];
+ var has_defaults_vvvvwcu = [];
}
- var has_defaults = has_defaults_vvvvwct.some(has_defaults_vvvvwct_SomeFunc);
+ var has_defaults = has_defaults_vvvvwcu.some(has_defaults_vvvvwcu_SomeFunc);
// set this function logic
@@ -255,127 +255,46 @@ function vvvvwct(datatype_vvvvwct,has_defaults_vvvvwct)
{
jQuery('#jform_datalenght').closest('.control-group').show();
// add required attribute to datalenght field
- if (jform_vvvvwctvyc_required)
+ if (jform_vvvvwcuvyc_required)
{
updateFieldRequired('datalenght',0);
jQuery('#jform_datalenght').prop('required','required');
jQuery('#jform_datalenght').attr('aria-required',true);
jQuery('#jform_datalenght').addClass('required');
- jform_vvvvwctvyc_required = false;
+ jform_vvvvwcuvyc_required = false;
}
}
else
{
jQuery('#jform_datalenght').closest('.control-group').hide();
// remove required attribute from datalenght field
- if (!jform_vvvvwctvyc_required)
+ if (!jform_vvvvwcuvyc_required)
{
updateFieldRequired('datalenght',1);
jQuery('#jform_datalenght').removeAttr('required');
jQuery('#jform_datalenght').removeAttr('aria-required');
jQuery('#jform_datalenght').removeClass('required');
- jform_vvvvwctvyc_required = true;
+ jform_vvvvwcuvyc_required = true;
}
}
}
-// the vvvvwct Some function
-function datatype_vvvvwct_SomeFunc(datatype_vvvvwct)
+// the vvvvwcu Some function
+function datatype_vvvvwcu_SomeFunc(datatype_vvvvwcu)
{
// set the function logic
- if (datatype_vvvvwct == 'CHAR' || datatype_vvvvwct == 'VARCHAR' || datatype_vvvvwct == 'INT' || datatype_vvvvwct == 'TINYINT' || datatype_vvvvwct == 'BIGINT' || datatype_vvvvwct == 'FLOAT' || datatype_vvvvwct == 'DECIMAL' || datatype_vvvvwct == 'DOUBLE')
+ if (datatype_vvvvwcu == 'CHAR' || datatype_vvvvwcu == 'VARCHAR' || datatype_vvvvwcu == 'INT' || datatype_vvvvwcu == 'TINYINT' || datatype_vvvvwcu == 'BIGINT' || datatype_vvvvwcu == 'FLOAT' || datatype_vvvvwcu == 'DECIMAL' || datatype_vvvvwcu == 'DOUBLE')
{
return true;
}
return false;
}
-// the vvvvwct Some function
-function has_defaults_vvvvwct_SomeFunc(has_defaults_vvvvwct)
+// the vvvvwcu Some function
+function has_defaults_vvvvwcu_SomeFunc(has_defaults_vvvvwcu)
{
// set the function logic
- if (has_defaults_vvvvwct == 1)
- {
- return true;
- }
- return false;
-}
-
-// the vvvvwcv function
-function vvvvwcv(datatype_vvvvwcv,has_defaults_vvvvwcv)
-{
- if (isSet(datatype_vvvvwcv) && datatype_vvvvwcv.constructor !== Array)
- {
- var temp_vvvvwcv = datatype_vvvvwcv;
- var datatype_vvvvwcv = [];
- datatype_vvvvwcv.push(temp_vvvvwcv);
- }
- else if (!isSet(datatype_vvvvwcv))
- {
- var datatype_vvvvwcv = [];
- }
- var datatype = datatype_vvvvwcv.some(datatype_vvvvwcv_SomeFunc);
-
- if (isSet(has_defaults_vvvvwcv) && has_defaults_vvvvwcv.constructor !== Array)
- {
- var temp_vvvvwcv = has_defaults_vvvvwcv;
- var has_defaults_vvvvwcv = [];
- has_defaults_vvvvwcv.push(temp_vvvvwcv);
- }
- else if (!isSet(has_defaults_vvvvwcv))
- {
- var has_defaults_vvvvwcv = [];
- }
- var has_defaults = has_defaults_vvvvwcv.some(has_defaults_vvvvwcv_SomeFunc);
-
-
- // set this function logic
- if (datatype && has_defaults)
- {
- jQuery('#jform_datadefault').closest('.control-group').show();
- jQuery('#jform_indexes').closest('.control-group').show();
- // add required attribute to indexes field
- if (jform_vvvvwcvvyd_required)
- {
- updateFieldRequired('indexes',0);
- jQuery('#jform_indexes').prop('required','required');
- jQuery('#jform_indexes').attr('aria-required',true);
- jQuery('#jform_indexes').addClass('required');
- jform_vvvvwcvvyd_required = false;
- }
- }
- else
- {
- jQuery('#jform_datadefault').closest('.control-group').hide();
- jQuery('#jform_indexes').closest('.control-group').hide();
- // remove required attribute from indexes field
- if (!jform_vvvvwcvvyd_required)
- {
- updateFieldRequired('indexes',1);
- jQuery('#jform_indexes').removeAttr('required');
- jQuery('#jform_indexes').removeAttr('aria-required');
- jQuery('#jform_indexes').removeClass('required');
- jform_vvvvwcvvyd_required = true;
- }
- }
-}
-
-// the vvvvwcv Some function
-function datatype_vvvvwcv_SomeFunc(datatype_vvvvwcv)
-{
- // set the function logic
- if (datatype_vvvvwcv == 'CHAR' || datatype_vvvvwcv == 'VARCHAR' || datatype_vvvvwcv == 'DATETIME' || datatype_vvvvwcv == 'DATE' || datatype_vvvvwcv == 'TIME' || datatype_vvvvwcv == 'INT' || datatype_vvvvwcv == 'TINYINT' || datatype_vvvvwcv == 'BIGINT' || datatype_vvvvwcv == 'FLOAT' || datatype_vvvvwcv == 'DECIMAL' || datatype_vvvvwcv == 'DOUBLE')
- {
- return true;
- }
- return false;
-}
-
-// the vvvvwcv Some function
-function has_defaults_vvvvwcv_SomeFunc(has_defaults_vvvvwcv)
-{
- // set the function logic
- if (has_defaults_vvvvwcv == 1)
+ if (has_defaults_vvvvwcu == 1)
{
return true;
}
@@ -383,20 +302,8 @@ function has_defaults_vvvvwcv_SomeFunc(has_defaults_vvvvwcv)
}
// the vvvvwcw function
-function vvvvwcw(has_defaults_vvvvwcw,datatype_vvvvwcw)
+function vvvvwcw(datatype_vvvvwcw,has_defaults_vvvvwcw)
{
- if (isSet(has_defaults_vvvvwcw) && has_defaults_vvvvwcw.constructor !== Array)
- {
- var temp_vvvvwcw = has_defaults_vvvvwcw;
- var has_defaults_vvvvwcw = [];
- has_defaults_vvvvwcw.push(temp_vvvvwcw);
- }
- else if (!isSet(has_defaults_vvvvwcw))
- {
- var has_defaults_vvvvwcw = [];
- }
- var has_defaults = has_defaults_vvvvwcw.some(has_defaults_vvvvwcw_SomeFunc);
-
if (isSet(datatype_vvvvwcw) && datatype_vvvvwcw.constructor !== Array)
{
var temp_vvvvwcw = datatype_vvvvwcw;
@@ -409,20 +316,32 @@ function vvvvwcw(has_defaults_vvvvwcw,datatype_vvvvwcw)
}
var datatype = datatype_vvvvwcw.some(datatype_vvvvwcw_SomeFunc);
+ if (isSet(has_defaults_vvvvwcw) && has_defaults_vvvvwcw.constructor !== Array)
+ {
+ var temp_vvvvwcw = has_defaults_vvvvwcw;
+ var has_defaults_vvvvwcw = [];
+ has_defaults_vvvvwcw.push(temp_vvvvwcw);
+ }
+ else if (!isSet(has_defaults_vvvvwcw))
+ {
+ var has_defaults_vvvvwcw = [];
+ }
+ var has_defaults = has_defaults_vvvvwcw.some(has_defaults_vvvvwcw_SomeFunc);
+
// set this function logic
- if (has_defaults && datatype)
+ if (datatype && has_defaults)
{
jQuery('#jform_datadefault').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
// add required attribute to indexes field
- if (jform_vvvvwcwvye_required)
+ if (jform_vvvvwcwvyd_required)
{
updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required');
- jform_vvvvwcwvye_required = false;
+ jform_vvvvwcwvyd_required = false;
}
}
else
@@ -430,28 +349,17 @@ function vvvvwcw(has_defaults_vvvvwcw,datatype_vvvvwcw)
jQuery('#jform_datadefault').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
// remove required attribute from indexes field
- if (!jform_vvvvwcwvye_required)
+ if (!jform_vvvvwcwvyd_required)
{
updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required');
- jform_vvvvwcwvye_required = true;
+ jform_vvvvwcwvyd_required = true;
}
}
}
-// the vvvvwcw Some function
-function has_defaults_vvvvwcw_SomeFunc(has_defaults_vvvvwcw)
-{
- // set the function logic
- if (has_defaults_vvvvwcw == 1)
- {
- return true;
- }
- return false;
-}
-
// the vvvvwcw Some function
function datatype_vvvvwcw_SomeFunc(datatype_vvvvwcw)
{
@@ -463,21 +371,20 @@ function datatype_vvvvwcw_SomeFunc(datatype_vvvvwcw)
return false;
}
-// the vvvvwcx function
-function vvvvwcx(datatype_vvvvwcx,has_defaults_vvvvwcx)
+// the vvvvwcw Some function
+function has_defaults_vvvvwcw_SomeFunc(has_defaults_vvvvwcw)
{
- if (isSet(datatype_vvvvwcx) && datatype_vvvvwcx.constructor !== Array)
+ // set the function logic
+ if (has_defaults_vvvvwcw == 1)
{
- var temp_vvvvwcx = datatype_vvvvwcx;
- var datatype_vvvvwcx = [];
- datatype_vvvvwcx.push(temp_vvvvwcx);
+ return true;
}
- else if (!isSet(datatype_vvvvwcx))
- {
- var datatype_vvvvwcx = [];
- }
- var datatype = datatype_vvvvwcx.some(datatype_vvvvwcx_SomeFunc);
+ return false;
+}
+// the vvvvwcx function
+function vvvvwcx(has_defaults_vvvvwcx,datatype_vvvvwcx)
+{
if (isSet(has_defaults_vvvvwcx) && has_defaults_vvvvwcx.constructor !== Array)
{
var temp_vvvvwcx = has_defaults_vvvvwcx;
@@ -490,47 +397,50 @@ function vvvvwcx(datatype_vvvvwcx,has_defaults_vvvvwcx)
}
var has_defaults = has_defaults_vvvvwcx.some(has_defaults_vvvvwcx_SomeFunc);
+ if (isSet(datatype_vvvvwcx) && datatype_vvvvwcx.constructor !== Array)
+ {
+ var temp_vvvvwcx = datatype_vvvvwcx;
+ var datatype_vvvvwcx = [];
+ datatype_vvvvwcx.push(temp_vvvvwcx);
+ }
+ else if (!isSet(datatype_vvvvwcx))
+ {
+ var datatype_vvvvwcx = [];
+ }
+ var datatype = datatype_vvvvwcx.some(datatype_vvvvwcx_SomeFunc);
+
// set this function logic
- if (datatype && has_defaults)
+ if (has_defaults && datatype)
{
- jQuery('#jform_store').closest('.control-group').show();
- // add required attribute to store field
- if (jform_vvvvwcxvyf_required)
+ jQuery('#jform_datadefault').closest('.control-group').show();
+ jQuery('#jform_indexes').closest('.control-group').show();
+ // add required attribute to indexes field
+ if (jform_vvvvwcxvye_required)
{
- updateFieldRequired('store',0);
- jQuery('#jform_store').prop('required','required');
- jQuery('#jform_store').attr('aria-required',true);
- jQuery('#jform_store').addClass('required');
- jform_vvvvwcxvyf_required = false;
+ updateFieldRequired('indexes',0);
+ jQuery('#jform_indexes').prop('required','required');
+ jQuery('#jform_indexes').attr('aria-required',true);
+ jQuery('#jform_indexes').addClass('required');
+ jform_vvvvwcxvye_required = false;
}
}
else
{
- jQuery('#jform_store').closest('.control-group').hide();
- // remove required attribute from store field
- if (!jform_vvvvwcxvyf_required)
+ jQuery('#jform_datadefault').closest('.control-group').hide();
+ jQuery('#jform_indexes').closest('.control-group').hide();
+ // remove required attribute from indexes field
+ if (!jform_vvvvwcxvye_required)
{
- updateFieldRequired('store',1);
- jQuery('#jform_store').removeAttr('required');
- jQuery('#jform_store').removeAttr('aria-required');
- jQuery('#jform_store').removeClass('required');
- jform_vvvvwcxvyf_required = true;
+ updateFieldRequired('indexes',1);
+ jQuery('#jform_indexes').removeAttr('required');
+ jQuery('#jform_indexes').removeAttr('aria-required');
+ jQuery('#jform_indexes').removeClass('required');
+ jform_vvvvwcxvye_required = true;
}
}
}
-// the vvvvwcx Some function
-function datatype_vvvvwcx_SomeFunc(datatype_vvvvwcx)
-{
- // set the function logic
- if (datatype_vvvvwcx == 'CHAR' || datatype_vvvvwcx == 'VARCHAR' || datatype_vvvvwcx == 'TEXT' || datatype_vvvvwcx == 'MEDIUMTEXT' || datatype_vvvvwcx == 'LONGTEXT' || datatype_vvvvwcx == 'BLOB' || datatype_vvvvwcx == 'TINYBLOB' || datatype_vvvvwcx == 'MEDIUMBLOB' || datatype_vvvvwcx == 'LONGBLOB')
- {
- return true;
- }
- return false;
-}
-
// the vvvvwcx Some function
function has_defaults_vvvvwcx_SomeFunc(has_defaults_vvvvwcx)
{
@@ -542,84 +452,90 @@ function has_defaults_vvvvwcx_SomeFunc(has_defaults_vvvvwcx)
return false;
}
-// the vvvvwcz function
-function vvvvwcz(store_vvvvwcz,datatype_vvvvwcz,has_defaults_vvvvwcz)
+// the vvvvwcx Some function
+function datatype_vvvvwcx_SomeFunc(datatype_vvvvwcx)
{
- if (isSet(store_vvvvwcz) && store_vvvvwcz.constructor !== Array)
+ // set the function logic
+ if (datatype_vvvvwcx == 'CHAR' || datatype_vvvvwcx == 'VARCHAR' || datatype_vvvvwcx == 'DATETIME' || datatype_vvvvwcx == 'DATE' || datatype_vvvvwcx == 'TIME' || datatype_vvvvwcx == 'INT' || datatype_vvvvwcx == 'TINYINT' || datatype_vvvvwcx == 'BIGINT' || datatype_vvvvwcx == 'FLOAT' || datatype_vvvvwcx == 'DECIMAL' || datatype_vvvvwcx == 'DOUBLE')
{
- var temp_vvvvwcz = store_vvvvwcz;
- var store_vvvvwcz = [];
- store_vvvvwcz.push(temp_vvvvwcz);
+ return true;
}
- else if (!isSet(store_vvvvwcz))
- {
- var store_vvvvwcz = [];
- }
- var store = store_vvvvwcz.some(store_vvvvwcz_SomeFunc);
+ return false;
+}
- if (isSet(datatype_vvvvwcz) && datatype_vvvvwcz.constructor !== Array)
+// the vvvvwcy function
+function vvvvwcy(datatype_vvvvwcy,has_defaults_vvvvwcy)
+{
+ if (isSet(datatype_vvvvwcy) && datatype_vvvvwcy.constructor !== Array)
{
- var temp_vvvvwcz = datatype_vvvvwcz;
- var datatype_vvvvwcz = [];
- datatype_vvvvwcz.push(temp_vvvvwcz);
+ var temp_vvvvwcy = datatype_vvvvwcy;
+ var datatype_vvvvwcy = [];
+ datatype_vvvvwcy.push(temp_vvvvwcy);
}
- else if (!isSet(datatype_vvvvwcz))
+ else if (!isSet(datatype_vvvvwcy))
{
- var datatype_vvvvwcz = [];
+ var datatype_vvvvwcy = [];
}
- var datatype = datatype_vvvvwcz.some(datatype_vvvvwcz_SomeFunc);
+ var datatype = datatype_vvvvwcy.some(datatype_vvvvwcy_SomeFunc);
- if (isSet(has_defaults_vvvvwcz) && has_defaults_vvvvwcz.constructor !== Array)
+ if (isSet(has_defaults_vvvvwcy) && has_defaults_vvvvwcy.constructor !== Array)
{
- var temp_vvvvwcz = has_defaults_vvvvwcz;
- var has_defaults_vvvvwcz = [];
- has_defaults_vvvvwcz.push(temp_vvvvwcz);
+ var temp_vvvvwcy = has_defaults_vvvvwcy;
+ var has_defaults_vvvvwcy = [];
+ has_defaults_vvvvwcy.push(temp_vvvvwcy);
}
- else if (!isSet(has_defaults_vvvvwcz))
+ else if (!isSet(has_defaults_vvvvwcy))
{
- var has_defaults_vvvvwcz = [];
+ var has_defaults_vvvvwcy = [];
}
- var has_defaults = has_defaults_vvvvwcz.some(has_defaults_vvvvwcz_SomeFunc);
+ var has_defaults = has_defaults_vvvvwcy.some(has_defaults_vvvvwcy_SomeFunc);
// set this function logic
- if (store && datatype && has_defaults)
+ if (datatype && has_defaults)
{
- jQuery('.note_whmcs_encryption').closest('.control-group').show();
+ jQuery('#jform_store').closest('.control-group').show();
+ // add required attribute to store field
+ if (jform_vvvvwcyvyf_required)
+ {
+ updateFieldRequired('store',0);
+ jQuery('#jform_store').prop('required','required');
+ jQuery('#jform_store').attr('aria-required',true);
+ jQuery('#jform_store').addClass('required');
+ jform_vvvvwcyvyf_required = false;
+ }
}
else
{
- jQuery('.note_whmcs_encryption').closest('.control-group').hide();
+ jQuery('#jform_store').closest('.control-group').hide();
+ // remove required attribute from store field
+ if (!jform_vvvvwcyvyf_required)
+ {
+ updateFieldRequired('store',1);
+ jQuery('#jform_store').removeAttr('required');
+ jQuery('#jform_store').removeAttr('aria-required');
+ jQuery('#jform_store').removeClass('required');
+ jform_vvvvwcyvyf_required = true;
+ }
}
}
-// the vvvvwcz Some function
-function store_vvvvwcz_SomeFunc(store_vvvvwcz)
+// the vvvvwcy Some function
+function datatype_vvvvwcy_SomeFunc(datatype_vvvvwcy)
{
// set the function logic
- if (store_vvvvwcz == 4)
+ if (datatype_vvvvwcy == 'CHAR' || datatype_vvvvwcy == 'VARCHAR' || datatype_vvvvwcy == 'TEXT' || datatype_vvvvwcy == 'MEDIUMTEXT' || datatype_vvvvwcy == 'LONGTEXT' || datatype_vvvvwcy == 'BLOB' || datatype_vvvvwcy == 'TINYBLOB' || datatype_vvvvwcy == 'MEDIUMBLOB' || datatype_vvvvwcy == 'LONGBLOB')
{
return true;
}
return false;
}
-// the vvvvwcz Some function
-function datatype_vvvvwcz_SomeFunc(datatype_vvvvwcz)
+// the vvvvwcy Some function
+function has_defaults_vvvvwcy_SomeFunc(has_defaults_vvvvwcy)
{
// set the function logic
- if (datatype_vvvvwcz == 'CHAR' || datatype_vvvvwcz == 'VARCHAR' || datatype_vvvvwcz == 'TEXT' || datatype_vvvvwcz == 'MEDIUMTEXT' || datatype_vvvvwcz == 'LONGTEXT' || datatype_vvvvwcz == 'BLOB' || datatype_vvvvwcz == 'TINYBLOB' || datatype_vvvvwcz == 'MEDIUMBLOB' || datatype_vvvvwcz == 'LONGBLOB')
- {
- return true;
- }
- return false;
-}
-
-// the vvvvwcz Some function
-function has_defaults_vvvvwcz_SomeFunc(has_defaults_vvvvwcz)
-{
- // set the function logic
- if (has_defaults_vvvvwcz == 1)
+ if (has_defaults_vvvvwcy == 1)
{
return true;
}
@@ -627,20 +543,8 @@ function has_defaults_vvvvwcz_SomeFunc(has_defaults_vvvvwcz)
}
// the vvvvwda function
-function vvvvwda(datatype_vvvvwda,store_vvvvwda,has_defaults_vvvvwda)
+function vvvvwda(store_vvvvwda,datatype_vvvvwda,has_defaults_vvvvwda)
{
- if (isSet(datatype_vvvvwda) && datatype_vvvvwda.constructor !== Array)
- {
- var temp_vvvvwda = datatype_vvvvwda;
- var datatype_vvvvwda = [];
- datatype_vvvvwda.push(temp_vvvvwda);
- }
- else if (!isSet(datatype_vvvvwda))
- {
- var datatype_vvvvwda = [];
- }
- var datatype = datatype_vvvvwda.some(datatype_vvvvwda_SomeFunc);
-
if (isSet(store_vvvvwda) && store_vvvvwda.constructor !== Array)
{
var temp_vvvvwda = store_vvvvwda;
@@ -653,6 +557,18 @@ function vvvvwda(datatype_vvvvwda,store_vvvvwda,has_defaults_vvvvwda)
}
var store = store_vvvvwda.some(store_vvvvwda_SomeFunc);
+ if (isSet(datatype_vvvvwda) && datatype_vvvvwda.constructor !== Array)
+ {
+ var temp_vvvvwda = datatype_vvvvwda;
+ var datatype_vvvvwda = [];
+ datatype_vvvvwda.push(temp_vvvvwda);
+ }
+ else if (!isSet(datatype_vvvvwda))
+ {
+ var datatype_vvvvwda = [];
+ }
+ var datatype = datatype_vvvvwda.some(datatype_vvvvwda_SomeFunc);
+
if (isSet(has_defaults_vvvvwda) && has_defaults_vvvvwda.constructor !== Array)
{
var temp_vvvvwda = has_defaults_vvvvwda;
@@ -667,7 +583,7 @@ function vvvvwda(datatype_vvvvwda,store_vvvvwda,has_defaults_vvvvwda)
// set this function logic
- if (datatype && store && has_defaults)
+ if (store && datatype && has_defaults)
{
jQuery('.note_whmcs_encryption').closest('.control-group').show();
}
@@ -678,10 +594,10 @@ function vvvvwda(datatype_vvvvwda,store_vvvvwda,has_defaults_vvvvwda)
}
// the vvvvwda Some function
-function datatype_vvvvwda_SomeFunc(datatype_vvvvwda)
+function store_vvvvwda_SomeFunc(store_vvvvwda)
{
// set the function logic
- if (datatype_vvvvwda == 'CHAR' || datatype_vvvvwda == 'VARCHAR' || datatype_vvvvwda == 'TEXT' || datatype_vvvvwda == 'MEDIUMTEXT' || datatype_vvvvwda == 'LONGTEXT' || datatype_vvvvwda == 'BLOB' || datatype_vvvvwda == 'TINYBLOB' || datatype_vvvvwda == 'MEDIUMBLOB' || datatype_vvvvwda == 'LONGBLOB')
+ if (store_vvvvwda == 4)
{
return true;
}
@@ -689,10 +605,10 @@ function datatype_vvvvwda_SomeFunc(datatype_vvvvwda)
}
// the vvvvwda Some function
-function store_vvvvwda_SomeFunc(store_vvvvwda)
+function datatype_vvvvwda_SomeFunc(datatype_vvvvwda)
{
// set the function logic
- if (store_vvvvwda == 4)
+ if (datatype_vvvvwda == 'CHAR' || datatype_vvvvwda == 'VARCHAR' || datatype_vvvvwda == 'TEXT' || datatype_vvvvwda == 'MEDIUMTEXT' || datatype_vvvvwda == 'LONGTEXT' || datatype_vvvvwda == 'BLOB' || datatype_vvvvwda == 'TINYBLOB' || datatype_vvvvwda == 'MEDIUMBLOB' || datatype_vvvvwda == 'LONGBLOB')
{
return true;
}
@@ -711,19 +627,19 @@ function has_defaults_vvvvwda_SomeFunc(has_defaults_vvvvwda)
}
// the vvvvwdb function
-function vvvvwdb(has_defaults_vvvvwdb,store_vvvvwdb,datatype_vvvvwdb)
+function vvvvwdb(datatype_vvvvwdb,store_vvvvwdb,has_defaults_vvvvwdb)
{
- if (isSet(has_defaults_vvvvwdb) && has_defaults_vvvvwdb.constructor !== Array)
+ if (isSet(datatype_vvvvwdb) && datatype_vvvvwdb.constructor !== Array)
{
- var temp_vvvvwdb = has_defaults_vvvvwdb;
- var has_defaults_vvvvwdb = [];
- has_defaults_vvvvwdb.push(temp_vvvvwdb);
+ var temp_vvvvwdb = datatype_vvvvwdb;
+ var datatype_vvvvwdb = [];
+ datatype_vvvvwdb.push(temp_vvvvwdb);
}
- else if (!isSet(has_defaults_vvvvwdb))
+ else if (!isSet(datatype_vvvvwdb))
{
- var has_defaults_vvvvwdb = [];
+ var datatype_vvvvwdb = [];
}
- var has_defaults = has_defaults_vvvvwdb.some(has_defaults_vvvvwdb_SomeFunc);
+ var datatype = datatype_vvvvwdb.some(datatype_vvvvwdb_SomeFunc);
if (isSet(store_vvvvwdb) && store_vvvvwdb.constructor !== Array)
{
@@ -737,21 +653,21 @@ function vvvvwdb(has_defaults_vvvvwdb,store_vvvvwdb,datatype_vvvvwdb)
}
var store = store_vvvvwdb.some(store_vvvvwdb_SomeFunc);
- if (isSet(datatype_vvvvwdb) && datatype_vvvvwdb.constructor !== Array)
+ if (isSet(has_defaults_vvvvwdb) && has_defaults_vvvvwdb.constructor !== Array)
{
- var temp_vvvvwdb = datatype_vvvvwdb;
- var datatype_vvvvwdb = [];
- datatype_vvvvwdb.push(temp_vvvvwdb);
+ var temp_vvvvwdb = has_defaults_vvvvwdb;
+ var has_defaults_vvvvwdb = [];
+ has_defaults_vvvvwdb.push(temp_vvvvwdb);
}
- else if (!isSet(datatype_vvvvwdb))
+ else if (!isSet(has_defaults_vvvvwdb))
{
- var datatype_vvvvwdb = [];
+ var has_defaults_vvvvwdb = [];
}
- var datatype = datatype_vvvvwdb.some(datatype_vvvvwdb_SomeFunc);
+ var has_defaults = has_defaults_vvvvwdb.some(has_defaults_vvvvwdb_SomeFunc);
// set this function logic
- if (has_defaults && store && datatype)
+ if (datatype && store && has_defaults)
{
jQuery('.note_whmcs_encryption').closest('.control-group').show();
}
@@ -762,10 +678,10 @@ function vvvvwdb(has_defaults_vvvvwdb,store_vvvvwdb,datatype_vvvvwdb)
}
// the vvvvwdb Some function
-function has_defaults_vvvvwdb_SomeFunc(has_defaults_vvvvwdb)
+function datatype_vvvvwdb_SomeFunc(datatype_vvvvwdb)
{
// set the function logic
- if (has_defaults_vvvvwdb == 1)
+ if (datatype_vvvvwdb == 'CHAR' || datatype_vvvvwdb == 'VARCHAR' || datatype_vvvvwdb == 'TEXT' || datatype_vvvvwdb == 'MEDIUMTEXT' || datatype_vvvvwdb == 'LONGTEXT' || datatype_vvvvwdb == 'BLOB' || datatype_vvvvwdb == 'TINYBLOB' || datatype_vvvvwdb == 'MEDIUMBLOB' || datatype_vvvvwdb == 'LONGBLOB')
{
return true;
}
@@ -784,10 +700,10 @@ function store_vvvvwdb_SomeFunc(store_vvvvwdb)
}
// the vvvvwdb Some function
-function datatype_vvvvwdb_SomeFunc(datatype_vvvvwdb)
+function has_defaults_vvvvwdb_SomeFunc(has_defaults_vvvvwdb)
{
// set the function logic
- if (datatype_vvvvwdb == 'CHAR' || datatype_vvvvwdb == 'VARCHAR' || datatype_vvvvwdb == 'TEXT' || datatype_vvvvwdb == 'MEDIUMTEXT' || datatype_vvvvwdb == 'LONGTEXT' || datatype_vvvvwdb == 'BLOB' || datatype_vvvvwdb == 'TINYBLOB' || datatype_vvvvwdb == 'MEDIUMBLOB' || datatype_vvvvwdb == 'LONGBLOB')
+ if (has_defaults_vvvvwdb == 1)
{
return true;
}
@@ -795,53 +711,137 @@ function datatype_vvvvwdb_SomeFunc(datatype_vvvvwdb)
}
// the vvvvwdc function
-function vvvvwdc(has_defaults_vvvvwdc)
+function vvvvwdc(has_defaults_vvvvwdc,store_vvvvwdc,datatype_vvvvwdc)
+{
+ if (isSet(has_defaults_vvvvwdc) && has_defaults_vvvvwdc.constructor !== Array)
+ {
+ var temp_vvvvwdc = has_defaults_vvvvwdc;
+ var has_defaults_vvvvwdc = [];
+ has_defaults_vvvvwdc.push(temp_vvvvwdc);
+ }
+ else if (!isSet(has_defaults_vvvvwdc))
+ {
+ var has_defaults_vvvvwdc = [];
+ }
+ var has_defaults = has_defaults_vvvvwdc.some(has_defaults_vvvvwdc_SomeFunc);
+
+ if (isSet(store_vvvvwdc) && store_vvvvwdc.constructor !== Array)
+ {
+ var temp_vvvvwdc = store_vvvvwdc;
+ var store_vvvvwdc = [];
+ store_vvvvwdc.push(temp_vvvvwdc);
+ }
+ else if (!isSet(store_vvvvwdc))
+ {
+ var store_vvvvwdc = [];
+ }
+ var store = store_vvvvwdc.some(store_vvvvwdc_SomeFunc);
+
+ if (isSet(datatype_vvvvwdc) && datatype_vvvvwdc.constructor !== Array)
+ {
+ var temp_vvvvwdc = datatype_vvvvwdc;
+ var datatype_vvvvwdc = [];
+ datatype_vvvvwdc.push(temp_vvvvwdc);
+ }
+ else if (!isSet(datatype_vvvvwdc))
+ {
+ var datatype_vvvvwdc = [];
+ }
+ var datatype = datatype_vvvvwdc.some(datatype_vvvvwdc_SomeFunc);
+
+
+ // set this function logic
+ if (has_defaults && store && datatype)
+ {
+ jQuery('.note_whmcs_encryption').closest('.control-group').show();
+ }
+ else
+ {
+ jQuery('.note_whmcs_encryption').closest('.control-group').hide();
+ }
+}
+
+// the vvvvwdc Some function
+function has_defaults_vvvvwdc_SomeFunc(has_defaults_vvvvwdc)
{
// set the function logic
if (has_defaults_vvvvwdc == 1)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvwdc Some function
+function store_vvvvwdc_SomeFunc(store_vvvvwdc)
+{
+ // set the function logic
+ if (store_vvvvwdc == 4)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvwdc Some function
+function datatype_vvvvwdc_SomeFunc(datatype_vvvvwdc)
+{
+ // set the function logic
+ if (datatype_vvvvwdc == 'CHAR' || datatype_vvvvwdc == 'VARCHAR' || datatype_vvvvwdc == 'TEXT' || datatype_vvvvwdc == 'MEDIUMTEXT' || datatype_vvvvwdc == 'LONGTEXT' || datatype_vvvvwdc == 'BLOB' || datatype_vvvvwdc == 'TINYBLOB' || datatype_vvvvwdc == 'MEDIUMBLOB' || datatype_vvvvwdc == 'LONGBLOB')
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvwdd function
+function vvvvwdd(has_defaults_vvvvwdd)
+{
+ // set the function logic
+ if (has_defaults_vvvvwdd == 1)
{
jQuery('#jform_datatype').closest('.control-group').show();
// add required attribute to datatype field
- if (jform_vvvvwdcvyg_required)
+ if (jform_vvvvwddvyg_required)
{
updateFieldRequired('datatype',0);
jQuery('#jform_datatype').prop('required','required');
jQuery('#jform_datatype').attr('aria-required',true);
jQuery('#jform_datatype').addClass('required');
- jform_vvvvwdcvyg_required = false;
+ jform_vvvvwddvyg_required = false;
}
jQuery('#jform_null_switch').closest('.control-group').show();
// add required attribute to null_switch field
- if (jform_vvvvwdcvyh_required)
+ if (jform_vvvvwddvyh_required)
{
updateFieldRequired('null_switch',0);
jQuery('#jform_null_switch').prop('required','required');
jQuery('#jform_null_switch').attr('aria-required',true);
jQuery('#jform_null_switch').addClass('required');
- jform_vvvvwdcvyh_required = false;
+ jform_vvvvwddvyh_required = false;
}
}
else
{
jQuery('#jform_datatype').closest('.control-group').hide();
// remove required attribute from datatype field
- if (!jform_vvvvwdcvyg_required)
+ if (!jform_vvvvwddvyg_required)
{
updateFieldRequired('datatype',1);
jQuery('#jform_datatype').removeAttr('required');
jQuery('#jform_datatype').removeAttr('aria-required');
jQuery('#jform_datatype').removeClass('required');
- jform_vvvvwdcvyg_required = true;
+ jform_vvvvwddvyg_required = true;
}
jQuery('#jform_null_switch').closest('.control-group').hide();
// remove required attribute from null_switch field
- if (!jform_vvvvwdcvyh_required)
+ if (!jform_vvvvwddvyh_required)
{
updateFieldRequired('null_switch',1);
jQuery('#jform_null_switch').removeAttr('required');
jQuery('#jform_null_switch').removeAttr('aria-required');
jQuery('#jform_null_switch').removeClass('required');
- jform_vvvvwdcvyh_required = true;
+ jform_vvvvwddvyh_required = true;
}
}
}
diff --git a/admin/models/forms/help_document.js b/admin/models/forms/help_document.js
index ac0b34d0e..d452f9156 100644
--- a/admin/models/forms/help_document.js
+++ b/admin/models/forms/help_document.js
@@ -9,23 +9,20 @@
*/
// Some Global Values
-jform_vvvvwdnvyt_required = false;
-jform_vvvvwdovyu_required = false;
-jform_vvvvwdpvyv_required = false;
-jform_vvvvwdqvyw_required = false;
-jform_vvvvwdsvyx_required = false;
+jform_vvvvwdovyt_required = false;
+jform_vvvvwdpvyu_required = false;
+jform_vvvvwdqvyv_required = false;
+jform_vvvvwdrvyw_required = false;
+jform_vvvvwdtvyx_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var location_vvvvwdn = jQuery("#jform_location input[type='radio']:checked").val();
- vvvvwdn(location_vvvvwdn);
-
var location_vvvvwdo = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwdo(location_vvvvwdo);
- var type_vvvvwdp = jQuery("#jform_type").val();
- vvvvwdp(type_vvvvwdp);
+ var location_vvvvwdp = jQuery("#jform_location input[type='radio']:checked").val();
+ vvvvwdp(location_vvvvwdp);
var type_vvvvwdq = jQuery("#jform_type").val();
vvvvwdq(type_vvvvwdq);
@@ -33,130 +30,77 @@ jQuery(document).ready(function()
var type_vvvvwdr = jQuery("#jform_type").val();
vvvvwdr(type_vvvvwdr);
- var target_vvvvwds = jQuery("#jform_target input[type='radio']:checked").val();
- vvvvwds(target_vvvvwds);
+ var type_vvvvwds = jQuery("#jform_type").val();
+ vvvvwds(type_vvvvwds);
+
+ var target_vvvvwdt = jQuery("#jform_target input[type='radio']:checked").val();
+ vvvvwdt(target_vvvvwdt);
});
-// the vvvvwdn function
-function vvvvwdn(location_vvvvwdn)
+// the vvvvwdo function
+function vvvvwdo(location_vvvvwdo)
{
// set the function logic
- if (location_vvvvwdn == 1)
+ if (location_vvvvwdo == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
// add required attribute to admin_view field
- if (jform_vvvvwdnvyt_required)
+ if (jform_vvvvwdovyt_required)
{
updateFieldRequired('admin_view',0);
jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_admin_view').addClass('required');
- jform_vvvvwdnvyt_required = false;
+ jform_vvvvwdovyt_required = false;
}
}
else
{
jQuery('#jform_admin_view').closest('.control-group').hide();
// remove required attribute from admin_view field
- if (!jform_vvvvwdnvyt_required)
+ if (!jform_vvvvwdovyt_required)
{
updateFieldRequired('admin_view',1);
jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_admin_view').removeClass('required');
- jform_vvvvwdnvyt_required = true;
+ jform_vvvvwdovyt_required = true;
}
}
}
-// the vvvvwdo function
-function vvvvwdo(location_vvvvwdo)
+// the vvvvwdp function
+function vvvvwdp(location_vvvvwdp)
{
// set the function logic
- if (location_vvvvwdo == 2)
+ if (location_vvvvwdp == 2)
{
jQuery('#jform_site_view').closest('.control-group').show();
// add required attribute to site_view field
- if (jform_vvvvwdovyu_required)
+ if (jform_vvvvwdpvyu_required)
{
updateFieldRequired('site_view',0);
jQuery('#jform_site_view').prop('required','required');
jQuery('#jform_site_view').attr('aria-required',true);
jQuery('#jform_site_view').addClass('required');
- jform_vvvvwdovyu_required = false;
+ jform_vvvvwdpvyu_required = false;
}
}
else
{
jQuery('#jform_site_view').closest('.control-group').hide();
// remove required attribute from site_view field
- if (!jform_vvvvwdovyu_required)
+ if (!jform_vvvvwdpvyu_required)
{
updateFieldRequired('site_view',1);
jQuery('#jform_site_view').removeAttr('required');
jQuery('#jform_site_view').removeAttr('aria-required');
jQuery('#jform_site_view').removeClass('required');
- jform_vvvvwdovyu_required = true;
+ jform_vvvvwdpvyu_required = true;
}
}
}
-// the vvvvwdp function
-function vvvvwdp(type_vvvvwdp)
-{
- if (isSet(type_vvvvwdp) && type_vvvvwdp.constructor !== Array)
- {
- var temp_vvvvwdp = type_vvvvwdp;
- var type_vvvvwdp = [];
- type_vvvvwdp.push(temp_vvvvwdp);
- }
- else if (!isSet(type_vvvvwdp))
- {
- var type_vvvvwdp = [];
- }
- var type = type_vvvvwdp.some(type_vvvvwdp_SomeFunc);
-
-
- // set this function logic
- if (type)
- {
- jQuery('#jform_url').closest('.control-group').show();
- // add required attribute to url field
- if (jform_vvvvwdpvyv_required)
- {
- updateFieldRequired('url',0);
- jQuery('#jform_url').prop('required','required');
- jQuery('#jform_url').attr('aria-required',true);
- jQuery('#jform_url').addClass('required');
- jform_vvvvwdpvyv_required = false;
- }
- }
- else
- {
- jQuery('#jform_url').closest('.control-group').hide();
- // remove required attribute from url field
- if (!jform_vvvvwdpvyv_required)
- {
- updateFieldRequired('url',1);
- jQuery('#jform_url').removeAttr('required');
- jQuery('#jform_url').removeAttr('aria-required');
- jQuery('#jform_url').removeClass('required');
- jform_vvvvwdpvyv_required = true;
- }
- }
-}
-
-// the vvvvwdp Some function
-function type_vvvvwdp_SomeFunc(type_vvvvwdp)
-{
- // set the function logic
- if (type_vvvvwdp == 3)
- {
- return true;
- }
- return false;
-}
-
// the vvvvwdq function
function vvvvwdq(type_vvvvwdq)
{
@@ -176,28 +120,28 @@ function vvvvwdq(type_vvvvwdq)
// set this function logic
if (type)
{
- jQuery('#jform_article').closest('.control-group').show();
- // add required attribute to article field
- if (jform_vvvvwdqvyw_required)
+ jQuery('#jform_url').closest('.control-group').show();
+ // add required attribute to url field
+ if (jform_vvvvwdqvyv_required)
{
- updateFieldRequired('article',0);
- jQuery('#jform_article').prop('required','required');
- jQuery('#jform_article').attr('aria-required',true);
- jQuery('#jform_article').addClass('required');
- jform_vvvvwdqvyw_required = false;
+ updateFieldRequired('url',0);
+ jQuery('#jform_url').prop('required','required');
+ jQuery('#jform_url').attr('aria-required',true);
+ jQuery('#jform_url').addClass('required');
+ jform_vvvvwdqvyv_required = false;
}
}
else
{
- jQuery('#jform_article').closest('.control-group').hide();
- // remove required attribute from article field
- if (!jform_vvvvwdqvyw_required)
+ jQuery('#jform_url').closest('.control-group').hide();
+ // remove required attribute from url field
+ if (!jform_vvvvwdqvyv_required)
{
- updateFieldRequired('article',1);
- jQuery('#jform_article').removeAttr('required');
- jQuery('#jform_article').removeAttr('aria-required');
- jQuery('#jform_article').removeClass('required');
- jform_vvvvwdqvyw_required = true;
+ updateFieldRequired('url',1);
+ jQuery('#jform_url').removeAttr('required');
+ jQuery('#jform_url').removeAttr('aria-required');
+ jQuery('#jform_url').removeClass('required');
+ jform_vvvvwdqvyv_required = true;
}
}
}
@@ -206,7 +150,7 @@ function vvvvwdq(type_vvvvwdq)
function type_vvvvwdq_SomeFunc(type_vvvvwdq)
{
// set the function logic
- if (type_vvvvwdq == 1)
+ if (type_vvvvwdq == 3)
{
return true;
}
@@ -229,6 +173,62 @@ function vvvvwdr(type_vvvvwdr)
var type = type_vvvvwdr.some(type_vvvvwdr_SomeFunc);
+ // set this function logic
+ if (type)
+ {
+ jQuery('#jform_article').closest('.control-group').show();
+ // add required attribute to article field
+ if (jform_vvvvwdrvyw_required)
+ {
+ updateFieldRequired('article',0);
+ jQuery('#jform_article').prop('required','required');
+ jQuery('#jform_article').attr('aria-required',true);
+ jQuery('#jform_article').addClass('required');
+ jform_vvvvwdrvyw_required = false;
+ }
+ }
+ else
+ {
+ jQuery('#jform_article').closest('.control-group').hide();
+ // remove required attribute from article field
+ if (!jform_vvvvwdrvyw_required)
+ {
+ updateFieldRequired('article',1);
+ jQuery('#jform_article').removeAttr('required');
+ jQuery('#jform_article').removeAttr('aria-required');
+ jQuery('#jform_article').removeClass('required');
+ jform_vvvvwdrvyw_required = true;
+ }
+ }
+}
+
+// the vvvvwdr Some function
+function type_vvvvwdr_SomeFunc(type_vvvvwdr)
+{
+ // set the function logic
+ if (type_vvvvwdr == 1)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvwds function
+function vvvvwds(type_vvvvwds)
+{
+ if (isSet(type_vvvvwds) && type_vvvvwds.constructor !== Array)
+ {
+ var temp_vvvvwds = type_vvvvwds;
+ var type_vvvvwds = [];
+ type_vvvvwds.push(temp_vvvvwds);
+ }
+ else if (!isSet(type_vvvvwds))
+ {
+ var type_vvvvwds = [];
+ }
+ var type = type_vvvvwds.some(type_vvvvwds_SomeFunc);
+
+
// set this function logic
if (type)
{
@@ -240,45 +240,45 @@ function vvvvwdr(type_vvvvwdr)
}
}
-// the vvvvwdr Some function
-function type_vvvvwdr_SomeFunc(type_vvvvwdr)
+// the vvvvwds Some function
+function type_vvvvwds_SomeFunc(type_vvvvwds)
{
// set the function logic
- if (type_vvvvwdr == 2)
+ if (type_vvvvwds == 2)
{
return true;
}
return false;
}
-// the vvvvwds function
-function vvvvwds(target_vvvvwds)
+// the vvvvwdt function
+function vvvvwdt(target_vvvvwdt)
{
// set the function logic
- if (target_vvvvwds == 1)
+ if (target_vvvvwdt == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
// add required attribute to groups field
- if (jform_vvvvwdsvyx_required)
+ if (jform_vvvvwdtvyx_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
- jform_vvvvwdsvyx_required = false;
+ jform_vvvvwdtvyx_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
// remove required attribute from groups field
- if (!jform_vvvvwdsvyx_required)
+ if (!jform_vvvvwdtvyx_required)
{
updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required');
- jform_vvvvwdsvyx_required = true;
+ jform_vvvvwdtvyx_required = true;
}
}
}
diff --git a/admin/models/forms/library.js b/admin/models/forms/library.js
index 015fbab01..b8d339ad6 100644
--- a/admin/models/forms/library.js
+++ b/admin/models/forms/library.js
@@ -63,6 +63,9 @@ jQuery(document).ready(function()
var target_vvvvwcb = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwcb(target_vvvvwcb);
+
+ var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val();
+ vvvvwcc(target_vvvvwcc);
});
// the vvvvwbl function
@@ -797,6 +800,20 @@ function vvvvwcb(target_vvvvwcb)
}
}
+// the vvvvwcc function
+function vvvvwcc(target_vvvvwcc)
+{
+ // set the function logic
+ if (target_vvvvwcc == 2)
+ {
+ jQuery('.note_yes_behaviour_library').closest('.control-group').show();
+ }
+ else
+ {
+ jQuery('.note_yes_behaviour_library').closest('.control-group').hide();
+ }
+}
+
// update required fields
function updateFieldRequired(name,status)
{
diff --git a/admin/models/forms/library.xml b/admin/models/forms/library.xml
index 068715fbe..9dfc299c6 100644
--- a/admin/models/forms/library.xml
+++ b/admin/models/forms/library.xml
@@ -159,10 +159,6 @@
message="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_MESSAGE"
hint="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_HINT"
/>
-
-
-
-
@@ -177,18 +173,8 @@
name="not_required"
default="[]"
/>
-
-
+
+
@@ -322,10 +308,26 @@
/>
+
+
-
-
+
+
+
+
+
+
diff --git a/admin/models/forms/server.js b/admin/models/forms/server.js
index 24c034cb0..87d264606 100644
--- a/admin/models/forms/server.js
+++ b/admin/models/forms/server.js
@@ -9,180 +9,42 @@
*/
// Some Global Values
-jform_vvvvwddvyj_required = false;
-jform_vvvvwddvyk_required = false;
-jform_vvvvwddvyl_required = false;
-jform_vvvvwddvym_required = false;
-jform_vvvvwddvyn_required = false;
-jform_vvvvwdevyo_required = false;
-jform_vvvvwdfvyp_required = false;
-jform_vvvvwdhvyq_required = false;
-jform_vvvvwdjvyr_required = false;
+jform_vvvvwdevyj_required = false;
+jform_vvvvwdevyk_required = false;
+jform_vvvvwdevyl_required = false;
+jform_vvvvwdevym_required = false;
+jform_vvvvwdevyn_required = false;
+jform_vvvvwdfvyo_required = false;
+jform_vvvvwdgvyp_required = false;
+jform_vvvvwdivyq_required = false;
+jform_vvvvwdkvyr_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var protocol_vvvvwdd = jQuery("#jform_protocol").val();
- vvvvwdd(protocol_vvvvwdd);
-
var protocol_vvvvwde = jQuery("#jform_protocol").val();
vvvvwde(protocol_vvvvwde);
var protocol_vvvvwdf = jQuery("#jform_protocol").val();
- var authentication_vvvvwdf = jQuery("#jform_authentication").val();
- vvvvwdf(protocol_vvvvwdf,authentication_vvvvwdf);
+ vvvvwdf(protocol_vvvvwdf);
- var protocol_vvvvwdh = jQuery("#jform_protocol").val();
- var authentication_vvvvwdh = jQuery("#jform_authentication").val();
- vvvvwdh(protocol_vvvvwdh,authentication_vvvvwdh);
+ var protocol_vvvvwdg = jQuery("#jform_protocol").val();
+ var authentication_vvvvwdg = jQuery("#jform_authentication").val();
+ vvvvwdg(protocol_vvvvwdg,authentication_vvvvwdg);
- var protocol_vvvvwdj = jQuery("#jform_protocol").val();
- var authentication_vvvvwdj = jQuery("#jform_authentication").val();
- vvvvwdj(protocol_vvvvwdj,authentication_vvvvwdj);
+ var protocol_vvvvwdi = jQuery("#jform_protocol").val();
+ var authentication_vvvvwdi = jQuery("#jform_authentication").val();
+ vvvvwdi(protocol_vvvvwdi,authentication_vvvvwdi);
- var protocol_vvvvwdl = jQuery("#jform_protocol").val();
- var authentication_vvvvwdl = jQuery("#jform_authentication").val();
- vvvvwdl(protocol_vvvvwdl,authentication_vvvvwdl);
+ var protocol_vvvvwdk = jQuery("#jform_protocol").val();
+ var authentication_vvvvwdk = jQuery("#jform_authentication").val();
+ vvvvwdk(protocol_vvvvwdk,authentication_vvvvwdk);
+
+ var protocol_vvvvwdm = jQuery("#jform_protocol").val();
+ var authentication_vvvvwdm = jQuery("#jform_authentication").val();
+ vvvvwdm(protocol_vvvvwdm,authentication_vvvvwdm);
});
-// the vvvvwdd function
-function vvvvwdd(protocol_vvvvwdd)
-{
- if (isSet(protocol_vvvvwdd) && protocol_vvvvwdd.constructor !== Array)
- {
- var temp_vvvvwdd = protocol_vvvvwdd;
- var protocol_vvvvwdd = [];
- protocol_vvvvwdd.push(temp_vvvvwdd);
- }
- else if (!isSet(protocol_vvvvwdd))
- {
- var protocol_vvvvwdd = [];
- }
- var protocol = protocol_vvvvwdd.some(protocol_vvvvwdd_SomeFunc);
-
-
- // set this function logic
- if (protocol)
- {
- jQuery('#jform_authentication').closest('.control-group').show();
- // add required attribute to authentication field
- if (jform_vvvvwddvyj_required)
- {
- updateFieldRequired('authentication',0);
- jQuery('#jform_authentication').prop('required','required');
- jQuery('#jform_authentication').attr('aria-required',true);
- jQuery('#jform_authentication').addClass('required');
- jform_vvvvwddvyj_required = false;
- }
- jQuery('#jform_host').closest('.control-group').show();
- // add required attribute to host field
- if (jform_vvvvwddvyk_required)
- {
- updateFieldRequired('host',0);
- jQuery('#jform_host').prop('required','required');
- jQuery('#jform_host').attr('aria-required',true);
- jQuery('#jform_host').addClass('required');
- jform_vvvvwddvyk_required = false;
- }
- jQuery('#jform_port').closest('.control-group').show();
- // add required attribute to port field
- if (jform_vvvvwddvyl_required)
- {
- updateFieldRequired('port',0);
- jQuery('#jform_port').prop('required','required');
- jQuery('#jform_port').attr('aria-required',true);
- jQuery('#jform_port').addClass('required');
- jform_vvvvwddvyl_required = false;
- }
- jQuery('#jform_path').closest('.control-group').show();
- // add required attribute to path field
- if (jform_vvvvwddvym_required)
- {
- updateFieldRequired('path',0);
- jQuery('#jform_path').prop('required','required');
- jQuery('#jform_path').attr('aria-required',true);
- jQuery('#jform_path').addClass('required');
- jform_vvvvwddvym_required = false;
- }
- jQuery('.note_ssh_security').closest('.control-group').show();
- jQuery('#jform_username').closest('.control-group').show();
- // add required attribute to username field
- if (jform_vvvvwddvyn_required)
- {
- updateFieldRequired('username',0);
- jQuery('#jform_username').prop('required','required');
- jQuery('#jform_username').attr('aria-required',true);
- jQuery('#jform_username').addClass('required');
- jform_vvvvwddvyn_required = false;
- }
- }
- else
- {
- jQuery('#jform_authentication').closest('.control-group').hide();
- // remove required attribute from authentication field
- if (!jform_vvvvwddvyj_required)
- {
- updateFieldRequired('authentication',1);
- jQuery('#jform_authentication').removeAttr('required');
- jQuery('#jform_authentication').removeAttr('aria-required');
- jQuery('#jform_authentication').removeClass('required');
- jform_vvvvwddvyj_required = true;
- }
- jQuery('#jform_host').closest('.control-group').hide();
- // remove required attribute from host field
- if (!jform_vvvvwddvyk_required)
- {
- updateFieldRequired('host',1);
- jQuery('#jform_host').removeAttr('required');
- jQuery('#jform_host').removeAttr('aria-required');
- jQuery('#jform_host').removeClass('required');
- jform_vvvvwddvyk_required = true;
- }
- jQuery('#jform_port').closest('.control-group').hide();
- // remove required attribute from port field
- if (!jform_vvvvwddvyl_required)
- {
- updateFieldRequired('port',1);
- jQuery('#jform_port').removeAttr('required');
- jQuery('#jform_port').removeAttr('aria-required');
- jQuery('#jform_port').removeClass('required');
- jform_vvvvwddvyl_required = true;
- }
- jQuery('#jform_path').closest('.control-group').hide();
- // remove required attribute from path field
- if (!jform_vvvvwddvym_required)
- {
- updateFieldRequired('path',1);
- jQuery('#jform_path').removeAttr('required');
- jQuery('#jform_path').removeAttr('aria-required');
- jQuery('#jform_path').removeClass('required');
- jform_vvvvwddvym_required = true;
- }
- jQuery('.note_ssh_security').closest('.control-group').hide();
- jQuery('#jform_username').closest('.control-group').hide();
- // remove required attribute from username field
- if (!jform_vvvvwddvyn_required)
- {
- updateFieldRequired('username',1);
- jQuery('#jform_username').removeAttr('required');
- jQuery('#jform_username').removeAttr('aria-required');
- jQuery('#jform_username').removeClass('required');
- jform_vvvvwddvyn_required = true;
- }
- }
-}
-
-// the vvvvwdd Some function
-function protocol_vvvvwdd_SomeFunc(protocol_vvvvwdd)
-{
- // set the function logic
- if (protocol_vvvvwdd == 2)
- {
- return true;
- }
- return false;
-}
-
// the vvvvwde function
function vvvvwde(protocol_vvvvwde)
{
@@ -202,30 +64,110 @@ function vvvvwde(protocol_vvvvwde)
// 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_vvvvwdevyo_required)
+ jQuery('#jform_authentication').closest('.control-group').show();
+ // add required attribute to authentication field
+ if (jform_vvvvwdevyj_required)
{
- updateFieldRequired('signature',0);
- jQuery('#jform_signature').prop('required','required');
- jQuery('#jform_signature').attr('aria-required',true);
- jQuery('#jform_signature').addClass('required');
- jform_vvvvwdevyo_required = false;
+ updateFieldRequired('authentication',0);
+ jQuery('#jform_authentication').prop('required','required');
+ jQuery('#jform_authentication').attr('aria-required',true);
+ jQuery('#jform_authentication').addClass('required');
+ jform_vvvvwdevyj_required = false;
+ }
+ jQuery('#jform_host').closest('.control-group').show();
+ // add required attribute to host field
+ if (jform_vvvvwdevyk_required)
+ {
+ updateFieldRequired('host',0);
+ jQuery('#jform_host').prop('required','required');
+ jQuery('#jform_host').attr('aria-required',true);
+ jQuery('#jform_host').addClass('required');
+ jform_vvvvwdevyk_required = false;
+ }
+ jQuery('#jform_port').closest('.control-group').show();
+ // add required attribute to port field
+ if (jform_vvvvwdevyl_required)
+ {
+ updateFieldRequired('port',0);
+ jQuery('#jform_port').prop('required','required');
+ jQuery('#jform_port').attr('aria-required',true);
+ jQuery('#jform_port').addClass('required');
+ jform_vvvvwdevyl_required = false;
+ }
+ jQuery('#jform_path').closest('.control-group').show();
+ // add required attribute to path field
+ if (jform_vvvvwdevym_required)
+ {
+ updateFieldRequired('path',0);
+ jQuery('#jform_path').prop('required','required');
+ jQuery('#jform_path').attr('aria-required',true);
+ jQuery('#jform_path').addClass('required');
+ jform_vvvvwdevym_required = false;
+ }
+ jQuery('.note_ssh_security').closest('.control-group').show();
+ jQuery('#jform_username').closest('.control-group').show();
+ // add required attribute to username field
+ if (jform_vvvvwdevyn_required)
+ {
+ updateFieldRequired('username',0);
+ jQuery('#jform_username').prop('required','required');
+ jQuery('#jform_username').attr('aria-required',true);
+ jQuery('#jform_username').addClass('required');
+ jform_vvvvwdevyn_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_vvvvwdevyo_required)
+ jQuery('#jform_authentication').closest('.control-group').hide();
+ // remove required attribute from authentication field
+ if (!jform_vvvvwdevyj_required)
{
- updateFieldRequired('signature',1);
- jQuery('#jform_signature').removeAttr('required');
- jQuery('#jform_signature').removeAttr('aria-required');
- jQuery('#jform_signature').removeClass('required');
- jform_vvvvwdevyo_required = true;
+ updateFieldRequired('authentication',1);
+ jQuery('#jform_authentication').removeAttr('required');
+ jQuery('#jform_authentication').removeAttr('aria-required');
+ jQuery('#jform_authentication').removeClass('required');
+ jform_vvvvwdevyj_required = true;
+ }
+ jQuery('#jform_host').closest('.control-group').hide();
+ // remove required attribute from host field
+ if (!jform_vvvvwdevyk_required)
+ {
+ updateFieldRequired('host',1);
+ jQuery('#jform_host').removeAttr('required');
+ jQuery('#jform_host').removeAttr('aria-required');
+ jQuery('#jform_host').removeClass('required');
+ jform_vvvvwdevyk_required = true;
+ }
+ jQuery('#jform_port').closest('.control-group').hide();
+ // remove required attribute from port field
+ if (!jform_vvvvwdevyl_required)
+ {
+ updateFieldRequired('port',1);
+ jQuery('#jform_port').removeAttr('required');
+ jQuery('#jform_port').removeAttr('aria-required');
+ jQuery('#jform_port').removeClass('required');
+ jform_vvvvwdevyl_required = true;
+ }
+ jQuery('#jform_path').closest('.control-group').hide();
+ // remove required attribute from path field
+ if (!jform_vvvvwdevym_required)
+ {
+ updateFieldRequired('path',1);
+ jQuery('#jform_path').removeAttr('required');
+ jQuery('#jform_path').removeAttr('aria-required');
+ jQuery('#jform_path').removeClass('required');
+ jform_vvvvwdevym_required = true;
+ }
+ jQuery('.note_ssh_security').closest('.control-group').hide();
+ jQuery('#jform_username').closest('.control-group').hide();
+ // remove required attribute from username field
+ if (!jform_vvvvwdevyn_required)
+ {
+ updateFieldRequired('username',1);
+ jQuery('#jform_username').removeAttr('required');
+ jQuery('#jform_username').removeAttr('aria-required');
+ jQuery('#jform_username').removeClass('required');
+ jform_vvvvwdevyn_required = true;
}
}
}
@@ -234,7 +176,7 @@ function vvvvwde(protocol_vvvvwde)
function protocol_vvvvwde_SomeFunc(protocol_vvvvwde)
{
// set the function logic
- if (protocol_vvvvwde == 1)
+ if (protocol_vvvvwde == 2)
{
return true;
}
@@ -242,7 +184,7 @@ function protocol_vvvvwde_SomeFunc(protocol_vvvvwde)
}
// the vvvvwdf function
-function vvvvwdf(protocol_vvvvwdf,authentication_vvvvwdf)
+function vvvvwdf(protocol_vvvvwdf)
{
if (isSet(protocol_vvvvwdf) && protocol_vvvvwdf.constructor !== Array)
{
@@ -256,44 +198,34 @@ function vvvvwdf(protocol_vvvvwdf,authentication_vvvvwdf)
}
var protocol = protocol_vvvvwdf.some(protocol_vvvvwdf_SomeFunc);
- if (isSet(authentication_vvvvwdf) && authentication_vvvvwdf.constructor !== Array)
- {
- var temp_vvvvwdf = authentication_vvvvwdf;
- var authentication_vvvvwdf = [];
- authentication_vvvvwdf.push(temp_vvvvwdf);
- }
- else if (!isSet(authentication_vvvvwdf))
- {
- var authentication_vvvvwdf = [];
- }
- var authentication = authentication_vvvvwdf.some(authentication_vvvvwdf_SomeFunc);
-
// set this function logic
- if (protocol && authentication)
+ if (protocol)
{
- jQuery('#jform_password').closest('.control-group').show();
- // add required attribute to password field
- if (jform_vvvvwdfvyp_required)
+ jQuery('.note_ftp_signature').closest('.control-group').show();
+ jQuery('#jform_signature').closest('.control-group').show();
+ // add required attribute to signature field
+ if (jform_vvvvwdfvyo_required)
{
- updateFieldRequired('password',0);
- jQuery('#jform_password').prop('required','required');
- jQuery('#jform_password').attr('aria-required',true);
- jQuery('#jform_password').addClass('required');
- jform_vvvvwdfvyp_required = false;
+ updateFieldRequired('signature',0);
+ jQuery('#jform_signature').prop('required','required');
+ jQuery('#jform_signature').attr('aria-required',true);
+ jQuery('#jform_signature').addClass('required');
+ jform_vvvvwdfvyo_required = false;
}
}
else
{
- jQuery('#jform_password').closest('.control-group').hide();
- // remove required attribute from password field
- if (!jform_vvvvwdfvyp_required)
+ jQuery('.note_ftp_signature').closest('.control-group').hide();
+ jQuery('#jform_signature').closest('.control-group').hide();
+ // remove required attribute from signature field
+ if (!jform_vvvvwdfvyo_required)
{
- updateFieldRequired('password',1);
- jQuery('#jform_password').removeAttr('required');
- jQuery('#jform_password').removeAttr('aria-required');
- jQuery('#jform_password').removeClass('required');
- jform_vvvvwdfvyp_required = true;
+ updateFieldRequired('signature',1);
+ jQuery('#jform_signature').removeAttr('required');
+ jQuery('#jform_signature').removeAttr('aria-required');
+ jQuery('#jform_signature').removeClass('required');
+ jform_vvvvwdfvyo_required = true;
}
}
}
@@ -302,50 +234,118 @@ function vvvvwdf(protocol_vvvvwdf,authentication_vvvvwdf)
function protocol_vvvvwdf_SomeFunc(protocol_vvvvwdf)
{
// set the function logic
- if (protocol_vvvvwdf == 2)
+ if (protocol_vvvvwdf == 1)
{
return true;
}
return false;
}
-// the vvvvwdf Some function
-function authentication_vvvvwdf_SomeFunc(authentication_vvvvwdf)
+// the vvvvwdg function
+function vvvvwdg(protocol_vvvvwdg,authentication_vvvvwdg)
+{
+ if (isSet(protocol_vvvvwdg) && protocol_vvvvwdg.constructor !== Array)
+ {
+ var temp_vvvvwdg = protocol_vvvvwdg;
+ var protocol_vvvvwdg = [];
+ protocol_vvvvwdg.push(temp_vvvvwdg);
+ }
+ else if (!isSet(protocol_vvvvwdg))
+ {
+ var protocol_vvvvwdg = [];
+ }
+ var protocol = protocol_vvvvwdg.some(protocol_vvvvwdg_SomeFunc);
+
+ if (isSet(authentication_vvvvwdg) && authentication_vvvvwdg.constructor !== Array)
+ {
+ var temp_vvvvwdg = authentication_vvvvwdg;
+ var authentication_vvvvwdg = [];
+ authentication_vvvvwdg.push(temp_vvvvwdg);
+ }
+ else if (!isSet(authentication_vvvvwdg))
+ {
+ var authentication_vvvvwdg = [];
+ }
+ var authentication = authentication_vvvvwdg.some(authentication_vvvvwdg_SomeFunc);
+
+
+ // set this function logic
+ if (protocol && authentication)
+ {
+ jQuery('#jform_password').closest('.control-group').show();
+ // add required attribute to password field
+ if (jform_vvvvwdgvyp_required)
+ {
+ updateFieldRequired('password',0);
+ jQuery('#jform_password').prop('required','required');
+ jQuery('#jform_password').attr('aria-required',true);
+ jQuery('#jform_password').addClass('required');
+ jform_vvvvwdgvyp_required = false;
+ }
+ }
+ else
+ {
+ jQuery('#jform_password').closest('.control-group').hide();
+ // remove required attribute from password field
+ if (!jform_vvvvwdgvyp_required)
+ {
+ updateFieldRequired('password',1);
+ jQuery('#jform_password').removeAttr('required');
+ jQuery('#jform_password').removeAttr('aria-required');
+ jQuery('#jform_password').removeClass('required');
+ jform_vvvvwdgvyp_required = true;
+ }
+ }
+}
+
+// the vvvvwdg Some function
+function protocol_vvvvwdg_SomeFunc(protocol_vvvvwdg)
{
// set the function logic
- if (authentication_vvvvwdf == 1 || authentication_vvvvwdf == 3 || authentication_vvvvwdf == 5)
+ if (protocol_vvvvwdg == 2)
{
return true;
}
return false;
}
-// the vvvvwdh function
-function vvvvwdh(protocol_vvvvwdh,authentication_vvvvwdh)
+// the vvvvwdg Some function
+function authentication_vvvvwdg_SomeFunc(authentication_vvvvwdg)
{
- if (isSet(protocol_vvvvwdh) && protocol_vvvvwdh.constructor !== Array)
+ // set the function logic
+ if (authentication_vvvvwdg == 1 || authentication_vvvvwdg == 3 || authentication_vvvvwdg == 5)
{
- var temp_vvvvwdh = protocol_vvvvwdh;
- var protocol_vvvvwdh = [];
- protocol_vvvvwdh.push(temp_vvvvwdh);
+ return true;
}
- else if (!isSet(protocol_vvvvwdh))
- {
- var protocol_vvvvwdh = [];
- }
- var protocol = protocol_vvvvwdh.some(protocol_vvvvwdh_SomeFunc);
+ return false;
+}
- if (isSet(authentication_vvvvwdh) && authentication_vvvvwdh.constructor !== Array)
+// the vvvvwdi function
+function vvvvwdi(protocol_vvvvwdi,authentication_vvvvwdi)
+{
+ if (isSet(protocol_vvvvwdi) && protocol_vvvvwdi.constructor !== Array)
{
- var temp_vvvvwdh = authentication_vvvvwdh;
- var authentication_vvvvwdh = [];
- authentication_vvvvwdh.push(temp_vvvvwdh);
+ var temp_vvvvwdi = protocol_vvvvwdi;
+ var protocol_vvvvwdi = [];
+ protocol_vvvvwdi.push(temp_vvvvwdi);
}
- else if (!isSet(authentication_vvvvwdh))
+ else if (!isSet(protocol_vvvvwdi))
{
- var authentication_vvvvwdh = [];
+ var protocol_vvvvwdi = [];
}
- var authentication = authentication_vvvvwdh.some(authentication_vvvvwdh_SomeFunc);
+ var protocol = protocol_vvvvwdi.some(protocol_vvvvwdi_SomeFunc);
+
+ if (isSet(authentication_vvvvwdi) && authentication_vvvvwdi.constructor !== Array)
+ {
+ var temp_vvvvwdi = authentication_vvvvwdi;
+ var authentication_vvvvwdi = [];
+ authentication_vvvvwdi.push(temp_vvvvwdi);
+ }
+ else if (!isSet(authentication_vvvvwdi))
+ {
+ var authentication_vvvvwdi = [];
+ }
+ var authentication = authentication_vvvvwdi.some(authentication_vvvvwdi_SomeFunc);
// set this function logic
@@ -353,78 +353,78 @@ function vvvvwdh(protocol_vvvvwdh,authentication_vvvvwdh)
{
jQuery('#jform_private').closest('.control-group').show();
// add required attribute to private field
- if (jform_vvvvwdhvyq_required)
+ if (jform_vvvvwdivyq_required)
{
updateFieldRequired('private',0);
jQuery('#jform_private').prop('required','required');
jQuery('#jform_private').attr('aria-required',true);
jQuery('#jform_private').addClass('required');
- jform_vvvvwdhvyq_required = false;
+ jform_vvvvwdivyq_required = false;
}
}
else
{
jQuery('#jform_private').closest('.control-group').hide();
// remove required attribute from private field
- if (!jform_vvvvwdhvyq_required)
+ if (!jform_vvvvwdivyq_required)
{
updateFieldRequired('private',1);
jQuery('#jform_private').removeAttr('required');
jQuery('#jform_private').removeAttr('aria-required');
jQuery('#jform_private').removeClass('required');
- jform_vvvvwdhvyq_required = true;
+ jform_vvvvwdivyq_required = true;
}
}
}
-// the vvvvwdh Some function
-function protocol_vvvvwdh_SomeFunc(protocol_vvvvwdh)
+// the vvvvwdi Some function
+function protocol_vvvvwdi_SomeFunc(protocol_vvvvwdi)
{
// set the function logic
- if (protocol_vvvvwdh == 2)
+ if (protocol_vvvvwdi == 2)
{
return true;
}
return false;
}
-// the vvvvwdh Some function
-function authentication_vvvvwdh_SomeFunc(authentication_vvvvwdh)
+// the vvvvwdi Some function
+function authentication_vvvvwdi_SomeFunc(authentication_vvvvwdi)
{
// set the function logic
- if (authentication_vvvvwdh == 2 || authentication_vvvvwdh == 3)
+ if (authentication_vvvvwdi == 2 || authentication_vvvvwdi == 3)
{
return true;
}
return false;
}
-// the vvvvwdj function
-function vvvvwdj(protocol_vvvvwdj,authentication_vvvvwdj)
+// the vvvvwdk function
+function vvvvwdk(protocol_vvvvwdk,authentication_vvvvwdk)
{
- if (isSet(protocol_vvvvwdj) && protocol_vvvvwdj.constructor !== Array)
+ if (isSet(protocol_vvvvwdk) && protocol_vvvvwdk.constructor !== Array)
{
- var temp_vvvvwdj = protocol_vvvvwdj;
- var protocol_vvvvwdj = [];
- protocol_vvvvwdj.push(temp_vvvvwdj);
+ var temp_vvvvwdk = protocol_vvvvwdk;
+ var protocol_vvvvwdk = [];
+ protocol_vvvvwdk.push(temp_vvvvwdk);
}
- else if (!isSet(protocol_vvvvwdj))
+ else if (!isSet(protocol_vvvvwdk))
{
- var protocol_vvvvwdj = [];
+ var protocol_vvvvwdk = [];
}
- var protocol = protocol_vvvvwdj.some(protocol_vvvvwdj_SomeFunc);
+ var protocol = protocol_vvvvwdk.some(protocol_vvvvwdk_SomeFunc);
- if (isSet(authentication_vvvvwdj) && authentication_vvvvwdj.constructor !== Array)
+ if (isSet(authentication_vvvvwdk) && authentication_vvvvwdk.constructor !== Array)
{
- var temp_vvvvwdj = authentication_vvvvwdj;
- var authentication_vvvvwdj = [];
- authentication_vvvvwdj.push(temp_vvvvwdj);
+ var temp_vvvvwdk = authentication_vvvvwdk;
+ var authentication_vvvvwdk = [];
+ authentication_vvvvwdk.push(temp_vvvvwdk);
}
- else if (!isSet(authentication_vvvvwdj))
+ else if (!isSet(authentication_vvvvwdk))
{
- var authentication_vvvvwdj = [];
+ var authentication_vvvvwdk = [];
}
- var authentication = authentication_vvvvwdj.some(authentication_vvvvwdj_SomeFunc);
+ var authentication = authentication_vvvvwdk.some(authentication_vvvvwdk_SomeFunc);
// set this function logic
@@ -432,78 +432,78 @@ function vvvvwdj(protocol_vvvvwdj,authentication_vvvvwdj)
{
jQuery('#jform_private_key').closest('.control-group').show();
// add required attribute to private_key field
- if (jform_vvvvwdjvyr_required)
+ if (jform_vvvvwdkvyr_required)
{
updateFieldRequired('private_key',0);
jQuery('#jform_private_key').prop('required','required');
jQuery('#jform_private_key').attr('aria-required',true);
jQuery('#jform_private_key').addClass('required');
- jform_vvvvwdjvyr_required = false;
+ jform_vvvvwdkvyr_required = false;
}
}
else
{
jQuery('#jform_private_key').closest('.control-group').hide();
// remove required attribute from private_key field
- if (!jform_vvvvwdjvyr_required)
+ if (!jform_vvvvwdkvyr_required)
{
updateFieldRequired('private_key',1);
jQuery('#jform_private_key').removeAttr('required');
jQuery('#jform_private_key').removeAttr('aria-required');
jQuery('#jform_private_key').removeClass('required');
- jform_vvvvwdjvyr_required = true;
+ jform_vvvvwdkvyr_required = true;
}
}
}
-// the vvvvwdj Some function
-function protocol_vvvvwdj_SomeFunc(protocol_vvvvwdj)
+// the vvvvwdk Some function
+function protocol_vvvvwdk_SomeFunc(protocol_vvvvwdk)
{
// set the function logic
- if (protocol_vvvvwdj == 2)
+ if (protocol_vvvvwdk == 2)
{
return true;
}
return false;
}
-// the vvvvwdj Some function
-function authentication_vvvvwdj_SomeFunc(authentication_vvvvwdj)
+// the vvvvwdk Some function
+function authentication_vvvvwdk_SomeFunc(authentication_vvvvwdk)
{
// set the function logic
- if (authentication_vvvvwdj == 4 || authentication_vvvvwdj == 5)
+ if (authentication_vvvvwdk == 4 || authentication_vvvvwdk == 5)
{
return true;
}
return false;
}
-// the vvvvwdl function
-function vvvvwdl(protocol_vvvvwdl,authentication_vvvvwdl)
+// the vvvvwdm function
+function vvvvwdm(protocol_vvvvwdm,authentication_vvvvwdm)
{
- if (isSet(protocol_vvvvwdl) && protocol_vvvvwdl.constructor !== Array)
+ if (isSet(protocol_vvvvwdm) && protocol_vvvvwdm.constructor !== Array)
{
- var temp_vvvvwdl = protocol_vvvvwdl;
- var protocol_vvvvwdl = [];
- protocol_vvvvwdl.push(temp_vvvvwdl);
+ var temp_vvvvwdm = protocol_vvvvwdm;
+ var protocol_vvvvwdm = [];
+ protocol_vvvvwdm.push(temp_vvvvwdm);
}
- else if (!isSet(protocol_vvvvwdl))
+ else if (!isSet(protocol_vvvvwdm))
{
- var protocol_vvvvwdl = [];
+ var protocol_vvvvwdm = [];
}
- var protocol = protocol_vvvvwdl.some(protocol_vvvvwdl_SomeFunc);
+ var protocol = protocol_vvvvwdm.some(protocol_vvvvwdm_SomeFunc);
- if (isSet(authentication_vvvvwdl) && authentication_vvvvwdl.constructor !== Array)
+ if (isSet(authentication_vvvvwdm) && authentication_vvvvwdm.constructor !== Array)
{
- var temp_vvvvwdl = authentication_vvvvwdl;
- var authentication_vvvvwdl = [];
- authentication_vvvvwdl.push(temp_vvvvwdl);
+ var temp_vvvvwdm = authentication_vvvvwdm;
+ var authentication_vvvvwdm = [];
+ authentication_vvvvwdm.push(temp_vvvvwdm);
}
- else if (!isSet(authentication_vvvvwdl))
+ else if (!isSet(authentication_vvvvwdm))
{
- var authentication_vvvvwdl = [];
+ var authentication_vvvvwdm = [];
}
- var authentication = authentication_vvvvwdl.some(authentication_vvvvwdl_SomeFunc);
+ var authentication = authentication_vvvvwdm.some(authentication_vvvvwdm_SomeFunc);
// set this function logic
@@ -517,22 +517,22 @@ function vvvvwdl(protocol_vvvvwdl,authentication_vvvvwdl)
}
}
-// the vvvvwdl Some function
-function protocol_vvvvwdl_SomeFunc(protocol_vvvvwdl)
+// the vvvvwdm Some function
+function protocol_vvvvwdm_SomeFunc(protocol_vvvvwdm)
{
// set the function logic
- if (protocol_vvvvwdl == 2)
+ if (protocol_vvvvwdm == 2)
{
return true;
}
return false;
}
-// the vvvvwdl Some function
-function authentication_vvvvwdl_SomeFunc(authentication_vvvvwdl)
+// the vvvvwdm Some function
+function authentication_vvvvwdm_SomeFunc(authentication_vvvvwdm)
{
// set the function logic
- if (authentication_vvvvwdl == 2 || authentication_vvvvwdl == 3 || authentication_vvvvwdl == 4 || authentication_vvvvwdl == 5)
+ if (authentication_vvvvwdm == 2 || authentication_vvvvwdm == 3 || authentication_vvvvwdm == 4 || authentication_vvvvwdm == 5)
{
return true;
}
diff --git a/admin/models/library.php b/admin/models/library.php
index 4878c4d0b..0b59e8a6c 100644
--- a/admin/models/library.php
+++ b/admin/models/library.php
@@ -37,6 +37,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin
'note_no_behaviour_one',
'note_yes_behaviour_one',
'note_build_in_behaviour_one',
+ 'note_yes_behaviour_library',
'addconditions',
'php_setdocument'
),
@@ -189,14 +190,6 @@ class ComponentbuilderModelLibrary extends JModelAdmin
$item->php_setdocument = base64_decode($item->php_setdocument);
}
- if (!empty($item->libraries))
- {
- // Convert the libraries field to an array.
- $libraries = new Registry;
- $libraries->loadString($item->libraries);
- $item->libraries = $libraries->toArray();
- }
-
if (!empty($item->addconditions))
{
// Convert the addconditions field to an array.
@@ -205,6 +198,14 @@ class ComponentbuilderModelLibrary extends JModelAdmin
$item->addconditions = $addconditions->toArray();
}
+ if (!empty($item->libraries))
+ {
+ // Convert the libraries field to an array.
+ $libraries = new Registry;
+ $libraries->loadString($item->libraries);
+ $item->libraries = $libraries->toArray();
+ }
+
if (empty($item->id))
{
@@ -1036,19 +1037,6 @@ class ComponentbuilderModelLibrary extends JModelAdmin
$data['metadata'] = (string) $metadata;
}
- // Set the libraries items to data.
- if (isset($data['libraries']) && is_array($data['libraries']))
- {
- $libraries = new JRegistry;
- $libraries->loadArray($data['libraries']);
- $data['libraries'] = (string) $libraries;
- }
- elseif (!isset($data['libraries']))
- {
- // Set the empty libraries to data
- $data['libraries'] = '';
- }
-
// Set the addconditions items to data.
if (isset($data['addconditions']) && is_array($data['addconditions']))
{
@@ -1062,6 +1050,19 @@ class ComponentbuilderModelLibrary extends JModelAdmin
$data['addconditions'] = '';
}
+ // Set the libraries items to data.
+ if (isset($data['libraries']) && is_array($data['libraries']))
+ {
+ $libraries = new JRegistry;
+ $libraries->loadArray($data['libraries']);
+ $data['libraries'] = (string) $libraries;
+ }
+ elseif (!isset($data['libraries']))
+ {
+ // Set the empty libraries to data
+ $data['libraries'] = '';
+ }
+
// Set the php_setdocument string to base64 string.
if (isset($data['php_setdocument']))
{
diff --git a/admin/views/field/tmpl/edit.php b/admin/views/field/tmpl/edit.php
index aa8c16f8e..adf06aeee 100644
--- a/admin/views/field/tmpl/edit.php
+++ b/admin/views/field/tmpl/edit.php
@@ -147,48 +147,33 @@ $componentParams = $this->params; // will be removed just use $this->params inst