added another field to the component view, to add helper methods to both admin and site area of the component
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.2.3
|
||||
@build 22nd November, 2016
|
||||
@version 2.2.4
|
||||
@build 25th November, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage component.js
|
||||
@ -27,17 +27,18 @@ jform_vvvvvvvvvv_required = false;
|
||||
jform_vvvvvvwvvw_required = false;
|
||||
jform_vvvvvvxvvx_required = false;
|
||||
jform_vvvvvvyvvy_required = false;
|
||||
jform_vvvvvwavvz_required = false;
|
||||
jform_vvvvvvzvvz_required = false;
|
||||
jform_vvvvvwbvwa_required = false;
|
||||
jform_vvvvvwcvwb_required = false;
|
||||
jform_vvvvvwdvwc_required = false;
|
||||
jform_vvvvvwhvwd_required = false;
|
||||
jform_vvvvvwevwd_required = false;
|
||||
jform_vvvvvwivwe_required = false;
|
||||
jform_vvvvvwjvwf_required = false;
|
||||
jform_vvvvvwkvwg_required = false;
|
||||
jform_vvvvvwlvwh_required = false;
|
||||
jform_vvvvvwmvwi_required = false;
|
||||
jform_vvvvvwtvwj_required = false;
|
||||
jform_vvvvvwnvwj_required = false;
|
||||
jform_vvvvvwuvwk_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
@ -48,72 +49,75 @@ jQuery(document).ready(function()
|
||||
var add_php_helper_site_vvvvvvw = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val();
|
||||
vvvvvvw(add_php_helper_site_vvvvvvw);
|
||||
|
||||
var add_css_vvvvvvx = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvvx(add_css_vvvvvvx);
|
||||
var add_php_helper_both_vvvvvvx = jQuery("#jform_add_php_helper_both input[type='radio']:checked").val();
|
||||
vvvvvvx(add_php_helper_both_vvvvvvx);
|
||||
|
||||
var add_sql_vvvvvvy = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvvy(add_sql_vvvvvvy);
|
||||
var add_css_vvvvvvy = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvvy(add_css_vvvvvvy);
|
||||
|
||||
var emptycontributors_vvvvvvz = jQuery("#jform_emptycontributors input[type='radio']:checked").val();
|
||||
vvvvvvz(emptycontributors_vvvvvvz);
|
||||
var add_sql_vvvvvvz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvvz(add_sql_vvvvvvz);
|
||||
|
||||
var add_license_vvvvvwa = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvwa(add_license_vvvvvwa);
|
||||
var emptycontributors_vvvvvwa = jQuery("#jform_emptycontributors input[type='radio']:checked").val();
|
||||
vvvvvwa(emptycontributors_vvvvvwa);
|
||||
|
||||
var add_admin_event_vvvvvwb = jQuery("#jform_add_admin_event input[type='radio']:checked").val();
|
||||
vvvvvwb(add_admin_event_vvvvvwb);
|
||||
var add_license_vvvvvwb = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvwb(add_license_vvvvvwb);
|
||||
|
||||
var add_site_event_vvvvvwc = jQuery("#jform_add_site_event input[type='radio']:checked").val();
|
||||
vvvvvwc(add_site_event_vvvvvwc);
|
||||
var add_admin_event_vvvvvwc = jQuery("#jform_add_admin_event input[type='radio']:checked").val();
|
||||
vvvvvwc(add_admin_event_vvvvvwc);
|
||||
|
||||
var addreadme_vvvvvwd = jQuery("#jform_addreadme input[type='radio']:checked").val();
|
||||
vvvvvwd(addreadme_vvvvvwd);
|
||||
var add_site_event_vvvvvwd = jQuery("#jform_add_site_event input[type='radio']:checked").val();
|
||||
vvvvvwd(add_site_event_vvvvvwd);
|
||||
|
||||
var add_update_server_vvvvvwe = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwe(add_update_server_vvvvvwe);
|
||||
var addreadme_vvvvvwe = jQuery("#jform_addreadme input[type='radio']:checked").val();
|
||||
vvvvvwe(addreadme_vvvvvwe);
|
||||
|
||||
var add_sales_server_vvvvvwf = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
|
||||
vvvvvwf(add_sales_server_vvvvvwf);
|
||||
var add_update_server_vvvvvwf = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwf(add_update_server_vvvvvwf);
|
||||
|
||||
var add_license_vvvvvwg = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvwg(add_license_vvvvvwg);
|
||||
var add_sales_server_vvvvvwg = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
|
||||
vvvvvwg(add_sales_server_vvvvvwg);
|
||||
|
||||
var add_php_dashboard_methods_vvvvvwh = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val();
|
||||
vvvvvwh(add_php_dashboard_methods_vvvvvwh);
|
||||
var add_license_vvvvvwh = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvwh(add_license_vvvvvwh);
|
||||
|
||||
var add_php_postflight_install_vvvvvwi = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
|
||||
vvvvvwi(add_php_postflight_install_vvvvvwi);
|
||||
var add_php_dashboard_methods_vvvvvwi = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val();
|
||||
vvvvvwi(add_php_dashboard_methods_vvvvvwi);
|
||||
|
||||
var add_php_postflight_update_vvvvvwj = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
|
||||
vvvvvwj(add_php_postflight_update_vvvvvwj);
|
||||
var add_php_postflight_install_vvvvvwj = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
|
||||
vvvvvwj(add_php_postflight_install_vvvvvwj);
|
||||
|
||||
var add_php_method_uninstall_vvvvvwk = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
|
||||
vvvvvwk(add_php_method_uninstall_vvvvvwk);
|
||||
var add_php_postflight_update_vvvvvwk = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
|
||||
vvvvvwk(add_php_postflight_update_vvvvvwk);
|
||||
|
||||
var add_php_preflight_install_vvvvvwl = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
|
||||
vvvvvwl(add_php_preflight_install_vvvvvwl);
|
||||
var add_php_method_uninstall_vvvvvwl = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
|
||||
vvvvvwl(add_php_method_uninstall_vvvvvwl);
|
||||
|
||||
var add_php_preflight_update_vvvvvwm = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
|
||||
vvvvvwm(add_php_preflight_update_vvvvvwm);
|
||||
var add_php_preflight_install_vvvvvwm = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
|
||||
vvvvvwm(add_php_preflight_install_vvvvvwm);
|
||||
|
||||
var update_server_target_vvvvvwn = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwn = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwn(update_server_target_vvvvvwn,add_update_server_vvvvvwn);
|
||||
var add_php_preflight_update_vvvvvwn = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
|
||||
vvvvvwn(add_php_preflight_update_vvvvvwn);
|
||||
|
||||
var add_update_server_vvvvvwo = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvwo = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvwo(add_update_server_vvvvvwo,update_server_target_vvvvvwo);
|
||||
var add_update_server_vvvvvwo = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwo(update_server_target_vvvvvwo,add_update_server_vvvvvwo);
|
||||
|
||||
var update_server_target_vvvvvwp = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwp = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwp(update_server_target_vvvvvwp,add_update_server_vvvvvwp);
|
||||
var update_server_target_vvvvvwp = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvwp(add_update_server_vvvvvwp,update_server_target_vvvvvwp);
|
||||
|
||||
var update_server_target_vvvvvwr = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwr = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwr(update_server_target_vvvvvwr,add_update_server_vvvvvwr);
|
||||
var update_server_target_vvvvvwq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq);
|
||||
|
||||
var add_update_server_vvvvvwt = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwt(add_update_server_vvvvvwt);
|
||||
var update_server_target_vvvvvws = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvws = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvws(update_server_target_vvvvvws,add_update_server_vvvvvws);
|
||||
|
||||
var add_update_server_vvvvvwu = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwu(add_update_server_vvvvvwu);
|
||||
});
|
||||
|
||||
// the vvvvvvv function
|
||||
@ -179,72 +183,103 @@ function vvvvvvw(add_php_helper_site_vvvvvvw)
|
||||
}
|
||||
|
||||
// the vvvvvvx function
|
||||
function vvvvvvx(add_css_vvvvvvx)
|
||||
function vvvvvvx(add_php_helper_both_vvvvvvx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvvvx == 1)
|
||||
if (add_php_helper_both_vvvvvvx == 1)
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').show();
|
||||
jQuery('#jform_php_helper_both').closest('.control-group').show();
|
||||
if (jform_vvvvvvxvvx_required)
|
||||
{
|
||||
updateFieldRequired('css',0);
|
||||
jQuery('#jform_css').prop('required','required');
|
||||
jQuery('#jform_css').attr('aria-required',true);
|
||||
jQuery('#jform_css').addClass('required');
|
||||
updateFieldRequired('php_helper_both',0);
|
||||
jQuery('#jform_php_helper_both').prop('required','required');
|
||||
jQuery('#jform_php_helper_both').attr('aria-required',true);
|
||||
jQuery('#jform_php_helper_both').addClass('required');
|
||||
jform_vvvvvvxvvx_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').hide();
|
||||
jQuery('#jform_php_helper_both').closest('.control-group').hide();
|
||||
if (!jform_vvvvvvxvvx_required)
|
||||
{
|
||||
updateFieldRequired('css',1);
|
||||
jQuery('#jform_css').removeAttr('required');
|
||||
jQuery('#jform_css').removeAttr('aria-required');
|
||||
jQuery('#jform_css').removeClass('required');
|
||||
updateFieldRequired('php_helper_both',1);
|
||||
jQuery('#jform_php_helper_both').removeAttr('required');
|
||||
jQuery('#jform_php_helper_both').removeAttr('aria-required');
|
||||
jQuery('#jform_php_helper_both').removeClass('required');
|
||||
jform_vvvvvvxvvx_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvvy function
|
||||
function vvvvvvy(add_sql_vvvvvvy)
|
||||
function vvvvvvy(add_css_vvvvvvy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_vvvvvvy == 1)
|
||||
if (add_css_vvvvvvy == 1)
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').show();
|
||||
jQuery('#jform_css').closest('.control-group').show();
|
||||
if (jform_vvvvvvyvvy_required)
|
||||
{
|
||||
updateFieldRequired('sql',0);
|
||||
jQuery('#jform_sql').prop('required','required');
|
||||
jQuery('#jform_sql').attr('aria-required',true);
|
||||
jQuery('#jform_sql').addClass('required');
|
||||
updateFieldRequired('css',0);
|
||||
jQuery('#jform_css').prop('required','required');
|
||||
jQuery('#jform_css').attr('aria-required',true);
|
||||
jQuery('#jform_css').addClass('required');
|
||||
jform_vvvvvvyvvy_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').hide();
|
||||
jQuery('#jform_css').closest('.control-group').hide();
|
||||
if (!jform_vvvvvvyvvy_required)
|
||||
{
|
||||
updateFieldRequired('sql',1);
|
||||
jQuery('#jform_sql').removeAttr('required');
|
||||
jQuery('#jform_sql').removeAttr('aria-required');
|
||||
jQuery('#jform_sql').removeClass('required');
|
||||
updateFieldRequired('css',1);
|
||||
jQuery('#jform_css').removeAttr('required');
|
||||
jQuery('#jform_css').removeAttr('aria-required');
|
||||
jQuery('#jform_css').removeClass('required');
|
||||
jform_vvvvvvyvvy_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvvz function
|
||||
function vvvvvvz(emptycontributors_vvvvvvz)
|
||||
function vvvvvvz(add_sql_vvvvvvz)
|
||||
{
|
||||
// set the function logic
|
||||
if (emptycontributors_vvvvvvz == 1)
|
||||
if (add_sql_vvvvvvz == 1)
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').show();
|
||||
if (jform_vvvvvvzvvz_required)
|
||||
{
|
||||
updateFieldRequired('sql',0);
|
||||
jQuery('#jform_sql').prop('required','required');
|
||||
jQuery('#jform_sql').attr('aria-required',true);
|
||||
jQuery('#jform_sql').addClass('required');
|
||||
jform_vvvvvvzvvz_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').hide();
|
||||
if (!jform_vvvvvvzvvz_required)
|
||||
{
|
||||
updateFieldRequired('sql',1);
|
||||
jQuery('#jform_sql').removeAttr('required');
|
||||
jQuery('#jform_sql').removeAttr('aria-required');
|
||||
jQuery('#jform_sql').removeClass('required');
|
||||
jform_vvvvvvzvvz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwa function
|
||||
function vvvvvwa(emptycontributors_vvvvvwa)
|
||||
{
|
||||
// set the function logic
|
||||
if (emptycontributors_vvvvvwa == 1)
|
||||
{
|
||||
jQuery('#jform_number').closest('.control-group').show();
|
||||
}
|
||||
@ -254,114 +289,114 @@ function vvvvvvz(emptycontributors_vvvvvvz)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwa function
|
||||
function vvvvvwa(add_license_vvvvvwa)
|
||||
// the vvvvvwb function
|
||||
function vvvvvwb(add_license_vvvvvwb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_license_vvvvvwa == 1)
|
||||
if (add_license_vvvvvwb == 1)
|
||||
{
|
||||
jQuery('#jform_license_type').closest('.control-group').show();
|
||||
if (jform_vvvvvwavvz_required)
|
||||
if (jform_vvvvvwbvwa_required)
|
||||
{
|
||||
updateFieldRequired('license_type',0);
|
||||
jQuery('#jform_license_type').prop('required','required');
|
||||
jQuery('#jform_license_type').attr('aria-required',true);
|
||||
jQuery('#jform_license_type').addClass('required');
|
||||
jform_vvvvvwavvz_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_license_type').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwavvz_required)
|
||||
{
|
||||
updateFieldRequired('license_type',1);
|
||||
jQuery('#jform_license_type').removeAttr('required');
|
||||
jQuery('#jform_license_type').removeAttr('aria-required');
|
||||
jQuery('#jform_license_type').removeClass('required');
|
||||
jform_vvvvvwavvz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwb function
|
||||
function vvvvvwb(add_admin_event_vvvvvwb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_admin_event_vvvvvwb == 1)
|
||||
{
|
||||
jQuery('#jform_php_admin_event').closest('.control-group').show();
|
||||
if (jform_vvvvvwbvwa_required)
|
||||
{
|
||||
updateFieldRequired('php_admin_event',0);
|
||||
jQuery('#jform_php_admin_event').prop('required','required');
|
||||
jQuery('#jform_php_admin_event').attr('aria-required',true);
|
||||
jQuery('#jform_php_admin_event').addClass('required');
|
||||
jform_vvvvvwbvwa_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_admin_event').closest('.control-group').hide();
|
||||
jQuery('#jform_license_type').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwbvwa_required)
|
||||
{
|
||||
updateFieldRequired('php_admin_event',1);
|
||||
jQuery('#jform_php_admin_event').removeAttr('required');
|
||||
jQuery('#jform_php_admin_event').removeAttr('aria-required');
|
||||
jQuery('#jform_php_admin_event').removeClass('required');
|
||||
updateFieldRequired('license_type',1);
|
||||
jQuery('#jform_license_type').removeAttr('required');
|
||||
jQuery('#jform_license_type').removeAttr('aria-required');
|
||||
jQuery('#jform_license_type').removeClass('required');
|
||||
jform_vvvvvwbvwa_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwc function
|
||||
function vvvvvwc(add_site_event_vvvvvwc)
|
||||
function vvvvvwc(add_admin_event_vvvvvwc)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_site_event_vvvvvwc == 1)
|
||||
if (add_admin_event_vvvvvwc == 1)
|
||||
{
|
||||
jQuery('#jform_php_site_event').closest('.control-group').show();
|
||||
jQuery('#jform_php_admin_event').closest('.control-group').show();
|
||||
if (jform_vvvvvwcvwb_required)
|
||||
{
|
||||
updateFieldRequired('php_site_event',0);
|
||||
jQuery('#jform_php_site_event').prop('required','required');
|
||||
jQuery('#jform_php_site_event').attr('aria-required',true);
|
||||
jQuery('#jform_php_site_event').addClass('required');
|
||||
updateFieldRequired('php_admin_event',0);
|
||||
jQuery('#jform_php_admin_event').prop('required','required');
|
||||
jQuery('#jform_php_admin_event').attr('aria-required',true);
|
||||
jQuery('#jform_php_admin_event').addClass('required');
|
||||
jform_vvvvvwcvwb_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_site_event').closest('.control-group').hide();
|
||||
jQuery('#jform_php_admin_event').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwcvwb_required)
|
||||
{
|
||||
updateFieldRequired('php_site_event',1);
|
||||
jQuery('#jform_php_site_event').removeAttr('required');
|
||||
jQuery('#jform_php_site_event').removeAttr('aria-required');
|
||||
jQuery('#jform_php_site_event').removeClass('required');
|
||||
updateFieldRequired('php_admin_event',1);
|
||||
jQuery('#jform_php_admin_event').removeAttr('required');
|
||||
jQuery('#jform_php_admin_event').removeAttr('aria-required');
|
||||
jQuery('#jform_php_admin_event').removeClass('required');
|
||||
jform_vvvvvwcvwb_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwd function
|
||||
function vvvvvwd(addreadme_vvvvvwd)
|
||||
function vvvvvwd(add_site_event_vvvvvwd)
|
||||
{
|
||||
// set the function logic
|
||||
if (addreadme_vvvvvwd == 1)
|
||||
if (add_site_event_vvvvvwd == 1)
|
||||
{
|
||||
jQuery('#jform_php_site_event').closest('.control-group').show();
|
||||
if (jform_vvvvvwdvwc_required)
|
||||
{
|
||||
updateFieldRequired('php_site_event',0);
|
||||
jQuery('#jform_php_site_event').prop('required','required');
|
||||
jQuery('#jform_php_site_event').attr('aria-required',true);
|
||||
jQuery('#jform_php_site_event').addClass('required');
|
||||
jform_vvvvvwdvwc_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_site_event').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwdvwc_required)
|
||||
{
|
||||
updateFieldRequired('php_site_event',1);
|
||||
jQuery('#jform_php_site_event').removeAttr('required');
|
||||
jQuery('#jform_php_site_event').removeAttr('aria-required');
|
||||
jQuery('#jform_php_site_event').removeClass('required');
|
||||
jform_vvvvvwdvwc_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwe function
|
||||
function vvvvvwe(addreadme_vvvvvwe)
|
||||
{
|
||||
// set the function logic
|
||||
if (addreadme_vvvvvwe == 1)
|
||||
{
|
||||
jQuery('.note_readme').closest('.control-group').show();
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvwdvwc_required)
|
||||
if (jform_vvvvvwevwd_required)
|
||||
{
|
||||
updateFieldRequired('readme',0);
|
||||
jQuery('#jform_readme').prop('required','required');
|
||||
jQuery('#jform_readme').attr('aria-required',true);
|
||||
jQuery('#jform_readme').addClass('required');
|
||||
jform_vvvvvwdvwc_required = false;
|
||||
jform_vvvvvwevwd_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -369,22 +404,22 @@ function vvvvvwd(addreadme_vvvvvwd)
|
||||
{
|
||||
jQuery('.note_readme').closest('.control-group').hide();
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwdvwc_required)
|
||||
if (!jform_vvvvvwevwd_required)
|
||||
{
|
||||
updateFieldRequired('readme',1);
|
||||
jQuery('#jform_readme').removeAttr('required');
|
||||
jQuery('#jform_readme').removeAttr('aria-required');
|
||||
jQuery('#jform_readme').removeClass('required');
|
||||
jform_vvvvvwdvwc_required = true;
|
||||
jform_vvvvvwevwd_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwe function
|
||||
function vvvvvwe(add_update_server_vvvvvwe)
|
||||
// the vvvvvwf function
|
||||
function vvvvvwf(add_update_server_vvvvvwf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvwe == 1)
|
||||
if (add_update_server_vvvvvwf == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
}
|
||||
@ -394,11 +429,11 @@ function vvvvvwe(add_update_server_vvvvvwe)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwf function
|
||||
function vvvvvwf(add_sales_server_vvvvvwf)
|
||||
// the vvvvvwg function
|
||||
function vvvvvwg(add_sales_server_vvvvvwg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sales_server_vvvvvwf == 1)
|
||||
if (add_sales_server_vvvvvwg == 1)
|
||||
{
|
||||
jQuery('#jform_sales_server_ftp').closest('.control-group').show();
|
||||
}
|
||||
@ -408,11 +443,11 @@ function vvvvvwf(add_sales_server_vvvvvwf)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwg function
|
||||
function vvvvvwg(add_license_vvvvvwg)
|
||||
// the vvvvvwh function
|
||||
function vvvvvwh(add_license_vvvvvwh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_license_vvvvvwg == 1)
|
||||
if (add_license_vvvvvwh == 1)
|
||||
{
|
||||
jQuery('.note_whmcs_lisencing_note').closest('.control-group').show();
|
||||
jQuery('#jform_whmcs_key').closest('.control-group').show();
|
||||
@ -426,21 +461,21 @@ function vvvvvwg(add_license_vvvvvwg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwh function
|
||||
function vvvvvwh(add_php_dashboard_methods_vvvvvwh)
|
||||
// the vvvvvwi function
|
||||
function vvvvvwi(add_php_dashboard_methods_vvvvvwi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_dashboard_methods_vvvvvwh == 1)
|
||||
if (add_php_dashboard_methods_vvvvvwi == 1)
|
||||
{
|
||||
jQuery('#jform_dashboard_tab').closest('.control-group').show();
|
||||
jQuery('#jform_php_dashboard_methods').closest('.control-group').show();
|
||||
if (jform_vvvvvwhvwd_required)
|
||||
if (jform_vvvvvwivwe_required)
|
||||
{
|
||||
updateFieldRequired('php_dashboard_methods',0);
|
||||
jQuery('#jform_php_dashboard_methods').prop('required','required');
|
||||
jQuery('#jform_php_dashboard_methods').attr('aria-required',true);
|
||||
jQuery('#jform_php_dashboard_methods').addClass('required');
|
||||
jform_vvvvvwhvwd_required = false;
|
||||
jform_vvvvvwivwe_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -448,193 +483,177 @@ function vvvvvwh(add_php_dashboard_methods_vvvvvwh)
|
||||
{
|
||||
jQuery('#jform_dashboard_tab').closest('.control-group').hide();
|
||||
jQuery('#jform_php_dashboard_methods').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwhvwd_required)
|
||||
if (!jform_vvvvvwivwe_required)
|
||||
{
|
||||
updateFieldRequired('php_dashboard_methods',1);
|
||||
jQuery('#jform_php_dashboard_methods').removeAttr('required');
|
||||
jQuery('#jform_php_dashboard_methods').removeAttr('aria-required');
|
||||
jQuery('#jform_php_dashboard_methods').removeClass('required');
|
||||
jform_vvvvvwhvwd_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwi function
|
||||
function vvvvvwi(add_php_postflight_install_vvvvvwi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_install_vvvvvwi == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_install').closest('.control-group').show();
|
||||
if (jform_vvvvvwivwe_required)
|
||||
{
|
||||
updateFieldRequired('php_postflight_install',0);
|
||||
jQuery('#jform_php_postflight_install').prop('required','required');
|
||||
jQuery('#jform_php_postflight_install').attr('aria-required',true);
|
||||
jQuery('#jform_php_postflight_install').addClass('required');
|
||||
jform_vvvvvwivwe_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_install').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwivwe_required)
|
||||
{
|
||||
updateFieldRequired('php_postflight_install',1);
|
||||
jQuery('#jform_php_postflight_install').removeAttr('required');
|
||||
jQuery('#jform_php_postflight_install').removeAttr('aria-required');
|
||||
jQuery('#jform_php_postflight_install').removeClass('required');
|
||||
jform_vvvvvwivwe_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwj function
|
||||
function vvvvvwj(add_php_postflight_update_vvvvvwj)
|
||||
function vvvvvwj(add_php_postflight_install_vvvvvwj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_update_vvvvvwj == 1)
|
||||
if (add_php_postflight_install_vvvvvwj == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_update').closest('.control-group').show();
|
||||
jQuery('#jform_php_postflight_install').closest('.control-group').show();
|
||||
if (jform_vvvvvwjvwf_required)
|
||||
{
|
||||
updateFieldRequired('php_postflight_update',0);
|
||||
jQuery('#jform_php_postflight_update').prop('required','required');
|
||||
jQuery('#jform_php_postflight_update').attr('aria-required',true);
|
||||
jQuery('#jform_php_postflight_update').addClass('required');
|
||||
updateFieldRequired('php_postflight_install',0);
|
||||
jQuery('#jform_php_postflight_install').prop('required','required');
|
||||
jQuery('#jform_php_postflight_install').attr('aria-required',true);
|
||||
jQuery('#jform_php_postflight_install').addClass('required');
|
||||
jform_vvvvvwjvwf_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_update').closest('.control-group').hide();
|
||||
jQuery('#jform_php_postflight_install').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwjvwf_required)
|
||||
{
|
||||
updateFieldRequired('php_postflight_update',1);
|
||||
jQuery('#jform_php_postflight_update').removeAttr('required');
|
||||
jQuery('#jform_php_postflight_update').removeAttr('aria-required');
|
||||
jQuery('#jform_php_postflight_update').removeClass('required');
|
||||
updateFieldRequired('php_postflight_install',1);
|
||||
jQuery('#jform_php_postflight_install').removeAttr('required');
|
||||
jQuery('#jform_php_postflight_install').removeAttr('aria-required');
|
||||
jQuery('#jform_php_postflight_install').removeClass('required');
|
||||
jform_vvvvvwjvwf_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwk function
|
||||
function vvvvvwk(add_php_method_uninstall_vvvvvwk)
|
||||
function vvvvvwk(add_php_postflight_update_vvvvvwk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_method_uninstall_vvvvvwk == 1)
|
||||
if (add_php_postflight_update_vvvvvwk == 1)
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall').closest('.control-group').show();
|
||||
jQuery('#jform_php_postflight_update').closest('.control-group').show();
|
||||
if (jform_vvvvvwkvwg_required)
|
||||
{
|
||||
updateFieldRequired('php_method_uninstall',0);
|
||||
jQuery('#jform_php_method_uninstall').prop('required','required');
|
||||
jQuery('#jform_php_method_uninstall').attr('aria-required',true);
|
||||
jQuery('#jform_php_method_uninstall').addClass('required');
|
||||
updateFieldRequired('php_postflight_update',0);
|
||||
jQuery('#jform_php_postflight_update').prop('required','required');
|
||||
jQuery('#jform_php_postflight_update').attr('aria-required',true);
|
||||
jQuery('#jform_php_postflight_update').addClass('required');
|
||||
jform_vvvvvwkvwg_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall').closest('.control-group').hide();
|
||||
jQuery('#jform_php_postflight_update').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwkvwg_required)
|
||||
{
|
||||
updateFieldRequired('php_method_uninstall',1);
|
||||
jQuery('#jform_php_method_uninstall').removeAttr('required');
|
||||
jQuery('#jform_php_method_uninstall').removeAttr('aria-required');
|
||||
jQuery('#jform_php_method_uninstall').removeClass('required');
|
||||
updateFieldRequired('php_postflight_update',1);
|
||||
jQuery('#jform_php_postflight_update').removeAttr('required');
|
||||
jQuery('#jform_php_postflight_update').removeAttr('aria-required');
|
||||
jQuery('#jform_php_postflight_update').removeClass('required');
|
||||
jform_vvvvvwkvwg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwl function
|
||||
function vvvvvwl(add_php_preflight_install_vvvvvwl)
|
||||
function vvvvvwl(add_php_method_uninstall_vvvvvwl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_install_vvvvvwl == 1)
|
||||
if (add_php_method_uninstall_vvvvvwl == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_install').closest('.control-group').show();
|
||||
jQuery('#jform_php_method_uninstall').closest('.control-group').show();
|
||||
if (jform_vvvvvwlvwh_required)
|
||||
{
|
||||
updateFieldRequired('php_preflight_install',0);
|
||||
jQuery('#jform_php_preflight_install').prop('required','required');
|
||||
jQuery('#jform_php_preflight_install').attr('aria-required',true);
|
||||
jQuery('#jform_php_preflight_install').addClass('required');
|
||||
updateFieldRequired('php_method_uninstall',0);
|
||||
jQuery('#jform_php_method_uninstall').prop('required','required');
|
||||
jQuery('#jform_php_method_uninstall').attr('aria-required',true);
|
||||
jQuery('#jform_php_method_uninstall').addClass('required');
|
||||
jform_vvvvvwlvwh_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_install').closest('.control-group').hide();
|
||||
jQuery('#jform_php_method_uninstall').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwlvwh_required)
|
||||
{
|
||||
updateFieldRequired('php_preflight_install',1);
|
||||
jQuery('#jform_php_preflight_install').removeAttr('required');
|
||||
jQuery('#jform_php_preflight_install').removeAttr('aria-required');
|
||||
jQuery('#jform_php_preflight_install').removeClass('required');
|
||||
updateFieldRequired('php_method_uninstall',1);
|
||||
jQuery('#jform_php_method_uninstall').removeAttr('required');
|
||||
jQuery('#jform_php_method_uninstall').removeAttr('aria-required');
|
||||
jQuery('#jform_php_method_uninstall').removeClass('required');
|
||||
jform_vvvvvwlvwh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwm function
|
||||
function vvvvvwm(add_php_preflight_update_vvvvvwm)
|
||||
function vvvvvwm(add_php_preflight_install_vvvvvwm)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_update_vvvvvwm == 1)
|
||||
if (add_php_preflight_install_vvvvvwm == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_update').closest('.control-group').show();
|
||||
jQuery('#jform_php_preflight_install').closest('.control-group').show();
|
||||
if (jform_vvvvvwmvwi_required)
|
||||
{
|
||||
updateFieldRequired('php_preflight_update',0);
|
||||
jQuery('#jform_php_preflight_update').prop('required','required');
|
||||
jQuery('#jform_php_preflight_update').attr('aria-required',true);
|
||||
jQuery('#jform_php_preflight_update').addClass('required');
|
||||
updateFieldRequired('php_preflight_install',0);
|
||||
jQuery('#jform_php_preflight_install').prop('required','required');
|
||||
jQuery('#jform_php_preflight_install').attr('aria-required',true);
|
||||
jQuery('#jform_php_preflight_install').addClass('required');
|
||||
jform_vvvvvwmvwi_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_update').closest('.control-group').hide();
|
||||
jQuery('#jform_php_preflight_install').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwmvwi_required)
|
||||
{
|
||||
updateFieldRequired('php_preflight_update',1);
|
||||
jQuery('#jform_php_preflight_update').removeAttr('required');
|
||||
jQuery('#jform_php_preflight_update').removeAttr('aria-required');
|
||||
jQuery('#jform_php_preflight_update').removeClass('required');
|
||||
updateFieldRequired('php_preflight_install',1);
|
||||
jQuery('#jform_php_preflight_install').removeAttr('required');
|
||||
jQuery('#jform_php_preflight_install').removeAttr('aria-required');
|
||||
jQuery('#jform_php_preflight_install').removeClass('required');
|
||||
jform_vvvvvwmvwi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwn function
|
||||
function vvvvvwn(update_server_target_vvvvvwn,add_update_server_vvvvvwn)
|
||||
function vvvvvwn(add_php_preflight_update_vvvvvwn)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvwn == 1 && add_update_server_vvvvvwn == 1)
|
||||
if (add_php_preflight_update_vvvvvwn == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_ftp').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
jQuery('#jform_php_preflight_update').closest('.control-group').show();
|
||||
if (jform_vvvvvwnvwj_required)
|
||||
{
|
||||
updateFieldRequired('php_preflight_update',0);
|
||||
jQuery('#jform_php_preflight_update').prop('required','required');
|
||||
jQuery('#jform_php_preflight_update').attr('aria-required',true);
|
||||
jQuery('#jform_php_preflight_update').addClass('required');
|
||||
jform_vvvvvwnvwj_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_ftp').closest('.control-group').hide();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').hide();
|
||||
jQuery('#jform_php_preflight_update').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwnvwj_required)
|
||||
{
|
||||
updateFieldRequired('php_preflight_update',1);
|
||||
jQuery('#jform_php_preflight_update').removeAttr('required');
|
||||
jQuery('#jform_php_preflight_update').removeAttr('aria-required');
|
||||
jQuery('#jform_php_preflight_update').removeClass('required');
|
||||
jform_vvvvvwnvwj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwo function
|
||||
function vvvvvwo(add_update_server_vvvvvwo,update_server_target_vvvvvwo)
|
||||
function vvvvvwo(update_server_target_vvvvvwo,add_update_server_vvvvvwo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvwo == 1 && update_server_target_vvvvvwo == 1)
|
||||
if (update_server_target_vvvvvwo == 1 && add_update_server_vvvvvwo == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_ftp').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
@ -647,10 +666,26 @@ function vvvvvwo(add_update_server_vvvvvwo,update_server_target_vvvvvwo)
|
||||
}
|
||||
|
||||
// the vvvvvwp function
|
||||
function vvvvvwp(update_server_target_vvvvvwp,add_update_server_vvvvvwp)
|
||||
function vvvvvwp(add_update_server_vvvvvwp,update_server_target_vvvvvwp)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvwp == 2 && add_update_server_vvvvvwp == 1)
|
||||
if (add_update_server_vvvvvwp == 1 && update_server_target_vvvvvwp == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_ftp').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_ftp').closest('.control-group').hide();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwq function
|
||||
function vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvwq == 2 && add_update_server_vvvvvwq == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_zip').closest('.control-group').show();
|
||||
}
|
||||
@ -660,11 +695,11 @@ function vvvvvwp(update_server_target_vvvvvwp,add_update_server_vvvvvwp)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwr function
|
||||
function vvvvvwr(update_server_target_vvvvvwr,add_update_server_vvvvvwr)
|
||||
// the vvvvvws function
|
||||
function vvvvvws(update_server_target_vvvvvws,add_update_server_vvvvvws)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvwr == 3 && add_update_server_vvvvvwr == 1)
|
||||
if (update_server_target_vvvvvws == 3 && add_update_server_vvvvvws == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_other').closest('.control-group').show();
|
||||
}
|
||||
@ -674,33 +709,33 @@ function vvvvvwr(update_server_target_vvvvvwr,add_update_server_vvvvvwr)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwt function
|
||||
function vvvvvwt(add_update_server_vvvvvwt)
|
||||
// the vvvvvwu function
|
||||
function vvvvvwu(add_update_server_vvvvvwu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvwt == 1)
|
||||
if (add_update_server_vvvvvwu == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').show();
|
||||
if (jform_vvvvvwtvwj_required)
|
||||
if (jform_vvvvvwuvwk_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',0);
|
||||
jQuery('#jform_update_server_target').prop('required','required');
|
||||
jQuery('#jform_update_server_target').attr('aria-required',true);
|
||||
jQuery('#jform_update_server_target').addClass('required');
|
||||
jform_vvvvvwtvwj_required = false;
|
||||
jform_vvvvvwuvwk_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwtvwj_required)
|
||||
if (!jform_vvvvvwuvwk_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',1);
|
||||
jQuery('#jform_update_server_target').removeAttr('required');
|
||||
jQuery('#jform_update_server_target').removeAttr('aria-required');
|
||||
jQuery('#jform_update_server_target').removeClass('required');
|
||||
jform_vvvvvwtvwj_required = true;
|
||||
jform_vvvvvwuvwk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -178,20 +178,25 @@
|
||||
message="Error! Please add author name here."
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_AUTHOR_HINT"
|
||||
/>
|
||||
<!-- Add_php_postflight_install Field. Type: Radio. (joomla) -->
|
||||
<!-- Update_server_target Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_postflight_install"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_POSTFLIGHT_INSTALL_LABEL"
|
||||
name="update_server_target"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_TARGET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_TARGET_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
COM_COMPONENTBUILDER_COMPONENT_FTP</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_COMPONENT_ZIP</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_COMPONENT_OTHER</option>
|
||||
</field>
|
||||
<!-- Note_update_server_note_ftp Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_update_server_note_ftp" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_UPDATE_SERVER_NOTE_FTP_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_UPDATE_SERVER_NOTE_FTP_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_ftp" />
|
||||
<!-- Php_helper_admin Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -205,67 +210,24 @@
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_ADMIN_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_update_server_note_ftp Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_update_server_note_ftp" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_UPDATE_SERVER_NOTE_FTP_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_UPDATE_SERVER_NOTE_FTP_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_ftp" />
|
||||
<!-- Addfolders Field. Type: Repeatable. (joomla) -->
|
||||
<field
|
||||
type="repeatable"
|
||||
name="addfolders"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADDFOLDERS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_ADDFOLDERS_DESCRIPTION"
|
||||
id="addfolders"
|
||||
class="addfolder"
|
||||
select="COM_COMPONENTBUILDER_COMPONENT_ADDFOLDERS_SELECT"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<fields name="addfolders_fields" label="">
|
||||
<fieldset hidden="true" name="addfolders_modal" repeat="true">
|
||||
<!-- Folder Field. Type: Customfolderlist. (custom) -->
|
||||
<field
|
||||
type="customfolderlist"
|
||||
name="folder"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FOLDER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FOLDER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="Error! Please add target path."
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PATH_HINT"
|
||||
/>
|
||||
<!-- Rename Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_RENAME_LABEL"
|
||||
default="0"
|
||||
required="false">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Note_update_server_note_zip Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_update_server_note_zip" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_UPDATE_SERVER_NOTE_ZIP_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_UPDATE_SERVER_NOTE_ZIP_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_zip" />
|
||||
<!-- Adduikit Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="adduikit"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADDUIKIT_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Note_update_server_note_other Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_update_server_note_other" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_UPDATE_SERVER_NOTE_OTHER_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_UPDATE_SERVER_NOTE_OTHER_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_other" />
|
||||
<!-- Sql Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -279,10 +241,6 @@
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_SQL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_update_server_note_other Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_update_server_note_other" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_UPDATE_SERVER_NOTE_OTHER_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_UPDATE_SERVER_NOTE_OTHER_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_other" />
|
||||
<!-- Note_add_files Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_files" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FILES_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FILES_DESCRIPTION" heading="h4" class="alert alert-info note_add_files" close="false" />
|
||||
<!-- Update_server_ftp Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
@ -296,20 +254,8 @@
|
||||
message="Error! Please add some text here."
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP_HINT"
|
||||
/>
|
||||
<!-- Add_css Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_css"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_CSS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Spacer_hr_a Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_a" hr="true" class="spacer_hr_a" />
|
||||
<!-- Version_update Field. Type: Repeatable. (joomla) -->
|
||||
<field
|
||||
type="repeatable"
|
||||
@ -369,125 +315,6 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Php_helper_site Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_helper_site"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_LABEL"
|
||||
rows="80"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Debug_linenr Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="debug_linenr"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DEBUG_LINENR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DEBUG_LINENR_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_preflight_install Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_preflight_install"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_PREFLIGHT_INSTALL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Update_server Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
name="update_server"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="Error! Please add url here."
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_HINT"
|
||||
/>
|
||||
<!-- Update_server_target Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="update_server_target"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_TARGET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_TARGET_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_FTP</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_COMPONENT_ZIP</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_COMPONENT_OTHER</option>
|
||||
</field>
|
||||
<!-- Description Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_LABEL"
|
||||
rows="11"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_HINT"
|
||||
/>
|
||||
<!-- Spacer_hr_a Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_a" hr="true" class="spacer_hr_a" />
|
||||
<!-- Bom Field. Type: Filelist. (joomla) -->
|
||||
<field
|
||||
type="filelist"
|
||||
name="bom"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_BOM_LABEL"
|
||||
directory="administrator/components/com_componentbuilder/compiler"
|
||||
default="default.txt"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_BOM_DESCRIPTION"
|
||||
hide_default="true"
|
||||
/>
|
||||
<!-- Adduikit Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="adduikit"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADDUIKIT_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Image Field. Type: Media. (joomla) -->
|
||||
<field
|
||||
type="media"
|
||||
name="image"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_IMAGE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_IMAGE_DESCRIPTION"
|
||||
directory=""
|
||||
/>
|
||||
<!-- Add_email_helper Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
@ -503,6 +330,165 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Debug_linenr Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="debug_linenr"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DEBUG_LINENR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DEBUG_LINENR_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Php_helper_site Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_helper_site"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_LABEL"
|
||||
rows="80"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Update_server Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
name="update_server"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="Error! Please add url here."
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_HINT"
|
||||
/>
|
||||
<!-- Add_php_preflight_install Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_preflight_install"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_PREFLIGHT_INSTALL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Description Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_LABEL"
|
||||
rows="11"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_HINT"
|
||||
/>
|
||||
<!-- Note_add_files Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_files" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FILES_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FILES_DESCRIPTION" heading="h4" class="alert alert-info note_add_files" close="false" />
|
||||
<!-- Bom Field. Type: Filelist. (joomla) -->
|
||||
<field
|
||||
type="filelist"
|
||||
name="bom"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_BOM_LABEL"
|
||||
directory="administrator/components/com_componentbuilder/compiler"
|
||||
default="default.txt"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_BOM_DESCRIPTION"
|
||||
hide_default="true"
|
||||
/>
|
||||
<!-- Addfolders Field. Type: Repeatable. (joomla) -->
|
||||
<field
|
||||
type="repeatable"
|
||||
name="addfolders"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADDFOLDERS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_ADDFOLDERS_DESCRIPTION"
|
||||
id="addfolders"
|
||||
class="addfolder"
|
||||
select="COM_COMPONENTBUILDER_COMPONENT_ADDFOLDERS_SELECT"
|
||||
icon="list"
|
||||
maximum="500">
|
||||
<fields name="addfolders_fields" label="">
|
||||
<fieldset hidden="true" name="addfolders_modal" repeat="true">
|
||||
<!-- Folder Field. Type: Customfolderlist. (custom) -->
|
||||
<field
|
||||
type="customfolderlist"
|
||||
name="folder"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_FOLDER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_FOLDER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="Error! Please add target path."
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PATH_HINT"
|
||||
/>
|
||||
<!-- Rename Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_RENAME_LABEL"
|
||||
default="0"
|
||||
required="false">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Image Field. Type: Media. (joomla) -->
|
||||
<field
|
||||
type="media"
|
||||
name="image"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_IMAGE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_IMAGE_DESCRIPTION"
|
||||
directory=""
|
||||
/>
|
||||
<!-- Add_css Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_css"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_CSS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Add_update_server Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
@ -517,6 +503,33 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Php_helper_both Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_helper_both"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_BOTH_LABEL"
|
||||
rows="80"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_BOTH_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_BOTH_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_php_postflight_install Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_postflight_install"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_POSTFLIGHT_INSTALL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Php_admin_event Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -602,31 +615,6 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Number Field. Type: Number. (joomla) -->
|
||||
<field
|
||||
type="number"
|
||||
name="number"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_NUMBER_LABEL"
|
||||
default="4"
|
||||
class="text_area"
|
||||
min="1"
|
||||
max="40"
|
||||
step="1"
|
||||
/>
|
||||
<!-- Add_php_postflight_update Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_postflight_update"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_POSTFLIGHT_UPDATE_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Email Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
@ -642,13 +630,14 @@
|
||||
message="Error! Please author email address here."
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_EMAIL_HINT"
|
||||
/>
|
||||
<!-- Addreadme Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_postflight_update Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="addreadme"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADDREADME_LABEL"
|
||||
name="add_php_postflight_update"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_POSTFLIGHT_UPDATE_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0">
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
@ -670,6 +659,30 @@
|
||||
message="Error! Please add website here."
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_WEBSITE_HINT"
|
||||
/>
|
||||
<!-- Addreadme Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="addreadme"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADDREADME_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Number Field. Type: Number. (joomla) -->
|
||||
<field
|
||||
type="number"
|
||||
name="number"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_NUMBER_LABEL"
|
||||
default="4"
|
||||
class="text_area"
|
||||
min="1"
|
||||
max="40"
|
||||
step="1"
|
||||
/>
|
||||
<!-- Add_sales_server Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
@ -698,20 +711,6 @@
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Emptycontributors Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="emptycontributors"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Add_license Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
@ -898,11 +897,11 @@
|
||||
/>
|
||||
<!-- Note_on_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_views" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_VIEWS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_views" close="false" />
|
||||
<!-- Add_php_helper_admin Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_helper_both Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_helper_admin"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_ADMIN_LABEL"
|
||||
name="add_php_helper_both"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_BOTH_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -1523,11 +1522,11 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Add_admin_event Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_helper_admin Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_admin_event"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_ADMIN_EVENT_LABEL"
|
||||
name="add_php_helper_admin"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_ADMIN_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -2086,11 +2085,11 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Add_php_helper_site Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_admin_event Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_helper_site"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_SITE_LABEL"
|
||||
name="add_admin_event"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_ADMIN_EVENT_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -2183,6 +2182,22 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Add_php_helper_site Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_helper_site"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_SITE_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Spacer_hr_c Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_c" hr="true" class="spacer_hr_c" />
|
||||
<!-- Add_site_event Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
@ -2197,8 +2212,8 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Spacer_hr_c Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_c" hr="true" class="spacer_hr_c" />
|
||||
<!-- Note_mysql_tweak_options Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_mysql_tweak_options" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_DESCRIPTION" heading="h4" class="alert alert-info note_mysql_tweak_options" close="false" />
|
||||
<!-- Add_sql Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
@ -2213,22 +2228,6 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Note_mysql_tweak_options Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_mysql_tweak_options" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_DESCRIPTION" heading="h4" class="alert alert-info note_mysql_tweak_options" close="false" />
|
||||
<!-- Add_php_dashboard_methods Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_dashboard_methods"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_DASHBOARD_METHODS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Sql_tweak Field. Type: Repeatable. (joomla) -->
|
||||
<field
|
||||
type="repeatable"
|
||||
@ -2301,6 +2300,22 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Add_php_dashboard_methods Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_dashboard_methods"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_DASHBOARD_METHODS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Spacer_hr_d Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_d" hr="true" class="spacer_hr_d" />
|
||||
<!-- Dashboard_tab Field. Type: Repeatable. (joomla) -->
|
||||
<field
|
||||
type="repeatable"
|
||||
@ -2361,8 +2376,8 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Spacer_hr_d Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_d" hr="true" class="spacer_hr_d" />
|
||||
<!-- Note_add_custom_menus Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_custom_menus" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CUSTOM_MENUS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CUSTOM_MENUS_DESCRIPTION" heading="h4" class="alert alert-info note_add_custom_menus" close="false" />
|
||||
<!-- Php_preflight_install Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -2376,21 +2391,6 @@
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PHP_PREFLIGHT_INSTALL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_add_custom_menus Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_custom_menus" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CUSTOM_MENUS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CUSTOM_MENUS_DESCRIPTION" heading="h4" class="alert alert-info note_add_custom_menus" close="false" />
|
||||
<!-- Php_preflight_update Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_preflight_update"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_PHP_PREFLIGHT_UPDATE_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_PHP_PREFLIGHT_UPDATE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PHP_PREFLIGHT_UPDATE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Addcustommenus Field. Type: Repeatable. (joomla) -->
|
||||
<field
|
||||
type="repeatable"
|
||||
@ -2514,6 +2514,21 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Php_preflight_update Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_preflight_update"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_PHP_PREFLIGHT_UPDATE_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_PHP_PREFLIGHT_UPDATE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PHP_PREFLIGHT_UPDATE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Spacer_hr_e Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_e" hr="true" class="spacer_hr_e" />
|
||||
<!-- Php_postflight_install Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -2527,8 +2542,8 @@
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PHP_POSTFLIGHT_INSTALL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Spacer_hr_e Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_e" hr="true" class="spacer_hr_e" />
|
||||
<!-- Note_add_config Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_config" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CONFIG_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CONFIG_DESCRIPTION" heading="h4" class="alert alert-info note_add_config" close="false" />
|
||||
<!-- Php_postflight_update Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -2542,21 +2557,6 @@
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PHP_POSTFLIGHT_UPDATE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_add_config Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_config" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CONFIG_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CONFIG_DESCRIPTION" heading="h4" class="alert alert-info note_add_config" close="false" />
|
||||
<!-- Php_method_uninstall Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_method_uninstall"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_PHP_METHOD_UNINSTALL_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_PHP_METHOD_UNINSTALL_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PHP_METHOD_UNINSTALL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Addconfig Field. Type: Repeatable. (joomla) -->
|
||||
<field
|
||||
type="repeatable"
|
||||
@ -2616,6 +2616,21 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Php_method_uninstall Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_method_uninstall"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_PHP_METHOD_UNINSTALL_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_PHP_METHOD_UNINSTALL_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_COMPONENT_PHP_METHOD_UNINSTALL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_on_contributors Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_contributors" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_CONTRIBUTORS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_CONTRIBUTORS_DESCRIPTION" heading="h4" class="alert alert-info note_on_contributors" close="false" />
|
||||
<!-- Readme Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
@ -2629,14 +2644,6 @@
|
||||
filter="raw"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_on_contributors Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_contributors" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_CONTRIBUTORS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_CONTRIBUTORS_DESCRIPTION" heading="h4" class="alert alert-info note_on_contributors" close="false" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Addcontributors Field. Type: Repeatable. (joomla) -->
|
||||
<field
|
||||
type="repeatable"
|
||||
@ -2753,6 +2760,26 @@
|
||||
</fieldset>
|
||||
</fields>
|
||||
</field>
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Emptycontributors Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="emptycontributors"
|
||||
label="COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Sales_server_ftp Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.2.3
|
||||
@build 22nd November, 2016
|
||||
@version 2.2.4
|
||||
@build 25th November, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage custom_admin_view.js
|
||||
@ -23,255 +23,255 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvxxvxr_required = false;
|
||||
jform_vvvvvxyvxs_required = false;
|
||||
jform_vvvvvxzvxt_required = false;
|
||||
jform_vvvvvyavxu_required = false;
|
||||
jform_vvvvvybvxv_required = false;
|
||||
jform_vvvvvycvxw_required = false;
|
||||
jform_vvvvvydvxx_required = false;
|
||||
jform_vvvvvydvxy_required = false;
|
||||
jform_vvvvvyevxy_required = false;
|
||||
jform_vvvvvyevxz_required = false;
|
||||
jform_vvvvvyfvya_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvxx = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvxx(add_php_view_vvvvvxx);
|
||||
var add_php_view_vvvvvxy = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvxy(add_php_view_vvvvvxy);
|
||||
|
||||
var add_php_jview_display_vvvvvxy = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvxy(add_php_jview_display_vvvvvxy);
|
||||
var add_php_jview_display_vvvvvxz = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvxz(add_php_jview_display_vvvvvxz);
|
||||
|
||||
var add_php_jview_vvvvvxz = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvxz(add_php_jview_vvvvvxz);
|
||||
var add_php_jview_vvvvvya = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvya(add_php_jview_vvvvvya);
|
||||
|
||||
var add_php_document_vvvvvya = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvya(add_php_document_vvvvvya);
|
||||
var add_php_document_vvvvvyb = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyb(add_php_document_vvvvvyb);
|
||||
|
||||
var add_css_document_vvvvvyb = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyb(add_css_document_vvvvvyb);
|
||||
var add_css_document_vvvvvyc = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyc(add_css_document_vvvvvyc);
|
||||
|
||||
var add_js_document_vvvvvyc = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyc(add_js_document_vvvvvyc);
|
||||
var add_js_document_vvvvvyd = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyd(add_js_document_vvvvvyd);
|
||||
|
||||
var add_custom_button_vvvvvyd = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyd(add_custom_button_vvvvvyd);
|
||||
var add_custom_button_vvvvvye = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvye(add_custom_button_vvvvvye);
|
||||
|
||||
var add_css_vvvvvye = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvye(add_css_vvvvvye);
|
||||
var add_css_vvvvvyf = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvyf(add_css_vvvvvyf);
|
||||
});
|
||||
|
||||
// the vvvvvxx function
|
||||
function vvvvvxx(add_php_view_vvvvvxx)
|
||||
// the vvvvvxy function
|
||||
function vvvvvxy(add_php_view_vvvvvxy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvxx == 1)
|
||||
if (add_php_view_vvvvvxy == 1)
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').show();
|
||||
if (jform_vvvvvxxvxr_required)
|
||||
if (jform_vvvvvxyvxs_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_vvvvvxxvxr_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvxxvxr_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_vvvvvxxvxr_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxy function
|
||||
function vvvvvxy(add_php_jview_display_vvvvvxy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvvxy == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').show();
|
||||
if (jform_vvvvvxyvxs_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_vvvvvxyvxs_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').hide();
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvxyvxs_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_vvvvvxyvxs_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxz function
|
||||
function vvvvvxz(add_php_jview_vvvvvxz)
|
||||
function vvvvvxz(add_php_jview_display_vvvvvxz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvvxz == 1)
|
||||
if (add_php_jview_display_vvvvvxz == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').show();
|
||||
if (jform_vvvvvxzvxt_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_vvvvvxzvxt_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').hide();
|
||||
if (!jform_vvvvvxzvxt_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_vvvvvxzvxt_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvya function
|
||||
function vvvvvya(add_php_document_vvvvvya)
|
||||
function vvvvvya(add_php_jview_vvvvvya)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvya == 1)
|
||||
if (add_php_jview_vvvvvya == 1)
|
||||
{
|
||||
jQuery('#jform_php_document').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview').closest('.control-group').show();
|
||||
if (jform_vvvvvyavxu_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_vvvvvyavxu_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_document').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyavxu_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_vvvvvyavxu_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyb function
|
||||
function vvvvvyb(add_css_document_vvvvvyb)
|
||||
function vvvvvyb(add_php_document_vvvvvyb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvvyb == 1)
|
||||
if (add_php_document_vvvvvyb == 1)
|
||||
{
|
||||
jQuery('#jform_css_document').closest('.control-group').show();
|
||||
jQuery('#jform_php_document').closest('.control-group').show();
|
||||
if (jform_vvvvvybvxv_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_vvvvvybvxv_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_document').closest('.control-group').hide();
|
||||
jQuery('#jform_php_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvybvxv_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_vvvvvybvxv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyc function
|
||||
function vvvvvyc(add_js_document_vvvvvyc)
|
||||
function vvvvvyc(add_css_document_vvvvvyc)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvvyc == 1)
|
||||
if (add_css_document_vvvvvyc == 1)
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').show();
|
||||
jQuery('#jform_css_document').closest('.control-group').show();
|
||||
if (jform_vvvvvycvxw_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_vvvvvycvxw_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').hide();
|
||||
jQuery('#jform_css_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvycvxw_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_vvvvvycvxw_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyd function
|
||||
function vvvvvyd(add_custom_button_vvvvvyd)
|
||||
function vvvvvyd(add_js_document_vvvvvyd)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvyd == 1)
|
||||
if (add_js_document_vvvvvyd == 1)
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').show();
|
||||
if (jform_vvvvvydvxx_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_vvvvvydvxx_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvydvxx_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_vvvvvydvxx_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvye function
|
||||
function vvvvvye(add_custom_button_vvvvvye)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvye == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller').closest('.control-group').show();
|
||||
if (jform_vvvvvydvxx_required)
|
||||
if (jform_vvvvvyevxy_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_vvvvvydvxx_required = false;
|
||||
jform_vvvvvyevxy_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_php_model').closest('.control-group').show();
|
||||
if (jform_vvvvvydvxy_required)
|
||||
if (jform_vvvvvyevxz_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_vvvvvydvxy_required = false;
|
||||
jform_vvvvvyevxz_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -279,53 +279,53 @@ function vvvvvyd(add_custom_button_vvvvvyd)
|
||||
{
|
||||
jQuery('#jform_custom_button').closest('.control-group').hide();
|
||||
jQuery('#jform_php_controller').closest('.control-group').hide();
|
||||
if (!jform_vvvvvydvxx_required)
|
||||
if (!jform_vvvvvyevxy_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_vvvvvydvxx_required = true;
|
||||
jform_vvvvvyevxy_required = true;
|
||||
}
|
||||
jQuery('#jform_php_model').closest('.control-group').hide();
|
||||
if (!jform_vvvvvydvxy_required)
|
||||
if (!jform_vvvvvyevxz_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_vvvvvydvxy_required = true;
|
||||
jform_vvvvvyevxz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvye function
|
||||
function vvvvvye(add_css_vvvvvye)
|
||||
// the vvvvvyf function
|
||||
function vvvvvyf(add_css_vvvvvyf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvvye == 1)
|
||||
if (add_css_vvvvvyf == 1)
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').show();
|
||||
if (jform_vvvvvyevxz_required)
|
||||
if (jform_vvvvvyfvya_required)
|
||||
{
|
||||
updateFieldRequired('css',0);
|
||||
jQuery('#jform_css').prop('required','required');
|
||||
jQuery('#jform_css').attr('aria-required',true);
|
||||
jQuery('#jform_css').addClass('required');
|
||||
jform_vvvvvyevxz_required = false;
|
||||
jform_vvvvvyfvya_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyevxz_required)
|
||||
if (!jform_vvvvvyfvya_required)
|
||||
{
|
||||
updateFieldRequired('css',1);
|
||||
jQuery('#jform_css').removeAttr('required');
|
||||
jQuery('#jform_css').removeAttr('aria-required');
|
||||
jQuery('#jform_css').removeClass('required');
|
||||
jform_vvvvvyevxz_required = true;
|
||||
jform_vvvvvyfvya_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.2.3
|
||||
@build 22nd November, 2016
|
||||
@version 2.2.4
|
||||
@build 25th November, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage field.js
|
||||
@ -23,151 +23,96 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvzmvze_required = false;
|
||||
jform_vvvvvznvzf_required = false;
|
||||
jform_vvvvvzovzg_required = false;
|
||||
jform_vvvvvzpvzh_required = false;
|
||||
jform_vvvvvzsvzi_required = false;
|
||||
jform_vvvvvzqvzi_required = false;
|
||||
jform_vvvvvztvzj_required = false;
|
||||
jform_vvvvvzuvzk_required = false;
|
||||
jform_vvvvvzvvzl_required = false;
|
||||
jform_vvvvvzwvzm_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var datalenght_vvvvvzm = jQuery("#jform_datalenght").val();
|
||||
vvvvvzm(datalenght_vvvvvzm);
|
||||
var datalenght_vvvvvzn = jQuery("#jform_datalenght").val();
|
||||
vvvvvzn(datalenght_vvvvvzn);
|
||||
|
||||
var datadefault_vvvvvzn = jQuery("#jform_datadefault").val();
|
||||
vvvvvzn(datadefault_vvvvvzn);
|
||||
|
||||
var datatype_vvvvvzo = jQuery("#jform_datatype").val();
|
||||
vvvvvzo(datatype_vvvvvzo);
|
||||
var datadefault_vvvvvzo = jQuery("#jform_datadefault").val();
|
||||
vvvvvzo(datadefault_vvvvvzo);
|
||||
|
||||
var datatype_vvvvvzp = jQuery("#jform_datatype").val();
|
||||
vvvvvzp(datatype_vvvvvzp);
|
||||
|
||||
var store_vvvvvzq = jQuery("#jform_store").val();
|
||||
var datatype_vvvvvzq = jQuery("#jform_datatype").val();
|
||||
vvvvvzq(store_vvvvvzq,datatype_vvvvvzq);
|
||||
vvvvvzq(datatype_vvvvvzq);
|
||||
|
||||
var add_css_view_vvvvvzs = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvzs(add_css_view_vvvvvzs);
|
||||
var store_vvvvvzr = jQuery("#jform_store").val();
|
||||
var datatype_vvvvvzr = jQuery("#jform_datatype").val();
|
||||
vvvvvzr(store_vvvvvzr,datatype_vvvvvzr);
|
||||
|
||||
var add_css_views_vvvvvzt = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvzt(add_css_views_vvvvvzt);
|
||||
var add_css_view_vvvvvzt = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvzt(add_css_view_vvvvvzt);
|
||||
|
||||
var add_javascript_view_footer_vvvvvzu = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvzu(add_javascript_view_footer_vvvvvzu);
|
||||
var add_css_views_vvvvvzu = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvzu(add_css_views_vvvvvzu);
|
||||
|
||||
var add_javascript_views_footer_vvvvvzv = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvzv(add_javascript_views_footer_vvvvvzv);
|
||||
var add_javascript_view_footer_vvvvvzv = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvzv(add_javascript_view_footer_vvvvvzv);
|
||||
|
||||
var add_javascript_views_footer_vvvvvzw = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvzw(add_javascript_views_footer_vvvvvzw);
|
||||
});
|
||||
|
||||
// the vvvvvzm function
|
||||
function vvvvvzm(datalenght_vvvvvzm)
|
||||
// the vvvvvzn function
|
||||
function vvvvvzn(datalenght_vvvvvzn)
|
||||
{
|
||||
if (isSet(datalenght_vvvvvzm) && datalenght_vvvvvzm.constructor !== Array)
|
||||
if (isSet(datalenght_vvvvvzn) && datalenght_vvvvvzn.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvzm = datalenght_vvvvvzm;
|
||||
var datalenght_vvvvvzm = [];
|
||||
datalenght_vvvvvzm.push(temp_vvvvvzm);
|
||||
var temp_vvvvvzn = datalenght_vvvvvzn;
|
||||
var datalenght_vvvvvzn = [];
|
||||
datalenght_vvvvvzn.push(temp_vvvvvzn);
|
||||
}
|
||||
else if (!isSet(datalenght_vvvvvzm))
|
||||
else if (!isSet(datalenght_vvvvvzn))
|
||||
{
|
||||
var datalenght_vvvvvzm = [];
|
||||
var datalenght_vvvvvzn = [];
|
||||
}
|
||||
var datalenght = datalenght_vvvvvzm.some(datalenght_vvvvvzm_SomeFunc);
|
||||
var datalenght = datalenght_vvvvvzn.some(datalenght_vvvvvzn_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datalenght)
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').show();
|
||||
if (jform_vvvvvzmvze_required)
|
||||
if (jform_vvvvvznvzf_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_vvvvvzmvze_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzmvze_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_vvvvvzmvze_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzm Some function
|
||||
function datalenght_vvvvvzm_SomeFunc(datalenght_vvvvvzm)
|
||||
{
|
||||
// set the function logic
|
||||
if (datalenght_vvvvvzm == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvzn function
|
||||
function vvvvvzn(datadefault_vvvvvzn)
|
||||
{
|
||||
if (isSet(datadefault_vvvvvzn) && datadefault_vvvvvzn.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvzn = datadefault_vvvvvzn;
|
||||
var datadefault_vvvvvzn = [];
|
||||
datadefault_vvvvvzn.push(temp_vvvvvzn);
|
||||
}
|
||||
else if (!isSet(datadefault_vvvvvzn))
|
||||
{
|
||||
var datadefault_vvvvvzn = [];
|
||||
}
|
||||
var datadefault = datadefault_vvvvvzn.some(datadefault_vvvvvzn_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datadefault)
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
if (jform_vvvvvznvzf_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_vvvvvznvzf_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
if (!jform_vvvvvznvzf_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_vvvvvznvzf_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzn Some function
|
||||
function datadefault_vvvvvzn_SomeFunc(datadefault_vvvvvzn)
|
||||
function datalenght_vvvvvzn_SomeFunc(datalenght_vvvvvzn)
|
||||
{
|
||||
// set the function logic
|
||||
if (datadefault_vvvvvzn == 'Other')
|
||||
if (datalenght_vvvvvzn == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -175,58 +120,54 @@ function datadefault_vvvvvzn_SomeFunc(datadefault_vvvvvzn)
|
||||
}
|
||||
|
||||
// the vvvvvzo function
|
||||
function vvvvvzo(datatype_vvvvvzo)
|
||||
function vvvvvzo(datadefault_vvvvvzo)
|
||||
{
|
||||
if (isSet(datatype_vvvvvzo) && datatype_vvvvvzo.constructor !== Array)
|
||||
if (isSet(datadefault_vvvvvzo) && datadefault_vvvvvzo.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvzo = datatype_vvvvvzo;
|
||||
var datatype_vvvvvzo = [];
|
||||
datatype_vvvvvzo.push(temp_vvvvvzo);
|
||||
var temp_vvvvvzo = datadefault_vvvvvzo;
|
||||
var datadefault_vvvvvzo = [];
|
||||
datadefault_vvvvvzo.push(temp_vvvvvzo);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvvzo))
|
||||
else if (!isSet(datadefault_vvvvvzo))
|
||||
{
|
||||
var datatype_vvvvvzo = [];
|
||||
var datadefault_vvvvvzo = [];
|
||||
}
|
||||
var datatype = datatype_vvvvvzo.some(datatype_vvvvvzo_SomeFunc);
|
||||
var datadefault = datadefault_vvvvvzo.some(datadefault_vvvvvzo_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datatype)
|
||||
if (datadefault)
|
||||
{
|
||||
jQuery('#jform_datadefault').closest('.control-group').show();
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
if (jform_vvvvvzovzg_required)
|
||||
{
|
||||
updateFieldRequired('indexes',0);
|
||||
jQuery('#jform_indexes').prop('required','required');
|
||||
jQuery('#jform_indexes').attr('aria-required',true);
|
||||
jQuery('#jform_indexes').addClass('required');
|
||||
updateFieldRequired('datadefault_other',0);
|
||||
jQuery('#jform_datadefault_other').prop('required','required');
|
||||
jQuery('#jform_datadefault_other').attr('aria-required',true);
|
||||
jQuery('#jform_datadefault_other').addClass('required');
|
||||
jform_vvvvvzovzg_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault').closest('.control-group').hide();
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzovzg_required)
|
||||
{
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('required');
|
||||
updateFieldRequired('datadefault_other',1);
|
||||
jQuery('#jform_datadefault_other').removeAttr('required');
|
||||
jQuery('#jform_datadefault_other').removeAttr('aria-required');
|
||||
jQuery('#jform_datadefault_other').removeClass('required');
|
||||
jform_vvvvvzovzg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzo Some function
|
||||
function datatype_vvvvvzo_SomeFunc(datatype_vvvvvzo)
|
||||
function datadefault_vvvvvzo_SomeFunc(datadefault_vvvvvzo)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvvzo == 'CHAR' || datatype_vvvvvzo == 'VARCHAR' || datatype_vvvvvzo == 'DATETIME' || datatype_vvvvvzo == 'DATE' || datatype_vvvvvzo == 'TIME' || datatype_vvvvvzo == 'INT' || datatype_vvvvvzo == 'TINYINT' || datatype_vvvvvzo == 'BIGINT' || datatype_vvvvvzo == 'FLOAT' || datatype_vvvvvzo == 'DECIMAL' || datatype_vvvvvzo == 'DOUBLE')
|
||||
if (datadefault_vvvvvzo == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -252,26 +193,30 @@ function vvvvvzp(datatype_vvvvvzp)
|
||||
// set this function logic
|
||||
if (datatype)
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').show();
|
||||
jQuery('#jform_datadefault').closest('.control-group').show();
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
if (jform_vvvvvzpvzh_required)
|
||||
{
|
||||
updateFieldRequired('store',0);
|
||||
jQuery('#jform_store').prop('required','required');
|
||||
jQuery('#jform_store').attr('aria-required',true);
|
||||
jQuery('#jform_store').addClass('required');
|
||||
updateFieldRequired('indexes',0);
|
||||
jQuery('#jform_indexes').prop('required','required');
|
||||
jQuery('#jform_indexes').attr('aria-required',true);
|
||||
jQuery('#jform_indexes').addClass('required');
|
||||
jform_vvvvvzpvzh_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').hide();
|
||||
jQuery('#jform_datadefault').closest('.control-group').hide();
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzpvzh_required)
|
||||
{
|
||||
updateFieldRequired('store',1);
|
||||
jQuery('#jform_store').removeAttr('required');
|
||||
jQuery('#jform_store').removeAttr('aria-required');
|
||||
jQuery('#jform_store').removeClass('required');
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('required');
|
||||
jform_vvvvvzpvzh_required = true;
|
||||
}
|
||||
}
|
||||
@ -281,7 +226,7 @@ function vvvvvzp(datatype_vvvvvzp)
|
||||
function datatype_vvvvvzp_SomeFunc(datatype_vvvvvzp)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvvzp == 'CHAR' || datatype_vvvvvzp == 'VARCHAR' || datatype_vvvvvzp == 'TEXT' || datatype_vvvvvzp == 'MEDIUMTEXT' || datatype_vvvvvzp == 'LONGTEXT')
|
||||
if (datatype_vvvvvzp == 'CHAR' || datatype_vvvvvzp == 'VARCHAR' || datatype_vvvvvzp == 'DATETIME' || datatype_vvvvvzp == 'DATE' || datatype_vvvvvzp == 'TIME' || datatype_vvvvvzp == 'INT' || datatype_vvvvvzp == 'TINYINT' || datatype_vvvvvzp == 'BIGINT' || datatype_vvvvvzp == 'FLOAT' || datatype_vvvvvzp == 'DECIMAL' || datatype_vvvvvzp == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -289,20 +234,8 @@ function datatype_vvvvvzp_SomeFunc(datatype_vvvvvzp)
|
||||
}
|
||||
|
||||
// the vvvvvzq function
|
||||
function vvvvvzq(store_vvvvvzq,datatype_vvvvvzq)
|
||||
function vvvvvzq(datatype_vvvvvzq)
|
||||
{
|
||||
if (isSet(store_vvvvvzq) && store_vvvvvzq.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvzq = store_vvvvvzq;
|
||||
var store_vvvvvzq = [];
|
||||
store_vvvvvzq.push(temp_vvvvvzq);
|
||||
}
|
||||
else if (!isSet(store_vvvvvzq))
|
||||
{
|
||||
var store_vvvvvzq = [];
|
||||
}
|
||||
var store = store_vvvvvzq.some(store_vvvvvzq_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvvzq) && datatype_vvvvvzq.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvzq = datatype_vvvvvzq;
|
||||
@ -317,27 +250,33 @@ function vvvvvzq(store_vvvvvzq,datatype_vvvvvzq)
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (store && datatype)
|
||||
if (datatype)
|
||||
{
|
||||
jQuery('.note_vdm_encryption').closest('.control-group').show();
|
||||
jQuery('#jform_store').closest('.control-group').show();
|
||||
if (jform_vvvvvzqvzi_required)
|
||||
{
|
||||
updateFieldRequired('store',0);
|
||||
jQuery('#jform_store').prop('required','required');
|
||||
jQuery('#jform_store').attr('aria-required',true);
|
||||
jQuery('#jform_store').addClass('required');
|
||||
jform_vvvvvzqvzi_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_vdm_encryption').closest('.control-group').hide();
|
||||
jQuery('#jform_store').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzqvzi_required)
|
||||
{
|
||||
updateFieldRequired('store',1);
|
||||
jQuery('#jform_store').removeAttr('required');
|
||||
jQuery('#jform_store').removeAttr('aria-required');
|
||||
jQuery('#jform_store').removeClass('required');
|
||||
jform_vvvvvzqvzi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzq Some function
|
||||
function store_vvvvvzq_SomeFunc(store_vvvvvzq)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvvzq == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvzq Some function
|
||||
function datatype_vvvvvzq_SomeFunc(datatype_vvvvvzq)
|
||||
{
|
||||
@ -349,126 +288,187 @@ function datatype_vvvvvzq_SomeFunc(datatype_vvvvvzq)
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvzs function
|
||||
function vvvvvzs(add_css_view_vvvvvzs)
|
||||
// the vvvvvzr function
|
||||
function vvvvvzr(store_vvvvvzr,datatype_vvvvvzr)
|
||||
{
|
||||
if (isSet(store_vvvvvzr) && store_vvvvvzr.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvzr = store_vvvvvzr;
|
||||
var store_vvvvvzr = [];
|
||||
store_vvvvvzr.push(temp_vvvvvzr);
|
||||
}
|
||||
else if (!isSet(store_vvvvvzr))
|
||||
{
|
||||
var store_vvvvvzr = [];
|
||||
}
|
||||
var store = store_vvvvvzr.some(store_vvvvvzr_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvvzr) && datatype_vvvvvzr.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvzr = datatype_vvvvvzr;
|
||||
var datatype_vvvvvzr = [];
|
||||
datatype_vvvvvzr.push(temp_vvvvvzr);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvvzr))
|
||||
{
|
||||
var datatype_vvvvvzr = [];
|
||||
}
|
||||
var datatype = datatype_vvvvvzr.some(datatype_vvvvvzr_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (store && datatype)
|
||||
{
|
||||
jQuery('.note_vdm_encryption').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_vdm_encryption').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzr Some function
|
||||
function store_vvvvvzr_SomeFunc(store_vvvvvzr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvvzs == 1)
|
||||
if (store_vvvvvzr == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvzr Some function
|
||||
function datatype_vvvvvzr_SomeFunc(datatype_vvvvvzr)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvvzr == 'CHAR' || datatype_vvvvvzr == 'VARCHAR' || datatype_vvvvvzr == 'TEXT' || datatype_vvvvvzr == 'MEDIUMTEXT' || datatype_vvvvvzr == 'LONGTEXT')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvzt function
|
||||
function vvvvvzt(add_css_view_vvvvvzt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvvzt == 1)
|
||||
{
|
||||
jQuery('#jform_css_view').closest('.control-group').show();
|
||||
if (jform_vvvvvzsvzi_required)
|
||||
if (jform_vvvvvztvzj_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_vvvvvzsvzi_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzsvzi_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_vvvvvzsvzi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzt function
|
||||
function vvvvvzt(add_css_views_vvvvvzt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvvzt == 1)
|
||||
{
|
||||
jQuery('#jform_css_views').closest('.control-group').show();
|
||||
if (jform_vvvvvztvzj_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_vvvvvztvzj_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_views').closest('.control-group').hide();
|
||||
jQuery('#jform_css_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvztvzj_required)
|
||||
{
|
||||
updateFieldRequired('css_views',1);
|
||||
jQuery('#jform_css_views').removeAttr('required');
|
||||
jQuery('#jform_css_views').removeAttr('aria-required');
|
||||
jQuery('#jform_css_views').removeClass('required');
|
||||
updateFieldRequired('css_view',1);
|
||||
jQuery('#jform_css_view').removeAttr('required');
|
||||
jQuery('#jform_css_view').removeAttr('aria-required');
|
||||
jQuery('#jform_css_view').removeClass('required');
|
||||
jform_vvvvvztvzj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzu function
|
||||
function vvvvvzu(add_javascript_view_footer_vvvvvzu)
|
||||
function vvvvvzu(add_css_views_vvvvvzu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvvzu == 1)
|
||||
if (add_css_views_vvvvvzu == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer').closest('.control-group').show();
|
||||
jQuery('#jform_css_views').closest('.control-group').show();
|
||||
if (jform_vvvvvzuvzk_required)
|
||||
{
|
||||
updateFieldRequired('javascript_view_footer',0);
|
||||
jQuery('#jform_javascript_view_footer').prop('required','required');
|
||||
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_view_footer').addClass('required');
|
||||
updateFieldRequired('css_views',0);
|
||||
jQuery('#jform_css_views').prop('required','required');
|
||||
jQuery('#jform_css_views').attr('aria-required',true);
|
||||
jQuery('#jform_css_views').addClass('required');
|
||||
jform_vvvvvzuvzk_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
|
||||
jQuery('#jform_css_views').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzuvzk_required)
|
||||
{
|
||||
updateFieldRequired('javascript_view_footer',1);
|
||||
jQuery('#jform_javascript_view_footer').removeAttr('required');
|
||||
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_view_footer').removeClass('required');
|
||||
updateFieldRequired('css_views',1);
|
||||
jQuery('#jform_css_views').removeAttr('required');
|
||||
jQuery('#jform_css_views').removeAttr('aria-required');
|
||||
jQuery('#jform_css_views').removeClass('required');
|
||||
jform_vvvvvzuvzk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzv function
|
||||
function vvvvvzv(add_javascript_views_footer_vvvvvzv)
|
||||
function vvvvvzv(add_javascript_view_footer_vvvvvzv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvvzv == 1)
|
||||
if (add_javascript_view_footer_vvvvvzv == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
|
||||
jQuery('#jform_javascript_view_footer').closest('.control-group').show();
|
||||
if (jform_vvvvvzvvzl_required)
|
||||
{
|
||||
updateFieldRequired('javascript_views_footer',0);
|
||||
jQuery('#jform_javascript_views_footer').prop('required','required');
|
||||
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_views_footer').addClass('required');
|
||||
updateFieldRequired('javascript_view_footer',0);
|
||||
jQuery('#jform_javascript_view_footer').prop('required','required');
|
||||
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_view_footer').addClass('required');
|
||||
jform_vvvvvzvvzl_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
|
||||
jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzvvzl_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_vvvvvzvvzl_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzw function
|
||||
function vvvvvzw(add_javascript_views_footer_vvvvvzw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvvzw == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
|
||||
if (jform_vvvvvzwvzm_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_vvvvvzwvzm_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzwvzm_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_vvvvvzvvzl_required = true;
|
||||
jform_vvvvvzwvzm_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.2.3
|
||||
@build 22nd November, 2016
|
||||
@version 2.2.4
|
||||
@build 25th November, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fieldtype.js
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.2.3
|
||||
@build 22nd November, 2016
|
||||
@version 2.2.4
|
||||
@build 25th November, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage help_document.js
|
||||
@ -23,24 +23,21 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvzwvzn_required = false;
|
||||
jform_vvvvvzxvzo_required = false;
|
||||
jform_vvvvvzyvzp_required = false;
|
||||
jform_vvvvvzzvzq_required = false;
|
||||
jform_vvvvwaavzr_required = false;
|
||||
jform_vvvvwabvzs_required = false;
|
||||
jform_vvvvwacvzt_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var location_vvvvvzw = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvvzw(location_vvvvvzw);
|
||||
|
||||
var location_vvvvvzx = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvvzx(location_vvvvvzx);
|
||||
|
||||
var type_vvvvvzy = jQuery("#jform_type").val();
|
||||
vvvvvzy(type_vvvvvzy);
|
||||
var location_vvvvvzy = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvvzy(location_vvvvvzy);
|
||||
|
||||
var type_vvvvvzz = jQuery("#jform_type").val();
|
||||
vvvvvzz(type_vvvvvzz);
|
||||
@ -48,127 +45,75 @@ jQuery(document).ready(function()
|
||||
var type_vvvvwaa = jQuery("#jform_type").val();
|
||||
vvvvwaa(type_vvvvwaa);
|
||||
|
||||
var target_vvvvwab = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwab(target_vvvvwab);
|
||||
var type_vvvvwab = jQuery("#jform_type").val();
|
||||
vvvvwab(type_vvvvwab);
|
||||
|
||||
var target_vvvvwac = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwac(target_vvvvwac);
|
||||
});
|
||||
|
||||
// the vvvvvzw function
|
||||
function vvvvvzw(location_vvvvvzw)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvvzw == 1)
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
if (jform_vvvvvzwvzn_required)
|
||||
{
|
||||
updateFieldRequired('admin_view',0);
|
||||
jQuery('#jform_admin_view').prop('required','required');
|
||||
jQuery('#jform_admin_view').attr('aria-required',true);
|
||||
jQuery('#jform_admin_view').addClass('required');
|
||||
jform_vvvvvzwvzn_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzwvzn_required)
|
||||
{
|
||||
updateFieldRequired('admin_view',1);
|
||||
jQuery('#jform_admin_view').removeAttr('required');
|
||||
jQuery('#jform_admin_view').removeAttr('aria-required');
|
||||
jQuery('#jform_admin_view').removeClass('required');
|
||||
jform_vvvvvzwvzn_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzx function
|
||||
function vvvvvzx(location_vvvvvzx)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvvzx == 2)
|
||||
if (location_vvvvvzx == 1)
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
if (jform_vvvvvzxvzo_required)
|
||||
{
|
||||
updateFieldRequired('site_view',0);
|
||||
jQuery('#jform_site_view').prop('required','required');
|
||||
jQuery('#jform_site_view').attr('aria-required',true);
|
||||
jQuery('#jform_site_view').addClass('required');
|
||||
updateFieldRequired('admin_view',0);
|
||||
jQuery('#jform_admin_view').prop('required','required');
|
||||
jQuery('#jform_admin_view').attr('aria-required',true);
|
||||
jQuery('#jform_admin_view').addClass('required');
|
||||
jform_vvvvvzxvzo_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzxvzo_required)
|
||||
{
|
||||
updateFieldRequired('site_view',1);
|
||||
jQuery('#jform_site_view').removeAttr('required');
|
||||
jQuery('#jform_site_view').removeAttr('aria-required');
|
||||
jQuery('#jform_site_view').removeClass('required');
|
||||
updateFieldRequired('admin_view',1);
|
||||
jQuery('#jform_admin_view').removeAttr('required');
|
||||
jQuery('#jform_admin_view').removeAttr('aria-required');
|
||||
jQuery('#jform_admin_view').removeClass('required');
|
||||
jform_vvvvvzxvzo_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzy function
|
||||
function vvvvvzy(type_vvvvvzy)
|
||||
function vvvvvzy(location_vvvvvzy)
|
||||
{
|
||||
if (isSet(type_vvvvvzy) && type_vvvvvzy.constructor !== Array)
|
||||
// set the function logic
|
||||
if (location_vvvvvzy == 2)
|
||||
{
|
||||
var temp_vvvvvzy = type_vvvvvzy;
|
||||
var type_vvvvvzy = [];
|
||||
type_vvvvvzy.push(temp_vvvvvzy);
|
||||
}
|
||||
else if (!isSet(type_vvvvvzy))
|
||||
{
|
||||
var type_vvvvvzy = [];
|
||||
}
|
||||
var type = type_vvvvvzy.some(type_vvvvvzy_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
if (jform_vvvvvzyvzp_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
updateFieldRequired('site_view',0);
|
||||
jQuery('#jform_site_view').prop('required','required');
|
||||
jQuery('#jform_site_view').attr('aria-required',true);
|
||||
jQuery('#jform_site_view').addClass('required');
|
||||
jform_vvvvvzyvzp_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzyvzp_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
updateFieldRequired('site_view',1);
|
||||
jQuery('#jform_site_view').removeAttr('required');
|
||||
jQuery('#jform_site_view').removeAttr('aria-required');
|
||||
jQuery('#jform_site_view').removeClass('required');
|
||||
jform_vvvvvzyvzp_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzy Some function
|
||||
function type_vvvvvzy_SomeFunc(type_vvvvvzy)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvvzy == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvzz function
|
||||
function vvvvvzz(type_vvvvvzz)
|
||||
{
|
||||
@ -188,26 +133,26 @@ function vvvvvzz(type_vvvvvzz)
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
if (jform_vvvvvzzvzq_required)
|
||||
{
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_vvvvvzzvzq_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzzvzq_required)
|
||||
{
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_vvvvvzzvzq_required = true;
|
||||
}
|
||||
}
|
||||
@ -217,7 +162,7 @@ function vvvvvzz(type_vvvvvzz)
|
||||
function type_vvvvvzz_SomeFunc(type_vvvvvzz)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvvzz == 1)
|
||||
if (type_vvvvvzz == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -243,26 +188,26 @@ function vvvvwaa(type_vvvvwaa)
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
if (jform_vvvvwaavzr_required)
|
||||
{
|
||||
updateFieldRequired('content',0);
|
||||
jQuery('#jform_content').prop('required','required');
|
||||
jQuery('#jform_content').attr('aria-required',true);
|
||||
jQuery('#jform_content').addClass('required');
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
jform_vvvvwaavzr_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaavzr_required)
|
||||
{
|
||||
updateFieldRequired('content',1);
|
||||
jQuery('#jform_content').removeAttr('required');
|
||||
jQuery('#jform_content').removeAttr('aria-required');
|
||||
jQuery('#jform_content').removeClass('required');
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
jform_vvvvwaavzr_required = true;
|
||||
}
|
||||
}
|
||||
@ -272,7 +217,7 @@ function vvvvwaa(type_vvvvwaa)
|
||||
function type_vvvvwaa_SomeFunc(type_vvvvwaa)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwaa == 2)
|
||||
if (type_vvvvwaa == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -280,32 +225,87 @@ function type_vvvvwaa_SomeFunc(type_vvvvwaa)
|
||||
}
|
||||
|
||||
// the vvvvwab function
|
||||
function vvvvwab(target_vvvvwab)
|
||||
function vvvvwab(type_vvvvwab)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwab == 1)
|
||||
if (isSet(type_vvvvwab) && type_vvvvwab.constructor !== Array)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
var temp_vvvvwab = type_vvvvwab;
|
||||
var type_vvvvwab = [];
|
||||
type_vvvvwab.push(temp_vvvvwab);
|
||||
}
|
||||
else if (!isSet(type_vvvvwab))
|
||||
{
|
||||
var type_vvvvwab = [];
|
||||
}
|
||||
var type = type_vvvvwab.some(type_vvvvwab_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvwabvzs_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
updateFieldRequired('content',0);
|
||||
jQuery('#jform_content').prop('required','required');
|
||||
jQuery('#jform_content').attr('aria-required',true);
|
||||
jQuery('#jform_content').addClass('required');
|
||||
jform_vvvvwabvzs_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvwabvzs_required)
|
||||
{
|
||||
updateFieldRequired('content',1);
|
||||
jQuery('#jform_content').removeAttr('required');
|
||||
jQuery('#jform_content').removeAttr('aria-required');
|
||||
jQuery('#jform_content').removeClass('required');
|
||||
jform_vvvvwabvzs_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwab Some function
|
||||
function type_vvvvwab_SomeFunc(type_vvvvwab)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwab == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwac function
|
||||
function vvvvwac(target_vvvvwac)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwac == 1)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
if (jform_vvvvwacvzt_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
jform_vvvvwacvzt_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
if (!jform_vvvvwacvzt_required)
|
||||
{
|
||||
updateFieldRequired('groups',1);
|
||||
jQuery('#jform_groups').removeAttr('required');
|
||||
jQuery('#jform_groups').removeAttr('aria-required');
|
||||
jQuery('#jform_groups').removeClass('required');
|
||||
jform_vvvvwabvzs_required = true;
|
||||
jform_vvvvwacvzt_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.2.3
|
||||
@build 22nd November, 2016
|
||||
@version 2.2.4
|
||||
@build 25th November, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage layout.js
|
||||
@ -23,42 +23,42 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvypvyl_required = false;
|
||||
jform_vvvvvyqvym_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvyp = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_view_vvvvvyp);
|
||||
var add_php_view_vvvvvyq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_view_vvvvvyq);
|
||||
});
|
||||
|
||||
// the vvvvvyp function
|
||||
function vvvvvyp(add_php_view_vvvvvyp)
|
||||
// the vvvvvyq function
|
||||
function vvvvvyq(add_php_view_vvvvvyq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvyp == 1)
|
||||
if (add_php_view_vvvvvyq == 1)
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').show();
|
||||
if (jform_vvvvvypvyl_required)
|
||||
if (jform_vvvvvyqvym_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_vvvvvypvyl_required = false;
|
||||
jform_vvvvvyqvym_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvypvyl_required)
|
||||
if (!jform_vvvvvyqvym_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_vvvvvypvyl_required = true;
|
||||
jform_vvvvvyqvym_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.2.3
|
||||
@build 22nd November, 2016
|
||||
@version 2.2.4
|
||||
@build 25th November, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage site_view.js
|
||||
@ -23,7 +23,6 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvyfvya_required = false;
|
||||
jform_vvvvvygvyb_required = false;
|
||||
jform_vvvvvyhvyc_required = false;
|
||||
jform_vvvvvyivyd_required = false;
|
||||
@ -32,271 +31,272 @@ jform_vvvvvykvyf_required = false;
|
||||
jform_vvvvvylvyg_required = false;
|
||||
jform_vvvvvymvyh_required = false;
|
||||
jform_vvvvvynvyi_required = false;
|
||||
jform_vvvvvynvyj_required = false;
|
||||
jform_vvvvvyovyj_required = false;
|
||||
jform_vvvvvyovyk_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvyf = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_view_vvvvvyf);
|
||||
var add_php_view_vvvvvyg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyg(add_php_view_vvvvvyg);
|
||||
|
||||
var add_php_jview_display_vvvvvyg = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyg(add_php_jview_display_vvvvvyg);
|
||||
var add_php_jview_display_vvvvvyh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyh(add_php_jview_display_vvvvvyh);
|
||||
|
||||
var add_php_jview_vvvvvyh = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyh(add_php_jview_vvvvvyh);
|
||||
var add_php_jview_vvvvvyi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyi(add_php_jview_vvvvvyi);
|
||||
|
||||
var add_php_document_vvvvvyi = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyi(add_php_document_vvvvvyi);
|
||||
var add_php_document_vvvvvyj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyj(add_php_document_vvvvvyj);
|
||||
|
||||
var add_css_document_vvvvvyj = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyj(add_css_document_vvvvvyj);
|
||||
var add_css_document_vvvvvyk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyk(add_css_document_vvvvvyk);
|
||||
|
||||
var add_js_document_vvvvvyk = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyk(add_js_document_vvvvvyk);
|
||||
var add_js_document_vvvvvyl = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyl(add_js_document_vvvvvyl);
|
||||
|
||||
var add_css_vvvvvyl = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvyl(add_css_vvvvvyl);
|
||||
var add_css_vvvvvym = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvym(add_css_vvvvvym);
|
||||
|
||||
var add_php_ajax_vvvvvym = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvym(add_php_ajax_vvvvvym);
|
||||
var add_php_ajax_vvvvvyn = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyn(add_php_ajax_vvvvvyn);
|
||||
|
||||
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyn(add_custom_button_vvvvvyn);
|
||||
var add_custom_button_vvvvvyo = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyo(add_custom_button_vvvvvyo);
|
||||
});
|
||||
|
||||
// the vvvvvyf function
|
||||
function vvvvvyf(add_php_view_vvvvvyf)
|
||||
// the vvvvvyg function
|
||||
function vvvvvyg(add_php_view_vvvvvyg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvyf == 1)
|
||||
if (add_php_view_vvvvvyg == 1)
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').show();
|
||||
if (jform_vvvvvyfvya_required)
|
||||
if (jform_vvvvvygvyb_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_vvvvvyfvya_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyfvya_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_vvvvvyfvya_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyg function
|
||||
function vvvvvyg(add_php_jview_display_vvvvvyg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvvyg == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').show();
|
||||
if (jform_vvvvvygvyb_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_vvvvvygvyb_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').hide();
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvygvyb_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_vvvvvygvyb_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyh function
|
||||
function vvvvvyh(add_php_jview_vvvvvyh)
|
||||
function vvvvvyh(add_php_jview_display_vvvvvyh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvvyh == 1)
|
||||
if (add_php_jview_display_vvvvvyh == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').show();
|
||||
if (jform_vvvvvyhvyc_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_vvvvvyhvyc_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyhvyc_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_vvvvvyhvyc_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyi function
|
||||
function vvvvvyi(add_php_document_vvvvvyi)
|
||||
function vvvvvyi(add_php_jview_vvvvvyi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvyi == 1)
|
||||
if (add_php_jview_vvvvvyi == 1)
|
||||
{
|
||||
jQuery('#jform_php_document').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview').closest('.control-group').show();
|
||||
if (jform_vvvvvyivyd_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_vvvvvyivyd_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_document').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyivyd_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_vvvvvyivyd_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyj function
|
||||
function vvvvvyj(add_css_document_vvvvvyj)
|
||||
function vvvvvyj(add_php_document_vvvvvyj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvvyj == 1)
|
||||
if (add_php_document_vvvvvyj == 1)
|
||||
{
|
||||
jQuery('#jform_css_document').closest('.control-group').show();
|
||||
jQuery('#jform_php_document').closest('.control-group').show();
|
||||
if (jform_vvvvvyjvye_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_vvvvvyjvye_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_document').closest('.control-group').hide();
|
||||
jQuery('#jform_php_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyjvye_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_vvvvvyjvye_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyk function
|
||||
function vvvvvyk(add_js_document_vvvvvyk)
|
||||
function vvvvvyk(add_css_document_vvvvvyk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvvyk == 1)
|
||||
if (add_css_document_vvvvvyk == 1)
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').show();
|
||||
jQuery('#jform_css_document').closest('.control-group').show();
|
||||
if (jform_vvvvvykvyf_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_vvvvvykvyf_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').hide();
|
||||
jQuery('#jform_css_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvykvyf_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_vvvvvykvyf_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyl function
|
||||
function vvvvvyl(add_css_vvvvvyl)
|
||||
function vvvvvyl(add_js_document_vvvvvyl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvvyl == 1)
|
||||
if (add_js_document_vvvvvyl == 1)
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').show();
|
||||
jQuery('#jform_js_document').closest('.control-group').show();
|
||||
if (jform_vvvvvylvyg_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_vvvvvylvyg_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').hide();
|
||||
jQuery('#jform_js_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvylvyg_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_vvvvvylvyg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvym function
|
||||
function vvvvvym(add_php_ajax_vvvvvym)
|
||||
function vvvvvym(add_css_vvvvvym)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvym == 1)
|
||||
if (add_css_vvvvvym == 1)
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').show();
|
||||
if (jform_vvvvvymvyh_required)
|
||||
{
|
||||
updateFieldRequired('css',0);
|
||||
jQuery('#jform_css').prop('required','required');
|
||||
jQuery('#jform_css').attr('aria-required',true);
|
||||
jQuery('#jform_css').addClass('required');
|
||||
jform_vvvvvymvyh_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').hide();
|
||||
if (!jform_vvvvvymvyh_required)
|
||||
{
|
||||
updateFieldRequired('css',1);
|
||||
jQuery('#jform_css').removeAttr('required');
|
||||
jQuery('#jform_css').removeAttr('aria-required');
|
||||
jQuery('#jform_css').removeClass('required');
|
||||
jform_vvvvvymvyh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyn function
|
||||
function vvvvvyn(add_php_ajax_vvvvvyn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvyn == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
|
||||
if (jform_vvvvvymvyh_required)
|
||||
if (jform_vvvvvynvyi_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_vvvvvymvyh_required = false;
|
||||
jform_vvvvvynvyi_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -304,42 +304,42 @@ function vvvvvym(add_php_ajax_vvvvvym)
|
||||
{
|
||||
jQuery('#jform_ajax_input').closest('.control-group').hide();
|
||||
jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
|
||||
if (!jform_vvvvvymvyh_required)
|
||||
if (!jform_vvvvvynvyi_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_vvvvvymvyh_required = true;
|
||||
jform_vvvvvynvyi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyn function
|
||||
function vvvvvyn(add_custom_button_vvvvvyn)
|
||||
// the vvvvvyo function
|
||||
function vvvvvyo(add_custom_button_vvvvvyo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvyn == 1)
|
||||
if (add_custom_button_vvvvvyo == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller').closest('.control-group').show();
|
||||
if (jform_vvvvvynvyi_required)
|
||||
if (jform_vvvvvyovyj_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_vvvvvynvyi_required = false;
|
||||
jform_vvvvvyovyj_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_php_model').closest('.control-group').show();
|
||||
if (jform_vvvvvynvyj_required)
|
||||
if (jform_vvvvvyovyk_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_vvvvvynvyj_required = false;
|
||||
jform_vvvvvyovyk_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -347,22 +347,22 @@ function vvvvvyn(add_custom_button_vvvvvyn)
|
||||
{
|
||||
jQuery('#jform_custom_button').closest('.control-group').hide();
|
||||
jQuery('#jform_php_controller').closest('.control-group').hide();
|
||||
if (!jform_vvvvvynvyi_required)
|
||||
if (!jform_vvvvvyovyj_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_vvvvvynvyi_required = true;
|
||||
jform_vvvvvyovyj_required = true;
|
||||
}
|
||||
jQuery('#jform_php_model').closest('.control-group').hide();
|
||||
if (!jform_vvvvvynvyj_required)
|
||||
if (!jform_vvvvvyovyk_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_vvvvvynvyj_required = true;
|
||||
jform_vvvvvyovyk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.2.3
|
||||
@build 22nd November, 2016
|
||||
@version 2.2.4
|
||||
@build 25th November, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage snippet.js
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.2.3
|
||||
@build 22nd November, 2016
|
||||
@version 2.2.4
|
||||
@build 25th November, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage template.js
|
||||
@ -23,42 +23,42 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvyovyk_required = false;
|
||||
jform_vvvvvypvyl_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_view_vvvvvyo);
|
||||
var add_php_view_vvvvvyp = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_view_vvvvvyp);
|
||||
});
|
||||
|
||||
// the vvvvvyo function
|
||||
function vvvvvyo(add_php_view_vvvvvyo)
|
||||
// the vvvvvyp function
|
||||
function vvvvvyp(add_php_view_vvvvvyp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvyo == 1)
|
||||
if (add_php_view_vvvvvyp == 1)
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').show();
|
||||
if (jform_vvvvvyovyk_required)
|
||||
if (jform_vvvvvypvyl_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_vvvvvyovyk_required = false;
|
||||
jform_vvvvvypvyl_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyovyk_required)
|
||||
if (!jform_vvvvvypvyl_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_vvvvvyovyk_required = true;
|
||||
jform_vvvvvypvyl_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user