Improved the get snippets area to load one library at a time. started on the adaptation of the compiler that is needed for the new libraries

This commit is contained in:
2017-12-03 20:09:04 +02:00
parent 82df61aa4a
commit 19d4d77305
45 changed files with 1841 additions and 712 deletions

View File

@ -107,12 +107,10 @@
type="subform"
name="addconfig"
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ADDCONFIG_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_ADDCONFIG_DESCRIPTION"
icon="list"
maximum="500"
filter="ARRAY">
maximum="500">
<form hidden="true" name="list_addconfig_modal" repeat="true">
<!-- Field Field. Type: Fields. (custom) -->
<field
@ -146,7 +144,7 @@
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_LABEL"
size="40"
maxlength="150"
default="Library"
default="Global"
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_TABNAME_DESCRIPTION"
class="text_area"
readonly="false"

View File

@ -23,151 +23,96 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvwaavzo_required = false;
jform_vvvvwabvzp_required = false;
jform_vvvvwacvzq_required = false;
jform_vvvvwadvzr_required = false;
jform_vvvvwagvzs_required = false;
jform_vvvvwaevzs_required = false;
jform_vvvvwahvzt_required = false;
jform_vvvvwaivzu_required = false;
jform_vvvvwajvzv_required = false;
jform_vvvvwakvzw_required = false;
// Initial Script
jQuery(document).ready(function()
{
var datalenght_vvvvwaa = jQuery("#jform_datalenght").val();
vvvvwaa(datalenght_vvvvwaa);
var datalenght_vvvvwab = jQuery("#jform_datalenght").val();
vvvvwab(datalenght_vvvvwab);
var datadefault_vvvvwab = jQuery("#jform_datadefault").val();
vvvvwab(datadefault_vvvvwab);
var datatype_vvvvwac = jQuery("#jform_datatype").val();
vvvvwac(datatype_vvvvwac);
var datadefault_vvvvwac = jQuery("#jform_datadefault").val();
vvvvwac(datadefault_vvvvwac);
var datatype_vvvvwad = jQuery("#jform_datatype").val();
vvvvwad(datatype_vvvvwad);
var store_vvvvwae = jQuery("#jform_store").val();
var datatype_vvvvwae = jQuery("#jform_datatype").val();
vvvvwae(store_vvvvwae,datatype_vvvvwae);
vvvvwae(datatype_vvvvwae);
var add_css_view_vvvvwag = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwag(add_css_view_vvvvwag);
var store_vvvvwaf = jQuery("#jform_store").val();
var datatype_vvvvwaf = jQuery("#jform_datatype").val();
vvvvwaf(store_vvvvwaf,datatype_vvvvwaf);
var add_css_views_vvvvwah = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwah(add_css_views_vvvvwah);
var add_css_view_vvvvwah = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwah(add_css_view_vvvvwah);
var add_javascript_view_footer_vvvvwai = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwai(add_javascript_view_footer_vvvvwai);
var add_css_views_vvvvwai = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwai(add_css_views_vvvvwai);
var add_javascript_views_footer_vvvvwaj = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwaj(add_javascript_views_footer_vvvvwaj);
var add_javascript_view_footer_vvvvwaj = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwaj(add_javascript_view_footer_vvvvwaj);
var add_javascript_views_footer_vvvvwak = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwak(add_javascript_views_footer_vvvvwak);
});
// the vvvvwaa function
function vvvvwaa(datalenght_vvvvwaa)
// the vvvvwab function
function vvvvwab(datalenght_vvvvwab)
{
if (isSet(datalenght_vvvvwaa) && datalenght_vvvvwaa.constructor !== Array)
if (isSet(datalenght_vvvvwab) && datalenght_vvvvwab.constructor !== Array)
{
var temp_vvvvwaa = datalenght_vvvvwaa;
var datalenght_vvvvwaa = [];
datalenght_vvvvwaa.push(temp_vvvvwaa);
var temp_vvvvwab = datalenght_vvvvwab;
var datalenght_vvvvwab = [];
datalenght_vvvvwab.push(temp_vvvvwab);
}
else if (!isSet(datalenght_vvvvwaa))
else if (!isSet(datalenght_vvvvwab))
{
var datalenght_vvvvwaa = [];
var datalenght_vvvvwab = [];
}
var datalenght = datalenght_vvvvwaa.some(datalenght_vvvvwaa_SomeFunc);
var datalenght = datalenght_vvvvwab.some(datalenght_vvvvwab_SomeFunc);
// set this function logic
if (datalenght)
{
jQuery('#jform_datalenght_other').closest('.control-group').show();
if (jform_vvvvwaavzo_required)
if (jform_vvvvwabvzp_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_vvvvwaavzo_required = false;
}
}
else
{
jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvwaavzo_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_vvvvwaavzo_required = true;
}
}
}
// the vvvvwaa Some function
function datalenght_vvvvwaa_SomeFunc(datalenght_vvvvwaa)
{
// set the function logic
if (datalenght_vvvvwaa == 'Other')
{
return true;
}
return false;
}
// the vvvvwab function
function vvvvwab(datadefault_vvvvwab)
{
if (isSet(datadefault_vvvvwab) && datadefault_vvvvwab.constructor !== Array)
{
var temp_vvvvwab = datadefault_vvvvwab;
var datadefault_vvvvwab = [];
datadefault_vvvvwab.push(temp_vvvvwab);
}
else if (!isSet(datadefault_vvvvwab))
{
var datadefault_vvvvwab = [];
}
var datadefault = datadefault_vvvvwab.some(datadefault_vvvvwab_SomeFunc);
// set this function logic
if (datadefault)
{
jQuery('#jform_datadefault_other').closest('.control-group').show();
if (jform_vvvvwabvzp_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_vvvvwabvzp_required = false;
}
}
else
{
jQuery('#jform_datadefault_other').closest('.control-group').hide();
jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvwabvzp_required)
{
updateFieldRequired('datadefault_other',1);
jQuery('#jform_datadefault_other').removeAttr('required');
jQuery('#jform_datadefault_other').removeAttr('aria-required');
jQuery('#jform_datadefault_other').removeClass('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_vvvvwabvzp_required = true;
}
}
}
// the vvvvwab Some function
function datadefault_vvvvwab_SomeFunc(datadefault_vvvvwab)
function datalenght_vvvvwab_SomeFunc(datalenght_vvvvwab)
{
// set the function logic
if (datadefault_vvvvwab == 'Other')
if (datalenght_vvvvwab == 'Other')
{
return true;
}
@ -175,58 +120,54 @@ function datadefault_vvvvwab_SomeFunc(datadefault_vvvvwab)
}
// the vvvvwac function
function vvvvwac(datatype_vvvvwac)
function vvvvwac(datadefault_vvvvwac)
{
if (isSet(datatype_vvvvwac) && datatype_vvvvwac.constructor !== Array)
if (isSet(datadefault_vvvvwac) && datadefault_vvvvwac.constructor !== Array)
{
var temp_vvvvwac = datatype_vvvvwac;
var datatype_vvvvwac = [];
datatype_vvvvwac.push(temp_vvvvwac);
var temp_vvvvwac = datadefault_vvvvwac;
var datadefault_vvvvwac = [];
datadefault_vvvvwac.push(temp_vvvvwac);
}
else if (!isSet(datatype_vvvvwac))
else if (!isSet(datadefault_vvvvwac))
{
var datatype_vvvvwac = [];
var datadefault_vvvvwac = [];
}
var datatype = datatype_vvvvwac.some(datatype_vvvvwac_SomeFunc);
var datadefault = datadefault_vvvvwac.some(datadefault_vvvvwac_SomeFunc);
// set this function logic
if (datatype)
if (datadefault)
{
jQuery('#jform_datadefault').closest('.control-group').show();
jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
jQuery('#jform_datadefault_other').closest('.control-group').show();
if (jform_vvvvwacvzq_required)
{
updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('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_vvvvwacvzq_required = false;
}
}
else
{
jQuery('#jform_datadefault').closest('.control-group').hide();
jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
jQuery('#jform_datadefault_other').closest('.control-group').hide();
if (!jform_vvvvwacvzq_required)
{
updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('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_vvvvwacvzq_required = true;
}
}
}
// the vvvvwac Some function
function datatype_vvvvwac_SomeFunc(datatype_vvvvwac)
function datadefault_vvvvwac_SomeFunc(datadefault_vvvvwac)
{
// set the function logic
if (datatype_vvvvwac == 'CHAR' || datatype_vvvvwac == 'VARCHAR' || datatype_vvvvwac == 'DATETIME' || datatype_vvvvwac == 'DATE' || datatype_vvvvwac == 'TIME' || datatype_vvvvwac == 'INT' || datatype_vvvvwac == 'TINYINT' || datatype_vvvvwac == 'BIGINT' || datatype_vvvvwac == 'FLOAT' || datatype_vvvvwac == 'DECIMAL' || datatype_vvvvwac == 'DOUBLE')
if (datadefault_vvvvwac == 'Other')
{
return true;
}
@ -252,26 +193,30 @@ function vvvvwad(datatype_vvvvwad)
// set this function logic
if (datatype)
{
jQuery('#jform_store').closest('.control-group').show();
jQuery('#jform_datadefault').closest('.control-group').show();
jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
if (jform_vvvvwadvzr_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required');
updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required');
jform_vvvvwadvzr_required = false;
}
}
else
{
jQuery('#jform_store').closest('.control-group').hide();
jQuery('#jform_datadefault').closest('.control-group').hide();
jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
if (!jform_vvvvwadvzr_required)
{
updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required');
updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required');
jform_vvvvwadvzr_required = true;
}
}
@ -281,7 +226,7 @@ function vvvvwad(datatype_vvvvwad)
function datatype_vvvvwad_SomeFunc(datatype_vvvvwad)
{
// set the function logic
if (datatype_vvvvwad == 'CHAR' || datatype_vvvvwad == 'VARCHAR' || datatype_vvvvwad == 'TEXT' || datatype_vvvvwad == 'MEDIUMTEXT' || datatype_vvvvwad == 'LONGTEXT')
if (datatype_vvvvwad == 'CHAR' || datatype_vvvvwad == 'VARCHAR' || datatype_vvvvwad == 'DATETIME' || datatype_vvvvwad == 'DATE' || datatype_vvvvwad == 'TIME' || datatype_vvvvwad == 'INT' || datatype_vvvvwad == 'TINYINT' || datatype_vvvvwad == 'BIGINT' || datatype_vvvvwad == 'FLOAT' || datatype_vvvvwad == 'DECIMAL' || datatype_vvvvwad == 'DOUBLE')
{
return true;
}
@ -289,20 +234,8 @@ function datatype_vvvvwad_SomeFunc(datatype_vvvvwad)
}
// the vvvvwae function
function vvvvwae(store_vvvvwae,datatype_vvvvwae)
function vvvvwae(datatype_vvvvwae)
{
if (isSet(store_vvvvwae) && store_vvvvwae.constructor !== Array)
{
var temp_vvvvwae = store_vvvvwae;
var store_vvvvwae = [];
store_vvvvwae.push(temp_vvvvwae);
}
else if (!isSet(store_vvvvwae))
{
var store_vvvvwae = [];
}
var store = store_vvvvwae.some(store_vvvvwae_SomeFunc);
if (isSet(datatype_vvvvwae) && datatype_vvvvwae.constructor !== Array)
{
var temp_vvvvwae = datatype_vvvvwae;
@ -317,27 +250,33 @@ function vvvvwae(store_vvvvwae,datatype_vvvvwae)
// set this function logic
if (store && datatype)
if (datatype)
{
jQuery('.note_vdm_encryption').closest('.control-group').show();
jQuery('#jform_store').closest('.control-group').show();
if (jform_vvvvwaevzs_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required');
jform_vvvvwaevzs_required = false;
}
}
else
{
jQuery('.note_vdm_encryption').closest('.control-group').hide();
jQuery('#jform_store').closest('.control-group').hide();
if (!jform_vvvvwaevzs_required)
{
updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required');
jform_vvvvwaevzs_required = true;
}
}
}
// the vvvvwae Some function
function store_vvvvwae_SomeFunc(store_vvvvwae)
{
// set the function logic
if (store_vvvvwae == 4)
{
return true;
}
return false;
}
// the vvvvwae Some function
function datatype_vvvvwae_SomeFunc(datatype_vvvvwae)
{
@ -349,126 +288,187 @@ function datatype_vvvvwae_SomeFunc(datatype_vvvvwae)
return false;
}
// the vvvvwag function
function vvvvwag(add_css_view_vvvvwag)
// the vvvvwaf function
function vvvvwaf(store_vvvvwaf,datatype_vvvvwaf)
{
if (isSet(store_vvvvwaf) && store_vvvvwaf.constructor !== Array)
{
var temp_vvvvwaf = store_vvvvwaf;
var store_vvvvwaf = [];
store_vvvvwaf.push(temp_vvvvwaf);
}
else if (!isSet(store_vvvvwaf))
{
var store_vvvvwaf = [];
}
var store = store_vvvvwaf.some(store_vvvvwaf_SomeFunc);
if (isSet(datatype_vvvvwaf) && datatype_vvvvwaf.constructor !== Array)
{
var temp_vvvvwaf = datatype_vvvvwaf;
var datatype_vvvvwaf = [];
datatype_vvvvwaf.push(temp_vvvvwaf);
}
else if (!isSet(datatype_vvvvwaf))
{
var datatype_vvvvwaf = [];
}
var datatype = datatype_vvvvwaf.some(datatype_vvvvwaf_SomeFunc);
// set this function logic
if (store && datatype)
{
jQuery('.note_vdm_encryption').closest('.control-group').show();
}
else
{
jQuery('.note_vdm_encryption').closest('.control-group').hide();
}
}
// the vvvvwaf Some function
function store_vvvvwaf_SomeFunc(store_vvvvwaf)
{
// set the function logic
if (add_css_view_vvvvwag == 1)
if (store_vvvvwaf == 4)
{
return true;
}
return false;
}
// the vvvvwaf Some function
function datatype_vvvvwaf_SomeFunc(datatype_vvvvwaf)
{
// set the function logic
if (datatype_vvvvwaf == 'CHAR' || datatype_vvvvwaf == 'VARCHAR' || datatype_vvvvwaf == 'TEXT' || datatype_vvvvwaf == 'MEDIUMTEXT' || datatype_vvvvwaf == 'LONGTEXT')
{
return true;
}
return false;
}
// the vvvvwah function
function vvvvwah(add_css_view_vvvvwah)
{
// set the function logic
if (add_css_view_vvvvwah == 1)
{
jQuery('#jform_css_view').closest('.control-group').show();
if (jform_vvvvwagvzs_required)
if (jform_vvvvwahvzt_required)
{
updateFieldRequired('css_view',0);
jQuery('#jform_css_view').prop('required','required');
jQuery('#jform_css_view').attr('aria-required',true);
jQuery('#jform_css_view').addClass('required');
jform_vvvvwagvzs_required = false;
}
}
else
{
jQuery('#jform_css_view').closest('.control-group').hide();
if (!jform_vvvvwagvzs_required)
{
updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required');
jform_vvvvwagvzs_required = true;
}
}
}
// the vvvvwah function
function vvvvwah(add_css_views_vvvvwah)
{
// set the function logic
if (add_css_views_vvvvwah == 1)
{
jQuery('#jform_css_views').closest('.control-group').show();
if (jform_vvvvwahvzt_required)
{
updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required');
jform_vvvvwahvzt_required = false;
}
}
else
{
jQuery('#jform_css_views').closest('.control-group').hide();
jQuery('#jform_css_view').closest('.control-group').hide();
if (!jform_vvvvwahvzt_required)
{
updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required');
updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required');
jform_vvvvwahvzt_required = true;
}
}
}
// the vvvvwai function
function vvvvwai(add_javascript_view_footer_vvvvwai)
function vvvvwai(add_css_views_vvvvwai)
{
// set the function logic
if (add_javascript_view_footer_vvvvwai == 1)
if (add_css_views_vvvvwai == 1)
{
jQuery('#jform_javascript_view_footer').closest('.control-group').show();
jQuery('#jform_css_views').closest('.control-group').show();
if (jform_vvvvwaivzu_required)
{
updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required');
updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required');
jform_vvvvwaivzu_required = false;
}
}
else
{
jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
jQuery('#jform_css_views').closest('.control-group').hide();
if (!jform_vvvvwaivzu_required)
{
updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required');
updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required');
jform_vvvvwaivzu_required = true;
}
}
}
// the vvvvwaj function
function vvvvwaj(add_javascript_views_footer_vvvvwaj)
function vvvvwaj(add_javascript_view_footer_vvvvwaj)
{
// set the function logic
if (add_javascript_views_footer_vvvvwaj == 1)
if (add_javascript_view_footer_vvvvwaj == 1)
{
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
jQuery('#jform_javascript_view_footer').closest('.control-group').show();
if (jform_vvvvwajvzv_required)
{
updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required');
updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required');
jform_vvvvwajvzv_required = false;
}
}
else
{
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
if (!jform_vvvvwajvzv_required)
{
updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required');
jform_vvvvwajvzv_required = true;
}
}
}
// the vvvvwak function
function vvvvwak(add_javascript_views_footer_vvvvwak)
{
// set the function logic
if (add_javascript_views_footer_vvvvwak == 1)
{
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
if (jform_vvvvwakvzw_required)
{
updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required');
jform_vvvvwakvzw_required = false;
}
}
else
{
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
if (!jform_vvvvwakvzw_required)
{
updateFieldRequired('javascript_views_footer',1);
jQuery('#jform_javascript_views_footer').removeAttr('required');
jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
jQuery('#jform_javascript_views_footer').removeClass('required');
jform_vvvvwajvzv_required = true;
jform_vvvvwakvzw_required = true;
}
}
}

View File

@ -23,24 +23,21 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvwakvzy_required = false;
jform_vvvvwalvzz_required = false;
jform_vvvvwamwaa_required = false;
jform_vvvvwanwab_required = false;
jform_vvvvwaowac_required = false;
jform_vvvvwapwad_required = false;
jform_vvvvwaqwae_required = false;
// Initial Script
jQuery(document).ready(function()
{
var location_vvvvwak = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwak(location_vvvvwak);
var location_vvvvwal = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwal(location_vvvvwal);
var type_vvvvwam = jQuery("#jform_type").val();
vvvvwam(type_vvvvwam);
var location_vvvvwam = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwam(location_vvvvwam);
var type_vvvvwan = jQuery("#jform_type").val();
vvvvwan(type_vvvvwan);
@ -48,127 +45,75 @@ jQuery(document).ready(function()
var type_vvvvwao = jQuery("#jform_type").val();
vvvvwao(type_vvvvwao);
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwap(target_vvvvwap);
var type_vvvvwap = jQuery("#jform_type").val();
vvvvwap(type_vvvvwap);
var target_vvvvwaq = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaq(target_vvvvwaq);
});
// the vvvvwak function
function vvvvwak(location_vvvvwak)
{
// set the function logic
if (location_vvvvwak == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
if (jform_vvvvwakvzy_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_vvvvwakvzy_required = false;
}
}
else
{
jQuery('#jform_admin_view').closest('.control-group').hide();
if (!jform_vvvvwakvzy_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_vvvvwakvzy_required = true;
}
}
}
// the vvvvwal function
function vvvvwal(location_vvvvwal)
{
// set the function logic
if (location_vvvvwal == 2)
if (location_vvvvwal == 1)
{
jQuery('#jform_site_view').closest('.control-group').show();
jQuery('#jform_admin_view').closest('.control-group').show();
if (jform_vvvvwalvzz_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');
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_vvvvwalvzz_required = false;
}
}
else
{
jQuery('#jform_site_view').closest('.control-group').hide();
jQuery('#jform_admin_view').closest('.control-group').hide();
if (!jform_vvvvwalvzz_required)
{
updateFieldRequired('site_view',1);
jQuery('#jform_site_view').removeAttr('required');
jQuery('#jform_site_view').removeAttr('aria-required');
jQuery('#jform_site_view').removeClass('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_vvvvwalvzz_required = true;
}
}
}
// the vvvvwam function
function vvvvwam(type_vvvvwam)
function vvvvwam(location_vvvvwam)
{
if (isSet(type_vvvvwam) && type_vvvvwam.constructor !== Array)
// set the function logic
if (location_vvvvwam == 2)
{
var temp_vvvvwam = type_vvvvwam;
var type_vvvvwam = [];
type_vvvvwam.push(temp_vvvvwam);
}
else if (!isSet(type_vvvvwam))
{
var type_vvvvwam = [];
}
var type = type_vvvvwam.some(type_vvvvwam_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_url').closest('.control-group').show();
jQuery('#jform_site_view').closest('.control-group').show();
if (jform_vvvvwamwaa_required)
{
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('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_vvvvwamwaa_required = false;
}
}
else
{
jQuery('#jform_url').closest('.control-group').hide();
jQuery('#jform_site_view').closest('.control-group').hide();
if (!jform_vvvvwamwaa_required)
{
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('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_vvvvwamwaa_required = true;
}
}
}
// the vvvvwam Some function
function type_vvvvwam_SomeFunc(type_vvvvwam)
{
// set the function logic
if (type_vvvvwam == 3)
{
return true;
}
return false;
}
// the vvvvwan function
function vvvvwan(type_vvvvwan)
{
@ -188,26 +133,26 @@ function vvvvwan(type_vvvvwan)
// set this function logic
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
jQuery('#jform_url').closest('.control-group').show();
if (jform_vvvvwanwab_required)
{
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
jform_vvvvwanwab_required = false;
}
}
else
{
jQuery('#jform_article').closest('.control-group').hide();
jQuery('#jform_url').closest('.control-group').hide();
if (!jform_vvvvwanwab_required)
{
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
jform_vvvvwanwab_required = true;
}
}
@ -217,7 +162,7 @@ function vvvvwan(type_vvvvwan)
function type_vvvvwan_SomeFunc(type_vvvvwan)
{
// set the function logic
if (type_vvvvwan == 1)
if (type_vvvvwan == 3)
{
return true;
}
@ -243,26 +188,26 @@ function vvvvwao(type_vvvvwao)
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
jQuery('#jform_article').closest('.control-group').show();
if (jform_vvvvwaowac_required)
{
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_vvvvwaowac_required = false;
}
}
else
{
jQuery('#jform_content-lbl').closest('.control-group').hide();
jQuery('#jform_article').closest('.control-group').hide();
if (!jform_vvvvwaowac_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_vvvvwaowac_required = true;
}
}
@ -272,7 +217,7 @@ function vvvvwao(type_vvvvwao)
function type_vvvvwao_SomeFunc(type_vvvvwao)
{
// set the function logic
if (type_vvvvwao == 2)
if (type_vvvvwao == 1)
{
return true;
}
@ -280,32 +225,87 @@ function type_vvvvwao_SomeFunc(type_vvvvwao)
}
// the vvvvwap function
function vvvvwap(target_vvvvwap)
function vvvvwap(type_vvvvwap)
{
// set the function logic
if (target_vvvvwap == 1)
if (isSet(type_vvvvwap) && type_vvvvwap.constructor !== Array)
{
jQuery('#jform_groups').closest('.control-group').show();
var temp_vvvvwap = type_vvvvwap;
var type_vvvvwap = [];
type_vvvvwap.push(temp_vvvvwap);
}
else if (!isSet(type_vvvvwap))
{
var type_vvvvwap = [];
}
var type = type_vvvvwap.some(type_vvvvwap_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
if (jform_vvvvwapwad_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
jform_vvvvwapwad_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_vvvvwapwad_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
jform_vvvvwapwad_required = true;
}
}
}
// the vvvvwap Some function
function type_vvvvwap_SomeFunc(type_vvvvwap)
{
// set the function logic
if (type_vvvvwap == 2)
{
return true;
}
return false;
}
// the vvvvwaq function
function vvvvwaq(target_vvvvwaq)
{
// set the function logic
if (target_vvvvwaq == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
if (jform_vvvvwaqwae_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
jform_vvvvwaqwae_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_vvvvwaqwae_required)
{
updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required');
jform_vvvvwapwad_required = true;
jform_vvvvwaqwae_required = true;
}
}
}

View File

@ -25,34 +25,51 @@
// Some Global Values
jform_vvvvvzvvzm_required = false;
jform_vvvvvzvvzn_required = false;
jform_vvvvwaavzo_required = false;
// Initial Script
jQuery(document).ready(function()
{
var how_vvvvvzu = jQuery("#jform_how input[type='radio']:checked").val();
var how_vvvvvzu = jQuery("#jform_how").val();
vvvvvzu(how_vvvvvzu);
var how_vvvvvzv = jQuery("#jform_how input[type='radio']:checked").val();
var how_vvvvvzv = jQuery("#jform_how").val();
vvvvvzv(how_vvvvvzv);
var how_vvvvvzw = jQuery("#jform_how input[type='radio']:checked").val();
var how_vvvvvzw = jQuery("#jform_how").val();
vvvvvzw(how_vvvvvzw);
var how_vvvvvzx = jQuery("#jform_how input[type='radio']:checked").val();
var how_vvvvvzx = jQuery("#jform_how").val();
vvvvvzx(how_vvvvvzx);
var how_vvvvvzy = jQuery("#jform_how input[type='radio']:checked").val();
var how_vvvvvzy = jQuery("#jform_how").val();
vvvvvzy(how_vvvvvzy);
var how_vvvvvzz = jQuery("#jform_how input[type='radio']:checked").val();
var how_vvvvvzz = jQuery("#jform_how").val();
vvvvvzz(how_vvvvvzz);
var type_vvvvwaa = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwaa(type_vvvvwaa);
});
// the vvvvvzu function
function vvvvvzu(how_vvvvvzu)
{
// set the function logic
if (how_vvvvvzu == 2)
if (isSet(how_vvvvvzu) && how_vvvvvzu.constructor !== Array)
{
var temp_vvvvvzu = how_vvvvvzu;
var how_vvvvvzu = [];
how_vvvvvzu.push(temp_vvvvvzu);
}
else if (!isSet(how_vvvvvzu))
{
var how_vvvvvzu = [];
}
var how = how_vvvvvzu.some(how_vvvvvzu_SomeFunc);
// set this function logic
if (how)
{
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
}
@ -62,11 +79,35 @@ function vvvvvzu(how_vvvvvzu)
}
}
// the vvvvvzu Some function
function how_vvvvvzu_SomeFunc(how_vvvvvzu)
{
// set the function logic
if (how_vvvvvzu == 2)
{
return true;
}
return false;
}
// the vvvvvzv function
function vvvvvzv(how_vvvvvzv)
{
// set the function logic
if (how_vvvvvzv == 3)
if (isSet(how_vvvvvzv) && how_vvvvvzv.constructor !== Array)
{
var temp_vvvvvzv = how_vvvvvzv;
var how_vvvvvzv = [];
how_vvvvvzv.push(temp_vvvvvzv);
}
else if (!isSet(how_vvvvvzv))
{
var how_vvvvvzv = [];
}
var how = how_vvvvvzv.some(how_vvvvvzv_SomeFunc);
// set this function logic
if (how)
{
jQuery('#jform_php_setdocument').closest('.control-group').show();
if (jform_vvvvvzvvzm_required)
@ -112,11 +153,35 @@ function vvvvvzv(how_vvvvvzv)
}
}
// the vvvvvzv Some function
function how_vvvvvzv_SomeFunc(how_vvvvvzv)
{
// set the function logic
if (how_vvvvvzv == 3)
{
return true;
}
return false;
}
// the vvvvvzw function
function vvvvvzw(how_vvvvvzw)
{
// set the function logic
if (how_vvvvvzw == 2 || how_vvvvvzw == 3)
if (isSet(how_vvvvvzw) && how_vvvvvzw.constructor !== Array)
{
var temp_vvvvvzw = how_vvvvvzw;
var how_vvvvvzw = [];
how_vvvvvzw.push(temp_vvvvvzw);
}
else if (!isSet(how_vvvvvzw))
{
var how_vvvvvzw = [];
}
var how = how_vvvvvzw.some(how_vvvvvzw_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_display_library_config').closest('.control-group').show();
}
@ -126,11 +191,35 @@ function vvvvvzw(how_vvvvvzw)
}
}
// the vvvvvzw Some function
function how_vvvvvzw_SomeFunc(how_vvvvvzw)
{
// set the function logic
if (how_vvvvvzw == 2 || how_vvvvvzw == 3)
{
return true;
}
return false;
}
// the vvvvvzx function
function vvvvvzx(how_vvvvvzx)
{
// set the function logic
if (how_vvvvvzx == 1 || how_vvvvvzx == 2 || how_vvvvvzx == 3)
if (isSet(how_vvvvvzx) && how_vvvvvzx.constructor !== Array)
{
var temp_vvvvvzx = how_vvvvvzx;
var how_vvvvvzx = [];
how_vvvvvzx.push(temp_vvvvvzx);
}
else if (!isSet(how_vvvvvzx))
{
var how_vvvvvzx = [];
}
var how = how_vvvvvzx.some(how_vvvvvzx_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
}
@ -140,11 +229,35 @@ function vvvvvzx(how_vvvvvzx)
}
}
// the vvvvvzx Some function
function how_vvvvvzx_SomeFunc(how_vvvvvzx)
{
// set the function logic
if (how_vvvvvzx == 1 || how_vvvvvzx == 2 || how_vvvvvzx == 3)
{
return true;
}
return false;
}
// the vvvvvzy function
function vvvvvzy(how_vvvvvzy)
{
// set the function logic
if (how_vvvvvzy == 0)
if (isSet(how_vvvvvzy) && how_vvvvvzy.constructor !== Array)
{
var temp_vvvvvzy = how_vvvvvzy;
var how_vvvvvzy = [];
how_vvvvvzy.push(temp_vvvvvzy);
}
else if (!isSet(how_vvvvvzy))
{
var how_vvvvvzy = [];
}
var how = how_vvvvvzy.some(how_vvvvvzy_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_no_behaviour_one').closest('.control-group').show();
jQuery('.note_no_behaviour_three').closest('.control-group').show();
@ -158,11 +271,35 @@ function vvvvvzy(how_vvvvvzy)
}
}
// the vvvvvzy Some function
function how_vvvvvzy_SomeFunc(how_vvvvvzy)
{
// set the function logic
if (how_vvvvvzy == 0)
{
return true;
}
return false;
}
// the vvvvvzz function
function vvvvvzz(how_vvvvvzz)
{
// set the function logic
if (how_vvvvvzz == 1)
if (isSet(how_vvvvvzz) && how_vvvvvzz.constructor !== Array)
{
var temp_vvvvvzz = how_vvvvvzz;
var how_vvvvvzz = [];
how_vvvvvzz.push(temp_vvvvvzz);
}
else if (!isSet(how_vvvvvzz))
{
var how_vvvvvzz = [];
}
var how = how_vvvvvzz.some(how_vvvvvzz_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_yes_behaviour_one').closest('.control-group').show();
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
@ -174,6 +311,48 @@ function vvvvvzz(how_vvvvvzz)
}
}
// the vvvvvzz Some function
function how_vvvvvzz_SomeFunc(how_vvvvvzz)
{
// set the function logic
if (how_vvvvvzz == 1)
{
return true;
}
return false;
}
// the vvvvwaa function
function vvvvwaa(type_vvvvwaa)
{
// set the function logic
if (type_vvvvwaa == 2)
{
jQuery('#jform_libraries').closest('.control-group').show();
if (jform_vvvvwaavzo_required)
{
updateFieldRequired('libraries',0);
jQuery('#jform_libraries').prop('required','required');
jQuery('#jform_libraries').attr('aria-required',true);
jQuery('#jform_libraries').addClass('required');
jform_vvvvwaavzo_required = false;
}
}
else
{
jQuery('#jform_libraries').closest('.control-group').hide();
if (!jform_vvvvwaavzo_required)
{
updateFieldRequired('libraries',1);
jQuery('#jform_libraries').removeAttr('required');
jQuery('#jform_libraries').removeAttr('aria-required');
jQuery('#jform_libraries').removeClass('required');
jform_vvvvwaavzo_required = true;
}
}
}
// update required fields
function updateFieldRequired(name,status)
{
@ -269,7 +448,7 @@ function addButton(type,where){
function getAjaxDisplay(type){
getAjaxDisplay_server(type).done(function(result) {
if(result){
if (result) {
jQuery('#display_'+type).html(result);
}
// set button
@ -279,7 +458,7 @@ function getAjaxDisplay(type){
function getAjaxDisplay_server(type){
var getUrl = "index.php?option=com_componentbuilder&task=ajax.getAjaxDisplay&format=json&vdm="+vastDevMod;
if(token.length > 0 && type.length > 0){
if (token.length > 0 && type.length > 0) {
var request = 'token='+token+'&type=' + type;
}
return jQuery.ajax({
@ -293,7 +472,7 @@ function getAjaxDisplay_server(type){
function getFieldSelectOptions_server(fieldId){
var getUrl = "index.php?option=com_componentbuilder&task=ajax.fieldSelectOptions&format=json";
if(token.length > 0 && fieldId > 0){
if (token.length > 0 && fieldId > 0) {
var request = 'token='+token+'&id='+fieldId;
}
return jQuery.ajax({
@ -310,11 +489,9 @@ function getFieldSelectOptions(fieldKey){
if(jQuery("#jform_addconditions__addconditions"+fieldKey+"__option_field").length) {
var fieldId = jQuery("#jform_addconditions__addconditions"+fieldKey+"__option_field option:selected").val();
getFieldSelectOptions_server(fieldId).done(function(result) {
if(result){
if(result) {
jQuery('textarea#jform_addconditions__addconditions'+fieldKey+'__field_options').val(result);
}
else
{
} else {
jQuery('textarea#jform_addconditions__addconditions'+fieldKey+'__field_options').val('');
}
});

View File

@ -122,15 +122,17 @@
message="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_MESSAGE"
hint="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_HINT"
/>
<!-- How Field. Type: Radio. (joomla) -->
<!-- How Field. Type: List. (joomla) -->
<field
type="radio"
type="list"
name="how"
label="COM_COMPONENTBUILDER_LIBRARY_HOW_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_HOW_DESCRIPTION"
class="btn-group btn-group-yesno"
default="2"
required="true">
class="list_class"
multiple="false"
filter="INT"
required="true"
default="1">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_LIBRARY_ALWAYS_ADD</option>
@ -141,8 +143,29 @@
<option value="0">
COM_COMPONENTBUILDER_LIBRARY_DO_NOT_ADD</option>
</field>
<!-- Note_display_library_files_folders_urls Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_display_library_files_folders_urls" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_FILES_FOLDERS_URLS_DESCRIPTION" class="note_display_library_files_folders_urls" />
<!-- Type Field. Type: Radio. (joomla) -->
<field
type="radio"
name="type"
label="COM_COMPONENTBUILDER_LIBRARY_TYPE_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_TYPE_DESCRIPTION"
class="btn-group btn-group-yesno"
default="1"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_LIBRARY_MAIN</option>
<option value="2">
COM_COMPONENTBUILDER_LIBRARY_BUNDLE</option>
</field>
<!-- Not_required Field. Type: Hidden. (joomla) -->
<field
type="hidden"
name="not_required"
default="[]"
/>
<!-- Note_yes_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_yes_behaviour_two" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_DESCRIPTION" heading="h4" class="alert alert-success note_yes_behaviour_two" />
<!-- Php_setdocument Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@ -156,6 +179,21 @@
hint="COM_COMPONENTBUILDER_LIBRARY_PHP_SETDOCUMENT_HINT"
required="true"
/>
<!-- Note_display_library_files_folders_urls Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_display_library_files_folders_urls" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_FILES_FOLDERS_URLS_DESCRIPTION" class="note_display_library_files_folders_urls" />
<!-- Php_preparedocument Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_preparedocument"
label="COM_COMPONENTBUILDER_LIBRARY_PHP_PREPAREDOCUMENT_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_LIBRARY_PHP_PREPAREDOCUMENT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_LIBRARY_PHP_PREPAREDOCUMENT_HINT"
required="true"
/>
<!-- Addconditions Field. Type: Subform. (joomla) -->
<field
type="subform"
@ -274,35 +312,26 @@
/>
</form>
</field>
<!-- Php_preparedocument Field. Type: Textarea. (joomla) -->
<!-- Libraries Field. Type: Librariesx. (custom) -->
<field
type="textarea"
name="php_preparedocument"
label="COM_COMPONENTBUILDER_LIBRARY_PHP_PREPAREDOCUMENT_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_LIBRARY_PHP_PREPAREDOCUMENT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_LIBRARY_PHP_PREPAREDOCUMENT_HINT"
required="true"
type="librariesx"
name="libraries"
label="COM_COMPONENTBUILDER_LIBRARY_LIBRARIES_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_LIBRARIES_DESCRIPTION"
class="list_class"
multiple="true"
default="0"
required="false"
button="true"
/>
<!-- Note_yes_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_yes_behaviour_two" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_DESCRIPTION" heading="h4" class="alert alert-success note_yes_behaviour_two" />
<!-- Note_yes_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_yes_behaviour_one" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_DESCRIPTION" heading="h4" class="alert alert-success note_yes_behaviour_one" />
<!-- Note_no_behaviour_three Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_no_behaviour_three" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_three" />
<!-- Note_no_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_no_behaviour_one" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_one" />
<!-- Note_no_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_no_behaviour_two" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_two" />
<!-- Not_required Field. Type: Hidden. (joomla) -->
<field
type="hidden"
name="not_required"
default="[]"
/>
<!-- Note_yes_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_yes_behaviour_one" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_DESCRIPTION" heading="h4" class="alert alert-success note_yes_behaviour_one" />
<!-- Note_display_library_config Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_display_library_config" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_CONFIG_DESCRIPTION" class="note_display_library_config" />
</fieldset>

View File

@ -107,12 +107,10 @@
type="subform"
name="addconfig"
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ADDCONFIG_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_ADDCONFIG_DESCRIPTION"
icon="list"
maximum="500"
filter="ARRAY">
maximum="500">
<form hidden="true" name="list_addconfig_modal" repeat="true">
<!-- Field Field. Type: Fields. (custom) -->
<field
@ -146,7 +144,7 @@
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_LABEL"
size="40"
maxlength="150"
default="Library"
default="Global"
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_TABNAME_DESCRIPTION"
class="text_area"
readonly="false"