Added another PHP field to the admin views, improved the custom code methods in the compiler, and fixed some permissional errors.

This commit is contained in:
2016-09-03 22:44:47 +01:00
parent 675ecece84
commit a7e641b499
380 changed files with 3508 additions and 3130 deletions

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.16
@build 29th August, 2016
@version 2.1.17
@build 3rd September, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.js
@ -44,11 +44,12 @@ jform_vvvvvwyvww_required = false;
jform_vvvvvwzvwx_required = false;
jform_vvvvvxavwy_required = false;
jform_vvvvvxbvwz_required = false;
jform_vvvvvxfvxa_required = false;
jform_vvvvvxfvxb_required = false;
jform_vvvvvxfvxc_required = false;
jform_vvvvvxfvxd_required = false;
jform_vvvvvxfvxe_required = false;
jform_vvvvvxcvxa_required = false;
jform_vvvvvxgvxb_required = false;
jform_vvvvvxgvxc_required = false;
jform_vvvvvxgvxd_required = false;
jform_vvvvvxgvxe_required = false;
jform_vvvvvxgvxf_required = false;
// Initial Script
jQuery(document).ready(function()
@ -80,49 +81,52 @@ jQuery(document).ready(function()
var add_php_getitems_vvvvvwq = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvwq(add_php_getitems_vvvvvwq);
var add_php_getlistquery_vvvvvwr = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvwr(add_php_getlistquery_vvvvvwr);
var add_php_getitems_after_all_vvvvvwr = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
vvvvvwr(add_php_getitems_after_all_vvvvvwr);
var add_php_save_vvvvvws = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvws(add_php_save_vvvvvws);
var add_php_getlistquery_vvvvvws = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvws(add_php_getlistquery_vvvvvws);
var add_php_postsavehook_vvvvvwt = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvwt(add_php_postsavehook_vvvvvwt);
var add_php_save_vvvvvwt = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvwt(add_php_save_vvvvvwt);
var add_php_allowedit_vvvvvwu = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvwu(add_php_allowedit_vvvvvwu);
var add_php_postsavehook_vvvvvwu = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvwu(add_php_postsavehook_vvvvvwu);
var add_php_batchcopy_vvvvvwv = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvwv(add_php_batchcopy_vvvvvwv);
var add_php_allowedit_vvvvvwv = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvwv(add_php_allowedit_vvvvvwv);
var add_php_batchmove_vvvvvww = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvww(add_php_batchmove_vvvvvww);
var add_php_batchcopy_vvvvvww = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvww(add_php_batchcopy_vvvvvww);
var add_php_before_delete_vvvvvwx = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvwx(add_php_before_delete_vvvvvwx);
var add_php_batchmove_vvvvvwx = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvwx(add_php_batchmove_vvvvvwx);
var add_php_after_delete_vvvvvwy = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvwy(add_php_after_delete_vvvvvwy);
var add_php_before_delete_vvvvvwy = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvwy(add_php_before_delete_vvvvvwy);
var add_php_document_vvvvvwz = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvwz(add_php_document_vvvvvwz);
var add_php_after_delete_vvvvvwz = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvwz(add_php_after_delete_vvvvvwz);
var add_sql_vvvvvxa = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxa(add_sql_vvvvvxa);
var add_php_document_vvvvvxa = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxa(add_php_document_vvvvvxa);
var source_vvvvvxb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxb(source_vvvvvxb,add_sql_vvvvvxb);
vvvvvxb(add_sql_vvvvvxb);
var source_vvvvvxd = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxd = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxd(source_vvvvvxd,add_sql_vvvvvxd);
var source_vvvvvxc = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxc = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxc(source_vvvvvxc,add_sql_vvvvvxc);
var add_custom_import_vvvvvxf = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvxf(add_custom_import_vvvvvxf);
var source_vvvvvxe = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxe = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxe(source_vvvvvxe,add_sql_vvvvvxe);
var add_custom_import_vvvvvxg = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvxg(add_custom_import_vvvvvxg);
var add_custom_import_vvvvvxh = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvxh(add_custom_import_vvvvvxh);
});
// the vvvvvwi function
@ -407,351 +411,382 @@ function vvvvvwq(add_php_getitems_vvvvvwq)
}
// the vvvvvwr function
function vvvvvwr(add_php_getlistquery_vvvvvwr)
function vvvvvwr(add_php_getitems_after_all_vvvvvwr)
{
// set the function logic
if (add_php_getlistquery_vvvvvwr == 1)
if (add_php_getitems_after_all_vvvvvwr == 1)
{
jQuery('#jform_php_getlistquery').closest('.control-group').show();
jQuery('#jform_php_getitems_after_all').closest('.control-group').show();
if (jform_vvvvvwrvwp_required)
{
updateFieldRequired('php_getlistquery',0);
jQuery('#jform_php_getlistquery').prop('required','required');
jQuery('#jform_php_getlistquery').attr('aria-required',true);
jQuery('#jform_php_getlistquery').addClass('required');
updateFieldRequired('php_getitems_after_all',0);
jQuery('#jform_php_getitems_after_all').prop('required','required');
jQuery('#jform_php_getitems_after_all').attr('aria-required',true);
jQuery('#jform_php_getitems_after_all').addClass('required');
jform_vvvvvwrvwp_required = false;
}
}
else
{
jQuery('#jform_php_getlistquery').closest('.control-group').hide();
jQuery('#jform_php_getitems_after_all').closest('.control-group').hide();
if (!jform_vvvvvwrvwp_required)
{
updateFieldRequired('php_getlistquery',1);
jQuery('#jform_php_getlistquery').removeAttr('required');
jQuery('#jform_php_getlistquery').removeAttr('aria-required');
jQuery('#jform_php_getlistquery').removeClass('required');
updateFieldRequired('php_getitems_after_all',1);
jQuery('#jform_php_getitems_after_all').removeAttr('required');
jQuery('#jform_php_getitems_after_all').removeAttr('aria-required');
jQuery('#jform_php_getitems_after_all').removeClass('required');
jform_vvvvvwrvwp_required = true;
}
}
}
// the vvvvvws function
function vvvvvws(add_php_save_vvvvvws)
function vvvvvws(add_php_getlistquery_vvvvvws)
{
// set the function logic
if (add_php_save_vvvvvws == 1)
if (add_php_getlistquery_vvvvvws == 1)
{
jQuery('#jform_php_save').closest('.control-group').show();
jQuery('#jform_php_getlistquery').closest('.control-group').show();
if (jform_vvvvvwsvwq_required)
{
updateFieldRequired('php_save',0);
jQuery('#jform_php_save').prop('required','required');
jQuery('#jform_php_save').attr('aria-required',true);
jQuery('#jform_php_save').addClass('required');
updateFieldRequired('php_getlistquery',0);
jQuery('#jform_php_getlistquery').prop('required','required');
jQuery('#jform_php_getlistquery').attr('aria-required',true);
jQuery('#jform_php_getlistquery').addClass('required');
jform_vvvvvwsvwq_required = false;
}
}
else
{
jQuery('#jform_php_save').closest('.control-group').hide();
jQuery('#jform_php_getlistquery').closest('.control-group').hide();
if (!jform_vvvvvwsvwq_required)
{
updateFieldRequired('php_save',1);
jQuery('#jform_php_save').removeAttr('required');
jQuery('#jform_php_save').removeAttr('aria-required');
jQuery('#jform_php_save').removeClass('required');
updateFieldRequired('php_getlistquery',1);
jQuery('#jform_php_getlistquery').removeAttr('required');
jQuery('#jform_php_getlistquery').removeAttr('aria-required');
jQuery('#jform_php_getlistquery').removeClass('required');
jform_vvvvvwsvwq_required = true;
}
}
}
// the vvvvvwt function
function vvvvvwt(add_php_postsavehook_vvvvvwt)
function vvvvvwt(add_php_save_vvvvvwt)
{
// set the function logic
if (add_php_postsavehook_vvvvvwt == 1)
if (add_php_save_vvvvvwt == 1)
{
jQuery('#jform_php_postsavehook').closest('.control-group').show();
jQuery('#jform_php_save').closest('.control-group').show();
if (jform_vvvvvwtvwr_required)
{
updateFieldRequired('php_postsavehook',0);
jQuery('#jform_php_postsavehook').prop('required','required');
jQuery('#jform_php_postsavehook').attr('aria-required',true);
jQuery('#jform_php_postsavehook').addClass('required');
updateFieldRequired('php_save',0);
jQuery('#jform_php_save').prop('required','required');
jQuery('#jform_php_save').attr('aria-required',true);
jQuery('#jform_php_save').addClass('required');
jform_vvvvvwtvwr_required = false;
}
}
else
{
jQuery('#jform_php_postsavehook').closest('.control-group').hide();
jQuery('#jform_php_save').closest('.control-group').hide();
if (!jform_vvvvvwtvwr_required)
{
updateFieldRequired('php_postsavehook',1);
jQuery('#jform_php_postsavehook').removeAttr('required');
jQuery('#jform_php_postsavehook').removeAttr('aria-required');
jQuery('#jform_php_postsavehook').removeClass('required');
updateFieldRequired('php_save',1);
jQuery('#jform_php_save').removeAttr('required');
jQuery('#jform_php_save').removeAttr('aria-required');
jQuery('#jform_php_save').removeClass('required');
jform_vvvvvwtvwr_required = true;
}
}
}
// the vvvvvwu function
function vvvvvwu(add_php_allowedit_vvvvvwu)
function vvvvvwu(add_php_postsavehook_vvvvvwu)
{
// set the function logic
if (add_php_allowedit_vvvvvwu == 1)
if (add_php_postsavehook_vvvvvwu == 1)
{
jQuery('#jform_php_allowedit').closest('.control-group').show();
jQuery('#jform_php_postsavehook').closest('.control-group').show();
if (jform_vvvvvwuvws_required)
{
updateFieldRequired('php_allowedit',0);
jQuery('#jform_php_allowedit').prop('required','required');
jQuery('#jform_php_allowedit').attr('aria-required',true);
jQuery('#jform_php_allowedit').addClass('required');
updateFieldRequired('php_postsavehook',0);
jQuery('#jform_php_postsavehook').prop('required','required');
jQuery('#jform_php_postsavehook').attr('aria-required',true);
jQuery('#jform_php_postsavehook').addClass('required');
jform_vvvvvwuvws_required = false;
}
}
else
{
jQuery('#jform_php_allowedit').closest('.control-group').hide();
jQuery('#jform_php_postsavehook').closest('.control-group').hide();
if (!jform_vvvvvwuvws_required)
{
updateFieldRequired('php_allowedit',1);
jQuery('#jform_php_allowedit').removeAttr('required');
jQuery('#jform_php_allowedit').removeAttr('aria-required');
jQuery('#jform_php_allowedit').removeClass('required');
updateFieldRequired('php_postsavehook',1);
jQuery('#jform_php_postsavehook').removeAttr('required');
jQuery('#jform_php_postsavehook').removeAttr('aria-required');
jQuery('#jform_php_postsavehook').removeClass('required');
jform_vvvvvwuvws_required = true;
}
}
}
// the vvvvvwv function
function vvvvvwv(add_php_batchcopy_vvvvvwv)
function vvvvvwv(add_php_allowedit_vvvvvwv)
{
// set the function logic
if (add_php_batchcopy_vvvvvwv == 1)
if (add_php_allowedit_vvvvvwv == 1)
{
jQuery('#jform_php_batchcopy').closest('.control-group').show();
jQuery('#jform_php_allowedit').closest('.control-group').show();
if (jform_vvvvvwvvwt_required)
{
updateFieldRequired('php_batchcopy',0);
jQuery('#jform_php_batchcopy').prop('required','required');
jQuery('#jform_php_batchcopy').attr('aria-required',true);
jQuery('#jform_php_batchcopy').addClass('required');
updateFieldRequired('php_allowedit',0);
jQuery('#jform_php_allowedit').prop('required','required');
jQuery('#jform_php_allowedit').attr('aria-required',true);
jQuery('#jform_php_allowedit').addClass('required');
jform_vvvvvwvvwt_required = false;
}
}
else
{
jQuery('#jform_php_batchcopy').closest('.control-group').hide();
jQuery('#jform_php_allowedit').closest('.control-group').hide();
if (!jform_vvvvvwvvwt_required)
{
updateFieldRequired('php_batchcopy',1);
jQuery('#jform_php_batchcopy').removeAttr('required');
jQuery('#jform_php_batchcopy').removeAttr('aria-required');
jQuery('#jform_php_batchcopy').removeClass('required');
updateFieldRequired('php_allowedit',1);
jQuery('#jform_php_allowedit').removeAttr('required');
jQuery('#jform_php_allowedit').removeAttr('aria-required');
jQuery('#jform_php_allowedit').removeClass('required');
jform_vvvvvwvvwt_required = true;
}
}
}
// the vvvvvww function
function vvvvvww(add_php_batchmove_vvvvvww)
function vvvvvww(add_php_batchcopy_vvvvvww)
{
// set the function logic
if (add_php_batchmove_vvvvvww == 1)
if (add_php_batchcopy_vvvvvww == 1)
{
jQuery('#jform_php_batchmove').closest('.control-group').show();
jQuery('#jform_php_batchcopy').closest('.control-group').show();
if (jform_vvvvvwwvwu_required)
{
updateFieldRequired('php_batchmove',0);
jQuery('#jform_php_batchmove').prop('required','required');
jQuery('#jform_php_batchmove').attr('aria-required',true);
jQuery('#jform_php_batchmove').addClass('required');
updateFieldRequired('php_batchcopy',0);
jQuery('#jform_php_batchcopy').prop('required','required');
jQuery('#jform_php_batchcopy').attr('aria-required',true);
jQuery('#jform_php_batchcopy').addClass('required');
jform_vvvvvwwvwu_required = false;
}
}
else
{
jQuery('#jform_php_batchmove').closest('.control-group').hide();
jQuery('#jform_php_batchcopy').closest('.control-group').hide();
if (!jform_vvvvvwwvwu_required)
{
updateFieldRequired('php_batchmove',1);
jQuery('#jform_php_batchmove').removeAttr('required');
jQuery('#jform_php_batchmove').removeAttr('aria-required');
jQuery('#jform_php_batchmove').removeClass('required');
updateFieldRequired('php_batchcopy',1);
jQuery('#jform_php_batchcopy').removeAttr('required');
jQuery('#jform_php_batchcopy').removeAttr('aria-required');
jQuery('#jform_php_batchcopy').removeClass('required');
jform_vvvvvwwvwu_required = true;
}
}
}
// the vvvvvwx function
function vvvvvwx(add_php_before_delete_vvvvvwx)
function vvvvvwx(add_php_batchmove_vvvvvwx)
{
// set the function logic
if (add_php_before_delete_vvvvvwx == 1)
if (add_php_batchmove_vvvvvwx == 1)
{
jQuery('#jform_php_before_delete').closest('.control-group').show();
jQuery('#jform_php_batchmove').closest('.control-group').show();
if (jform_vvvvvwxvwv_required)
{
updateFieldRequired('php_before_delete',0);
jQuery('#jform_php_before_delete').prop('required','required');
jQuery('#jform_php_before_delete').attr('aria-required',true);
jQuery('#jform_php_before_delete').addClass('required');
updateFieldRequired('php_batchmove',0);
jQuery('#jform_php_batchmove').prop('required','required');
jQuery('#jform_php_batchmove').attr('aria-required',true);
jQuery('#jform_php_batchmove').addClass('required');
jform_vvvvvwxvwv_required = false;
}
}
else
{
jQuery('#jform_php_before_delete').closest('.control-group').hide();
jQuery('#jform_php_batchmove').closest('.control-group').hide();
if (!jform_vvvvvwxvwv_required)
{
updateFieldRequired('php_before_delete',1);
jQuery('#jform_php_before_delete').removeAttr('required');
jQuery('#jform_php_before_delete').removeAttr('aria-required');
jQuery('#jform_php_before_delete').removeClass('required');
updateFieldRequired('php_batchmove',1);
jQuery('#jform_php_batchmove').removeAttr('required');
jQuery('#jform_php_batchmove').removeAttr('aria-required');
jQuery('#jform_php_batchmove').removeClass('required');
jform_vvvvvwxvwv_required = true;
}
}
}
// the vvvvvwy function
function vvvvvwy(add_php_after_delete_vvvvvwy)
function vvvvvwy(add_php_before_delete_vvvvvwy)
{
// set the function logic
if (add_php_after_delete_vvvvvwy == 1)
if (add_php_before_delete_vvvvvwy == 1)
{
jQuery('#jform_php_after_delete').closest('.control-group').show();
jQuery('#jform_php_before_delete').closest('.control-group').show();
if (jform_vvvvvwyvww_required)
{
updateFieldRequired('php_after_delete',0);
jQuery('#jform_php_after_delete').prop('required','required');
jQuery('#jform_php_after_delete').attr('aria-required',true);
jQuery('#jform_php_after_delete').addClass('required');
updateFieldRequired('php_before_delete',0);
jQuery('#jform_php_before_delete').prop('required','required');
jQuery('#jform_php_before_delete').attr('aria-required',true);
jQuery('#jform_php_before_delete').addClass('required');
jform_vvvvvwyvww_required = false;
}
}
else
{
jQuery('#jform_php_after_delete').closest('.control-group').hide();
jQuery('#jform_php_before_delete').closest('.control-group').hide();
if (!jform_vvvvvwyvww_required)
{
updateFieldRequired('php_after_delete',1);
jQuery('#jform_php_after_delete').removeAttr('required');
jQuery('#jform_php_after_delete').removeAttr('aria-required');
jQuery('#jform_php_after_delete').removeClass('required');
updateFieldRequired('php_before_delete',1);
jQuery('#jform_php_before_delete').removeAttr('required');
jQuery('#jform_php_before_delete').removeAttr('aria-required');
jQuery('#jform_php_before_delete').removeClass('required');
jform_vvvvvwyvww_required = true;
}
}
}
// the vvvvvwz function
function vvvvvwz(add_php_document_vvvvvwz)
function vvvvvwz(add_php_after_delete_vvvvvwz)
{
// set the function logic
if (add_php_document_vvvvvwz == 1)
if (add_php_after_delete_vvvvvwz == 1)
{
jQuery('#jform_php_document').closest('.control-group').show();
jQuery('#jform_php_after_delete').closest('.control-group').show();
if (jform_vvvvvwzvwx_required)
{
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
updateFieldRequired('php_after_delete',0);
jQuery('#jform_php_after_delete').prop('required','required');
jQuery('#jform_php_after_delete').attr('aria-required',true);
jQuery('#jform_php_after_delete').addClass('required');
jform_vvvvvwzvwx_required = false;
}
}
else
{
jQuery('#jform_php_document').closest('.control-group').hide();
jQuery('#jform_php_after_delete').closest('.control-group').hide();
if (!jform_vvvvvwzvwx_required)
{
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
updateFieldRequired('php_after_delete',1);
jQuery('#jform_php_after_delete').removeAttr('required');
jQuery('#jform_php_after_delete').removeAttr('aria-required');
jQuery('#jform_php_after_delete').removeClass('required');
jform_vvvvvwzvwx_required = true;
}
}
}
// the vvvvvxa function
function vvvvvxa(add_sql_vvvvvxa)
function vvvvvxa(add_php_document_vvvvvxa)
{
// set the function logic
if (add_sql_vvvvvxa == 1)
if (add_php_document_vvvvvxa == 1)
{
jQuery('#jform_source').closest('.control-group').show();
jQuery('#jform_php_document').closest('.control-group').show();
if (jform_vvvvvxavwy_required)
{
updateFieldRequired('source',0);
jQuery('#jform_source').prop('required','required');
jQuery('#jform_source').attr('aria-required',true);
jQuery('#jform_source').addClass('required');
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
jform_vvvvvxavwy_required = false;
}
}
else
{
jQuery('#jform_source').closest('.control-group').hide();
jQuery('#jform_php_document').closest('.control-group').hide();
if (!jform_vvvvvxavwy_required)
{
updateFieldRequired('source',1);
jQuery('#jform_source').removeAttr('required');
jQuery('#jform_source').removeAttr('aria-required');
jQuery('#jform_source').removeClass('required');
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
jform_vvvvvxavwy_required = true;
}
}
}
// the vvvvvxb function
function vvvvvxb(source_vvvvvxb,add_sql_vvvvvxb)
function vvvvvxb(add_sql_vvvvvxb)
{
// set the function logic
if (source_vvvvvxb == 2 && add_sql_vvvvvxb == 1)
if (add_sql_vvvvvxb == 1)
{
jQuery('#jform_sql').closest('.control-group').show();
jQuery('#jform_source').closest('.control-group').show();
if (jform_vvvvvxbvwz_required)
{
updateFieldRequired('sql',0);
jQuery('#jform_sql').prop('required','required');
jQuery('#jform_sql').attr('aria-required',true);
jQuery('#jform_sql').addClass('required');
updateFieldRequired('source',0);
jQuery('#jform_source').prop('required','required');
jQuery('#jform_source').attr('aria-required',true);
jQuery('#jform_source').addClass('required');
jform_vvvvvxbvwz_required = false;
}
}
else
{
jQuery('#jform_sql').closest('.control-group').hide();
jQuery('#jform_source').closest('.control-group').hide();
if (!jform_vvvvvxbvwz_required)
{
updateFieldRequired('sql',1);
jQuery('#jform_sql').removeAttr('required');
jQuery('#jform_sql').removeAttr('aria-required');
jQuery('#jform_sql').removeClass('required');
updateFieldRequired('source',1);
jQuery('#jform_source').removeAttr('required');
jQuery('#jform_source').removeAttr('aria-required');
jQuery('#jform_source').removeClass('required');
jform_vvvvvxbvwz_required = true;
}
}
}
// the vvvvvxd function
function vvvvvxd(source_vvvvvxd,add_sql_vvvvvxd)
// the vvvvvxc function
function vvvvvxc(source_vvvvvxc,add_sql_vvvvvxc)
{
// set the function logic
if (source_vvvvvxd == 1 && add_sql_vvvvvxd == 1)
if (source_vvvvvxc == 2 && add_sql_vvvvvxc == 1)
{
jQuery('#jform_sql').closest('.control-group').show();
if (jform_vvvvvxcvxa_required)
{
updateFieldRequired('sql',0);
jQuery('#jform_sql').prop('required','required');
jQuery('#jform_sql').attr('aria-required',true);
jQuery('#jform_sql').addClass('required');
jform_vvvvvxcvxa_required = false;
}
}
else
{
jQuery('#jform_sql').closest('.control-group').hide();
if (!jform_vvvvvxcvxa_required)
{
updateFieldRequired('sql',1);
jQuery('#jform_sql').removeAttr('required');
jQuery('#jform_sql').removeAttr('aria-required');
jQuery('#jform_sql').removeClass('required');
jform_vvvvvxcvxa_required = true;
}
}
}
// the vvvvvxe function
function vvvvvxe(source_vvvvvxe,add_sql_vvvvvxe)
{
// set the function logic
if (source_vvvvvxe == 1 && add_sql_vvvvvxe == 1)
{
jQuery('#jform_addtables').closest('.control-group').show();
}
@ -761,120 +796,120 @@ function vvvvvxd(source_vvvvvxd,add_sql_vvvvvxd)
}
}
// the vvvvvxf function
function vvvvvxf(add_custom_import_vvvvvxf)
// the vvvvvxg function
function vvvvvxg(add_custom_import_vvvvvxg)
{
// set the function logic
if (add_custom_import_vvvvvxf == 1)
if (add_custom_import_vvvvvxg == 1)
{
jQuery('#jform_html_import_view').closest('.control-group').show();
if (jform_vvvvvxfvxa_required)
if (jform_vvvvvxgvxb_required)
{
updateFieldRequired('html_import_view',0);
jQuery('#jform_html_import_view').prop('required','required');
jQuery('#jform_html_import_view').attr('aria-required',true);
jQuery('#jform_html_import_view').addClass('required');
jform_vvvvvxfvxa_required = false;
jform_vvvvvxgvxb_required = false;
}
jQuery('.note_advanced_import').closest('.control-group').show();
jQuery('#jform_php_import_display').closest('.control-group').show();
if (jform_vvvvvxfvxb_required)
if (jform_vvvvvxgvxc_required)
{
updateFieldRequired('php_import_display',0);
jQuery('#jform_php_import_display').prop('required','required');
jQuery('#jform_php_import_display').attr('aria-required',true);
jQuery('#jform_php_import_display').addClass('required');
jform_vvvvvxfvxb_required = false;
jform_vvvvvxgvxc_required = false;
}
jQuery('#jform_php_import').closest('.control-group').show();
if (jform_vvvvvxfvxc_required)
if (jform_vvvvvxgvxd_required)
{
updateFieldRequired('php_import',0);
jQuery('#jform_php_import').prop('required','required');
jQuery('#jform_php_import').attr('aria-required',true);
jQuery('#jform_php_import').addClass('required');
jform_vvvvvxfvxc_required = false;
jform_vvvvvxgvxd_required = false;
}
jQuery('#jform_php_import_save').closest('.control-group').show();
if (jform_vvvvvxfvxd_required)
if (jform_vvvvvxgvxe_required)
{
updateFieldRequired('php_import_save',0);
jQuery('#jform_php_import_save').prop('required','required');
jQuery('#jform_php_import_save').attr('aria-required',true);
jQuery('#jform_php_import_save').addClass('required');
jform_vvvvvxfvxd_required = false;
jform_vvvvvxgvxe_required = false;
}
jQuery('#jform_php_import_setdata').closest('.control-group').show();
if (jform_vvvvvxfvxe_required)
if (jform_vvvvvxgvxf_required)
{
updateFieldRequired('php_import_setdata',0);
jQuery('#jform_php_import_setdata').prop('required','required');
jQuery('#jform_php_import_setdata').attr('aria-required',true);
jQuery('#jform_php_import_setdata').addClass('required');
jform_vvvvvxfvxe_required = false;
jform_vvvvvxgvxf_required = false;
}
}
else
{
jQuery('#jform_html_import_view').closest('.control-group').hide();
if (!jform_vvvvvxfvxa_required)
if (!jform_vvvvvxgvxb_required)
{
updateFieldRequired('html_import_view',1);
jQuery('#jform_html_import_view').removeAttr('required');
jQuery('#jform_html_import_view').removeAttr('aria-required');
jQuery('#jform_html_import_view').removeClass('required');
jform_vvvvvxfvxa_required = true;
jform_vvvvvxgvxb_required = true;
}
jQuery('.note_advanced_import').closest('.control-group').hide();
jQuery('#jform_php_import_display').closest('.control-group').hide();
if (!jform_vvvvvxfvxb_required)
if (!jform_vvvvvxgvxc_required)
{
updateFieldRequired('php_import_display',1);
jQuery('#jform_php_import_display').removeAttr('required');
jQuery('#jform_php_import_display').removeAttr('aria-required');
jQuery('#jform_php_import_display').removeClass('required');
jform_vvvvvxfvxb_required = true;
jform_vvvvvxgvxc_required = true;
}
jQuery('#jform_php_import').closest('.control-group').hide();
if (!jform_vvvvvxfvxc_required)
if (!jform_vvvvvxgvxd_required)
{
updateFieldRequired('php_import',1);
jQuery('#jform_php_import').removeAttr('required');
jQuery('#jform_php_import').removeAttr('aria-required');
jQuery('#jform_php_import').removeClass('required');
jform_vvvvvxfvxc_required = true;
jform_vvvvvxgvxd_required = true;
}
jQuery('#jform_php_import_save').closest('.control-group').hide();
if (!jform_vvvvvxfvxd_required)
if (!jform_vvvvvxgvxe_required)
{
updateFieldRequired('php_import_save',1);
jQuery('#jform_php_import_save').removeAttr('required');
jQuery('#jform_php_import_save').removeAttr('aria-required');
jQuery('#jform_php_import_save').removeClass('required');
jform_vvvvvxfvxd_required = true;
jform_vvvvvxgvxe_required = true;
}
jQuery('#jform_php_import_setdata').closest('.control-group').hide();
if (!jform_vvvvvxfvxe_required)
if (!jform_vvvvvxgvxf_required)
{
updateFieldRequired('php_import_setdata',1);
jQuery('#jform_php_import_setdata').removeAttr('required');
jQuery('#jform_php_import_setdata').removeAttr('aria-required');
jQuery('#jform_php_import_setdata').removeClass('required');
jform_vvvvvxfvxe_required = true;
jform_vvvvvxgvxf_required = true;
}
}
}
// the vvvvvxg function
function vvvvvxg(add_custom_import_vvvvvxg)
// the vvvvvxh function
function vvvvvxh(add_custom_import_vvvvvxh)
{
// set the function logic
if (add_custom_import_vvvvvxg == 0)
if (add_custom_import_vvvvvxh == 0)
{
jQuery('.note_beginner_import').closest('.control-group').show();
}

View File

@ -149,6 +149,8 @@
message="Error! Please add some short description here."
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT"
/>
<!-- Note_advanced_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_advanced_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_DESCRIPTION" heading="h4" class="alert alert-success note_advanced_import" />
<!-- Php_allowedit Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@ -162,17 +164,17 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_HINT"
required="true"
/>
<!-- Php_getitems Field. Type: Textarea. (joomla) -->
<!-- Php_getitems_after_all Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_getitems"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL"
name="php_getitems_after_all"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_HINT"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_HINT"
required="true"
/>
<!-- Php_after_delete Field. Type: Textarea. (joomla) -->
@ -203,21 +205,6 @@
<option value="2">
COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY</option>
</field>
<!-- Note_advanced_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_advanced_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_DESCRIPTION" heading="h4" class="alert alert-success note_advanced_import" />
<!-- Php_save Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_HINT"
required="true"
/>
<!-- Description Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@ -230,17 +217,17 @@
filter="HTML"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_HINT"
/>
<!-- Php_batchmove Field. Type: Textarea. (joomla) -->
<!-- Php_save Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL"
name="php_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_HINT"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_HINT"
required="true"
/>
<!-- Add_fadein Field. Type: Radio. (joomla) -->
@ -257,6 +244,27 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_REMOVE</option>
</field>
<!-- Php_batchmove Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_HINT"
required="true"
/>
<!-- Icon Field. Type: Media. (joomla) -->
<field
type="media"
name="icon"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION"
directory=""
/>
<!-- Source Field. Type: Radio. (joomla) -->
<field
type="radio"
@ -270,12 +278,12 @@
<option value="2">
COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP</option>
</field>
<!-- Icon Field. Type: Media. (joomla) -->
<!-- Icon_add Field. Type: Media. (joomla) -->
<field
type="media"
name="icon"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION"
name="icon_add"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_DESCRIPTION"
directory=""
/>
<!-- Php_import_setdata Field. Type: Textarea. (joomla) -->
@ -291,27 +299,6 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_HINT"
required="true"
/>
<!-- Icon_add Field. Type: Media. (joomla) -->
<field
type="media"
name="icon_add"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_DESCRIPTION"
directory=""
/>
<!-- Php_getitem Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_getitem"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_HINT"
required="true"
/>
<!-- Icon_category Field. Type: Media. (joomla) -->
<field
type="media"
@ -320,6 +307,21 @@
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_DESCRIPTION"
directory=""
/>
<!-- Php_getitems Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_getitems"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_HINT"
required="true"
/>
<!-- Note_on_permissions Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_permissions" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_DESCRIPTION" heading="h4" class="alert alert-info note_on_permissions" close="true" />
<!-- Php_getlistquery Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@ -333,21 +335,6 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_HINT"
required="true"
/>
<!-- Note_on_permissions Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_permissions" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_DESCRIPTION" heading="h4" class="alert alert-info note_on_permissions" close="true" />
<!-- Php_postsavehook Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_postsavehook"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_HINT"
required="true"
/>
<!-- Addpermissions Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@ -369,7 +356,8 @@
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ACTION_DESCRIPTION"
class="list_class"
multiple="false"
filter="CMD">
filter="CMD"
required="false">
<!-- Option Set. -->
<option value="core.edit">
COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDIT</option>
@ -408,7 +396,8 @@
name="implementation"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_IMPLEMENTATION_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_IMPLEMENTATION_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_IN_RELATION_TO_EACH_RECORD</option>
@ -420,6 +409,21 @@
</fieldset>
</fields>
</field>
<!-- Php_postsavehook Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_postsavehook"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_HINT"
required="true"
/>
<!-- Note_on_tabs Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_tabs" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_DESCRIPTION" heading="h4" class="alert alert-info note_on_tabs" close="true" />
<!-- Php_batchcopy Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@ -433,21 +437,6 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_HINT"
required="true"
/>
<!-- Note_on_tabs Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_tabs" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_DESCRIPTION" heading="h4" class="alert alert-info note_on_tabs" close="true" />
<!-- Php_before_delete Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_HINT"
required="true"
/>
<!-- Addtabs Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@ -472,6 +461,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_HINT"
@ -479,6 +469,21 @@
</fieldset>
</fields>
</field>
<!-- Php_before_delete Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_HINT"
required="true"
/>
<!-- Note_on_views Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_views" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_VIEWS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_views" close="true" />
<!-- Php_document Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@ -492,21 +497,6 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_HINT"
required="true"
/>
<!-- Note_on_views Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_views" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_VIEWS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_views" close="true" />
<!-- Sql Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="sql"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_HINT"
required="true"
/>
<!-- Addfields Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@ -528,6 +518,7 @@
description="COM_COMPONENTBUILDER_ADMIN_VIEW_FIELD_DESCRIPTION"
class="fieldMedium"
multiple="false"
required="false"
button="false"
/>
<!-- List Field. Type: Radio. (joomla) -->
@ -536,7 +527,8 @@
name="list"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_LIST_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_LIST_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_SHOW</option>
@ -551,6 +543,7 @@
default="0"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ORDER_LIST_DESCRIPTION"
class="fieldSmall"
required="false"
first="0"
last="100"
step="1"
@ -561,7 +554,8 @@
name="title"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_TITLE_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_TITLE_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
@ -574,7 +568,8 @@
name="alias"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
@ -587,7 +582,8 @@
name="sort"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SORT_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SORT_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
@ -600,7 +596,8 @@
name="search"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SEARCH_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SEARCH_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
@ -613,7 +610,8 @@
name="filter"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_FILTER_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_FILTER_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
@ -626,7 +624,8 @@
name="link"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_LINK_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_LINK_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
@ -641,6 +640,7 @@
default="1"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_TAB_DESCRIPTION"
class="fieldSmall"
required="false"
first="1"
last="15"
step="1"
@ -654,6 +654,7 @@
class="fieldMedium"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set. -->
<option value="1">
@ -679,6 +680,7 @@
default="0"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ORDER_EDIT_DESCRIPTION"
class="fieldSmall"
required="false"
first="0"
last="100"
step="1"
@ -689,7 +691,8 @@
name="permission"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PERMISSION_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PERMISSION_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
@ -699,6 +702,21 @@
</fieldset>
</fields>
</field>
<!-- Sql Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="sql"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_HINT"
required="true"
/>
<!-- Note_on_conditions Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_conditions" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_CONDITIONS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_CONDITIONS_DESCRIPTION" heading="h4" class="alert alert-info note_on_conditions" close="true" />
<!-- Php_import_display Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@ -712,21 +730,6 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_HINT"
required="true"
/>
<!-- Note_on_conditions Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_conditions" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_CONDITIONS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_CONDITIONS_DESCRIPTION" heading="h4" class="alert alert-info note_on_conditions" close="true" />
<!-- Php_import Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HINT"
required="true"
/>
<!-- Addconditions Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@ -748,6 +751,7 @@
description="COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_FIELD_DESCRIPTION"
class="fieldMedium"
multiple="true"
required="false"
button="false"
/>
<!-- Target_behavior Field. Type: Radio. (joomla) -->
@ -756,7 +760,8 @@
name="target_behavior"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_BEHAVIOR_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_BEHAVIOR_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_SHOW</option>
@ -769,7 +774,8 @@
name="target_relation"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_RELATION_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_RELATION_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_ISOLATE</option>
@ -783,6 +789,7 @@
label="COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_FIELD_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_FIELD_DESCRIPTION"
multiple="false"
required="false"
button="false"
/>
<!-- Match_behavior Field. Type: List. (joomla) -->
@ -794,6 +801,7 @@
class="list_class"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set. -->
<option value="1">
@ -830,6 +838,7 @@
class="list_class"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set. -->
<option value="1">
@ -867,10 +876,24 @@
class="text_area"
filter="STRING"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_OPTIONS_HINT"
required="false"
/>
</fieldset>
</fields>
</field>
<!-- Php_import Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HINT"
required="true"
/>
<!-- Addlinked_views Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@ -892,6 +915,7 @@
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADMINVIEW_DESCRIPTION"
class="fieldMedium"
multiple="false"
required="false"
button="false"
/>
<!-- Tab Field. Type: Integer. (joomla) -->
@ -902,6 +926,7 @@
default="1"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_TAB_DESCRIPTION"
class="fieldSmall"
required="false"
first="1"
last="15"
step="1"
@ -917,6 +942,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="WORD"
message="Error! Please add key here."
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_HINT"
@ -932,6 +958,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="WORD"
message="Error! Please add key here."
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_HINT"
@ -941,7 +968,8 @@
type="radio"
name="addnew"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDNEW_LABEL"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
@ -979,11 +1007,11 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
<!-- Add_php_getitems_after_all Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_getlistquery"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL"
name="add_php_getitems_after_all"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_AFTER_ALL_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -1006,11 +1034,11 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_HINT"
required="true"
/>
<!-- Add_php_save Field. Type: Radio. (joomla) -->
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE_LABEL"
name="add_php_getlistquery"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -1034,11 +1062,11 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_postsavehook Field. Type: Radio. (joomla) -->
<!-- Add_php_save Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_postsavehook"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_POSTSAVEHOOK_LABEL"
name="add_php_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -1061,11 +1089,11 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_HINT"
required="true"
/>
<!-- Add_php_allowedit Field. Type: Radio. (joomla) -->
<!-- Add_php_postsavehook Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL"
name="add_php_postsavehook"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_POSTSAVEHOOK_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -1089,11 +1117,11 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_batchcopy Field. Type: Radio. (joomla) -->
<!-- Add_php_allowedit Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_batchcopy"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL"
name="add_php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -1116,11 +1144,11 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_HINT"
required="true"
/>
<!-- Add_php_batchmove Field. Type: Radio. (joomla) -->
<!-- Add_php_batchcopy Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL"
name="add_php_batchcopy"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -1144,11 +1172,11 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_before_delete Field. Type: Radio. (joomla) -->
<!-- Add_php_batchmove Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL"
name="add_php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -1171,11 +1199,11 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_HINT"
required="true"
/>
<!-- Add_php_after_delete Field. Type: Radio. (joomla) -->
<!-- Add_php_before_delete Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL"
name="add_php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -1199,11 +1227,11 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_document Field. Type: Radio. (joomla) -->
<!-- Add_php_after_delete Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_document"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL"
name="add_php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -1226,11 +1254,11 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_HINT"
required="true"
/>
<!-- Add_sql Field. Type: Radio. (joomla) -->
<!-- Add_php_document Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_sql"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_SQL_LABEL"
name="add_php_document"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -1254,6 +1282,33 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_sql Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_sql"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_SQL_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Javascript_views_footer Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="javascript_views_footer"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_HINT"
required="true"
/>
<!-- Addtables Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@ -1274,6 +1329,7 @@
class="list_class"
multiple="false"
default="0"
required="false"
button="false"
/>
<!-- Sourcemap Field. Type: Textarea. (joomla) -->
@ -1287,25 +1343,11 @@
class="text_area span4"
filter="HTML"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_HINT"
required="false"
/>
</fieldset>
</fields>
</field>
<!-- Javascript_views_footer Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="javascript_views_footer"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_HINT"
required="true"
/>
<!-- Note_beginner_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_beginner_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_DESCRIPTION" heading="h4" class="alert alert-info note_beginner_import" />
<!-- Add_php_ajax Field. Type: Radio. (joomla) -->
<field
type="radio"
@ -1320,6 +1362,21 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Note_beginner_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_beginner_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_DESCRIPTION" heading="h4" class="alert alert-info note_beginner_import" />
<!-- Php_ajaxmethod Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_ajaxmethod"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_HINT"
required="true"
/>
<!-- Add_custom_import Field. Type: Radio. (joomla) -->
<field
type="radio"
@ -1335,32 +1392,6 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_ajaxmethod Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_ajaxmethod"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_HINT"
required="true"
/>
<!-- Html_import_view Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="html_import_view"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_HINT"
required="true"
/>
<!-- Ajax_input Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@ -1384,6 +1415,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add value name here."
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_VALUE_NAME_HINT"
@ -1399,6 +1431,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="WORD"
message="Error! Please add task name here."
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_TASK_NAME_HINT"
@ -1415,6 +1448,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add default input value here."
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_INPUT_DEFAULT_HINT"
@ -1428,6 +1462,7 @@
class="list_class"
multiple="false"
filter="WORD"
required="false"
default="INT">
<!-- Option Set. -->
<option value="INT">
@ -1473,6 +1508,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="WORD"
message="Error! Please add method name here."
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_HINT"
@ -1483,7 +1519,8 @@
name="user_check"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_USER_CHECK_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_USER_CHECK_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
@ -1493,17 +1530,17 @@
</fieldset>
</fields>
</field>
<!-- Php_import_save Field. Type: Textarea. (joomla) -->
<!-- Html_import_view Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_LABEL"
name="html_import_view"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_DESCRIPTION"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_HINT"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_HINT"
required="true"
/>
<!-- Add_php_getitem Field. Type: Radio. (joomla) -->
@ -1520,6 +1557,32 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_import_save Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_HINT"
required="true"
/>
<!-- Php_getitem Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_getitem"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_HINT"
required="true"
/>
<!-- Not_required Field. Type: Hidden. (joomla) -->
<field
type="hidden"

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.16
@build 29th August, 2016
@version 2.1.17
@build 3rd September, 2016
@created 30th April, 2015
@package Component Builder
@subpackage component.js

View File

@ -203,6 +203,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add some text here."
hint="COM_COMPONENTBUILDER_COMPONENT_VERSION_HINT"
@ -218,6 +219,7 @@
class="text_area span6"
filter="raw"
hint="COM_COMPONENTBUILDER_COMPONENT_MYSQL_HINT"
required="false"
/>
<!-- Url Field. Type: Url. (joomla) -->
<field
@ -228,6 +230,7 @@
maxlength="150"
description="COM_COMPONENTBUILDER_COMPONENT_URL_DESCRIPTION"
class="text_area"
required="false"
filter="raw"
validated="url"
message="Error! Please add url here."
@ -386,6 +389,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_COMPONENT_NAME_HINT"
@ -401,6 +405,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add some text here."
hint="COM_COMPONENTBUILDER_COMPONENT_TITLE_HINT"
@ -414,6 +419,7 @@
maxlength="50"
description="COM_COMPONENTBUILDER_COMPONENT_EMAIL_DESCRIPTION"
class="text_area"
required="false"
filter="STRING"
validate="email"
message="Error! Please add email address here."
@ -428,6 +434,7 @@
maxlength="150"
description="COM_COMPONENTBUILDER_COMPONENT_WEBSITE_DESCRIPTION"
class="text_area"
required="false"
filter="url"
validated="url"
message="Error! Please add website here."
@ -441,6 +448,7 @@
description="COM_COMPONENTBUILDER_COMPONENT_USE_DESCRIPTION"
class="fieldMedium"
multiple="false"
required="false"
default="2">
<!-- Option Set. -->
<option value="0">
@ -458,6 +466,7 @@
description="COM_COMPONENTBUILDER_COMPONENT_SHOW_DESCRIPTION"
class="fieldMedium"
multiple="false"
required="false"
default="3">
<!-- Option Set. -->
<option value="0">
@ -523,6 +532,7 @@
class="list_class"
multiple="false"
default="0"
required="false"
button="false"
/>
<!-- Path Field. Type: Text. (joomla) -->
@ -536,6 +546,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="PATH"
message="Error! Please add target path."
hint="COM_COMPONENTBUILDER_COMPONENT_PATH_HINT"
@ -545,7 +556,8 @@
type="radio"
name="rename"
label="COM_COMPONENTBUILDER_COMPONENT_RENAME_LABEL"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -801,6 +813,7 @@
class="list_class"
multiple="false"
default="0"
required="false"
button="false"
/>
<!-- Path Field. Type: Text. (joomla) -->
@ -814,6 +827,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="PATH"
message="Error! Please add target path."
hint="COM_COMPONENTBUILDER_COMPONENT_PATH_HINT"
@ -824,7 +838,8 @@
name="notnew"
label="COM_COMPONENTBUILDER_COMPONENT_NOTNEW_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_NOTNEW_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -917,6 +932,7 @@
description="COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW_DESCRIPTION"
class="fieldMedium"
multiple="false"
required="false"
button="false"
/>
<!-- Icomoon Field. Type: List. (joomla) -->
@ -926,7 +942,8 @@
label="COM_COMPONENTBUILDER_COMPONENT_ICOMOON_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_ICOMOON_DESCRIPTION"
class="list_class fieldMedium"
multiple="false">
multiple="false"
required="false">
<!-- Option Set. -->
<option value="joomla">
COM_COMPONENTBUILDER_COMPONENT_JOOMLA</option>
@ -1355,7 +1372,8 @@
name="mainmenu"
label="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1368,7 +1386,8 @@
name="dashboard_add"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_ADD_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_ADD_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1381,7 +1400,8 @@
name="dashboard_list"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1394,7 +1414,8 @@
name="submenu"
label="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1407,7 +1428,8 @@
name="checkin"
label="COM_COMPONENTBUILDER_COMPONENT_CHECKIN_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_CHECKIN_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1420,7 +1442,8 @@
name="history"
label="COM_COMPONENTBUILDER_COMPONENT_HISTORY_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_HISTORY_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1433,7 +1456,8 @@
name="metadata"
label="COM_COMPONENTBUILDER_COMPONENT_METADATA_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_METADATA_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1446,7 +1470,8 @@
name="access"
label="COM_COMPONENTBUILDER_COMPONENT_ACCESS_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_ACCESS_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1459,7 +1484,8 @@
name="port"
label="COM_COMPONENTBUILDER_COMPONENT_PORT_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_PORT_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1472,7 +1498,8 @@
name="edit_create_site_view"
label="COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1487,6 +1514,7 @@
default="0"
description="COM_COMPONENTBUILDER_COMPONENT_ORDER_DESCRIPTION"
class="fieldSmall"
required="false"
first="0"
last="400"
step="1"
@ -1527,6 +1555,7 @@
description="COM_COMPONENTBUILDER_COMPONENT_CUSTOMADMINVIEW_DESCRIPTION"
class="fieldMedium"
multiple="false"
required="false"
button="false"
/>
<!-- Icomoon Field. Type: List. (joomla) -->
@ -1536,7 +1565,8 @@
label="COM_COMPONENTBUILDER_COMPONENT_ICOMOON_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_ICOMOON_DESCRIPTION"
class="list_class fieldMedium"
multiple="false">
multiple="false"
required="false">
<!-- Option Set. -->
<option value="joomla">
COM_COMPONENTBUILDER_COMPONENT_JOOMLA</option>
@ -1965,7 +1995,8 @@
name="mainmenu"
label="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1978,7 +2009,8 @@
name="dashboard_list"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -1991,7 +2023,8 @@
name="submenu"
label="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -2004,7 +2037,8 @@
name="metadata"
label="COM_COMPONENTBUILDER_COMPONENT_METADATA_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_METADATA_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -2017,7 +2051,8 @@
name="access"
label="COM_COMPONENTBUILDER_COMPONENT_ACCESS_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_ACCESS_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -2032,6 +2067,7 @@
description="COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS_DESCRIPTION"
class="fieldMedium"
multiple="true"
required="false"
button="false"
/>
<!-- Before Field. Type: Adminviews. (custom) -->
@ -2042,6 +2078,7 @@
description="COM_COMPONENTBUILDER_COMPONENT_BEFORE_DESCRIPTION"
class="fieldMedium"
multiple="false"
required="false"
button="false"
/>
</fieldset>
@ -2082,6 +2119,7 @@
description="COM_COMPONENTBUILDER_COMPONENT_SITEVIEW_DESCRIPTION"
class="fieldMedium"
multiple="false"
required="false"
button="false"
/>
<!-- Menu Field. Type: Radio. (joomla) -->
@ -2090,7 +2128,8 @@
name="menu"
label="COM_COMPONENTBUILDER_COMPONENT_MENU_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_MENU_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -2103,7 +2142,8 @@
name="metadata"
label="COM_COMPONENTBUILDER_COMPONENT_METADATA_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_METADATA_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -2116,7 +2156,8 @@
name="default_view"
label="COM_COMPONENTBUILDER_COMPONENT_DEFAULT_VIEW_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_DEFAULT_VIEW_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -2129,7 +2170,8 @@
name="access"
label="COM_COMPONENTBUILDER_COMPONENT_ACCESS_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_ACCESS_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -2190,6 +2232,7 @@
description="COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW_DESCRIPTION"
class="fieldMedium"
multiple="false"
required="false"
button="false"
/>
<!-- Add_sql Field. Type: Radio. (joomla) -->
@ -2198,7 +2241,8 @@
name="add_sql"
label="COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -2213,7 +2257,8 @@
description="COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_DESCRIPTION"
class="list_class"
multiple="false"
filter="INT">
filter="INT"
required="false">
<!-- Option Set. -->
<option value="">
COM_COMPONENTBUILDER_COMPONENT_SELECT_AN_OPTION</option>
@ -2233,6 +2278,7 @@
class="text_area span6"
filter="raw"
hint="COM_COMPONENTBUILDER_COMPONENT_IDS_HINT"
required="false"
/>
</fieldset>
</fields>
@ -2306,6 +2352,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_COMPONENT_NAME_HINT"
@ -2319,6 +2366,7 @@
maxlength="50"
description="COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_DESCRIPTION"
class="text_area"
required="false"
filter="CMD"
message="Error! Please add name in code here."
hint="COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_HINT"
@ -2334,6 +2382,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add menu link."
hint="COM_COMPONENTBUILDER_COMPONENT_LINK_HINT"
@ -2353,7 +2402,8 @@
name="mainmenu"
label="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -2366,7 +2416,8 @@
name="dashboard_list"
label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -2379,7 +2430,8 @@
name="submenu"
label="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_COMPONENT_YES</option>
@ -2394,6 +2446,7 @@
description="COM_COMPONENTBUILDER_COMPONENT_BEFORE_DESCRIPTION"
class="fieldMedium"
multiple="false"
required="false"
button="false"
/>
</fieldset>
@ -2423,6 +2476,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_COMPONENT_NAME_HINT"
@ -2438,6 +2492,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add header here."
hint="COM_COMPONENTBUILDER_COMPONENT_HEADER_HINT"
@ -2452,6 +2507,7 @@
class="text_area span6"
filter="raw"
hint="COM_COMPONENTBUILDER_COMPONENT_HTML_HINT"
required="false"
/>
</fieldset>
</fields>
@ -2500,6 +2556,7 @@
description="COM_COMPONENTBUILDER_COMPONENT_FIELD_DESCRIPTION"
class="fieldMedium"
multiple="false"
required="false"
button="false"
/>
<!-- Custom_value Field. Type: Text. (joomla) -->
@ -2513,6 +2570,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_VALUE_HINT"
/>
@ -2528,6 +2586,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add tab name here."
hint="COM_COMPONENTBUILDER_COMPONENT_TABNAME_HINT"

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.16
@build 29th August, 2016
@version 2.1.17
@build 3rd September, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.js
@ -24,255 +24,255 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvxhvxg_required = false;
jform_vvvvvxivxh_required = false;
jform_vvvvvxjvxi_required = false;
jform_vvvvvxkvxj_required = false;
jform_vvvvvxlvxk_required = false;
jform_vvvvvxmvxl_required = false;
jform_vvvvvxnvxm_required = false;
jform_vvvvvxnvxn_required = false;
jform_vvvvvxovxn_required = false;
jform_vvvvvxovxo_required = false;
jform_vvvvvxpvxp_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_vvvvvxh = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxh(add_php_view_vvvvvxh);
var add_php_view_vvvvvxi = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxi(add_php_view_vvvvvxi);
var add_php_jview_display_vvvvvxi = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxi(add_php_jview_display_vvvvvxi);
var add_php_jview_display_vvvvvxj = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxj(add_php_jview_display_vvvvvxj);
var add_php_jview_vvvvvxj = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxj(add_php_jview_vvvvvxj);
var add_php_jview_vvvvvxk = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxk(add_php_jview_vvvvvxk);
var add_php_document_vvvvvxk = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxk(add_php_document_vvvvvxk);
var add_php_document_vvvvvxl = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxl(add_php_document_vvvvvxl);
var add_css_document_vvvvvxl = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvxl(add_css_document_vvvvvxl);
var add_css_document_vvvvvxm = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvxm(add_css_document_vvvvvxm);
var add_js_document_vvvvvxm = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvxm(add_js_document_vvvvvxm);
var add_js_document_vvvvvxn = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvxn(add_js_document_vvvvvxn);
var add_custom_button_vvvvvxn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxn(add_custom_button_vvvvvxn);
var add_custom_button_vvvvvxo = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxo(add_custom_button_vvvvvxo);
var add_css_vvvvvxo = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvxo(add_css_vvvvvxo);
var add_css_vvvvvxp = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvxp(add_css_vvvvvxp);
});
// the vvvvvxh function
function vvvvvxh(add_php_view_vvvvvxh)
// the vvvvvxi function
function vvvvvxi(add_php_view_vvvvvxi)
{
// set the function logic
if (add_php_view_vvvvvxh == 1)
if (add_php_view_vvvvvxi == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxhvxg_required)
if (jform_vvvvvxivxh_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvxhvxg_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxhvxg_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxhvxg_required = true;
}
}
}
// the vvvvvxi function
function vvvvvxi(add_php_jview_display_vvvvvxi)
{
// set the function logic
if (add_php_jview_display_vvvvvxi == 1)
{
jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvxivxh_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvxivxh_required = false;
}
}
else
{
jQuery('#jform_php_jview_display').closest('.control-group').hide();
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxivxh_required)
{
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxivxh_required = true;
}
}
}
// the vvvvvxj function
function vvvvvxj(add_php_jview_vvvvvxj)
function vvvvvxj(add_php_jview_display_vvvvvxj)
{
// set the function logic
if (add_php_jview_vvvvvxj == 1)
if (add_php_jview_display_vvvvvxj == 1)
{
jQuery('#jform_php_jview').closest('.control-group').show();
jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvxjvxi_required)
{
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvxjvxi_required = false;
}
}
else
{
jQuery('#jform_php_jview').closest('.control-group').hide();
jQuery('#jform_php_jview_display').closest('.control-group').hide();
if (!jform_vvvvvxjvxi_required)
{
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvxjvxi_required = true;
}
}
}
// the vvvvvxk function
function vvvvvxk(add_php_document_vvvvvxk)
function vvvvvxk(add_php_jview_vvvvvxk)
{
// set the function logic
if (add_php_document_vvvvvxk == 1)
if (add_php_jview_vvvvvxk == 1)
{
jQuery('#jform_php_document').closest('.control-group').show();
jQuery('#jform_php_jview').closest('.control-group').show();
if (jform_vvvvvxkvxj_required)
{
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
jform_vvvvvxkvxj_required = false;
}
}
else
{
jQuery('#jform_php_document').closest('.control-group').hide();
jQuery('#jform_php_jview').closest('.control-group').hide();
if (!jform_vvvvvxkvxj_required)
{
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvxkvxj_required = true;
}
}
}
// the vvvvvxl function
function vvvvvxl(add_css_document_vvvvvxl)
function vvvvvxl(add_php_document_vvvvvxl)
{
// set the function logic
if (add_css_document_vvvvvxl == 1)
if (add_php_document_vvvvvxl == 1)
{
jQuery('#jform_css_document').closest('.control-group').show();
jQuery('#jform_php_document').closest('.control-group').show();
if (jform_vvvvvxlvxk_required)
{
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
jform_vvvvvxlvxk_required = false;
}
}
else
{
jQuery('#jform_css_document').closest('.control-group').hide();
jQuery('#jform_php_document').closest('.control-group').hide();
if (!jform_vvvvvxlvxk_required)
{
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
jform_vvvvvxlvxk_required = true;
}
}
}
// the vvvvvxm function
function vvvvvxm(add_js_document_vvvvvxm)
function vvvvvxm(add_css_document_vvvvvxm)
{
// set the function logic
if (add_js_document_vvvvvxm == 1)
if (add_css_document_vvvvvxm == 1)
{
jQuery('#jform_js_document').closest('.control-group').show();
jQuery('#jform_css_document').closest('.control-group').show();
if (jform_vvvvvxmvxl_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
jform_vvvvvxmvxl_required = false;
}
}
else
{
jQuery('#jform_js_document').closest('.control-group').hide();
jQuery('#jform_css_document').closest('.control-group').hide();
if (!jform_vvvvvxmvxl_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
jform_vvvvvxmvxl_required = true;
}
}
}
// the vvvvvxn function
function vvvvvxn(add_custom_button_vvvvvxn)
function vvvvvxn(add_js_document_vvvvvxn)
{
// set the function logic
if (add_custom_button_vvvvvxn == 1)
if (add_js_document_vvvvvxn == 1)
{
jQuery('#jform_js_document').closest('.control-group').show();
if (jform_vvvvvxnvxm_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
jform_vvvvvxnvxm_required = false;
}
}
else
{
jQuery('#jform_js_document').closest('.control-group').hide();
if (!jform_vvvvvxnvxm_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
jform_vvvvvxnvxm_required = true;
}
}
}
// the vvvvvxo function
function vvvvvxo(add_custom_button_vvvvvxo)
{
// set the function logic
if (add_custom_button_vvvvvxo == 1)
{
jQuery('#jform_custom_button').closest('.control-group').show();
jQuery('#jform_php_controller').closest('.control-group').show();
if (jform_vvvvvxnvxm_required)
if (jform_vvvvvxovxn_required)
{
updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required');
jform_vvvvvxnvxm_required = false;
jform_vvvvvxovxn_required = false;
}
jQuery('#jform_php_model').closest('.control-group').show();
if (jform_vvvvvxnvxn_required)
if (jform_vvvvvxovxo_required)
{
updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required');
jform_vvvvvxnvxn_required = false;
jform_vvvvvxovxo_required = false;
}
}
@ -280,53 +280,53 @@ function vvvvvxn(add_custom_button_vvvvvxn)
{
jQuery('#jform_custom_button').closest('.control-group').hide();
jQuery('#jform_php_controller').closest('.control-group').hide();
if (!jform_vvvvvxnvxm_required)
if (!jform_vvvvvxovxn_required)
{
updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvxnvxm_required = true;
jform_vvvvvxovxn_required = true;
}
jQuery('#jform_php_model').closest('.control-group').hide();
if (!jform_vvvvvxnvxn_required)
if (!jform_vvvvvxovxo_required)
{
updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required');
jform_vvvvvxnvxn_required = true;
jform_vvvvvxovxo_required = true;
}
}
}
// the vvvvvxo function
function vvvvvxo(add_css_vvvvvxo)
// the vvvvvxp function
function vvvvvxp(add_css_vvvvvxp)
{
// set the function logic
if (add_css_vvvvvxo == 1)
if (add_css_vvvvvxp == 1)
{
jQuery('#jform_css').closest('.control-group').show();
if (jform_vvvvvxovxo_required)
if (jform_vvvvvxpvxp_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvxovxo_required = false;
jform_vvvvvxpvxp_required = false;
}
}
else
{
jQuery('#jform_css').closest('.control-group').hide();
if (!jform_vvvvvxovxo_required)
if (!jform_vvvvvxpvxp_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvxovxo_required = true;
jform_vvvvvxpvxp_required = true;
}
}
}

View File

@ -114,6 +114,7 @@
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_HINT"
@ -433,7 +434,8 @@
label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_LABEL"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_DESCRIPTION"
class="list_class fieldMedium"
multiple="false">
multiple="false"
required="false">
<!-- Option Set. -->
<option value="joomla">
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JOOMLA</option>
@ -867,6 +869,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_HINT"
@ -880,6 +883,7 @@
maxlength="50"
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_METHOD_DESCRIPTION"
class="text_area"
required="false"
filter="CMD"
message="Error! Please add controller method name here."
hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_METHOD_HINT"
@ -892,6 +896,7 @@
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TARGET_DESCRIPTION"
class="list_class fieldMedium"
filter="INT"
required="false"
default="1">
<!-- Option Set. -->
<option value="1">

File diff suppressed because it is too large Load Diff

View File

@ -101,6 +101,7 @@
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_HINT"
@ -336,6 +337,7 @@
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_DESCRIPTION"
multiple="false"
required="false"
button="false"
/>
<!-- Row_type Field. Type: List. (joomla) -->
@ -347,6 +349,7 @@
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set. -->
<option value="1">
@ -362,6 +365,7 @@
class="list_class fieldSmall"
multiple="false"
filter="WORD"
required="false"
default="b">
<!-- Option Set. -->
<option value="b">
@ -475,6 +479,7 @@
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set. -->
<option value="1">
@ -499,6 +504,7 @@
class="text_area fieldMedium"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="Error! Please add field name here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_HINT"
@ -512,6 +518,7 @@
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="0">
<!-- Option Set. -->
<option value="1">
@ -548,6 +555,7 @@
class="text_area fieldMedium"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="Error! Please add field name here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_HINT"
@ -563,6 +571,7 @@
class="text_area span4"
filter="HTML"
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_HINT"
required="false"
/>
</fieldset>
</fields>
@ -602,6 +611,7 @@
description="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_DESCRIPTION"
class="list_class"
multiple="false"
required="false"
button="false"
/>
<!-- Row_type Field. Type: List. (joomla) -->
@ -613,6 +623,7 @@
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set. -->
<option value="1">
@ -628,6 +639,7 @@
class="list_class fieldSmall"
multiple="false"
filter="WORD"
required="false"
default="b">
<!-- Option Set. -->
<option value="b">
@ -741,6 +753,7 @@
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set. -->
<option value="1">
@ -765,6 +778,7 @@
class="text_area fieldMedium"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="Error! Please add field name here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_HINT"
@ -778,6 +792,7 @@
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="0">
<!-- Option Set. -->
<option value="1">
@ -814,6 +829,7 @@
class="text_area fieldMedium"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="Error! Please add field name here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_HINT"
@ -829,6 +845,7 @@
class="text_area span4"
filter="HTML"
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_HINT"
required="false"
/>
</fieldset>
</fields>
@ -869,6 +886,7 @@
class="list_class"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set. -->
<option value="1">
@ -905,6 +923,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add state key here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_STATE_KEY_HINT"
@ -918,6 +937,7 @@
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="0">
<!-- Option Set. -->
<option value="1">
@ -954,6 +974,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="Error! Please add table key here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_HINT"
@ -999,6 +1020,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="Error! Please add table key here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_HINT"
@ -1012,6 +1034,7 @@
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="0">
<!-- Option Set. -->
<option value="1">
@ -1048,6 +1071,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="Error! Please add value key here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_VALUE_KEY_HINT"
@ -1093,6 +1117,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="Error! Please add table key here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_HINT"
@ -1104,7 +1129,8 @@
label="COM_COMPONENTBUILDER_DYNAMIC_GET_DIRECTION_LABEL"
class="list_class"
multiple="false"
filter="WORD">
filter="WORD"
required="false">
<!-- Option Set. -->
<option value="ASC">
COM_COMPONENTBUILDER_DYNAMIC_GET_ASCENDING</option>
@ -1153,6 +1179,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="Error! Please add variable name here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_HINT"
@ -1168,6 +1195,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add table as name here."
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_KEY_HINT"
@ -1180,6 +1208,7 @@
class="list_class fieldSmall"
multiple="false"
filter="WORD"
required="false"
default="a">
<!-- Option Set. -->
<option value="a">
@ -1292,7 +1321,8 @@
type="radio"
name="type"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_TYPE_LABEL"
default="2">
default="2"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_DYNAMIC_GET_STATE</option>

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.16
@build 29th August, 2016
@version 2.1.17
@build 3rd September, 2016
@created 30th April, 2015
@package Component Builder
@subpackage field.js
@ -24,147 +24,96 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvywvyt_required = false;
jform_vvvvvyxvyu_required = false;
jform_vvvvvyyvyv_required = false;
jform_vvvvvzbvyw_required = false;
jform_vvvvvzcvyx_required = false;
jform_vvvvvyzvyw_required = false;
jform_vvvvvzavyx_required = false;
jform_vvvvvzdvyy_required = false;
jform_vvvvvzevyz_required = false;
jform_vvvvvzfvza_required = false;
jform_vvvvvzgvzb_required = false;
// Initial Script
jQuery(document).ready(function()
{
var datalenght_vvvvvyw = jQuery("#jform_datalenght").val();
vvvvvyw(datalenght_vvvvvyw);
var datalenght_vvvvvyx = jQuery("#jform_datalenght").val();
vvvvvyx(datalenght_vvvvvyx);
var datadefault_vvvvvyx = jQuery("#jform_datadefault").val();
vvvvvyx(datadefault_vvvvvyx);
var datadefault_vvvvvyy = jQuery("#jform_datadefault").val();
vvvvvyy(datadefault_vvvvvyy);
var datatype_vvvvvyy = jQuery("#jform_datatype").val();
vvvvvyy(datatype_vvvvvyy);
var store_vvvvvyz = jQuery("#jform_store").val();
var datatype_vvvvvyz = jQuery("#jform_datatype").val();
vvvvvyz(store_vvvvvyz,datatype_vvvvvyz);
vvvvvyz(datatype_vvvvvyz);
var add_css_view_vvvvvzb = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvzb(add_css_view_vvvvvzb);
var datatype_vvvvvza = jQuery("#jform_datatype").val();
vvvvvza(datatype_vvvvvza);
var add_css_views_vvvvvzc = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvzc(add_css_views_vvvvvzc);
var store_vvvvvzb = jQuery("#jform_store").val();
var datatype_vvvvvzb = jQuery("#jform_datatype").val();
vvvvvzb(store_vvvvvzb,datatype_vvvvvzb);
var add_javascript_view_footer_vvvvvzd = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvzd(add_javascript_view_footer_vvvvvzd);
var add_css_view_vvvvvzd = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvzd(add_css_view_vvvvvzd);
var add_javascript_views_footer_vvvvvze = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvze(add_javascript_views_footer_vvvvvze);
var add_css_views_vvvvvze = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvze(add_css_views_vvvvvze);
var add_javascript_view_footer_vvvvvzf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvzf(add_javascript_view_footer_vvvvvzf);
var add_javascript_views_footer_vvvvvzg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvzg(add_javascript_views_footer_vvvvvzg);
});
// the vvvvvyw function
function vvvvvyw(datalenght_vvvvvyw)
// the vvvvvyx function
function vvvvvyx(datalenght_vvvvvyx)
{
if (isSet(datalenght_vvvvvyw) && datalenght_vvvvvyw.constructor !== Array)
if (isSet(datalenght_vvvvvyx) && datalenght_vvvvvyx.constructor !== Array)
{
var temp_vvvvvyw = datalenght_vvvvvyw;
var datalenght_vvvvvyw = [];
datalenght_vvvvvyw.push(temp_vvvvvyw);
var temp_vvvvvyx = datalenght_vvvvvyx;
var datalenght_vvvvvyx = [];
datalenght_vvvvvyx.push(temp_vvvvvyx);
}
else if (!isSet(datalenght_vvvvvyw))
else if (!isSet(datalenght_vvvvvyx))
{
var datalenght_vvvvvyw = [];
var datalenght_vvvvvyx = [];
}
var datalenght = datalenght_vvvvvyw.some(datalenght_vvvvvyw_SomeFunc);
var datalenght = datalenght_vvvvvyx.some(datalenght_vvvvvyx_SomeFunc);
// set this function logic
if (datalenght)
{
jQuery('#jform_datalenght_other').closest('.control-group').show();
if (jform_vvvvvywvyt_required)
if (jform_vvvvvyxvyu_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_vvvvvywvyt_required = false;
}
}
else
{
jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvvywvyt_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_vvvvvywvyt_required = true;
}
}
}
// the vvvvvyw Some function
function datalenght_vvvvvyw_SomeFunc(datalenght_vvvvvyw)
{
// set the function logic
if (datalenght_vvvvvyw == 'Other')
{
return true;
}
return false;
}
// the vvvvvyx function
function vvvvvyx(datadefault_vvvvvyx)
{
if (isSet(datadefault_vvvvvyx) && datadefault_vvvvvyx.constructor !== Array)
{
var temp_vvvvvyx = datadefault_vvvvvyx;
var datadefault_vvvvvyx = [];
datadefault_vvvvvyx.push(temp_vvvvvyx);
}
else if (!isSet(datadefault_vvvvvyx))
{
var datadefault_vvvvvyx = [];
}
var datadefault = datadefault_vvvvvyx.some(datadefault_vvvvvyx_SomeFunc);
// set this function logic
if (datadefault)
{
jQuery('#jform_datadefault_other').closest('.control-group').show();
if (jform_vvvvvyxvyu_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_vvvvvyxvyu_required = false;
}
}
else
{
jQuery('#jform_datadefault_other').closest('.control-group').hide();
jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvvyxvyu_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_vvvvvyxvyu_required = true;
}
}
}
// the vvvvvyx Some function
function datadefault_vvvvvyx_SomeFunc(datadefault_vvvvvyx)
function datalenght_vvvvvyx_SomeFunc(datalenght_vvvvvyx)
{
// set the function logic
if (datadefault_vvvvvyx == 'Other')
if (datalenght_vvvvvyx == 'Other')
{
return true;
}
@ -172,54 +121,54 @@ function datadefault_vvvvvyx_SomeFunc(datadefault_vvvvvyx)
}
// the vvvvvyy function
function vvvvvyy(datatype_vvvvvyy)
function vvvvvyy(datadefault_vvvvvyy)
{
if (isSet(datatype_vvvvvyy) && datatype_vvvvvyy.constructor !== Array)
if (isSet(datadefault_vvvvvyy) && datadefault_vvvvvyy.constructor !== Array)
{
var temp_vvvvvyy = datatype_vvvvvyy;
var datatype_vvvvvyy = [];
datatype_vvvvvyy.push(temp_vvvvvyy);
var temp_vvvvvyy = datadefault_vvvvvyy;
var datadefault_vvvvvyy = [];
datadefault_vvvvvyy.push(temp_vvvvvyy);
}
else if (!isSet(datatype_vvvvvyy))
else if (!isSet(datadefault_vvvvvyy))
{
var datatype_vvvvvyy = [];
var datadefault_vvvvvyy = [];
}
var datatype = datatype_vvvvvyy.some(datatype_vvvvvyy_SomeFunc);
var datadefault = datadefault_vvvvvyy.some(datadefault_vvvvvyy_SomeFunc);
// set this function logic
if (datatype)
if (datadefault)
{
jQuery('#jform_store').closest('.control-group').show();
jQuery('#jform_datadefault_other').closest('.control-group').show();
if (jform_vvvvvyyvyv_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').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_vvvvvyyvyv_required = false;
}
}
else
{
jQuery('#jform_store').closest('.control-group').hide();
jQuery('#jform_datadefault_other').closest('.control-group').hide();
if (!jform_vvvvvyyvyv_required)
{
updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').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_vvvvvyyvyv_required = true;
}
}
}
// the vvvvvyy Some function
function datatype_vvvvvyy_SomeFunc(datatype_vvvvvyy)
function datadefault_vvvvvyy_SomeFunc(datadefault_vvvvvyy)
{
// set the function logic
if (datatype_vvvvvyy == 'CHAR' || datatype_vvvvvyy == 'VARCHAR' || datatype_vvvvvyy == 'TEXT' || datatype_vvvvvyy == 'MEDIUMTEXT' || datatype_vvvvvyy == 'LONGTEXT')
if (datadefault_vvvvvyy == 'Other')
{
return true;
}
@ -227,20 +176,8 @@ function datatype_vvvvvyy_SomeFunc(datatype_vvvvvyy)
}
// the vvvvvyz function
function vvvvvyz(store_vvvvvyz,datatype_vvvvvyz)
function vvvvvyz(datatype_vvvvvyz)
{
if (isSet(store_vvvvvyz) && store_vvvvvyz.constructor !== Array)
{
var temp_vvvvvyz = store_vvvvvyz;
var store_vvvvvyz = [];
store_vvvvvyz.push(temp_vvvvvyz);
}
else if (!isSet(store_vvvvvyz))
{
var store_vvvvvyz = [];
}
var store = store_vvvvvyz.some(store_vvvvvyz_SomeFunc);
if (isSet(datatype_vvvvvyz) && datatype_vvvvvyz.constructor !== Array)
{
var temp_vvvvvyz = datatype_vvvvvyz;
@ -254,6 +191,132 @@ function vvvvvyz(store_vvvvvyz,datatype_vvvvvyz)
var datatype = datatype_vvvvvyz.some(datatype_vvvvvyz_SomeFunc);
// set this function logic
if (datatype)
{
jQuery('#jform_datadefault').closest('.control-group').show();
jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
if (jform_vvvvvyzvyw_required)
{
updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required');
jform_vvvvvyzvyw_required = false;
}
}
else
{
jQuery('#jform_datadefault').closest('.control-group').hide();
jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
if (!jform_vvvvvyzvyw_required)
{
updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required');
jform_vvvvvyzvyw_required = true;
}
}
}
// the vvvvvyz Some function
function datatype_vvvvvyz_SomeFunc(datatype_vvvvvyz)
{
// set the function logic
if (datatype_vvvvvyz == 'CHAR' || datatype_vvvvvyz == 'VARCHAR' || datatype_vvvvvyz == 'DATETIME' || datatype_vvvvvyz == 'DATE' || datatype_vvvvvyz == 'TIME' || datatype_vvvvvyz == 'INT' || datatype_vvvvvyz == 'TINYINT' || datatype_vvvvvyz == 'BIGINT' || datatype_vvvvvyz == 'FLOAT' || datatype_vvvvvyz == 'DECIMAL' || datatype_vvvvvyz == 'DOUBLE')
{
return true;
}
return false;
}
// the vvvvvza function
function vvvvvza(datatype_vvvvvza)
{
if (isSet(datatype_vvvvvza) && datatype_vvvvvza.constructor !== Array)
{
var temp_vvvvvza = datatype_vvvvvza;
var datatype_vvvvvza = [];
datatype_vvvvvza.push(temp_vvvvvza);
}
else if (!isSet(datatype_vvvvvza))
{
var datatype_vvvvvza = [];
}
var datatype = datatype_vvvvvza.some(datatype_vvvvvza_SomeFunc);
// set this function logic
if (datatype)
{
jQuery('#jform_store').closest('.control-group').show();
if (jform_vvvvvzavyx_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required');
jform_vvvvvzavyx_required = false;
}
}
else
{
jQuery('#jform_store').closest('.control-group').hide();
if (!jform_vvvvvzavyx_required)
{
updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required');
jform_vvvvvzavyx_required = true;
}
}
}
// the vvvvvza Some function
function datatype_vvvvvza_SomeFunc(datatype_vvvvvza)
{
// set the function logic
if (datatype_vvvvvza == 'CHAR' || datatype_vvvvvza == 'VARCHAR' || datatype_vvvvvza == 'TEXT' || datatype_vvvvvza == 'MEDIUMTEXT' || datatype_vvvvvza == 'LONGTEXT')
{
return true;
}
return false;
}
// the vvvvvzb function
function vvvvvzb(store_vvvvvzb,datatype_vvvvvzb)
{
if (isSet(store_vvvvvzb) && store_vvvvvzb.constructor !== Array)
{
var temp_vvvvvzb = store_vvvvvzb;
var store_vvvvvzb = [];
store_vvvvvzb.push(temp_vvvvvzb);
}
else if (!isSet(store_vvvvvzb))
{
var store_vvvvvzb = [];
}
var store = store_vvvvvzb.some(store_vvvvvzb_SomeFunc);
if (isSet(datatype_vvvvvzb) && datatype_vvvvvzb.constructor !== Array)
{
var temp_vvvvvzb = datatype_vvvvvzb;
var datatype_vvvvvzb = [];
datatype_vvvvvzb.push(temp_vvvvvzb);
}
else if (!isSet(datatype_vvvvvzb))
{
var datatype_vvvvvzb = [];
}
var datatype = datatype_vvvvvzb.some(datatype_vvvvvzb_SomeFunc);
// set this function logic
if (store && datatype)
{
@ -265,148 +328,148 @@ function vvvvvyz(store_vvvvvyz,datatype_vvvvvyz)
}
}
// the vvvvvyz Some function
function store_vvvvvyz_SomeFunc(store_vvvvvyz)
// the vvvvvzb Some function
function store_vvvvvzb_SomeFunc(store_vvvvvzb)
{
// set the function logic
if (store_vvvvvyz == 4)
if (store_vvvvvzb == 4)
{
return true;
}
return false;
}
// the vvvvvyz Some function
function datatype_vvvvvyz_SomeFunc(datatype_vvvvvyz)
// the vvvvvzb Some function
function datatype_vvvvvzb_SomeFunc(datatype_vvvvvzb)
{
// set the function logic
if (datatype_vvvvvyz == 'CHAR' || datatype_vvvvvyz == 'VARCHAR' || datatype_vvvvvyz == 'TEXT' || datatype_vvvvvyz == 'MEDIUMTEXT' || datatype_vvvvvyz == 'LONGTEXT')
if (datatype_vvvvvzb == 'CHAR' || datatype_vvvvvzb == 'VARCHAR' || datatype_vvvvvzb == 'TEXT' || datatype_vvvvvzb == 'MEDIUMTEXT' || datatype_vvvvvzb == 'LONGTEXT')
{
return true;
}
return false;
}
// the vvvvvzb function
function vvvvvzb(add_css_view_vvvvvzb)
// the vvvvvzd function
function vvvvvzd(add_css_view_vvvvvzd)
{
// set the function logic
if (add_css_view_vvvvvzb == 1)
if (add_css_view_vvvvvzd == 1)
{
jQuery('#jform_css_view').closest('.control-group').show();
if (jform_vvvvvzbvyw_required)
if (jform_vvvvvzdvyy_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_vvvvvzbvyw_required = false;
}
}
else
{
jQuery('#jform_css_view').closest('.control-group').hide();
if (!jform_vvvvvzbvyw_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_vvvvvzbvyw_required = true;
}
}
}
// the vvvvvzc function
function vvvvvzc(add_css_views_vvvvvzc)
{
// set the function logic
if (add_css_views_vvvvvzc == 1)
{
jQuery('#jform_css_views').closest('.control-group').show();
if (jform_vvvvvzcvyx_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_vvvvvzcvyx_required = false;
}
}
else
{
jQuery('#jform_css_views').closest('.control-group').hide();
if (!jform_vvvvvzcvyx_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_vvvvvzcvyx_required = true;
}
}
}
// the vvvvvzd function
function vvvvvzd(add_javascript_view_footer_vvvvvzd)
{
// set the function logic
if (add_javascript_view_footer_vvvvvzd == 1)
{
jQuery('#jform_javascript_view_footer').closest('.control-group').show();
if (jform_vvvvvzdvyy_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_vvvvvzdvyy_required = false;
}
}
else
{
jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
jQuery('#jform_css_view').closest('.control-group').hide();
if (!jform_vvvvvzdvyy_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_view',1);
jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required');
jform_vvvvvzdvyy_required = true;
}
}
}
// the vvvvvze function
function vvvvvze(add_javascript_views_footer_vvvvvze)
function vvvvvze(add_css_views_vvvvvze)
{
// set the function logic
if (add_javascript_views_footer_vvvvvze == 1)
if (add_css_views_vvvvvze == 1)
{
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
jQuery('#jform_css_views').closest('.control-group').show();
if (jform_vvvvvzevyz_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('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_vvvvvzevyz_required = false;
}
}
else
{
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
jQuery('#jform_css_views').closest('.control-group').hide();
if (!jform_vvvvvzevyz_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_vvvvvzevyz_required = true;
}
}
}
// the vvvvvzf function
function vvvvvzf(add_javascript_view_footer_vvvvvzf)
{
// set the function logic
if (add_javascript_view_footer_vvvvvzf == 1)
{
jQuery('#jform_javascript_view_footer').closest('.control-group').show();
if (jform_vvvvvzfvza_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_vvvvvzfvza_required = false;
}
}
else
{
jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
if (!jform_vvvvvzfvza_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_vvvvvzfvza_required = true;
}
}
}
// the vvvvvzg function
function vvvvvzg(add_javascript_views_footer_vvvvvzg)
{
// set the function logic
if (add_javascript_views_footer_vvvvvzg == 1)
{
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
if (jform_vvvvvzgvzb_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_vvvvvzgvzb_required = false;
}
}
else
{
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
if (!jform_vvvvvzgvzb_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_vvvvvzevyz_required = true;
jform_vvvvvzgvzb_required = true;
}
}
}

View File

@ -101,6 +101,7 @@
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_FIELD_NAME_HINT"

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.16
@build 29th August, 2016
@version 2.1.17
@build 3rd September, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.js

View File

@ -101,6 +101,7 @@
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT"
@ -166,6 +167,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT"
@ -180,6 +182,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add value/example here."
hint="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_HINT"
@ -190,7 +193,8 @@
name="adjustable"
label="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_LABEL"
description="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_FIELDTYPE_YES</option>
@ -203,7 +207,8 @@
name="mandatory"
label="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_LABEL"
description="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_FIELDTYPE_YES</option>
@ -216,7 +221,8 @@
name="translatable"
label="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_LABEL"
description="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_DESCRIPTION"
default="0">
default="0"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_FIELDTYPE_YES</option>
@ -234,6 +240,7 @@
class="text_area"
filter="HTML"
hint="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT"
required="false"
/>
</fieldset>
</fields>

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.16
@build 29th August, 2016
@version 2.1.17
@build 3rd September, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_document.js
@ -24,38 +24,38 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvzhvzb_required = false;
jform_vvvvvzivzc_required = false;
jform_vvvvvzjvzd_required = false;
jform_vvvvvzkvze_required = false;
jform_vvvvvzlvzf_required = false;
jform_vvvvvzmvzg_required = false;
// Initial Script
jQuery(document).ready(function()
{
var location_vvvvvzf = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzf(location_vvvvvzf);
var location_vvvvvzh = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzh(location_vvvvvzh);
var location_vvvvvzg = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzg(location_vvvvvzg);
var type_vvvvvzh = jQuery("#jform_type").val();
vvvvvzh(type_vvvvvzh);
var type_vvvvvzi = jQuery("#jform_type").val();
vvvvvzi(type_vvvvvzi);
var location_vvvvvzi = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzi(location_vvvvvzi);
var type_vvvvvzj = jQuery("#jform_type").val();
vvvvvzj(type_vvvvvzj);
var target_vvvvvzk = jQuery("#jform_target input[type='radio']:checked").val();
vvvvvzk(target_vvvvvzk);
var type_vvvvvzk = jQuery("#jform_type").val();
vvvvvzk(type_vvvvvzk);
var type_vvvvvzl = jQuery("#jform_type").val();
vvvvvzl(type_vvvvvzl);
var target_vvvvvzm = jQuery("#jform_target input[type='radio']:checked").val();
vvvvvzm(target_vvvvvzm);
});
// the vvvvvzf function
function vvvvvzf(location_vvvvvzf)
// the vvvvvzh function
function vvvvvzh(location_vvvvvzh)
{
// set the function logic
if (location_vvvvvzf == 1)
if (location_vvvvvzh == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
}
@ -65,11 +65,11 @@ function vvvvvzf(location_vvvvvzf)
}
}
// the vvvvvzg function
function vvvvvzg(location_vvvvvzg)
// the vvvvvzi function
function vvvvvzi(location_vvvvvzi)
{
// set the function logic
if (location_vvvvvzg == 2)
if (location_vvvvvzi == 2)
{
jQuery('#jform_site_view').closest('.control-group').show();
}
@ -79,116 +79,6 @@ function vvvvvzg(location_vvvvvzg)
}
}
// the vvvvvzh function
function vvvvvzh(type_vvvvvzh)
{
if (isSet(type_vvvvvzh) && type_vvvvvzh.constructor !== Array)
{
var temp_vvvvvzh = type_vvvvvzh;
var type_vvvvvzh = [];
type_vvvvvzh.push(temp_vvvvvzh);
}
else if (!isSet(type_vvvvvzh))
{
var type_vvvvvzh = [];
}
var type = type_vvvvvzh.some(type_vvvvvzh_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_url').closest('.control-group').show();
if (jform_vvvvvzhvzb_required)
{
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
jform_vvvvvzhvzb_required = false;
}
}
else
{
jQuery('#jform_url').closest('.control-group').hide();
if (!jform_vvvvvzhvzb_required)
{
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
jform_vvvvvzhvzb_required = true;
}
}
}
// the vvvvvzh Some function
function type_vvvvvzh_SomeFunc(type_vvvvvzh)
{
// set the function logic
if (type_vvvvvzh == 3)
{
return true;
}
return false;
}
// the vvvvvzi function
function vvvvvzi(type_vvvvvzi)
{
if (isSet(type_vvvvvzi) && type_vvvvvzi.constructor !== Array)
{
var temp_vvvvvzi = type_vvvvvzi;
var type_vvvvvzi = [];
type_vvvvvzi.push(temp_vvvvvzi);
}
else if (!isSet(type_vvvvvzi))
{
var type_vvvvvzi = [];
}
var type = type_vvvvvzi.some(type_vvvvvzi_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
if (jform_vvvvvzivzc_required)
{
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_vvvvvzivzc_required = false;
}
}
else
{
jQuery('#jform_article').closest('.control-group').hide();
if (!jform_vvvvvzivzc_required)
{
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_vvvvvzivzc_required = true;
}
}
}
// the vvvvvzi Some function
function type_vvvvvzi_SomeFunc(type_vvvvvzi)
{
// set the function logic
if (type_vvvvvzi == 1)
{
return true;
}
return false;
}
// the vvvvvzj function
function vvvvvzj(type_vvvvvzj)
{
@ -208,26 +98,26 @@ function vvvvvzj(type_vvvvvzj)
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
jQuery('#jform_url').closest('.control-group').show();
if (jform_vvvvvzjvzd_required)
{
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
jform_vvvvvzjvzd_required = false;
}
}
else
{
jQuery('#jform_content-lbl').closest('.control-group').hide();
jQuery('#jform_url').closest('.control-group').hide();
if (!jform_vvvvvzjvzd_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
jform_vvvvvzjvzd_required = true;
}
}
@ -237,7 +127,7 @@ function vvvvvzj(type_vvvvvzj)
function type_vvvvvzj_SomeFunc(type_vvvvvzj)
{
// set the function logic
if (type_vvvvvzj == 2)
if (type_vvvvvzj == 3)
{
return true;
}
@ -245,32 +135,142 @@ function type_vvvvvzj_SomeFunc(type_vvvvvzj)
}
// the vvvvvzk function
function vvvvvzk(target_vvvvvzk)
function vvvvvzk(type_vvvvvzk)
{
// set the function logic
if (target_vvvvvzk == 1)
if (isSet(type_vvvvvzk) && type_vvvvvzk.constructor !== Array)
{
jQuery('#jform_groups').closest('.control-group').show();
var temp_vvvvvzk = type_vvvvvzk;
var type_vvvvvzk = [];
type_vvvvvzk.push(temp_vvvvvzk);
}
else if (!isSet(type_vvvvvzk))
{
var type_vvvvvzk = [];
}
var type = type_vvvvvzk.some(type_vvvvvzk_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
if (jform_vvvvvzkvze_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_vvvvvzkvze_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
jQuery('#jform_article').closest('.control-group').hide();
if (!jform_vvvvvzkvze_required)
{
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_vvvvvzkvze_required = true;
}
}
}
// the vvvvvzk Some function
function type_vvvvvzk_SomeFunc(type_vvvvvzk)
{
// set the function logic
if (type_vvvvvzk == 1)
{
return true;
}
return false;
}
// the vvvvvzl function
function vvvvvzl(type_vvvvvzl)
{
if (isSet(type_vvvvvzl) && type_vvvvvzl.constructor !== Array)
{
var temp_vvvvvzl = type_vvvvvzl;
var type_vvvvvzl = [];
type_vvvvvzl.push(temp_vvvvvzl);
}
else if (!isSet(type_vvvvvzl))
{
var type_vvvvvzl = [];
}
var type = type_vvvvvzl.some(type_vvvvvzl_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
if (jform_vvvvvzlvzf_required)
{
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
jform_vvvvvzlvzf_required = false;
}
}
else
{
jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_vvvvvzlvzf_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
jform_vvvvvzlvzf_required = true;
}
}
}
// the vvvvvzl Some function
function type_vvvvvzl_SomeFunc(type_vvvvvzl)
{
// set the function logic
if (type_vvvvvzl == 2)
{
return true;
}
return false;
}
// the vvvvvzm function
function vvvvvzm(target_vvvvvzm)
{
// set the function logic
if (target_vvvvvzm == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
if (jform_vvvvvzmvzg_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
jform_vvvvvzmvzg_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_vvvvvzmvzg_required)
{
updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required');
jform_vvvvvzkvze_required = true;
jform_vvvvvzmvzg_required = true;
}
}
}

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.16
@build 29th August, 2016
@version 2.1.17
@build 3rd September, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layout.js
@ -24,42 +24,42 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvxzvya_required = false;
jform_vvvvvyavyb_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_vvvvvxz = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxz(add_php_view_vvvvvxz);
var add_php_view_vvvvvya = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvya(add_php_view_vvvvvya);
});
// the vvvvvxz function
function vvvvvxz(add_php_view_vvvvvxz)
// the vvvvvya function
function vvvvvya(add_php_view_vvvvvya)
{
// set the function logic
if (add_php_view_vvvvvxz == 1)
if (add_php_view_vvvvvya == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxzvya_required)
if (jform_vvvvvyavyb_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvxzvya_required = false;
jform_vvvvvyavyb_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxzvya_required)
if (!jform_vvvvvyavyb_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxzvya_required = true;
jform_vvvvvyavyb_required = true;
}
}
}

View File

@ -101,6 +101,7 @@
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_LAYOUT_NAME_HINT"

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.16
@build 29th August, 2016
@version 2.1.17
@build 3rd September, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_view.js
@ -24,7 +24,6 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvxpvxp_required = false;
jform_vvvvvxqvxq_required = false;
jform_vvvvvxrvxr_required = false;
jform_vvvvvxsvxs_required = false;
@ -33,271 +32,272 @@ jform_vvvvvxuvxu_required = false;
jform_vvvvvxvvxv_required = false;
jform_vvvvvxwvxw_required = false;
jform_vvvvvxxvxx_required = false;
jform_vvvvvxxvxy_required = false;
jform_vvvvvxyvxy_required = false;
jform_vvvvvxyvxz_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_vvvvvxp = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxp(add_php_view_vvvvvxp);
var add_php_view_vvvvvxq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxq(add_php_view_vvvvvxq);
var add_php_jview_display_vvvvvxq = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxq(add_php_jview_display_vvvvvxq);
var add_php_jview_display_vvvvvxr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxr(add_php_jview_display_vvvvvxr);
var add_php_jview_vvvvvxr = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxr(add_php_jview_vvvvvxr);
var add_php_jview_vvvvvxs = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxs(add_php_jview_vvvvvxs);
var add_php_document_vvvvvxs = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxs(add_php_document_vvvvvxs);
var add_php_document_vvvvvxt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxt(add_php_document_vvvvvxt);
var add_css_document_vvvvvxt = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvxt(add_css_document_vvvvvxt);
var add_css_document_vvvvvxu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvxu(add_css_document_vvvvvxu);
var add_js_document_vvvvvxu = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvxu(add_js_document_vvvvvxu);
var add_js_document_vvvvvxv = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvxv(add_js_document_vvvvvxv);
var add_css_vvvvvxv = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvxv(add_css_vvvvvxv);
var add_css_vvvvvxw = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvxw(add_css_vvvvvxw);
var add_php_ajax_vvvvvxw = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvxw(add_php_ajax_vvvvvxw);
var add_php_ajax_vvvvvxx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvxx(add_php_ajax_vvvvvxx);
var add_custom_button_vvvvvxx = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxx(add_custom_button_vvvvvxx);
var add_custom_button_vvvvvxy = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxy(add_custom_button_vvvvvxy);
});
// the vvvvvxp function
function vvvvvxp(add_php_view_vvvvvxp)
// the vvvvvxq function
function vvvvvxq(add_php_view_vvvvvxq)
{
// set the function logic
if (add_php_view_vvvvvxp == 1)
if (add_php_view_vvvvvxq == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxpvxp_required)
if (jform_vvvvvxqvxq_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvxpvxp_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxpvxp_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxpvxp_required = true;
}
}
}
// the vvvvvxq function
function vvvvvxq(add_php_jview_display_vvvvvxq)
{
// set the function logic
if (add_php_jview_display_vvvvvxq == 1)
{
jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvxqvxq_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvxqvxq_required = false;
}
}
else
{
jQuery('#jform_php_jview_display').closest('.control-group').hide();
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxqvxq_required)
{
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxqvxq_required = true;
}
}
}
// the vvvvvxr function
function vvvvvxr(add_php_jview_vvvvvxr)
function vvvvvxr(add_php_jview_display_vvvvvxr)
{
// set the function logic
if (add_php_jview_vvvvvxr == 1)
if (add_php_jview_display_vvvvvxr == 1)
{
jQuery('#jform_php_jview').closest('.control-group').show();
jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvxrvxr_required)
{
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvxrvxr_required = false;
}
}
else
{
jQuery('#jform_php_jview').closest('.control-group').hide();
jQuery('#jform_php_jview_display').closest('.control-group').hide();
if (!jform_vvvvvxrvxr_required)
{
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvxrvxr_required = true;
}
}
}
// the vvvvvxs function
function vvvvvxs(add_php_document_vvvvvxs)
function vvvvvxs(add_php_jview_vvvvvxs)
{
// set the function logic
if (add_php_document_vvvvvxs == 1)
if (add_php_jview_vvvvvxs == 1)
{
jQuery('#jform_php_document').closest('.control-group').show();
jQuery('#jform_php_jview').closest('.control-group').show();
if (jform_vvvvvxsvxs_required)
{
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
jform_vvvvvxsvxs_required = false;
}
}
else
{
jQuery('#jform_php_document').closest('.control-group').hide();
jQuery('#jform_php_jview').closest('.control-group').hide();
if (!jform_vvvvvxsvxs_required)
{
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvxsvxs_required = true;
}
}
}
// the vvvvvxt function
function vvvvvxt(add_css_document_vvvvvxt)
function vvvvvxt(add_php_document_vvvvvxt)
{
// set the function logic
if (add_css_document_vvvvvxt == 1)
if (add_php_document_vvvvvxt == 1)
{
jQuery('#jform_css_document').closest('.control-group').show();
jQuery('#jform_php_document').closest('.control-group').show();
if (jform_vvvvvxtvxt_required)
{
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
jform_vvvvvxtvxt_required = false;
}
}
else
{
jQuery('#jform_css_document').closest('.control-group').hide();
jQuery('#jform_php_document').closest('.control-group').hide();
if (!jform_vvvvvxtvxt_required)
{
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
jform_vvvvvxtvxt_required = true;
}
}
}
// the vvvvvxu function
function vvvvvxu(add_js_document_vvvvvxu)
function vvvvvxu(add_css_document_vvvvvxu)
{
// set the function logic
if (add_js_document_vvvvvxu == 1)
if (add_css_document_vvvvvxu == 1)
{
jQuery('#jform_js_document').closest('.control-group').show();
jQuery('#jform_css_document').closest('.control-group').show();
if (jform_vvvvvxuvxu_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
jform_vvvvvxuvxu_required = false;
}
}
else
{
jQuery('#jform_js_document').closest('.control-group').hide();
jQuery('#jform_css_document').closest('.control-group').hide();
if (!jform_vvvvvxuvxu_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
jform_vvvvvxuvxu_required = true;
}
}
}
// the vvvvvxv function
function vvvvvxv(add_css_vvvvvxv)
function vvvvvxv(add_js_document_vvvvvxv)
{
// set the function logic
if (add_css_vvvvvxv == 1)
if (add_js_document_vvvvvxv == 1)
{
jQuery('#jform_css').closest('.control-group').show();
jQuery('#jform_js_document').closest('.control-group').show();
if (jform_vvvvvxvvxv_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
jform_vvvvvxvvxv_required = false;
}
}
else
{
jQuery('#jform_css').closest('.control-group').hide();
jQuery('#jform_js_document').closest('.control-group').hide();
if (!jform_vvvvvxvvxv_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
jform_vvvvvxvvxv_required = true;
}
}
}
// the vvvvvxw function
function vvvvvxw(add_php_ajax_vvvvvxw)
function vvvvvxw(add_css_vvvvvxw)
{
// set the function logic
if (add_php_ajax_vvvvvxw == 1)
if (add_css_vvvvvxw == 1)
{
jQuery('#jform_css').closest('.control-group').show();
if (jform_vvvvvxwvxw_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvxwvxw_required = false;
}
}
else
{
jQuery('#jform_css').closest('.control-group').hide();
if (!jform_vvvvvxwvxw_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvxwvxw_required = true;
}
}
}
// the vvvvvxx function
function vvvvvxx(add_php_ajax_vvvvvxx)
{
// set the function logic
if (add_php_ajax_vvvvvxx == 1)
{
jQuery('#jform_ajax_input').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
if (jform_vvvvvxwvxw_required)
if (jform_vvvvvxxvxx_required)
{
updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required');
jform_vvvvvxwvxw_required = false;
jform_vvvvvxxvxx_required = false;
}
}
@ -305,42 +305,42 @@ function vvvvvxw(add_php_ajax_vvvvvxw)
{
jQuery('#jform_ajax_input').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
if (!jform_vvvvvxwvxw_required)
if (!jform_vvvvvxxvxx_required)
{
updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required');
jform_vvvvvxwvxw_required = true;
jform_vvvvvxxvxx_required = true;
}
}
}
// the vvvvvxx function
function vvvvvxx(add_custom_button_vvvvvxx)
// the vvvvvxy function
function vvvvvxy(add_custom_button_vvvvvxy)
{
// set the function logic
if (add_custom_button_vvvvvxx == 1)
if (add_custom_button_vvvvvxy == 1)
{
jQuery('#jform_custom_button').closest('.control-group').show();
jQuery('#jform_php_controller').closest('.control-group').show();
if (jform_vvvvvxxvxx_required)
if (jform_vvvvvxyvxy_required)
{
updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required');
jform_vvvvvxxvxx_required = false;
jform_vvvvvxyvxy_required = false;
}
jQuery('#jform_php_model').closest('.control-group').show();
if (jform_vvvvvxxvxy_required)
if (jform_vvvvvxyvxz_required)
{
updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required');
jform_vvvvvxxvxy_required = false;
jform_vvvvvxyvxz_required = false;
}
}
@ -348,22 +348,22 @@ function vvvvvxx(add_custom_button_vvvvvxx)
{
jQuery('#jform_custom_button').closest('.control-group').hide();
jQuery('#jform_php_controller').closest('.control-group').hide();
if (!jform_vvvvvxxvxx_required)
if (!jform_vvvvvxyvxy_required)
{
updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvxxvxx_required = true;
jform_vvvvvxyvxy_required = true;
}
jQuery('#jform_php_model').closest('.control-group').hide();
if (!jform_vvvvvxxvxy_required)
if (!jform_vvvvvxyvxz_required)
{
updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required');
jform_vvvvvxxvxy_required = true;
jform_vvvvvxyvxz_required = true;
}
}
}

View File

@ -114,6 +114,7 @@
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_SITE_VIEW_NAME_HINT"
@ -219,6 +220,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add value name here."
hint="COM_COMPONENTBUILDER_SITE_VIEW_VALUE_NAME_HINT"
@ -234,6 +236,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="WORD"
message="Error! Please add task name here."
hint="COM_COMPONENTBUILDER_SITE_VIEW_TASK_NAME_HINT"
@ -250,6 +253,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add default input value here."
hint="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_DEFAULT_HINT"
@ -263,6 +267,7 @@
class="list_class"
multiple="false"
filter="WORD"
required="false"
default="INT">
<!-- Option Set. -->
<option value="INT">
@ -308,6 +313,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="WORD"
message="Error! Please add method name here."
hint="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_HINT"
@ -318,7 +324,8 @@
name="user_check"
label="COM_COMPONENTBUILDER_SITE_VIEW_USER_CHECK_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_USER_CHECK_DESCRIPTION"
default="1">
default="1"
required="false">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_SITE_VIEW_YES</option>
@ -543,7 +550,8 @@
label="COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_LABEL"
description="COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_DESCRIPTION"
class="list_class fieldMedium"
multiple="false">
multiple="false"
required="false">
<!-- Option Set. -->
<option value="joomla">
COM_COMPONENTBUILDER_SITE_VIEW_JOOMLA</option>
@ -977,6 +985,7 @@
class="text_area"
readonly="false"
disabled="false"
required="false"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_SITE_VIEW_NAME_HINT"
@ -990,6 +999,7 @@
maxlength="50"
description="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_DESCRIPTION"
class="text_area"
required="false"
filter="CMD"
message="Error! Please add controller method name here."
hint="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_HINT"
@ -1002,6 +1012,7 @@
description="COM_COMPONENTBUILDER_SITE_VIEW_TARGET_DESCRIPTION"
class="list_class fieldMedium"
filter="INT"
required="false"
default="1">
<!-- Option Set. -->
<option value="1">

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.16
@build 29th August, 2016
@version 2.1.17
@build 3rd September, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippet.js

View File

@ -101,6 +101,7 @@
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_SNIPPET_NAME_HINT"

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.16
@build 29th August, 2016
@version 2.1.17
@build 3rd September, 2016
@created 30th April, 2015
@package Component Builder
@subpackage template.js
@ -24,42 +24,42 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvxyvxz_required = false;
jform_vvvvvxzvya_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_vvvvvxy = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxy(add_php_view_vvvvvxy);
var add_php_view_vvvvvxz = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxz(add_php_view_vvvvvxz);
});
// the vvvvvxy function
function vvvvvxy(add_php_view_vvvvvxy)
// the vvvvvxz function
function vvvvvxz(add_php_view_vvvvvxz)
{
// set the function logic
if (add_php_view_vvvvvxy == 1)
if (add_php_view_vvvvvxz == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxyvxz_required)
if (jform_vvvvvxzvya_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvxyvxz_required = false;
jform_vvvvvxzvya_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxyvxz_required)
if (!jform_vvvvvxzvya_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxyvxz_required = true;
jform_vvvvvxzvya_required = true;
}
}
}

View File

@ -101,6 +101,7 @@
class="text_area"
readonly="false"
disabled="false"
required="true"
filter="STRING"
message="Error! Please add name here."
hint="COM_COMPONENTBUILDER_TEMPLATE_NAME_HINT"