Expande the compiler to fully build and zip plugins linked to components. Added plugin_updates area. Fixed gh-454 to insure placeholders are build even if no local db placeholders are found. Fixed gh-453 to prevent count error with null return value.

This commit is contained in:
2019-08-08 17:35:58 +02:00
parent 7d2cc2c9f0
commit ed43b00862
87 changed files with 7569 additions and 3584 deletions

View File

@ -9,23 +9,20 @@
*/
// Some Global Values
jform_vvvvwcyvyh_required = false;
jform_vvvvwczvyi_required = false;
jform_vvvvwdavyj_required = false;
jform_vvvvwdbvyk_required = false;
jform_vvvvwddvyl_required = false;
jform_vvvvwczvyh_required = false;
jform_vvvvwdavyi_required = false;
jform_vvvvwdbvyj_required = false;
jform_vvvvwdcvyk_required = false;
jform_vvvvwdevyl_required = false;
// Initial Script
jQuery(document).ready(function()
{
var location_vvvvwcy = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwcy(location_vvvvwcy);
var location_vvvvwcz = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwcz(location_vvvvwcz);
var type_vvvvwda = jQuery("#jform_type").val();
vvvvwda(type_vvvvwda);
var location_vvvvwda = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwda(location_vvvvwda);
var type_vvvvwdb = jQuery("#jform_type").val();
vvvvwdb(type_vvvvwdb);
@ -33,130 +30,77 @@ jQuery(document).ready(function()
var type_vvvvwdc = jQuery("#jform_type").val();
vvvvwdc(type_vvvvwdc);
var target_vvvvwdd = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwdd(target_vvvvwdd);
var type_vvvvwdd = jQuery("#jform_type").val();
vvvvwdd(type_vvvvwdd);
var target_vvvvwde = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwde(target_vvvvwde);
});
// the vvvvwcy function
function vvvvwcy(location_vvvvwcy)
// the vvvvwcz function
function vvvvwcz(location_vvvvwcz)
{
// set the function logic
if (location_vvvvwcy == 1)
if (location_vvvvwcz == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
// add required attribute to admin_view field
if (jform_vvvvwcyvyh_required)
if (jform_vvvvwczvyh_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_vvvvwcyvyh_required = false;
jform_vvvvwczvyh_required = false;
}
}
else
{
jQuery('#jform_admin_view').closest('.control-group').hide();
// remove required attribute from admin_view field
if (!jform_vvvvwcyvyh_required)
if (!jform_vvvvwczvyh_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_vvvvwcyvyh_required = true;
jform_vvvvwczvyh_required = true;
}
}
}
// the vvvvwcz function
function vvvvwcz(location_vvvvwcz)
// the vvvvwda function
function vvvvwda(location_vvvvwda)
{
// set the function logic
if (location_vvvvwcz == 2)
if (location_vvvvwda == 2)
{
jQuery('#jform_site_view').closest('.control-group').show();
// add required attribute to site_view field
if (jform_vvvvwczvyi_required)
if (jform_vvvvwdavyi_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_vvvvwczvyi_required = false;
jform_vvvvwdavyi_required = false;
}
}
else
{
jQuery('#jform_site_view').closest('.control-group').hide();
// remove required attribute from site_view field
if (!jform_vvvvwczvyi_required)
if (!jform_vvvvwdavyi_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_vvvvwczvyi_required = true;
jform_vvvvwdavyi_required = true;
}
}
}
// the vvvvwda function
function vvvvwda(type_vvvvwda)
{
if (isSet(type_vvvvwda) && type_vvvvwda.constructor !== Array)
{
var temp_vvvvwda = type_vvvvwda;
var type_vvvvwda = [];
type_vvvvwda.push(temp_vvvvwda);
}
else if (!isSet(type_vvvvwda))
{
var type_vvvvwda = [];
}
var type = type_vvvvwda.some(type_vvvvwda_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_url').closest('.control-group').show();
// add required attribute to url field
if (jform_vvvvwdavyj_required)
{
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
jform_vvvvwdavyj_required = false;
}
}
else
{
jQuery('#jform_url').closest('.control-group').hide();
// remove required attribute from url field
if (!jform_vvvvwdavyj_required)
{
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
jform_vvvvwdavyj_required = true;
}
}
}
// the vvvvwda Some function
function type_vvvvwda_SomeFunc(type_vvvvwda)
{
// set the function logic
if (type_vvvvwda == 3)
{
return true;
}
return false;
}
// the vvvvwdb function
function vvvvwdb(type_vvvvwdb)
{
@ -176,28 +120,28 @@ function vvvvwdb(type_vvvvwdb)
// set this function logic
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
// add required attribute to article field
if (jform_vvvvwdbvyk_required)
jQuery('#jform_url').closest('.control-group').show();
// add required attribute to url field
if (jform_vvvvwdbvyj_required)
{
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_vvvvwdbvyk_required = false;
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
jform_vvvvwdbvyj_required = false;
}
}
else
{
jQuery('#jform_article').closest('.control-group').hide();
// remove required attribute from article field
if (!jform_vvvvwdbvyk_required)
jQuery('#jform_url').closest('.control-group').hide();
// remove required attribute from url field
if (!jform_vvvvwdbvyj_required)
{
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_vvvvwdbvyk_required = true;
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
jform_vvvvwdbvyj_required = true;
}
}
}
@ -206,7 +150,7 @@ function vvvvwdb(type_vvvvwdb)
function type_vvvvwdb_SomeFunc(type_vvvvwdb)
{
// set the function logic
if (type_vvvvwdb == 1)
if (type_vvvvwdb == 3)
{
return true;
}
@ -229,6 +173,62 @@ function vvvvwdc(type_vvvvwdc)
var type = type_vvvvwdc.some(type_vvvvwdc_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
// add required attribute to article field
if (jform_vvvvwdcvyk_required)
{
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_vvvvwdcvyk_required = false;
}
}
else
{
jQuery('#jform_article').closest('.control-group').hide();
// remove required attribute from article field
if (!jform_vvvvwdcvyk_required)
{
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_vvvvwdcvyk_required = true;
}
}
}
// the vvvvwdc Some function
function type_vvvvwdc_SomeFunc(type_vvvvwdc)
{
// set the function logic
if (type_vvvvwdc == 1)
{
return true;
}
return false;
}
// the vvvvwdd function
function vvvvwdd(type_vvvvwdd)
{
if (isSet(type_vvvvwdd) && type_vvvvwdd.constructor !== Array)
{
var temp_vvvvwdd = type_vvvvwdd;
var type_vvvvwdd = [];
type_vvvvwdd.push(temp_vvvvwdd);
}
else if (!isSet(type_vvvvwdd))
{
var type_vvvvwdd = [];
}
var type = type_vvvvwdd.some(type_vvvvwdd_SomeFunc);
// set this function logic
if (type)
{
@ -240,45 +240,45 @@ function vvvvwdc(type_vvvvwdc)
}
}
// the vvvvwdc Some function
function type_vvvvwdc_SomeFunc(type_vvvvwdc)
// the vvvvwdd Some function
function type_vvvvwdd_SomeFunc(type_vvvvwdd)
{
// set the function logic
if (type_vvvvwdc == 2)
if (type_vvvvwdd == 2)
{
return true;
}
return false;
}
// the vvvvwdd function
function vvvvwdd(target_vvvvwdd)
// the vvvvwde function
function vvvvwde(target_vvvvwde)
{
// set the function logic
if (target_vvvvwdd == 1)
if (target_vvvvwde == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
// add required attribute to groups field
if (jform_vvvvwddvyl_required)
if (jform_vvvvwdevyl_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
jform_vvvvwddvyl_required = false;
jform_vvvvwdevyl_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
// remove required attribute from groups field
if (!jform_vvvvwddvyl_required)
if (!jform_vvvvwdevyl_required)
{
updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required');
jform_vvvvwddvyl_required = true;
jform_vvvvwdevyl_required = true;
}
}
}