Added the email field type to resolve gh-283. Fixed the CSS inclution error to resolve gh-278. Added the option to add sql_uninstall dump value to a component. Did some class formating on the compiler.
This commit is contained in:
@ -49,22 +49,23 @@ class JFormFieldAdminviewsreadonly extends JFormFieldList
|
||||
*/
|
||||
public function getOptions()
|
||||
{
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.system_name'),array('id','admin_view_system_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_admin_view', 'a'));
|
||||
$query->order('a.system_name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', '', 'Select an option');
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->admin_view_system_name);
|
||||
}
|
||||
}
|
||||
return $options;
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.system_name'),array('id','admin_view_system_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_admin_view', 'a'));
|
||||
$query->order('a.system_name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', '', 'Select an option');
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->admin_view_system_name);
|
||||
}
|
||||
}
|
||||
|
||||
return $options;
|
||||
}
|
||||
}
|
||||
|
@ -49,22 +49,23 @@ class JFormFieldJoomlacomponents extends JFormFieldList
|
||||
*/
|
||||
public function getOptions()
|
||||
{
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.system_name'),array('id','joomla_component_system_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_joomla_component', 'a'));
|
||||
$query->order('a.system_name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', '', 'Select an option');
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->joomla_component_system_name);
|
||||
}
|
||||
}
|
||||
return $options;
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.system_name'),array('id','joomla_component_system_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_joomla_component', 'a'));
|
||||
$query->order('a.system_name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', '', 'Select an option');
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->joomla_component_system_name);
|
||||
}
|
||||
}
|
||||
|
||||
return $options;
|
||||
}
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getWacfields()
|
||||
public function getWadfields()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -223,13 +223,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// convert datatype
|
||||
$item->datatype = $this->selectionTranslationWacfields($item->datatype, 'datatype');
|
||||
$item->datatype = $this->selectionTranslationWadfields($item->datatype, 'datatype');
|
||||
// convert indexes
|
||||
$item->indexes = $this->selectionTranslationWacfields($item->indexes, 'indexes');
|
||||
$item->indexes = $this->selectionTranslationWadfields($item->indexes, 'indexes');
|
||||
// convert null_switch
|
||||
$item->null_switch = $this->selectionTranslationWacfields($item->null_switch, 'null_switch');
|
||||
$item->null_switch = $this->selectionTranslationWadfields($item->null_switch, 'null_switch');
|
||||
// convert store
|
||||
$item->store = $this->selectionTranslationWacfields($item->store, 'store');
|
||||
$item->store = $this->selectionTranslationWadfields($item->store, 'store');
|
||||
}
|
||||
}
|
||||
|
||||
@ -243,7 +243,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationWacfields($value,$name)
|
||||
public function selectionTranslationWadfields($value,$name)
|
||||
{
|
||||
// Array of datatype language strings
|
||||
if ($name === 'datatype')
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -23,7 +23,6 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvydvxw_required = false;
|
||||
jform_vvvvvyevxx_required = false;
|
||||
jform_vvvvvyfvxy_required = false;
|
||||
jform_vvvvvygvxz_required = false;
|
||||
@ -31,286 +30,287 @@ jform_vvvvvyhvya_required = false;
|
||||
jform_vvvvvyivyb_required = false;
|
||||
jform_vvvvvyjvyc_required = false;
|
||||
jform_vvvvvykvyd_required = false;
|
||||
jform_vvvvvykvye_required = false;
|
||||
jform_vvvvvylvye_required = false;
|
||||
jform_vvvvvylvyf_required = false;
|
||||
jform_vvvvvymvyg_required = false;
|
||||
jform_vvvvvynvyh_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvyd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyd(add_php_view_vvvvvyd);
|
||||
var add_php_view_vvvvvye = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvye(add_php_view_vvvvvye);
|
||||
|
||||
var add_php_jview_display_vvvvvye = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvye(add_php_jview_display_vvvvvye);
|
||||
var add_php_jview_display_vvvvvyf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_jview_display_vvvvvyf);
|
||||
|
||||
var add_php_jview_vvvvvyf = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_jview_vvvvvyf);
|
||||
var add_php_jview_vvvvvyg = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyg(add_php_jview_vvvvvyg);
|
||||
|
||||
var add_php_document_vvvvvyg = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyg(add_php_document_vvvvvyg);
|
||||
var add_php_document_vvvvvyh = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyh(add_php_document_vvvvvyh);
|
||||
|
||||
var add_css_document_vvvvvyh = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyh(add_css_document_vvvvvyh);
|
||||
var add_css_document_vvvvvyi = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyi(add_css_document_vvvvvyi);
|
||||
|
||||
var add_javascript_file_vvvvvyi = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvyi(add_javascript_file_vvvvvyi);
|
||||
var add_javascript_file_vvvvvyj = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvyj(add_javascript_file_vvvvvyj);
|
||||
|
||||
var add_js_document_vvvvvyj = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyj(add_js_document_vvvvvyj);
|
||||
var add_js_document_vvvvvyk = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyk(add_js_document_vvvvvyk);
|
||||
|
||||
var add_custom_button_vvvvvyk = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyk(add_custom_button_vvvvvyk);
|
||||
var add_custom_button_vvvvvyl = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyl(add_custom_button_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);
|
||||
});
|
||||
|
||||
// the vvvvvyd function
|
||||
function vvvvvyd(add_php_view_vvvvvyd)
|
||||
// the vvvvvye function
|
||||
function vvvvvye(add_php_view_vvvvvye)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvyd == 1)
|
||||
if (add_php_view_vvvvvye == 1)
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').show();
|
||||
if (jform_vvvvvydvxw_required)
|
||||
if (jform_vvvvvyevxx_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_vvvvvydvxw_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvydvxw_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_vvvvvydvxw_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvye function
|
||||
function vvvvvye(add_php_jview_display_vvvvvye)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvvye == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').show();
|
||||
if (jform_vvvvvyevxx_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_vvvvvyevxx_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').hide();
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyevxx_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_vvvvvyevxx_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyf function
|
||||
function vvvvvyf(add_php_jview_vvvvvyf)
|
||||
function vvvvvyf(add_php_jview_display_vvvvvyf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvvyf == 1)
|
||||
if (add_php_jview_display_vvvvvyf == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').show();
|
||||
if (jform_vvvvvyfvxy_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_vvvvvyfvxy_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyfvxy_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_vvvvvyfvxy_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyg function
|
||||
function vvvvvyg(add_php_document_vvvvvyg)
|
||||
function vvvvvyg(add_php_jview_vvvvvyg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvyg == 1)
|
||||
if (add_php_jview_vvvvvyg == 1)
|
||||
{
|
||||
jQuery('#jform_php_document').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview').closest('.control-group').show();
|
||||
if (jform_vvvvvygvxz_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_vvvvvygvxz_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_document').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview').closest('.control-group').hide();
|
||||
if (!jform_vvvvvygvxz_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_vvvvvygvxz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyh function
|
||||
function vvvvvyh(add_css_document_vvvvvyh)
|
||||
function vvvvvyh(add_php_document_vvvvvyh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvvyh == 1)
|
||||
if (add_php_document_vvvvvyh == 1)
|
||||
{
|
||||
jQuery('#jform_css_document').closest('.control-group').show();
|
||||
jQuery('#jform_php_document').closest('.control-group').show();
|
||||
if (jform_vvvvvyhvya_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_vvvvvyhvya_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_document').closest('.control-group').hide();
|
||||
jQuery('#jform_php_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyhvya_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_vvvvvyhvya_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyi function
|
||||
function vvvvvyi(add_javascript_file_vvvvvyi)
|
||||
function vvvvvyi(add_css_document_vvvvvyi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_file_vvvvvyi == 1)
|
||||
if (add_css_document_vvvvvyi == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_file').closest('.control-group').show();
|
||||
jQuery('#jform_css_document').closest('.control-group').show();
|
||||
if (jform_vvvvvyivyb_required)
|
||||
{
|
||||
updateFieldRequired('javascript_file',0);
|
||||
jQuery('#jform_javascript_file').prop('required','required');
|
||||
jQuery('#jform_javascript_file').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_file').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_vvvvvyivyb_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_file').closest('.control-group').hide();
|
||||
jQuery('#jform_css_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyivyb_required)
|
||||
{
|
||||
updateFieldRequired('javascript_file',1);
|
||||
jQuery('#jform_javascript_file').removeAttr('required');
|
||||
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_file').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_vvvvvyivyb_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyj function
|
||||
function vvvvvyj(add_js_document_vvvvvyj)
|
||||
function vvvvvyj(add_javascript_file_vvvvvyj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvvyj == 1)
|
||||
if (add_javascript_file_vvvvvyj == 1)
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').show();
|
||||
jQuery('#jform_javascript_file').closest('.control-group').show();
|
||||
if (jform_vvvvvyjvyc_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('javascript_file',0);
|
||||
jQuery('#jform_javascript_file').prop('required','required');
|
||||
jQuery('#jform_javascript_file').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_file').addClass('required');
|
||||
jform_vvvvvyjvyc_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').hide();
|
||||
jQuery('#jform_javascript_file').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyjvyc_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('javascript_file',1);
|
||||
jQuery('#jform_javascript_file').removeAttr('required');
|
||||
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_file').removeClass('required');
|
||||
jform_vvvvvyjvyc_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyk function
|
||||
function vvvvvyk(add_custom_button_vvvvvyk)
|
||||
function vvvvvyk(add_js_document_vvvvvyk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvyk == 1)
|
||||
if (add_js_document_vvvvvyk == 1)
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').show();
|
||||
if (jform_vvvvvykvyd_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_vvvvvykvyd_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvykvyd_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_vvvvvykvyd_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyl function
|
||||
function vvvvvyl(add_custom_button_vvvvvyl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvyl == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller').closest('.control-group').show();
|
||||
if (jform_vvvvvykvyd_required)
|
||||
if (jform_vvvvvylvye_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_vvvvvykvyd_required = false;
|
||||
jform_vvvvvylvye_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_php_model').closest('.control-group').show();
|
||||
if (jform_vvvvvykvye_required)
|
||||
if (jform_vvvvvylvyf_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_vvvvvykvye_required = false;
|
||||
jform_vvvvvylvyf_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -318,72 +318,72 @@ function vvvvvyk(add_custom_button_vvvvvyk)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_controller').closest('.control-group').hide();
|
||||
if (!jform_vvvvvykvyd_required)
|
||||
if (!jform_vvvvvylvye_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_vvvvvykvyd_required = true;
|
||||
jform_vvvvvylvye_required = true;
|
||||
}
|
||||
jQuery('#jform_php_model').closest('.control-group').hide();
|
||||
if (!jform_vvvvvykvye_required)
|
||||
if (!jform_vvvvvylvyf_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_vvvvvykvye_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyl function
|
||||
function vvvvvyl(add_css_vvvvvyl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvvyl == 1)
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').show();
|
||||
if (jform_vvvvvylvyf_required)
|
||||
{
|
||||
updateFieldRequired('css',0);
|
||||
jQuery('#jform_css').prop('required','required');
|
||||
jQuery('#jform_css').attr('aria-required',true);
|
||||
jQuery('#jform_css').addClass('required');
|
||||
jform_vvvvvylvyf_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').hide();
|
||||
if (!jform_vvvvvylvyf_required)
|
||||
{
|
||||
updateFieldRequired('css',1);
|
||||
jQuery('#jform_css').removeAttr('required');
|
||||
jQuery('#jform_css').removeAttr('aria-required');
|
||||
jQuery('#jform_css').removeClass('required');
|
||||
jform_vvvvvylvyf_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_vvvvvymvyg_required)
|
||||
{
|
||||
updateFieldRequired('css',0);
|
||||
jQuery('#jform_css').prop('required','required');
|
||||
jQuery('#jform_css').attr('aria-required',true);
|
||||
jQuery('#jform_css').addClass('required');
|
||||
jform_vvvvvymvyg_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').hide();
|
||||
if (!jform_vvvvvymvyg_required)
|
||||
{
|
||||
updateFieldRequired('css',1);
|
||||
jQuery('#jform_css').removeAttr('required');
|
||||
jQuery('#jform_css').removeAttr('aria-required');
|
||||
jQuery('#jform_css').removeClass('required');
|
||||
jform_vvvvvymvyg_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-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
|
||||
if (jform_vvvvvymvyg_required)
|
||||
if (jform_vvvvvynvyh_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_vvvvvymvyg_required = false;
|
||||
jform_vvvvvynvyh_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -391,13 +391,13 @@ function vvvvvym(add_php_ajax_vvvvvym)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
|
||||
if (!jform_vvvvvymvyg_required)
|
||||
if (!jform_vvvvvynvyh_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_vvvvvymvyg_required = true;
|
||||
jform_vvvvvynvyh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,43 +23,43 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvzzvzo_required = false;
|
||||
jform_vvvvwaavzp_required = false;
|
||||
jform_vvvvwaavzq_required = false;
|
||||
jform_vvvvwaavzr_required = false;
|
||||
jform_vvvvwabvzq_required = false;
|
||||
jform_vvvvwabvzr_required = false;
|
||||
jform_vvvvwabvzs_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var target_vvvvvzz = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvvzz(target_vvvvvzz);
|
||||
|
||||
var target_vvvvwaa = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwaa(target_vvvvwaa);
|
||||
|
||||
var target_vvvvwab = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwab = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwab(target_vvvvwab,type_vvvvwab);
|
||||
vvvvwab(target_vvvvwab);
|
||||
|
||||
var type_vvvvwac = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwac = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwac(type_vvvvwac,target_vvvvwac);
|
||||
var type_vvvvwac = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwac(target_vvvvwac,type_vvvvwac);
|
||||
|
||||
var type_vvvvwad = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwad = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwad(type_vvvvwad,target_vvvvwad);
|
||||
});
|
||||
|
||||
// the vvvvvzz function
|
||||
function vvvvvzz(target_vvvvvzz)
|
||||
// the vvvvwaa function
|
||||
function vvvvwaa(target_vvvvwaa)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvvzz == 2)
|
||||
if (target_vvvvwaa == 2)
|
||||
{
|
||||
jQuery('#jform_function_name').closest('.control-group').show();
|
||||
if (jform_vvvvvzzvzo_required)
|
||||
if (jform_vvvvwaavzp_required)
|
||||
{
|
||||
updateFieldRequired('function_name',0);
|
||||
jQuery('#jform_function_name').prop('required','required');
|
||||
jQuery('#jform_function_name').attr('aria-required',true);
|
||||
jQuery('#jform_function_name').addClass('required');
|
||||
jform_vvvvvzzvzo_required = false;
|
||||
jform_vvvvwaavzp_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_jcb_placeholder').closest('.control-group').show();
|
||||
@ -68,99 +68,99 @@ function vvvvvzz(target_vvvvvzz)
|
||||
else
|
||||
{
|
||||
jQuery('#jform_function_name').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzzvzo_required)
|
||||
if (!jform_vvvvwaavzp_required)
|
||||
{
|
||||
updateFieldRequired('function_name',1);
|
||||
jQuery('#jform_function_name').removeAttr('required');
|
||||
jQuery('#jform_function_name').removeAttr('aria-required');
|
||||
jQuery('#jform_function_name').removeClass('required');
|
||||
jform_vvvvvzzvzo_required = true;
|
||||
jform_vvvvwaavzp_required = true;
|
||||
}
|
||||
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
|
||||
jQuery('#jform_system_name').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaa function
|
||||
function vvvvwaa(target_vvvvwaa)
|
||||
// the vvvvwab function
|
||||
function vvvvwab(target_vvvvwab)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwaa == 1)
|
||||
if (target_vvvvwab == 1)
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').show();
|
||||
if (jform_vvvvwaavzp_required)
|
||||
if (jform_vvvvwabvzq_required)
|
||||
{
|
||||
updateFieldRequired('component',0);
|
||||
jQuery('#jform_component').prop('required','required');
|
||||
jQuery('#jform_component').attr('aria-required',true);
|
||||
jQuery('#jform_component').addClass('required');
|
||||
jform_vvvvwaavzp_required = false;
|
||||
jform_vvvvwabvzq_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
if (jform_vvvvwaavzq_required)
|
||||
if (jform_vvvvwabvzr_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwaavzq_required = false;
|
||||
jform_vvvvwabvzr_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_from_line').closest('.control-group').show();
|
||||
jQuery('#jform_hashtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
jQuery('#jform_type').closest('.control-group').show();
|
||||
if (jform_vvvvwaavzr_required)
|
||||
if (jform_vvvvwabvzs_required)
|
||||
{
|
||||
updateFieldRequired('type',0);
|
||||
jQuery('#jform_type').prop('required','required');
|
||||
jQuery('#jform_type').attr('aria-required',true);
|
||||
jQuery('#jform_type').addClass('required');
|
||||
jform_vvvvwaavzr_required = false;
|
||||
jform_vvvvwabvzs_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaavzp_required)
|
||||
if (!jform_vvvvwabvzq_required)
|
||||
{
|
||||
updateFieldRequired('component',1);
|
||||
jQuery('#jform_component').removeAttr('required');
|
||||
jQuery('#jform_component').removeAttr('aria-required');
|
||||
jQuery('#jform_component').removeClass('required');
|
||||
jform_vvvvwaavzp_required = true;
|
||||
jform_vvvvwabvzq_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaavzq_required)
|
||||
if (!jform_vvvvwabvzr_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwaavzq_required = true;
|
||||
jform_vvvvwabvzr_required = true;
|
||||
}
|
||||
jQuery('#jform_from_line').closest('.control-group').hide();
|
||||
jQuery('#jform_hashtarget').closest('.control-group').hide();
|
||||
jQuery('#jform_to_line').closest('.control-group').hide();
|
||||
jQuery('#jform_type').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaavzr_required)
|
||||
if (!jform_vvvvwabvzs_required)
|
||||
{
|
||||
updateFieldRequired('type',1);
|
||||
jQuery('#jform_type').removeAttr('required');
|
||||
jQuery('#jform_type').removeAttr('aria-required');
|
||||
jQuery('#jform_type').removeClass('required');
|
||||
jform_vvvvwaavzr_required = true;
|
||||
jform_vvvvwabvzs_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwab function
|
||||
function vvvvwab(target_vvvvwab,type_vvvvwab)
|
||||
// the vvvvwac function
|
||||
function vvvvwac(target_vvvvwac,type_vvvvwac)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwab == 1 && type_vvvvwab == 1)
|
||||
if (target_vvvvwac == 1 && type_vvvvwac == 1)
|
||||
{
|
||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
@ -172,11 +172,11 @@ function vvvvwab(target_vvvvwab,type_vvvvwab)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwac function
|
||||
function vvvvwac(type_vvvvwac,target_vvvvwac)
|
||||
// the vvvvwad function
|
||||
function vvvvwad(type_vvvvwad,target_vvvvwad)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwac == 1 && target_vvvvwac == 1)
|
||||
if (type_vvvvwad == 1 && target_vvvvwad == 1)
|
||||
{
|
||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -23,151 +23,96 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwalvzu_required = false;
|
||||
jform_vvvvwamvzv_required = false;
|
||||
jform_vvvvwanvzw_required = false;
|
||||
jform_vvvvwaovzx_required = false;
|
||||
jform_vvvvwarvzy_required = false;
|
||||
jform_vvvvwapvzy_required = false;
|
||||
jform_vvvvwasvzz_required = false;
|
||||
jform_vvvvwatwaa_required = false;
|
||||
jform_vvvvwauwab_required = false;
|
||||
jform_vvvvwavwac_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var datalenght_vvvvwal = jQuery("#jform_datalenght").val();
|
||||
vvvvwal(datalenght_vvvvwal);
|
||||
var datalenght_vvvvwam = jQuery("#jform_datalenght").val();
|
||||
vvvvwam(datalenght_vvvvwam);
|
||||
|
||||
var datadefault_vvvvwam = jQuery("#jform_datadefault").val();
|
||||
vvvvwam(datadefault_vvvvwam);
|
||||
|
||||
var datatype_vvvvwan = jQuery("#jform_datatype").val();
|
||||
vvvvwan(datatype_vvvvwan);
|
||||
var datadefault_vvvvwan = jQuery("#jform_datadefault").val();
|
||||
vvvvwan(datadefault_vvvvwan);
|
||||
|
||||
var datatype_vvvvwao = jQuery("#jform_datatype").val();
|
||||
vvvvwao(datatype_vvvvwao);
|
||||
|
||||
var store_vvvvwap = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwap = jQuery("#jform_datatype").val();
|
||||
vvvvwap(store_vvvvwap,datatype_vvvvwap);
|
||||
vvvvwap(datatype_vvvvwap);
|
||||
|
||||
var add_css_view_vvvvwar = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwar(add_css_view_vvvvwar);
|
||||
var store_vvvvwaq = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwaq = jQuery("#jform_datatype").val();
|
||||
vvvvwaq(store_vvvvwaq,datatype_vvvvwaq);
|
||||
|
||||
var add_css_views_vvvvwas = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwas(add_css_views_vvvvwas);
|
||||
var add_css_view_vvvvwas = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwas(add_css_view_vvvvwas);
|
||||
|
||||
var add_javascript_view_footer_vvvvwat = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwat(add_javascript_view_footer_vvvvwat);
|
||||
var add_css_views_vvvvwat = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwat(add_css_views_vvvvwat);
|
||||
|
||||
var add_javascript_views_footer_vvvvwau = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwau(add_javascript_views_footer_vvvvwau);
|
||||
var add_javascript_view_footer_vvvvwau = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwau(add_javascript_view_footer_vvvvwau);
|
||||
|
||||
var add_javascript_views_footer_vvvvwav = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwav(add_javascript_views_footer_vvvvwav);
|
||||
});
|
||||
|
||||
// the vvvvwal function
|
||||
function vvvvwal(datalenght_vvvvwal)
|
||||
// the vvvvwam function
|
||||
function vvvvwam(datalenght_vvvvwam)
|
||||
{
|
||||
if (isSet(datalenght_vvvvwal) && datalenght_vvvvwal.constructor !== Array)
|
||||
if (isSet(datalenght_vvvvwam) && datalenght_vvvvwam.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwal = datalenght_vvvvwal;
|
||||
var datalenght_vvvvwal = [];
|
||||
datalenght_vvvvwal.push(temp_vvvvwal);
|
||||
var temp_vvvvwam = datalenght_vvvvwam;
|
||||
var datalenght_vvvvwam = [];
|
||||
datalenght_vvvvwam.push(temp_vvvvwam);
|
||||
}
|
||||
else if (!isSet(datalenght_vvvvwal))
|
||||
else if (!isSet(datalenght_vvvvwam))
|
||||
{
|
||||
var datalenght_vvvvwal = [];
|
||||
var datalenght_vvvvwam = [];
|
||||
}
|
||||
var datalenght = datalenght_vvvvwal.some(datalenght_vvvvwal_SomeFunc);
|
||||
var datalenght = datalenght_vvvvwam.some(datalenght_vvvvwam_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datalenght)
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').show();
|
||||
if (jform_vvvvwalvzu_required)
|
||||
if (jform_vvvvwamvzv_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_vvvvwalvzu_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
if (!jform_vvvvwalvzu_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_vvvvwalvzu_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwal Some function
|
||||
function datalenght_vvvvwal_SomeFunc(datalenght_vvvvwal)
|
||||
{
|
||||
// set the function logic
|
||||
if (datalenght_vvvvwal == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwam function
|
||||
function vvvvwam(datadefault_vvvvwam)
|
||||
{
|
||||
if (isSet(datadefault_vvvvwam) && datadefault_vvvvwam.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwam = datadefault_vvvvwam;
|
||||
var datadefault_vvvvwam = [];
|
||||
datadefault_vvvvwam.push(temp_vvvvwam);
|
||||
}
|
||||
else if (!isSet(datadefault_vvvvwam))
|
||||
{
|
||||
var datadefault_vvvvwam = [];
|
||||
}
|
||||
var datadefault = datadefault_vvvvwam.some(datadefault_vvvvwam_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datadefault)
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
if (jform_vvvvwamvzv_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_vvvvwamvzv_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
if (!jform_vvvvwamvzv_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_vvvvwamvzv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwam Some function
|
||||
function datadefault_vvvvwam_SomeFunc(datadefault_vvvvwam)
|
||||
function datalenght_vvvvwam_SomeFunc(datalenght_vvvvwam)
|
||||
{
|
||||
// set the function logic
|
||||
if (datadefault_vvvvwam == 'Other')
|
||||
if (datalenght_vvvvwam == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -175,58 +120,54 @@ function datadefault_vvvvwam_SomeFunc(datadefault_vvvvwam)
|
||||
}
|
||||
|
||||
// the vvvvwan function
|
||||
function vvvvwan(datatype_vvvvwan)
|
||||
function vvvvwan(datadefault_vvvvwan)
|
||||
{
|
||||
if (isSet(datatype_vvvvwan) && datatype_vvvvwan.constructor !== Array)
|
||||
if (isSet(datadefault_vvvvwan) && datadefault_vvvvwan.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwan = datatype_vvvvwan;
|
||||
var datatype_vvvvwan = [];
|
||||
datatype_vvvvwan.push(temp_vvvvwan);
|
||||
var temp_vvvvwan = datadefault_vvvvwan;
|
||||
var datadefault_vvvvwan = [];
|
||||
datadefault_vvvvwan.push(temp_vvvvwan);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwan))
|
||||
else if (!isSet(datadefault_vvvvwan))
|
||||
{
|
||||
var datatype_vvvvwan = [];
|
||||
var datadefault_vvvvwan = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwan.some(datatype_vvvvwan_SomeFunc);
|
||||
var datadefault = datadefault_vvvvwan.some(datadefault_vvvvwan_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_vvvvwanvzw_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_vvvvwanvzw_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_vvvvwanvzw_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_vvvvwanvzw_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwan Some function
|
||||
function datatype_vvvvwan_SomeFunc(datatype_vvvvwan)
|
||||
function datadefault_vvvvwan_SomeFunc(datadefault_vvvvwan)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwan == 'CHAR' || datatype_vvvvwan == 'VARCHAR' || datatype_vvvvwan == 'DATETIME' || datatype_vvvvwan == 'DATE' || datatype_vvvvwan == 'TIME' || datatype_vvvvwan == 'INT' || datatype_vvvvwan == 'TINYINT' || datatype_vvvvwan == 'BIGINT' || datatype_vvvvwan == 'FLOAT' || datatype_vvvvwan == 'DECIMAL' || datatype_vvvvwan == 'DOUBLE')
|
||||
if (datadefault_vvvvwan == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -252,26 +193,30 @@ function vvvvwao(datatype_vvvvwao)
|
||||
// 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_vvvvwaovzx_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_vvvvwaovzx_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_vvvvwaovzx_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_vvvvwaovzx_required = true;
|
||||
}
|
||||
}
|
||||
@ -281,7 +226,7 @@ function vvvvwao(datatype_vvvvwao)
|
||||
function datatype_vvvvwao_SomeFunc(datatype_vvvvwao)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwao == 'CHAR' || datatype_vvvvwao == 'VARCHAR' || datatype_vvvvwao == 'TEXT' || datatype_vvvvwao == 'MEDIUMTEXT' || datatype_vvvvwao == 'LONGTEXT')
|
||||
if (datatype_vvvvwao == 'CHAR' || datatype_vvvvwao == 'VARCHAR' || datatype_vvvvwao == 'DATETIME' || datatype_vvvvwao == 'DATE' || datatype_vvvvwao == 'TIME' || datatype_vvvvwao == 'INT' || datatype_vvvvwao == 'TINYINT' || datatype_vvvvwao == 'BIGINT' || datatype_vvvvwao == 'FLOAT' || datatype_vvvvwao == 'DECIMAL' || datatype_vvvvwao == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -289,20 +234,8 @@ function datatype_vvvvwao_SomeFunc(datatype_vvvvwao)
|
||||
}
|
||||
|
||||
// the vvvvwap function
|
||||
function vvvvwap(store_vvvvwap,datatype_vvvvwap)
|
||||
function vvvvwap(datatype_vvvvwap)
|
||||
{
|
||||
if (isSet(store_vvvvwap) && store_vvvvwap.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwap = store_vvvvwap;
|
||||
var store_vvvvwap = [];
|
||||
store_vvvvwap.push(temp_vvvvwap);
|
||||
}
|
||||
else if (!isSet(store_vvvvwap))
|
||||
{
|
||||
var store_vvvvwap = [];
|
||||
}
|
||||
var store = store_vvvvwap.some(store_vvvvwap_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwap) && datatype_vvvvwap.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwap = datatype_vvvvwap;
|
||||
@ -317,27 +250,33 @@ function vvvvwap(store_vvvvwap,datatype_vvvvwap)
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (store && datatype)
|
||||
if (datatype)
|
||||
{
|
||||
jQuery('.note_whmcs_encryption').closest('.control-group').show();
|
||||
jQuery('#jform_store').closest('.control-group').show();
|
||||
if (jform_vvvvwapvzy_required)
|
||||
{
|
||||
updateFieldRequired('store',0);
|
||||
jQuery('#jform_store').prop('required','required');
|
||||
jQuery('#jform_store').attr('aria-required',true);
|
||||
jQuery('#jform_store').addClass('required');
|
||||
jform_vvvvwapvzy_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_whmcs_encryption').closest('.control-group').hide();
|
||||
jQuery('#jform_store').closest('.control-group').hide();
|
||||
if (!jform_vvvvwapvzy_required)
|
||||
{
|
||||
updateFieldRequired('store',1);
|
||||
jQuery('#jform_store').removeAttr('required');
|
||||
jQuery('#jform_store').removeAttr('aria-required');
|
||||
jQuery('#jform_store').removeClass('required');
|
||||
jform_vvvvwapvzy_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwap Some function
|
||||
function store_vvvvwap_SomeFunc(store_vvvvwap)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwap == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwap Some function
|
||||
function datatype_vvvvwap_SomeFunc(datatype_vvvvwap)
|
||||
{
|
||||
@ -349,126 +288,187 @@ function datatype_vvvvwap_SomeFunc(datatype_vvvvwap)
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwar function
|
||||
function vvvvwar(add_css_view_vvvvwar)
|
||||
// the vvvvwaq function
|
||||
function vvvvwaq(store_vvvvwaq,datatype_vvvvwaq)
|
||||
{
|
||||
if (isSet(store_vvvvwaq) && store_vvvvwaq.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwaq = store_vvvvwaq;
|
||||
var store_vvvvwaq = [];
|
||||
store_vvvvwaq.push(temp_vvvvwaq);
|
||||
}
|
||||
else if (!isSet(store_vvvvwaq))
|
||||
{
|
||||
var store_vvvvwaq = [];
|
||||
}
|
||||
var store = store_vvvvwaq.some(store_vvvvwaq_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwaq) && datatype_vvvvwaq.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwaq = datatype_vvvvwaq;
|
||||
var datatype_vvvvwaq = [];
|
||||
datatype_vvvvwaq.push(temp_vvvvwaq);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwaq))
|
||||
{
|
||||
var datatype_vvvvwaq = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwaq.some(datatype_vvvvwaq_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (store && datatype)
|
||||
{
|
||||
jQuery('.note_whmcs_encryption').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_whmcs_encryption').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaq Some function
|
||||
function store_vvvvwaq_SomeFunc(store_vvvvwaq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvwar == 1)
|
||||
if (store_vvvvwaq == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwaq Some function
|
||||
function datatype_vvvvwaq_SomeFunc(datatype_vvvvwaq)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwaq == 'CHAR' || datatype_vvvvwaq == 'VARCHAR' || datatype_vvvvwaq == 'TEXT' || datatype_vvvvwaq == 'MEDIUMTEXT' || datatype_vvvvwaq == 'LONGTEXT')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwas function
|
||||
function vvvvwas(add_css_view_vvvvwas)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvwas == 1)
|
||||
{
|
||||
jQuery('#jform_css_view').closest('.control-group').show();
|
||||
if (jform_vvvvwarvzy_required)
|
||||
if (jform_vvvvwasvzz_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_vvvvwarvzy_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvwarvzy_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_vvvvwarvzy_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwas function
|
||||
function vvvvwas(add_css_views_vvvvwas)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvwas == 1)
|
||||
{
|
||||
jQuery('#jform_css_views').closest('.control-group').show();
|
||||
if (jform_vvvvwasvzz_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_vvvvwasvzz_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_views').closest('.control-group').hide();
|
||||
jQuery('#jform_css_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvwasvzz_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_vvvvwasvzz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwat function
|
||||
function vvvvwat(add_javascript_view_footer_vvvvwat)
|
||||
function vvvvwat(add_css_views_vvvvwat)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvwat == 1)
|
||||
if (add_css_views_vvvvwat == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer').closest('.control-group').show();
|
||||
jQuery('#jform_css_views').closest('.control-group').show();
|
||||
if (jform_vvvvwatwaa_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_vvvvwatwaa_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
|
||||
jQuery('#jform_css_views').closest('.control-group').hide();
|
||||
if (!jform_vvvvwatwaa_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_vvvvwatwaa_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwau function
|
||||
function vvvvwau(add_javascript_views_footer_vvvvwau)
|
||||
function vvvvwau(add_javascript_view_footer_vvvvwau)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvwau == 1)
|
||||
if (add_javascript_view_footer_vvvvwau == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
|
||||
jQuery('#jform_javascript_view_footer').closest('.control-group').show();
|
||||
if (jform_vvvvwauwab_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_vvvvwauwab_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
|
||||
jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
|
||||
if (!jform_vvvvwauwab_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_vvvvwauwab_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwav function
|
||||
function vvvvwav(add_javascript_views_footer_vvvvwav)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvwav == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
|
||||
if (jform_vvvvwavwac_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_vvvvwavwac_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
|
||||
if (!jform_vvvvwavwac_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_vvvvwauwab_required = true;
|
||||
jform_vvvvwavwac_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,24 +23,21 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwbfwan_required = false;
|
||||
jform_vvvvwbgwao_required = false;
|
||||
jform_vvvvwbhwap_required = false;
|
||||
jform_vvvvwbiwaq_required = false;
|
||||
jform_vvvvwbjwar_required = false;
|
||||
jform_vvvvwbkwas_required = false;
|
||||
jform_vvvvwblwat_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var location_vvvvwbf = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwbf(location_vvvvwbf);
|
||||
|
||||
var location_vvvvwbg = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwbg(location_vvvvwbg);
|
||||
|
||||
var type_vvvvwbh = jQuery("#jform_type").val();
|
||||
vvvvwbh(type_vvvvwbh);
|
||||
var location_vvvvwbh = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwbh(location_vvvvwbh);
|
||||
|
||||
var type_vvvvwbi = jQuery("#jform_type").val();
|
||||
vvvvwbi(type_vvvvwbi);
|
||||
@ -48,127 +45,75 @@ jQuery(document).ready(function()
|
||||
var type_vvvvwbj = jQuery("#jform_type").val();
|
||||
vvvvwbj(type_vvvvwbj);
|
||||
|
||||
var target_vvvvwbk = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbk(target_vvvvwbk);
|
||||
var type_vvvvwbk = jQuery("#jform_type").val();
|
||||
vvvvwbk(type_vvvvwbk);
|
||||
|
||||
var target_vvvvwbl = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbl(target_vvvvwbl);
|
||||
});
|
||||
|
||||
// the vvvvwbf function
|
||||
function vvvvwbf(location_vvvvwbf)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwbf == 1)
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
if (jform_vvvvwbfwan_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_vvvvwbfwan_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbfwan_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_vvvvwbfwan_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbg function
|
||||
function vvvvwbg(location_vvvvwbg)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwbg == 2)
|
||||
if (location_vvvvwbg == 1)
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
if (jform_vvvvwbgwao_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_vvvvwbgwao_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbgwao_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_vvvvwbgwao_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbh function
|
||||
function vvvvwbh(type_vvvvwbh)
|
||||
function vvvvwbh(location_vvvvwbh)
|
||||
{
|
||||
if (isSet(type_vvvvwbh) && type_vvvvwbh.constructor !== Array)
|
||||
// set the function logic
|
||||
if (location_vvvvwbh == 2)
|
||||
{
|
||||
var temp_vvvvwbh = type_vvvvwbh;
|
||||
var type_vvvvwbh = [];
|
||||
type_vvvvwbh.push(temp_vvvvwbh);
|
||||
}
|
||||
else if (!isSet(type_vvvvwbh))
|
||||
{
|
||||
var type_vvvvwbh = [];
|
||||
}
|
||||
var type = type_vvvvwbh.some(type_vvvvwbh_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
if (jform_vvvvwbhwap_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_vvvvwbhwap_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbhwap_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_vvvvwbhwap_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbh Some function
|
||||
function type_vvvvwbh_SomeFunc(type_vvvvwbh)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwbh == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbi function
|
||||
function vvvvwbi(type_vvvvwbi)
|
||||
{
|
||||
@ -188,26 +133,26 @@ function vvvvwbi(type_vvvvwbi)
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
if (jform_vvvvwbiwaq_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_vvvvwbiwaq_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbiwaq_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_vvvvwbiwaq_required = true;
|
||||
}
|
||||
}
|
||||
@ -217,7 +162,7 @@ function vvvvwbi(type_vvvvwbi)
|
||||
function type_vvvvwbi_SomeFunc(type_vvvvwbi)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwbi == 1)
|
||||
if (type_vvvvwbi == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -243,26 +188,26 @@ function vvvvwbj(type_vvvvwbj)
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
if (jform_vvvvwbjwar_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_vvvvwbjwar_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbjwar_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_vvvvwbjwar_required = true;
|
||||
}
|
||||
}
|
||||
@ -272,7 +217,7 @@ function vvvvwbj(type_vvvvwbj)
|
||||
function type_vvvvwbj_SomeFunc(type_vvvvwbj)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwbj == 2)
|
||||
if (type_vvvvwbj == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -280,32 +225,87 @@ function type_vvvvwbj_SomeFunc(type_vvvvwbj)
|
||||
}
|
||||
|
||||
// the vvvvwbk function
|
||||
function vvvvwbk(target_vvvvwbk)
|
||||
function vvvvwbk(type_vvvvwbk)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbk == 1)
|
||||
if (isSet(type_vvvvwbk) && type_vvvvwbk.constructor !== Array)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
var temp_vvvvwbk = type_vvvvwbk;
|
||||
var type_vvvvwbk = [];
|
||||
type_vvvvwbk.push(temp_vvvvwbk);
|
||||
}
|
||||
else if (!isSet(type_vvvvwbk))
|
||||
{
|
||||
var type_vvvvwbk = [];
|
||||
}
|
||||
var type = type_vvvvwbk.some(type_vvvvwbk_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvwbkwas_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_vvvvwbkwas_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbkwas_required)
|
||||
{
|
||||
updateFieldRequired('content',1);
|
||||
jQuery('#jform_content').removeAttr('required');
|
||||
jQuery('#jform_content').removeAttr('aria-required');
|
||||
jQuery('#jform_content').removeClass('required');
|
||||
jform_vvvvwbkwas_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbk Some function
|
||||
function type_vvvvwbk_SomeFunc(type_vvvvwbk)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwbk == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbl function
|
||||
function vvvvwbl(target_vvvvwbl)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbl == 1)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
if (jform_vvvvwblwat_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
jform_vvvvwblwat_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
if (!jform_vvvvwblwat_required)
|
||||
{
|
||||
updateFieldRequired('groups',1);
|
||||
jQuery('#jform_groups').removeAttr('required');
|
||||
jQuery('#jform_groups').removeAttr('aria-required');
|
||||
jQuery('#jform_groups').removeClass('required');
|
||||
jform_vvvvwbkwas_required = true;
|
||||
jform_vvvvwblwat_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -30,17 +30,18 @@ jform_vvvvvvyvvy_required = false;
|
||||
jform_vvvvvvzvvz_required = false;
|
||||
jform_vvvvvwavwa_required = false;
|
||||
jform_vvvvvwbvwb_required = false;
|
||||
jform_vvvvvwdvwc_required = false;
|
||||
jform_vvvvvwcvwc_required = false;
|
||||
jform_vvvvvwevwd_required = false;
|
||||
jform_vvvvvwfvwe_required = false;
|
||||
jform_vvvvvwgvwf_required = false;
|
||||
jform_vvvvvwkvwg_required = false;
|
||||
jform_vvvvvwhvwg_required = false;
|
||||
jform_vvvvvwlvwh_required = false;
|
||||
jform_vvvvvwmvwi_required = false;
|
||||
jform_vvvvvwnvwj_required = false;
|
||||
jform_vvvvvwovwk_required = false;
|
||||
jform_vvvvvwvvwl_required = false;
|
||||
jform_vvvvvwpvwl_required = false;
|
||||
jform_vvvvvwwvwm_required = false;
|
||||
jform_vvvvvwxvwn_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
@ -66,72 +67,75 @@ jQuery(document).ready(function()
|
||||
var add_sql_vvvvvwb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvwb(add_sql_vvvvvwb);
|
||||
|
||||
var emptycontributors_vvvvvwc = jQuery("#jform_emptycontributors input[type='radio']:checked").val();
|
||||
vvvvvwc(emptycontributors_vvvvvwc);
|
||||
var add_sql_uninstall_vvvvvwc = jQuery("#jform_add_sql_uninstall input[type='radio']:checked").val();
|
||||
vvvvvwc(add_sql_uninstall_vvvvvwc);
|
||||
|
||||
var add_license_vvvvvwd = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvwd(add_license_vvvvvwd);
|
||||
var emptycontributors_vvvvvwd = jQuery("#jform_emptycontributors input[type='radio']:checked").val();
|
||||
vvvvvwd(emptycontributors_vvvvvwd);
|
||||
|
||||
var add_admin_event_vvvvvwe = jQuery("#jform_add_admin_event input[type='radio']:checked").val();
|
||||
vvvvvwe(add_admin_event_vvvvvwe);
|
||||
var add_license_vvvvvwe = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvwe(add_license_vvvvvwe);
|
||||
|
||||
var add_site_event_vvvvvwf = jQuery("#jform_add_site_event input[type='radio']:checked").val();
|
||||
vvvvvwf(add_site_event_vvvvvwf);
|
||||
var add_admin_event_vvvvvwf = jQuery("#jform_add_admin_event input[type='radio']:checked").val();
|
||||
vvvvvwf(add_admin_event_vvvvvwf);
|
||||
|
||||
var addreadme_vvvvvwg = jQuery("#jform_addreadme input[type='radio']:checked").val();
|
||||
vvvvvwg(addreadme_vvvvvwg);
|
||||
var add_site_event_vvvvvwg = jQuery("#jform_add_site_event input[type='radio']:checked").val();
|
||||
vvvvvwg(add_site_event_vvvvvwg);
|
||||
|
||||
var add_update_server_vvvvvwh = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwh(add_update_server_vvvvvwh);
|
||||
var addreadme_vvvvvwh = jQuery("#jform_addreadme input[type='radio']:checked").val();
|
||||
vvvvvwh(addreadme_vvvvvwh);
|
||||
|
||||
var add_sales_server_vvvvvwi = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
|
||||
vvvvvwi(add_sales_server_vvvvvwi);
|
||||
var add_update_server_vvvvvwi = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwi(add_update_server_vvvvvwi);
|
||||
|
||||
var add_license_vvvvvwj = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvwj(add_license_vvvvvwj);
|
||||
var add_sales_server_vvvvvwj = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
|
||||
vvvvvwj(add_sales_server_vvvvvwj);
|
||||
|
||||
var add_php_postflight_install_vvvvvwk = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
|
||||
vvvvvwk(add_php_postflight_install_vvvvvwk);
|
||||
var add_license_vvvvvwk = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvwk(add_license_vvvvvwk);
|
||||
|
||||
var add_php_postflight_update_vvvvvwl = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
|
||||
vvvvvwl(add_php_postflight_update_vvvvvwl);
|
||||
var add_php_postflight_install_vvvvvwl = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
|
||||
vvvvvwl(add_php_postflight_install_vvvvvwl);
|
||||
|
||||
var add_php_method_uninstall_vvvvvwm = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
|
||||
vvvvvwm(add_php_method_uninstall_vvvvvwm);
|
||||
var add_php_postflight_update_vvvvvwm = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
|
||||
vvvvvwm(add_php_postflight_update_vvvvvwm);
|
||||
|
||||
var add_php_preflight_install_vvvvvwn = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
|
||||
vvvvvwn(add_php_preflight_install_vvvvvwn);
|
||||
var add_php_method_uninstall_vvvvvwn = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
|
||||
vvvvvwn(add_php_method_uninstall_vvvvvwn);
|
||||
|
||||
var add_php_preflight_update_vvvvvwo = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
|
||||
vvvvvwo(add_php_preflight_update_vvvvvwo);
|
||||
var add_php_preflight_install_vvvvvwo = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
|
||||
vvvvvwo(add_php_preflight_install_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 add_php_preflight_update_vvvvvwp = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
|
||||
vvvvvwp(add_php_preflight_update_vvvvvwp);
|
||||
|
||||
var add_update_server_vvvvvwq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvwq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvwq(add_update_server_vvvvvwq,update_server_target_vvvvvwq);
|
||||
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 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_vvvvvwr = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvwr(add_update_server_vvvvvwr,update_server_target_vvvvvwr);
|
||||
|
||||
var update_server_target_vvvvvwt = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwt = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwt(update_server_target_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_vvvvvwv = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwv(add_update_server_vvvvvwv);
|
||||
var update_server_target_vvvvvwu = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwu = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwu(update_server_target_vvvvvwu,add_update_server_vvvvvwu);
|
||||
|
||||
var buildcomp_vvvvvww = jQuery("#jform_buildcomp input[type='radio']:checked").val();
|
||||
vvvvvww(buildcomp_vvvvvww);
|
||||
var add_update_server_vvvvvww = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvww(add_update_server_vvvvvww);
|
||||
|
||||
var dashboard_type_vvvvvwx = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
||||
vvvvvwx(dashboard_type_vvvvvwx);
|
||||
var buildcomp_vvvvvwx = jQuery("#jform_buildcomp input[type='radio']:checked").val();
|
||||
vvvvvwx(buildcomp_vvvvvwx);
|
||||
|
||||
var dashboard_type_vvvvvwy = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
||||
vvvvvwy(dashboard_type_vvvvvwy);
|
||||
|
||||
var dashboard_type_vvvvvwz = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
||||
vvvvvwz(dashboard_type_vvvvvwz);
|
||||
});
|
||||
|
||||
// the vvvvvvv function
|
||||
@ -352,10 +356,41 @@ function vvvvvwb(add_sql_vvvvvwb)
|
||||
}
|
||||
|
||||
// the vvvvvwc function
|
||||
function vvvvvwc(emptycontributors_vvvvvwc)
|
||||
function vvvvvwc(add_sql_uninstall_vvvvvwc)
|
||||
{
|
||||
// set the function logic
|
||||
if (emptycontributors_vvvvvwc == 1)
|
||||
if (add_sql_uninstall_vvvvvwc == 1)
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').show();
|
||||
if (jform_vvvvvwcvwc_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',0);
|
||||
jQuery('#jform_sql_uninstall').prop('required','required');
|
||||
jQuery('#jform_sql_uninstall').attr('aria-required',true);
|
||||
jQuery('#jform_sql_uninstall').addClass('required');
|
||||
jform_vvvvvwcvwc_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwcvwc_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',1);
|
||||
jQuery('#jform_sql_uninstall').removeAttr('required');
|
||||
jQuery('#jform_sql_uninstall').removeAttr('aria-required');
|
||||
jQuery('#jform_sql_uninstall').removeClass('required');
|
||||
jform_vvvvvwcvwc_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwd function
|
||||
function vvvvvwd(emptycontributors_vvvvvwd)
|
||||
{
|
||||
// set the function logic
|
||||
if (emptycontributors_vvvvvwd == 1)
|
||||
{
|
||||
jQuery('#jform_number').closest('.control-group').show();
|
||||
}
|
||||
@ -365,114 +400,114 @@ function vvvvvwc(emptycontributors_vvvvvwc)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwd function
|
||||
function vvvvvwd(add_license_vvvvvwd)
|
||||
// the vvvvvwe function
|
||||
function vvvvvwe(add_license_vvvvvwe)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_license_vvvvvwd == 1)
|
||||
if (add_license_vvvvvwe == 1)
|
||||
{
|
||||
jQuery('#jform_license_type').closest('.control-group').show();
|
||||
if (jform_vvvvvwdvwc_required)
|
||||
if (jform_vvvvvwevwd_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_vvvvvwdvwc_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_license_type').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwdvwc_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_vvvvvwdvwc_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwe function
|
||||
function vvvvvwe(add_admin_event_vvvvvwe)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_admin_event_vvvvvwe == 1)
|
||||
{
|
||||
jQuery('#jform_php_admin_event').closest('.control-group').show();
|
||||
if (jform_vvvvvwevwd_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_vvvvvwevwd_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_admin_event').closest('.control-group').hide();
|
||||
jQuery('#jform_license_type').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwevwd_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_vvvvvwevwd_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwf function
|
||||
function vvvvvwf(add_site_event_vvvvvwf)
|
||||
function vvvvvwf(add_admin_event_vvvvvwf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_site_event_vvvvvwf == 1)
|
||||
if (add_admin_event_vvvvvwf == 1)
|
||||
{
|
||||
jQuery('#jform_php_site_event').closest('.control-group').show();
|
||||
jQuery('#jform_php_admin_event').closest('.control-group').show();
|
||||
if (jform_vvvvvwfvwe_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_vvvvvwfvwe_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_site_event').closest('.control-group').hide();
|
||||
jQuery('#jform_php_admin_event').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwfvwe_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_vvvvvwfvwe_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwg function
|
||||
function vvvvvwg(addreadme_vvvvvwg)
|
||||
function vvvvvwg(add_site_event_vvvvvwg)
|
||||
{
|
||||
// set the function logic
|
||||
if (addreadme_vvvvvwg == 1)
|
||||
if (add_site_event_vvvvvwg == 1)
|
||||
{
|
||||
jQuery('#jform_php_site_event').closest('.control-group').show();
|
||||
if (jform_vvvvvwgvwf_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_vvvvvwgvwf_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_site_event').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwgvwf_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_vvvvvwgvwf_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwh function
|
||||
function vvvvvwh(addreadme_vvvvvwh)
|
||||
{
|
||||
// set the function logic
|
||||
if (addreadme_vvvvvwh == 1)
|
||||
{
|
||||
jQuery('.note_readme').closest('.control-group').show();
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvwgvwf_required)
|
||||
if (jform_vvvvvwhvwg_required)
|
||||
{
|
||||
updateFieldRequired('readme',0);
|
||||
jQuery('#jform_readme').prop('required','required');
|
||||
jQuery('#jform_readme').attr('aria-required',true);
|
||||
jQuery('#jform_readme').addClass('required');
|
||||
jform_vvvvvwgvwf_required = false;
|
||||
jform_vvvvvwhvwg_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -480,22 +515,22 @@ function vvvvvwg(addreadme_vvvvvwg)
|
||||
{
|
||||
jQuery('.note_readme').closest('.control-group').hide();
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwgvwf_required)
|
||||
if (!jform_vvvvvwhvwg_required)
|
||||
{
|
||||
updateFieldRequired('readme',1);
|
||||
jQuery('#jform_readme').removeAttr('required');
|
||||
jQuery('#jform_readme').removeAttr('aria-required');
|
||||
jQuery('#jform_readme').removeClass('required');
|
||||
jform_vvvvvwgvwf_required = true;
|
||||
jform_vvvvvwhvwg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwh function
|
||||
function vvvvvwh(add_update_server_vvvvvwh)
|
||||
// the vvvvvwi function
|
||||
function vvvvvwi(add_update_server_vvvvvwi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvwh == 1)
|
||||
if (add_update_server_vvvvvwi == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_url').closest('.control-group').show();
|
||||
}
|
||||
@ -505,11 +540,11 @@ function vvvvvwh(add_update_server_vvvvvwh)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwi function
|
||||
function vvvvvwi(add_sales_server_vvvvvwi)
|
||||
// the vvvvvwj function
|
||||
function vvvvvwj(add_sales_server_vvvvvwj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sales_server_vvvvvwi == 1)
|
||||
if (add_sales_server_vvvvvwj == 1)
|
||||
{
|
||||
jQuery('#jform_sales_server').closest('.control-group').show();
|
||||
}
|
||||
@ -519,11 +554,11 @@ function vvvvvwi(add_sales_server_vvvvvwi)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwj function
|
||||
function vvvvvwj(add_license_vvvvvwj)
|
||||
// the vvvvvwk function
|
||||
function vvvvvwk(add_license_vvvvvwk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_license_vvvvvwj == 1)
|
||||
if (add_license_vvvvvwk == 1)
|
||||
{
|
||||
jQuery('.note_whmcs_lisencing_note').closest('.control-group').show();
|
||||
jQuery('#jform_whmcs_key').closest('.control-group').show();
|
||||
@ -537,182 +572,166 @@ function vvvvvwj(add_license_vvvvvwj)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwk function
|
||||
function vvvvvwk(add_php_postflight_install_vvvvvwk)
|
||||
// the vvvvvwl function
|
||||
function vvvvvwl(add_php_postflight_install_vvvvvwl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_install_vvvvvwk == 1)
|
||||
if (add_php_postflight_install_vvvvvwl == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_install').closest('.control-group').show();
|
||||
if (jform_vvvvvwkvwg_required)
|
||||
if (jform_vvvvvwlvwh_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_vvvvvwkvwg_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_install').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwkvwg_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_vvvvvwkvwg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwl function
|
||||
function vvvvvwl(add_php_postflight_update_vvvvvwl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_update_vvvvvwl == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_update').closest('.control-group').show();
|
||||
if (jform_vvvvvwlvwh_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_vvvvvwlvwh_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_update').closest('.control-group').hide();
|
||||
jQuery('#jform_php_postflight_install').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwlvwh_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_vvvvvwlvwh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwm function
|
||||
function vvvvvwm(add_php_method_uninstall_vvvvvwm)
|
||||
function vvvvvwm(add_php_postflight_update_vvvvvwm)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_method_uninstall_vvvvvwm == 1)
|
||||
if (add_php_postflight_update_vvvvvwm == 1)
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall').closest('.control-group').show();
|
||||
jQuery('#jform_php_postflight_update').closest('.control-group').show();
|
||||
if (jform_vvvvvwmvwi_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_vvvvvwmvwi_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall').closest('.control-group').hide();
|
||||
jQuery('#jform_php_postflight_update').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwmvwi_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_vvvvvwmvwi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwn function
|
||||
function vvvvvwn(add_php_preflight_install_vvvvvwn)
|
||||
function vvvvvwn(add_php_method_uninstall_vvvvvwn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_install_vvvvvwn == 1)
|
||||
if (add_php_method_uninstall_vvvvvwn == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_install').closest('.control-group').show();
|
||||
jQuery('#jform_php_method_uninstall').closest('.control-group').show();
|
||||
if (jform_vvvvvwnvwj_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_vvvvvwnvwj_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_install').closest('.control-group').hide();
|
||||
jQuery('#jform_php_method_uninstall').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwnvwj_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_vvvvvwnvwj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwo function
|
||||
function vvvvvwo(add_php_preflight_update_vvvvvwo)
|
||||
function vvvvvwo(add_php_preflight_install_vvvvvwo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_update_vvvvvwo == 1)
|
||||
if (add_php_preflight_install_vvvvvwo == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_update').closest('.control-group').show();
|
||||
jQuery('#jform_php_preflight_install').closest('.control-group').show();
|
||||
if (jform_vvvvvwovwk_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_vvvvvwovwk_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_update').closest('.control-group').hide();
|
||||
jQuery('#jform_php_preflight_install').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwovwk_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_vvvvvwovwk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwp function
|
||||
function vvvvvwp(update_server_target_vvvvvwp,add_update_server_vvvvvwp)
|
||||
function vvvvvwp(add_php_preflight_update_vvvvvwp)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvwp == 1 && add_update_server_vvvvvwp == 1)
|
||||
if (add_php_preflight_update_vvvvvwp == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').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_vvvvvwpvwl_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_vvvvvwpvwl_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server').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_vvvvvwpvwl_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_vvvvvwpvwl_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwq function
|
||||
function vvvvvwq(add_update_server_vvvvvwq,update_server_target_vvvvvwq)
|
||||
function vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvwq == 1 && update_server_target_vvvvvwq == 1)
|
||||
if (update_server_target_vvvvvwq == 1 && add_update_server_vvvvvwq == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
@ -725,10 +744,26 @@ function vvvvvwq(add_update_server_vvvvvwq,update_server_target_vvvvvwq)
|
||||
}
|
||||
|
||||
// the vvvvvwr function
|
||||
function vvvvvwr(update_server_target_vvvvvwr,add_update_server_vvvvvwr)
|
||||
function vvvvvwr(add_update_server_vvvvvwr,update_server_target_vvvvvwr)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvwr == 2 && add_update_server_vvvvvwr == 1)
|
||||
if (add_update_server_vvvvvwr == 1 && update_server_target_vvvvvwr == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').hide();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvws function
|
||||
function vvvvvws(update_server_target_vvvvvws,add_update_server_vvvvvws)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvws == 2 && add_update_server_vvvvvws == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_zip').closest('.control-group').show();
|
||||
}
|
||||
@ -738,11 +773,11 @@ function vvvvvwr(update_server_target_vvvvvwr,add_update_server_vvvvvwr)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwt function
|
||||
function vvvvvwt(update_server_target_vvvvvwt,add_update_server_vvvvvwt)
|
||||
// the vvvvvwu function
|
||||
function vvvvvwu(update_server_target_vvvvvwu,add_update_server_vvvvvwu)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvwt == 3 && add_update_server_vvvvvwt == 1)
|
||||
if (update_server_target_vvvvvwu == 3 && add_update_server_vvvvvwu == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_other').closest('.control-group').show();
|
||||
}
|
||||
@ -752,73 +787,73 @@ function vvvvvwt(update_server_target_vvvvvwt,add_update_server_vvvvvwt)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwv function
|
||||
function vvvvvwv(add_update_server_vvvvvwv)
|
||||
// the vvvvvww function
|
||||
function vvvvvww(add_update_server_vvvvvww)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvwv == 1)
|
||||
if (add_update_server_vvvvvww == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').show();
|
||||
if (jform_vvvvvwvvwl_required)
|
||||
if (jform_vvvvvwwvwm_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_vvvvvwvvwl_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwvvwl_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_vvvvvwvvwl_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvww function
|
||||
function vvvvvww(buildcomp_vvvvvww)
|
||||
{
|
||||
// set the function logic
|
||||
if (buildcomp_vvvvvww == 1)
|
||||
{
|
||||
jQuery('#jform_buildcompsql').closest('.control-group').show();
|
||||
if (jform_vvvvvwwvwm_required)
|
||||
{
|
||||
updateFieldRequired('buildcompsql',0);
|
||||
jQuery('#jform_buildcompsql').prop('required','required');
|
||||
jQuery('#jform_buildcompsql').attr('aria-required',true);
|
||||
jQuery('#jform_buildcompsql').addClass('required');
|
||||
jform_vvvvvwwvwm_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_buildcompsql').closest('.control-group').hide();
|
||||
jQuery('#jform_update_server_target').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwwvwm_required)
|
||||
{
|
||||
updateFieldRequired('buildcompsql',1);
|
||||
jQuery('#jform_buildcompsql').removeAttr('required');
|
||||
jQuery('#jform_buildcompsql').removeAttr('aria-required');
|
||||
jQuery('#jform_buildcompsql').removeClass('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_vvvvvwwvwm_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwx function
|
||||
function vvvvvwx(dashboard_type_vvvvvwx)
|
||||
function vvvvvwx(buildcomp_vvvvvwx)
|
||||
{
|
||||
// set the function logic
|
||||
if (dashboard_type_vvvvvwx == 2)
|
||||
if (buildcomp_vvvvvwx == 1)
|
||||
{
|
||||
jQuery('#jform_buildcompsql').closest('.control-group').show();
|
||||
if (jform_vvvvvwxvwn_required)
|
||||
{
|
||||
updateFieldRequired('buildcompsql',0);
|
||||
jQuery('#jform_buildcompsql').prop('required','required');
|
||||
jQuery('#jform_buildcompsql').attr('aria-required',true);
|
||||
jQuery('#jform_buildcompsql').addClass('required');
|
||||
jform_vvvvvwxvwn_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_buildcompsql').closest('.control-group').hide();
|
||||
if (!jform_vvvvvwxvwn_required)
|
||||
{
|
||||
updateFieldRequired('buildcompsql',1);
|
||||
jQuery('#jform_buildcompsql').removeAttr('required');
|
||||
jQuery('#jform_buildcompsql').removeAttr('aria-required');
|
||||
jQuery('#jform_buildcompsql').removeClass('required');
|
||||
jform_vvvvvwxvwn_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwy function
|
||||
function vvvvvwy(dashboard_type_vvvvvwy)
|
||||
{
|
||||
// set the function logic
|
||||
if (dashboard_type_vvvvvwy == 2)
|
||||
{
|
||||
jQuery('#jform_dashboard').closest('.control-group').show();
|
||||
jQuery('.note_dynamic_dashboard').closest('.control-group').show();
|
||||
@ -830,11 +865,11 @@ function vvvvvwx(dashboard_type_vvvvvwx)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwy function
|
||||
function vvvvvwy(dashboard_type_vvvvvwy)
|
||||
// the vvvvvwz function
|
||||
function vvvvvwz(dashboard_type_vvvvvwz)
|
||||
{
|
||||
// set the function logic
|
||||
if (dashboard_type_vvvvvwy == 1)
|
||||
if (dashboard_type_vvvvvwz == 1)
|
||||
{
|
||||
jQuery('.note_botton_component_dashboard').closest('.control-group').show();
|
||||
}
|
||||
|
@ -191,21 +191,6 @@
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_AUTHOR_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_AUTHOR_HINT"
|
||||
/>
|
||||
<!-- Php_postflight_update Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_postflight_update"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_botton_component_dashboard Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_botton_component_dashboard" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BOTTON_COMPONENT_DASHBOARD_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BOTTON_COMPONENT_DASHBOARD_DESCRIPTION" heading="h4" class="alert alert-info note_botton_component_dashboard" />
|
||||
<!-- Php_preflight_update Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -219,19 +204,6 @@
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Javascript Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="javascript"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Css_site Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -245,31 +217,68 @@
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- 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_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_ZIP_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_ZIP_DESCRIPTION" heading="h4" class="alert alert-info note_update_server_note_zip" />
|
||||
<!-- Note_botton_component_dashboard Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_botton_component_dashboard" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BOTTON_COMPONENT_DASHBOARD_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BOTTON_COMPONENT_DASHBOARD_DESCRIPTION" heading="h4" class="alert alert-info note_botton_component_dashboard" />
|
||||
<!-- Php_helper_site Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_helper_site"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_LABEL"
|
||||
rows="80"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Javascript Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="javascript"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_version_options_two Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_version_options_two" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_VERSION_OPTIONS_TWO_DESCRIPTION" class="alert alert-info note_version_options_two" showon="mvc_versiondate:2" />
|
||||
<!-- Debug_linenr Field. Type: Radio. (joomla) -->
|
||||
<!-- Php_helper_admin Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_helper_admin"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_LABEL"
|
||||
rows="80"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Readme Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="readme"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_README_LABEL"
|
||||
default="You can use all the normal markdown, including the place-holders."
|
||||
width="100%"
|
||||
height="1200px"
|
||||
buttons="false"
|
||||
editor="none"
|
||||
filter="raw"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Buildcomp Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="debug_linenr"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DEBUG_LINENR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DEBUG_LINENR_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Add_email_helper Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_email_helper"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_EMAIL_HELPER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_EMAIL_HELPER_DESCRIPTION"
|
||||
name="buildcomp"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -343,6 +352,34 @@
|
||||
</field>
|
||||
<!-- Note_version_options_three Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_version_options_three" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_VERSION_OPTIONS_THREE_DESCRIPTION" class="alert alert-info note_version_options_three" showon="mvc_versiondate:3" />
|
||||
<!-- Php_postflight_update Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_postflight_update"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_email_helper Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_email_helper"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_EMAIL_HELPER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_EMAIL_HELPER_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Sql Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -356,24 +393,14 @@
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_helper_admin Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_helper_admin"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_LABEL"
|
||||
rows="80"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_update_server Field. Type: Radio. (joomla) -->
|
||||
<!-- Note_version_options_one Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_version_options_one" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_VERSION_OPTIONS_ONE_DESCRIPTION" class="alert alert-info note_version_options_one" showon="mvc_versiondate:1" />
|
||||
<!-- Debug_linenr Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_update_server"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_UPDATE_SERVER_LABEL"
|
||||
name="debug_linenr"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DEBUG_LINENR_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DEBUG_LINENR_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -383,32 +410,21 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Php_helper_site Field. Type: Textarea. (joomla) -->
|
||||
<!-- Email Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_helper_site"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_LABEL"
|
||||
rows="80"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_HINT"
|
||||
type="text"
|
||||
name="email"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
validate="email"
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_HINT"
|
||||
/>
|
||||
<!-- Sales_server Field. Type: Servers. (custom) -->
|
||||
<field
|
||||
type="servers"
|
||||
name="sales_server"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SALES_SERVER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SALES_SERVER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Note_version_options_one Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_version_options_one" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_VERSION_OPTIONS_ONE_DESCRIPTION" class="alert alert-info note_version_options_one" showon="mvc_versiondate:1" />
|
||||
<!-- Adduikit Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
@ -427,34 +443,6 @@
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_UIKIT_VTHREE</option>
|
||||
</field>
|
||||
<!-- Email Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="email"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
validate="email"
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_HINT"
|
||||
/>
|
||||
<!-- Php_helper_both Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_helper_both"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_LABEL"
|
||||
rows="80"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Website Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
@ -470,17 +458,17 @@
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WEBSITE_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WEBSITE_HINT"
|
||||
/>
|
||||
<!-- Php_admin_event Field. Type: Textarea. (joomla) -->
|
||||
<!-- Php_helper_both Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_admin_event"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_DESCRIPTION"
|
||||
name="php_helper_both"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_LABEL"
|
||||
rows="80"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_HINT"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_license Field. Type: Radio. (joomla) -->
|
||||
@ -498,17 +486,17 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Php_site_event Field. Type: Textarea. (joomla) -->
|
||||
<!-- Php_admin_event Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_site_event"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_LABEL"
|
||||
name="php_admin_event"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_DESCRIPTION"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_HINT"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- License_type Field. Type: List. (joomla) -->
|
||||
@ -532,6 +520,21 @@
|
||||
<option value="4">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CUSTOM_USED_IN_CUSTOM_CODE</option>
|
||||
</field>
|
||||
<!-- Php_site_event Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_site_event"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_whmcs_lisencing_note Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_whmcs_lisencing_note" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_DESCRIPTION" heading="h4" class="alert alert-success note_whmcs_lisencing_note" />
|
||||
<!-- Css_admin Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -545,10 +548,6 @@
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_whmcs_lisencing_note Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_whmcs_lisencing_note" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_DESCRIPTION" heading="h4" class="alert alert-success note_whmcs_lisencing_note" />
|
||||
<!-- Note_dynamic_dashboard Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_dynamic_dashboard" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DYNAMIC_DASHBOARD_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DYNAMIC_DASHBOARD_DESCRIPTION" heading="h4" class="alert alert-info note_dynamic_dashboard" />
|
||||
<!-- Whmcs_key Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
@ -562,19 +561,8 @@
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_KEY_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_KEY_HINT"
|
||||
/>
|
||||
<!-- Php_preflight_install Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_preflight_install"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_dynamic_dashboard Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_dynamic_dashboard" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DYNAMIC_DASHBOARD_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DYNAMIC_DASHBOARD_DESCRIPTION" heading="h4" class="alert alert-info note_dynamic_dashboard" />
|
||||
<!-- Whmcs_url Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
@ -589,17 +577,17 @@
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_URL_HINT"
|
||||
/>
|
||||
<!-- Php_postflight_install Field. Type: Textarea. (joomla) -->
|
||||
<!-- Php_preflight_install Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_postflight_install"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_LABEL"
|
||||
name="php_preflight_install"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_DESCRIPTION"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_HINT"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- License Field. Type: Textarea. (joomla) -->
|
||||
@ -616,6 +604,29 @@
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LICENSE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_postflight_install Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_postflight_install"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_LABEL"
|
||||
rows="17"
|
||||
cols="5"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Bom Field. Type: Filelist. (joomla) -->
|
||||
<field
|
||||
type="filelist"
|
||||
name="bom"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BOM_LABEL"
|
||||
directory="administrator/components/com_componentbuilder/compiler"
|
||||
default="default.txt"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BOM_DESCRIPTION"
|
||||
hide_default="true"
|
||||
/>
|
||||
<!-- Php_method_uninstall Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -629,29 +640,6 @@
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Bom Field. Type: Filelist. (joomla) -->
|
||||
<field
|
||||
type="filelist"
|
||||
name="bom"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BOM_LABEL"
|
||||
directory="administrator/components/com_componentbuilder/compiler"
|
||||
default="default.txt"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BOM_DESCRIPTION"
|
||||
hide_default="true"
|
||||
/>
|
||||
<!-- Readme Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="readme"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_README_LABEL"
|
||||
default="You can use all the normal markdown, including the place-holders."
|
||||
width="100%"
|
||||
height="1200px"
|
||||
buttons="false"
|
||||
editor="none"
|
||||
filter="raw"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Image Field. Type: Media. (joomla) -->
|
||||
<field
|
||||
type="media"
|
||||
@ -660,6 +648,19 @@
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMAGE_DESCRIPTION"
|
||||
directory=""
|
||||
/>
|
||||
<!-- Sql_uninstall Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="sql_uninstall"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_UNINSTALL_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_UNINSTALL_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_UNINSTALL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Update_server_target Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
@ -677,12 +678,20 @@
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_OTHER</option>
|
||||
</field>
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<!-- Add_update_server Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
type="radio"
|
||||
name="add_update_server"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_UPDATE_SERVER_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Update_server Field. Type: Servers. (custom) -->
|
||||
<field
|
||||
type="servers"
|
||||
@ -694,39 +703,29 @@
|
||||
default="0"
|
||||
button="true"
|
||||
/>
|
||||
<!-- 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_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_ZIP_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_ZIP_DESCRIPTION" heading="h4" class="alert alert-info note_update_server_note_zip" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Sales_server Field. Type: Servers. (custom) -->
|
||||
<field
|
||||
type="servers"
|
||||
name="sales_server"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SALES_SERVER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SALES_SERVER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Note_moved_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_moved_views" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_MOVED_VIEWS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_MOVED_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_moved_views" />
|
||||
<!-- Buildcomp Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="buildcomp"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Spacer_hr_one Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr_one" hr="true" class="spacer_hr_one" />
|
||||
<!-- Creatuserhelper Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="creatuserhelper"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATUSERHELPER_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_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_JOOMLA_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_DESCRIPTION" heading="h4" class="alert alert-info note_mysql_tweak_options" />
|
||||
<!-- Addfootable Field. Type: List. (joomla) -->
|
||||
@ -1173,13 +1172,14 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Addreadme Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_sql_uninstall Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="addreadme"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADDREADME_LABEL"
|
||||
name="add_sql_uninstall"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_SQL_UNINSTALL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0">
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
||||
@ -1197,10 +1197,25 @@
|
||||
max="40"
|
||||
step="1"
|
||||
/>
|
||||
<!-- Note_readme Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_readme" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_README_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_README_DESCRIPTION" heading="h4" class="note_readme" />
|
||||
<!-- Addreadme Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="addreadme"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADDREADME_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Note_on_admin_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_admin_views" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_ADMIN_VIEWS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_ADMIN_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_admin_views" />
|
||||
<!-- Note_readme Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_readme" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_README_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_README_DESCRIPTION" heading="h4" class="note_readme" />
|
||||
<!-- Note_display_component_admin_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_display_component_admin_views" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_ADMIN_VIEWS_DESCRIPTION" class="note_display_component_admin_views" />
|
||||
<!-- Update_server_url Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
@ -1215,16 +1230,16 @@
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_URL_HINT"
|
||||
/>
|
||||
<!-- Note_display_component_admin_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_display_component_admin_views" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_ADMIN_VIEWS_DESCRIPTION" class="note_display_component_admin_views" />
|
||||
<!-- 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_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_FTP_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_FTP_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_ftp" />
|
||||
<!-- Note_on_site_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_site_views" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_SITE_VIEWS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_SITE_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_site_views" />
|
||||
<!-- 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_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_OTHER_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_OTHER_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_other" />
|
||||
<!-- 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_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_FTP_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_FTP_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_ftp" />
|
||||
<!-- Note_display_component_site_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_display_component_site_views" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_SITE_VIEWS_DESCRIPTION" class="note_display_component_site_views" />
|
||||
<!-- 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_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_OTHER_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_OTHER_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_other" />
|
||||
<!-- Note_on_custom_admin_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_custom_admin_views" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_CUSTOM_ADMIN_VIEWS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_CUSTOM_ADMIN_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_custom_admin_views" />
|
||||
<!-- Add_sales_server Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
@ -1239,12 +1254,24 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Note_on_custom_admin_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_custom_admin_views" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_CUSTOM_ADMIN_VIEWS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_CUSTOM_ADMIN_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_custom_admin_views" />
|
||||
<!-- Note_buildcomp_dynamic_mysql Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_buildcomp_dynamic_mysql" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_MYSQL_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_MYSQL_DESCRIPTION" heading="h4" class="alert alert-info note_buildcomp_dynamic_mysql" />
|
||||
<!-- Note_display_component_custom_admin_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_display_component_custom_admin_views" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_CUSTOM_ADMIN_VIEWS_DESCRIPTION" class="note_display_component_custom_admin_views" />
|
||||
<!-- Note_buildcomp_dynamic_mysql Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_buildcomp_dynamic_mysql" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_MYSQL_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_MYSQL_DESCRIPTION" heading="h4" class="alert alert-info note_buildcomp_dynamic_mysql" />
|
||||
<!-- Creatuserhelper Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="creatuserhelper"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATUSERHELPER_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||
</field>
|
||||
<!-- Buildcompsql Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
|
@ -23,42 +23,42 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvyzvyt_required = false;
|
||||
jform_vvvvvzavyu_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvyz = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyz(add_php_view_vvvvvyz);
|
||||
var add_php_view_vvvvvza = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvza(add_php_view_vvvvvza);
|
||||
});
|
||||
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(add_php_view_vvvvvyz)
|
||||
// the vvvvvza function
|
||||
function vvvvvza(add_php_view_vvvvvza)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvyz == 1)
|
||||
if (add_php_view_vvvvvza == 1)
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').show();
|
||||
if (jform_vvvvvyzvyt_required)
|
||||
if (jform_vvvvvzavyu_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_vvvvvyzvyt_required = false;
|
||||
jform_vvvvvzavyu_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyzvyt_required)
|
||||
if (!jform_vvvvvzavyu_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_vvvvvyzvyt_required = true;
|
||||
jform_vvvvvzavyu_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,15 +23,12 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwaevzs_required = false;
|
||||
jform_vvvvwakvzt_required = false;
|
||||
jform_vvvvwafvzt_required = false;
|
||||
jform_vvvvwalvzu_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var how_vvvvwad = jQuery("#jform_how").val();
|
||||
vvvvwad(how_vvvvwad);
|
||||
|
||||
var how_vvvvwae = jQuery("#jform_how").val();
|
||||
vvvvwae(how_vvvvwae);
|
||||
|
||||
@ -50,48 +47,13 @@ jQuery(document).ready(function()
|
||||
var how_vvvvwaj = jQuery("#jform_how").val();
|
||||
vvvvwaj(how_vvvvwaj);
|
||||
|
||||
var type_vvvvwak = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwak(type_vvvvwak);
|
||||
var how_vvvvwak = jQuery("#jform_how").val();
|
||||
vvvvwak(how_vvvvwak);
|
||||
|
||||
var type_vvvvwal = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwal(type_vvvvwal);
|
||||
});
|
||||
|
||||
// the vvvvwad function
|
||||
function vvvvwad(how_vvvvwad)
|
||||
{
|
||||
if (isSet(how_vvvvwad) && how_vvvvwad.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwad = how_vvvvwad;
|
||||
var how_vvvvwad = [];
|
||||
how_vvvvwad.push(temp_vvvvwad);
|
||||
}
|
||||
else if (!isSet(how_vvvvwad))
|
||||
{
|
||||
var how_vvvvwad = [];
|
||||
}
|
||||
var how = how_vvvvwad.some(how_vvvvwad_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwad Some function
|
||||
function how_vvvvwad_SomeFunc(how_vvvvwad)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwad == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwae function
|
||||
function vvvvwae(how_vvvvwae)
|
||||
{
|
||||
@ -111,28 +73,11 @@ function vvvvwae(how_vvvvwae)
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').show();
|
||||
if (jform_vvvvwaevzs_required)
|
||||
{
|
||||
updateFieldRequired('php_setdocument',0);
|
||||
jQuery('#jform_php_setdocument').prop('required','required');
|
||||
jQuery('#jform_php_setdocument').attr('aria-required',true);
|
||||
jQuery('#jform_php_setdocument').addClass('required');
|
||||
jform_vvvvwaevzs_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaevzs_required)
|
||||
{
|
||||
updateFieldRequired('php_setdocument',1);
|
||||
jQuery('#jform_php_setdocument').removeAttr('required');
|
||||
jQuery('#jform_php_setdocument').removeAttr('aria-required');
|
||||
jQuery('#jform_php_setdocument').removeClass('required');
|
||||
jform_vvvvwaevzs_required = true;
|
||||
}
|
||||
jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
@ -140,7 +85,7 @@ function vvvvwae(how_vvvvwae)
|
||||
function how_vvvvwae_SomeFunc(how_vvvvwae)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwae == 3)
|
||||
if (how_vvvvwae == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -166,11 +111,28 @@ function vvvvwaf(how_vvvvwaf)
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('.note_display_library_config').closest('.control-group').show();
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').show();
|
||||
if (jform_vvvvwafvzt_required)
|
||||
{
|
||||
updateFieldRequired('php_setdocument',0);
|
||||
jQuery('#jform_php_setdocument').prop('required','required');
|
||||
jQuery('#jform_php_setdocument').attr('aria-required',true);
|
||||
jQuery('#jform_php_setdocument').addClass('required');
|
||||
jform_vvvvwafvzt_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_display_library_config').closest('.control-group').hide();
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').hide();
|
||||
if (!jform_vvvvwafvzt_required)
|
||||
{
|
||||
updateFieldRequired('php_setdocument',1);
|
||||
jQuery('#jform_php_setdocument').removeAttr('required');
|
||||
jQuery('#jform_php_setdocument').removeAttr('aria-required');
|
||||
jQuery('#jform_php_setdocument').removeClass('required');
|
||||
jform_vvvvwafvzt_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -178,7 +140,7 @@ function vvvvwaf(how_vvvvwaf)
|
||||
function how_vvvvwaf_SomeFunc(how_vvvvwaf)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwaf == 2 || how_vvvvwaf == 3)
|
||||
if (how_vvvvwaf == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -204,11 +166,11 @@ function vvvvwag(how_vvvvwag)
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
|
||||
jQuery('.note_display_library_config').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
|
||||
jQuery('.note_display_library_config').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
@ -216,7 +178,7 @@ function vvvvwag(how_vvvvwag)
|
||||
function how_vvvvwag_SomeFunc(how_vvvvwag)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwag == 1 || how_vvvvwag == 2 || how_vvvvwag == 3)
|
||||
if (how_vvvvwag == 2 || how_vvvvwag == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -242,15 +204,11 @@ function vvvvwah(how_vvvvwah)
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('.note_no_behaviour_one').closest('.control-group').show();
|
||||
jQuery('.note_no_behaviour_three').closest('.control-group').show();
|
||||
jQuery('.note_no_behaviour_two').closest('.control-group').show();
|
||||
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_no_behaviour_one').closest('.control-group').hide();
|
||||
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
|
||||
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
|
||||
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
@ -258,7 +216,7 @@ function vvvvwah(how_vvvvwah)
|
||||
function how_vvvvwah_SomeFunc(how_vvvvwah)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwah == 0)
|
||||
if (how_vvvvwah == 1 || how_vvvvwah == 2 || how_vvvvwah == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -284,13 +242,15 @@ function vvvvwai(how_vvvvwai)
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('.note_yes_behaviour_one').closest('.control-group').show();
|
||||
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
|
||||
jQuery('.note_no_behaviour_one').closest('.control-group').show();
|
||||
jQuery('.note_no_behaviour_three').closest('.control-group').show();
|
||||
jQuery('.note_no_behaviour_two').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
|
||||
jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
|
||||
jQuery('.note_no_behaviour_one').closest('.control-group').hide();
|
||||
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
|
||||
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
@ -298,7 +258,7 @@ function vvvvwai(how_vvvvwai)
|
||||
function how_vvvvwai_SomeFunc(how_vvvvwai)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwai == 1)
|
||||
if (how_vvvvwai == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -321,6 +281,46 @@ function vvvvwaj(how_vvvvwaj)
|
||||
var how = how_vvvvwaj.some(how_vvvvwaj_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('.note_yes_behaviour_one').closest('.control-group').show();
|
||||
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
|
||||
jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaj Some function
|
||||
function how_vvvvwaj_SomeFunc(how_vvvvwaj)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwaj == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwak function
|
||||
function vvvvwak(how_vvvvwak)
|
||||
{
|
||||
if (isSet(how_vvvvwak) && how_vvvvwak.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwak = how_vvvvwak;
|
||||
var how_vvvvwak = [];
|
||||
how_vvvvwak.push(temp_vvvvwak);
|
||||
}
|
||||
else if (!isSet(how_vvvvwak))
|
||||
{
|
||||
var how_vvvvwak = [];
|
||||
}
|
||||
var how = how_vvvvwak.some(how_vvvvwak_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
@ -336,44 +336,44 @@ function vvvvwaj(how_vvvvwaj)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaj Some function
|
||||
function how_vvvvwaj_SomeFunc(how_vvvvwaj)
|
||||
// the vvvvwak Some function
|
||||
function how_vvvvwak_SomeFunc(how_vvvvwak)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwaj == 4)
|
||||
if (how_vvvvwak == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwak function
|
||||
function vvvvwak(type_vvvvwak)
|
||||
// the vvvvwal function
|
||||
function vvvvwal(type_vvvvwal)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwak == 2)
|
||||
if (type_vvvvwal == 2)
|
||||
{
|
||||
jQuery('#jform_libraries').closest('.control-group').show();
|
||||
if (jform_vvvvwakvzt_required)
|
||||
if (jform_vvvvwalvzu_required)
|
||||
{
|
||||
updateFieldRequired('libraries',0);
|
||||
jQuery('#jform_libraries').prop('required','required');
|
||||
jQuery('#jform_libraries').attr('aria-required',true);
|
||||
jQuery('#jform_libraries').addClass('required');
|
||||
jform_vvvvwakvzt_required = false;
|
||||
jform_vvvvwalvzu_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_libraries').closest('.control-group').hide();
|
||||
if (!jform_vvvvwakvzt_required)
|
||||
if (!jform_vvvvwalvzu_required)
|
||||
{
|
||||
updateFieldRequired('libraries',1);
|
||||
jQuery('#jform_libraries').removeAttr('required');
|
||||
jQuery('#jform_libraries').removeAttr('aria-required');
|
||||
jQuery('#jform_libraries').removeClass('required');
|
||||
jform_vvvvwakvzt_required = true;
|
||||
jform_vvvvwalvzu_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,175 +23,42 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwavwad_required = false;
|
||||
jform_vvvvwavwae_required = false;
|
||||
jform_vvvvwavwaf_required = false;
|
||||
jform_vvvvwavwag_required = false;
|
||||
jform_vvvvwavwah_required = false;
|
||||
jform_vvvvwawwae_required = false;
|
||||
jform_vvvvwawwaf_required = false;
|
||||
jform_vvvvwawwag_required = false;
|
||||
jform_vvvvwawwah_required = false;
|
||||
jform_vvvvwawwai_required = false;
|
||||
jform_vvvvwaxwaj_required = false;
|
||||
jform_vvvvwazwak_required = false;
|
||||
jform_vvvvwbbwal_required = false;
|
||||
jform_vvvvwaywak_required = false;
|
||||
jform_vvvvwbawal_required = false;
|
||||
jform_vvvvwbcwam_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var protocol_vvvvwav = jQuery("#jform_protocol").val();
|
||||
vvvvwav(protocol_vvvvwav);
|
||||
|
||||
var protocol_vvvvwaw = jQuery("#jform_protocol").val();
|
||||
vvvvwaw(protocol_vvvvwaw);
|
||||
|
||||
var protocol_vvvvwax = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwax = jQuery("#jform_authentication").val();
|
||||
vvvvwax(protocol_vvvvwax,authentication_vvvvwax);
|
||||
vvvvwax(protocol_vvvvwax);
|
||||
|
||||
var protocol_vvvvwaz = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwaz = jQuery("#jform_authentication").val();
|
||||
vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz);
|
||||
var protocol_vvvvway = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvway = jQuery("#jform_authentication").val();
|
||||
vvvvway(protocol_vvvvway,authentication_vvvvway);
|
||||
|
||||
var protocol_vvvvwbb = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwbb = jQuery("#jform_authentication").val();
|
||||
vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb);
|
||||
var protocol_vvvvwba = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwba = jQuery("#jform_authentication").val();
|
||||
vvvvwba(protocol_vvvvwba,authentication_vvvvwba);
|
||||
|
||||
var protocol_vvvvwbd = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwbd = jQuery("#jform_authentication").val();
|
||||
vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd);
|
||||
var protocol_vvvvwbc = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwbc = jQuery("#jform_authentication").val();
|
||||
vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc);
|
||||
|
||||
var protocol_vvvvwbe = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwbe = jQuery("#jform_authentication").val();
|
||||
vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe);
|
||||
});
|
||||
|
||||
// the vvvvwav function
|
||||
function vvvvwav(protocol_vvvvwav)
|
||||
{
|
||||
if (isSet(protocol_vvvvwav) && protocol_vvvvwav.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwav = protocol_vvvvwav;
|
||||
var protocol_vvvvwav = [];
|
||||
protocol_vvvvwav.push(temp_vvvvwav);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwav))
|
||||
{
|
||||
var protocol_vvvvwav = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwav.some(protocol_vvvvwav_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol)
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').show();
|
||||
if (jform_vvvvwavwad_required)
|
||||
{
|
||||
updateFieldRequired('authentication',0);
|
||||
jQuery('#jform_authentication').prop('required','required');
|
||||
jQuery('#jform_authentication').attr('aria-required',true);
|
||||
jQuery('#jform_authentication').addClass('required');
|
||||
jform_vvvvwavwad_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_host').closest('.control-group').show();
|
||||
if (jform_vvvvwavwae_required)
|
||||
{
|
||||
updateFieldRequired('host',0);
|
||||
jQuery('#jform_host').prop('required','required');
|
||||
jQuery('#jform_host').attr('aria-required',true);
|
||||
jQuery('#jform_host').addClass('required');
|
||||
jform_vvvvwavwae_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_port').closest('.control-group').show();
|
||||
if (jform_vvvvwavwaf_required)
|
||||
{
|
||||
updateFieldRequired('port',0);
|
||||
jQuery('#jform_port').prop('required','required');
|
||||
jQuery('#jform_port').attr('aria-required',true);
|
||||
jQuery('#jform_port').addClass('required');
|
||||
jform_vvvvwavwaf_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
if (jform_vvvvwavwag_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwavwag_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_ssh_security').closest('.control-group').show();
|
||||
jQuery('#jform_username').closest('.control-group').show();
|
||||
if (jform_vvvvwavwah_required)
|
||||
{
|
||||
updateFieldRequired('username',0);
|
||||
jQuery('#jform_username').prop('required','required');
|
||||
jQuery('#jform_username').attr('aria-required',true);
|
||||
jQuery('#jform_username').addClass('required');
|
||||
jform_vvvvwavwah_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').hide();
|
||||
if (!jform_vvvvwavwad_required)
|
||||
{
|
||||
updateFieldRequired('authentication',1);
|
||||
jQuery('#jform_authentication').removeAttr('required');
|
||||
jQuery('#jform_authentication').removeAttr('aria-required');
|
||||
jQuery('#jform_authentication').removeClass('required');
|
||||
jform_vvvvwavwad_required = true;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').hide();
|
||||
if (!jform_vvvvwavwae_required)
|
||||
{
|
||||
updateFieldRequired('host',1);
|
||||
jQuery('#jform_host').removeAttr('required');
|
||||
jQuery('#jform_host').removeAttr('aria-required');
|
||||
jQuery('#jform_host').removeClass('required');
|
||||
jform_vvvvwavwae_required = true;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').hide();
|
||||
if (!jform_vvvvwavwaf_required)
|
||||
{
|
||||
updateFieldRequired('port',1);
|
||||
jQuery('#jform_port').removeAttr('required');
|
||||
jQuery('#jform_port').removeAttr('aria-required');
|
||||
jQuery('#jform_port').removeClass('required');
|
||||
jform_vvvvwavwaf_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
if (!jform_vvvvwavwag_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwavwag_required = true;
|
||||
}
|
||||
jQuery('.note_ssh_security').closest('.control-group').hide();
|
||||
jQuery('#jform_username').closest('.control-group').hide();
|
||||
if (!jform_vvvvwavwah_required)
|
||||
{
|
||||
updateFieldRequired('username',1);
|
||||
jQuery('#jform_username').removeAttr('required');
|
||||
jQuery('#jform_username').removeAttr('aria-required');
|
||||
jQuery('#jform_username').removeClass('required');
|
||||
jform_vvvvwavwah_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwav Some function
|
||||
function protocol_vvvvwav_SomeFunc(protocol_vvvvwav)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwav == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwaw function
|
||||
function vvvvwaw(protocol_vvvvwaw)
|
||||
{
|
||||
@ -211,28 +78,104 @@ function vvvvwaw(protocol_vvvvwaw)
|
||||
// set this function logic
|
||||
if (protocol)
|
||||
{
|
||||
jQuery('.note_ftp_signature').closest('.control-group').show();
|
||||
jQuery('#jform_signature').closest('.control-group').show();
|
||||
jQuery('#jform_authentication').closest('.control-group').show();
|
||||
if (jform_vvvvwawwae_required)
|
||||
{
|
||||
updateFieldRequired('authentication',0);
|
||||
jQuery('#jform_authentication').prop('required','required');
|
||||
jQuery('#jform_authentication').attr('aria-required',true);
|
||||
jQuery('#jform_authentication').addClass('required');
|
||||
jform_vvvvwawwae_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_host').closest('.control-group').show();
|
||||
if (jform_vvvvwawwaf_required)
|
||||
{
|
||||
updateFieldRequired('host',0);
|
||||
jQuery('#jform_host').prop('required','required');
|
||||
jQuery('#jform_host').attr('aria-required',true);
|
||||
jQuery('#jform_host').addClass('required');
|
||||
jform_vvvvwawwaf_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_port').closest('.control-group').show();
|
||||
if (jform_vvvvwawwag_required)
|
||||
{
|
||||
updateFieldRequired('port',0);
|
||||
jQuery('#jform_port').prop('required','required');
|
||||
jQuery('#jform_port').attr('aria-required',true);
|
||||
jQuery('#jform_port').addClass('required');
|
||||
jform_vvvvwawwag_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
if (jform_vvvvwawwah_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwawwah_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_ssh_security').closest('.control-group').show();
|
||||
jQuery('#jform_username').closest('.control-group').show();
|
||||
if (jform_vvvvwawwai_required)
|
||||
{
|
||||
updateFieldRequired('signature',0);
|
||||
jQuery('#jform_signature').prop('required','required');
|
||||
jQuery('#jform_signature').attr('aria-required',true);
|
||||
jQuery('#jform_signature').addClass('required');
|
||||
updateFieldRequired('username',0);
|
||||
jQuery('#jform_username').prop('required','required');
|
||||
jQuery('#jform_username').attr('aria-required',true);
|
||||
jQuery('#jform_username').addClass('required');
|
||||
jform_vvvvwawwai_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_ftp_signature').closest('.control-group').hide();
|
||||
jQuery('#jform_signature').closest('.control-group').hide();
|
||||
jQuery('#jform_authentication').closest('.control-group').hide();
|
||||
if (!jform_vvvvwawwae_required)
|
||||
{
|
||||
updateFieldRequired('authentication',1);
|
||||
jQuery('#jform_authentication').removeAttr('required');
|
||||
jQuery('#jform_authentication').removeAttr('aria-required');
|
||||
jQuery('#jform_authentication').removeClass('required');
|
||||
jform_vvvvwawwae_required = true;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').hide();
|
||||
if (!jform_vvvvwawwaf_required)
|
||||
{
|
||||
updateFieldRequired('host',1);
|
||||
jQuery('#jform_host').removeAttr('required');
|
||||
jQuery('#jform_host').removeAttr('aria-required');
|
||||
jQuery('#jform_host').removeClass('required');
|
||||
jform_vvvvwawwaf_required = true;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').hide();
|
||||
if (!jform_vvvvwawwag_required)
|
||||
{
|
||||
updateFieldRequired('port',1);
|
||||
jQuery('#jform_port').removeAttr('required');
|
||||
jQuery('#jform_port').removeAttr('aria-required');
|
||||
jQuery('#jform_port').removeClass('required');
|
||||
jform_vvvvwawwag_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
if (!jform_vvvvwawwah_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwawwah_required = true;
|
||||
}
|
||||
jQuery('.note_ssh_security').closest('.control-group').hide();
|
||||
jQuery('#jform_username').closest('.control-group').hide();
|
||||
if (!jform_vvvvwawwai_required)
|
||||
{
|
||||
updateFieldRequired('signature',1);
|
||||
jQuery('#jform_signature').removeAttr('required');
|
||||
jQuery('#jform_signature').removeAttr('aria-required');
|
||||
jQuery('#jform_signature').removeClass('required');
|
||||
updateFieldRequired('username',1);
|
||||
jQuery('#jform_username').removeAttr('required');
|
||||
jQuery('#jform_username').removeAttr('aria-required');
|
||||
jQuery('#jform_username').removeClass('required');
|
||||
jform_vvvvwawwai_required = true;
|
||||
}
|
||||
}
|
||||
@ -242,7 +185,7 @@ function vvvvwaw(protocol_vvvvwaw)
|
||||
function protocol_vvvvwaw_SomeFunc(protocol_vvvvwaw)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwaw == 1)
|
||||
if (protocol_vvvvwaw == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -250,7 +193,7 @@ function protocol_vvvvwaw_SomeFunc(protocol_vvvvwaw)
|
||||
}
|
||||
|
||||
// the vvvvwax function
|
||||
function vvvvwax(protocol_vvvvwax,authentication_vvvvwax)
|
||||
function vvvvwax(protocol_vvvvwax)
|
||||
{
|
||||
if (isSet(protocol_vvvvwax) && protocol_vvvvwax.constructor !== Array)
|
||||
{
|
||||
@ -264,42 +207,32 @@ function vvvvwax(protocol_vvvvwax,authentication_vvvvwax)
|
||||
}
|
||||
var protocol = protocol_vvvvwax.some(protocol_vvvvwax_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwax) && authentication_vvvvwax.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwax = authentication_vvvvwax;
|
||||
var authentication_vvvvwax = [];
|
||||
authentication_vvvvwax.push(temp_vvvvwax);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwax))
|
||||
{
|
||||
var authentication_vvvvwax = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwax.some(authentication_vvvvwax_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol && authentication)
|
||||
if (protocol)
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').show();
|
||||
jQuery('.note_ftp_signature').closest('.control-group').show();
|
||||
jQuery('#jform_signature').closest('.control-group').show();
|
||||
if (jform_vvvvwaxwaj_required)
|
||||
{
|
||||
updateFieldRequired('password',0);
|
||||
jQuery('#jform_password').prop('required','required');
|
||||
jQuery('#jform_password').attr('aria-required',true);
|
||||
jQuery('#jform_password').addClass('required');
|
||||
updateFieldRequired('signature',0);
|
||||
jQuery('#jform_signature').prop('required','required');
|
||||
jQuery('#jform_signature').attr('aria-required',true);
|
||||
jQuery('#jform_signature').addClass('required');
|
||||
jform_vvvvwaxwaj_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').hide();
|
||||
jQuery('.note_ftp_signature').closest('.control-group').hide();
|
||||
jQuery('#jform_signature').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaxwaj_required)
|
||||
{
|
||||
updateFieldRequired('password',1);
|
||||
jQuery('#jform_password').removeAttr('required');
|
||||
jQuery('#jform_password').removeAttr('aria-required');
|
||||
jQuery('#jform_password').removeClass('required');
|
||||
updateFieldRequired('signature',1);
|
||||
jQuery('#jform_signature').removeAttr('required');
|
||||
jQuery('#jform_signature').removeAttr('aria-required');
|
||||
jQuery('#jform_signature').removeClass('required');
|
||||
jform_vvvvwaxwaj_required = true;
|
||||
}
|
||||
}
|
||||
@ -309,206 +242,273 @@ function vvvvwax(protocol_vvvvwax,authentication_vvvvwax)
|
||||
function protocol_vvvvwax_SomeFunc(protocol_vvvvwax)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwax == 2)
|
||||
if (protocol_vvvvwax == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwax Some function
|
||||
function authentication_vvvvwax_SomeFunc(authentication_vvvvwax)
|
||||
// the vvvvway function
|
||||
function vvvvway(protocol_vvvvway,authentication_vvvvway)
|
||||
{
|
||||
if (isSet(protocol_vvvvway) && protocol_vvvvway.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvway = protocol_vvvvway;
|
||||
var protocol_vvvvway = [];
|
||||
protocol_vvvvway.push(temp_vvvvway);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvway))
|
||||
{
|
||||
var protocol_vvvvway = [];
|
||||
}
|
||||
var protocol = protocol_vvvvway.some(protocol_vvvvway_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvway) && authentication_vvvvway.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvway = authentication_vvvvway;
|
||||
var authentication_vvvvway = [];
|
||||
authentication_vvvvway.push(temp_vvvvway);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvway))
|
||||
{
|
||||
var authentication_vvvvway = [];
|
||||
}
|
||||
var authentication = authentication_vvvvway.some(authentication_vvvvway_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol && authentication)
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').show();
|
||||
if (jform_vvvvwaywak_required)
|
||||
{
|
||||
updateFieldRequired('password',0);
|
||||
jQuery('#jform_password').prop('required','required');
|
||||
jQuery('#jform_password').attr('aria-required',true);
|
||||
jQuery('#jform_password').addClass('required');
|
||||
jform_vvvvwaywak_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaywak_required)
|
||||
{
|
||||
updateFieldRequired('password',1);
|
||||
jQuery('#jform_password').removeAttr('required');
|
||||
jQuery('#jform_password').removeAttr('aria-required');
|
||||
jQuery('#jform_password').removeClass('required');
|
||||
jform_vvvvwaywak_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvway Some function
|
||||
function protocol_vvvvway_SomeFunc(protocol_vvvvway)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwax == 1 || authentication_vvvvwax == 3 || authentication_vvvvwax == 5)
|
||||
if (protocol_vvvvway == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwaz function
|
||||
function vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz)
|
||||
// the vvvvway Some function
|
||||
function authentication_vvvvway_SomeFunc(authentication_vvvvway)
|
||||
{
|
||||
if (isSet(protocol_vvvvwaz) && protocol_vvvvwaz.constructor !== Array)
|
||||
// set the function logic
|
||||
if (authentication_vvvvway == 1 || authentication_vvvvway == 3 || authentication_vvvvway == 5)
|
||||
{
|
||||
var temp_vvvvwaz = protocol_vvvvwaz;
|
||||
var protocol_vvvvwaz = [];
|
||||
protocol_vvvvwaz.push(temp_vvvvwaz);
|
||||
return true;
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwaz))
|
||||
{
|
||||
var protocol_vvvvwaz = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwaz.some(protocol_vvvvwaz_SomeFunc);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isSet(authentication_vvvvwaz) && authentication_vvvvwaz.constructor !== Array)
|
||||
// the vvvvwba function
|
||||
function vvvvwba(protocol_vvvvwba,authentication_vvvvwba)
|
||||
{
|
||||
if (isSet(protocol_vvvvwba) && protocol_vvvvwba.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwaz = authentication_vvvvwaz;
|
||||
var authentication_vvvvwaz = [];
|
||||
authentication_vvvvwaz.push(temp_vvvvwaz);
|
||||
var temp_vvvvwba = protocol_vvvvwba;
|
||||
var protocol_vvvvwba = [];
|
||||
protocol_vvvvwba.push(temp_vvvvwba);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwaz))
|
||||
else if (!isSet(protocol_vvvvwba))
|
||||
{
|
||||
var authentication_vvvvwaz = [];
|
||||
var protocol_vvvvwba = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwaz.some(authentication_vvvvwaz_SomeFunc);
|
||||
var protocol = protocol_vvvvwba.some(protocol_vvvvwba_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwba) && authentication_vvvvwba.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwba = authentication_vvvvwba;
|
||||
var authentication_vvvvwba = [];
|
||||
authentication_vvvvwba.push(temp_vvvvwba);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwba))
|
||||
{
|
||||
var authentication_vvvvwba = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwba.some(authentication_vvvvwba_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol && authentication)
|
||||
{
|
||||
jQuery('#jform_private').closest('.control-group').show();
|
||||
if (jform_vvvvwazwak_required)
|
||||
if (jform_vvvvwbawal_required)
|
||||
{
|
||||
updateFieldRequired('private',0);
|
||||
jQuery('#jform_private').prop('required','required');
|
||||
jQuery('#jform_private').attr('aria-required',true);
|
||||
jQuery('#jform_private').addClass('required');
|
||||
jform_vvvvwazwak_required = false;
|
||||
jform_vvvvwbawal_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private').closest('.control-group').hide();
|
||||
if (!jform_vvvvwazwak_required)
|
||||
if (!jform_vvvvwbawal_required)
|
||||
{
|
||||
updateFieldRequired('private',1);
|
||||
jQuery('#jform_private').removeAttr('required');
|
||||
jQuery('#jform_private').removeAttr('aria-required');
|
||||
jQuery('#jform_private').removeClass('required');
|
||||
jform_vvvvwazwak_required = true;
|
||||
jform_vvvvwbawal_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaz Some function
|
||||
function protocol_vvvvwaz_SomeFunc(protocol_vvvvwaz)
|
||||
// the vvvvwba Some function
|
||||
function protocol_vvvvwba_SomeFunc(protocol_vvvvwba)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwaz == 2)
|
||||
if (protocol_vvvvwba == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwaz Some function
|
||||
function authentication_vvvvwaz_SomeFunc(authentication_vvvvwaz)
|
||||
// the vvvvwba Some function
|
||||
function authentication_vvvvwba_SomeFunc(authentication_vvvvwba)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwaz == 2 || authentication_vvvvwaz == 3)
|
||||
if (authentication_vvvvwba == 2 || authentication_vvvvwba == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbb function
|
||||
function vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb)
|
||||
// the vvvvwbc function
|
||||
function vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc)
|
||||
{
|
||||
if (isSet(protocol_vvvvwbb) && protocol_vvvvwbb.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwbc) && protocol_vvvvwbc.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbb = protocol_vvvvwbb;
|
||||
var protocol_vvvvwbb = [];
|
||||
protocol_vvvvwbb.push(temp_vvvvwbb);
|
||||
var temp_vvvvwbc = protocol_vvvvwbc;
|
||||
var protocol_vvvvwbc = [];
|
||||
protocol_vvvvwbc.push(temp_vvvvwbc);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwbb))
|
||||
else if (!isSet(protocol_vvvvwbc))
|
||||
{
|
||||
var protocol_vvvvwbb = [];
|
||||
var protocol_vvvvwbc = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwbb.some(protocol_vvvvwbb_SomeFunc);
|
||||
var protocol = protocol_vvvvwbc.some(protocol_vvvvwbc_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwbb) && authentication_vvvvwbb.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwbc) && authentication_vvvvwbc.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbb = authentication_vvvvwbb;
|
||||
var authentication_vvvvwbb = [];
|
||||
authentication_vvvvwbb.push(temp_vvvvwbb);
|
||||
var temp_vvvvwbc = authentication_vvvvwbc;
|
||||
var authentication_vvvvwbc = [];
|
||||
authentication_vvvvwbc.push(temp_vvvvwbc);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwbb))
|
||||
else if (!isSet(authentication_vvvvwbc))
|
||||
{
|
||||
var authentication_vvvvwbb = [];
|
||||
var authentication_vvvvwbc = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwbb.some(authentication_vvvvwbb_SomeFunc);
|
||||
var authentication = authentication_vvvvwbc.some(authentication_vvvvwbc_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol && authentication)
|
||||
{
|
||||
jQuery('#jform_private_key').closest('.control-group').show();
|
||||
if (jform_vvvvwbbwal_required)
|
||||
if (jform_vvvvwbcwam_required)
|
||||
{
|
||||
updateFieldRequired('private_key',0);
|
||||
jQuery('#jform_private_key').prop('required','required');
|
||||
jQuery('#jform_private_key').attr('aria-required',true);
|
||||
jQuery('#jform_private_key').addClass('required');
|
||||
jform_vvvvwbbwal_required = false;
|
||||
jform_vvvvwbcwam_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private_key').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbbwal_required)
|
||||
if (!jform_vvvvwbcwam_required)
|
||||
{
|
||||
updateFieldRequired('private_key',1);
|
||||
jQuery('#jform_private_key').removeAttr('required');
|
||||
jQuery('#jform_private_key').removeAttr('aria-required');
|
||||
jQuery('#jform_private_key').removeClass('required');
|
||||
jform_vvvvwbbwal_required = true;
|
||||
jform_vvvvwbcwam_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbb Some function
|
||||
function protocol_vvvvwbb_SomeFunc(protocol_vvvvwbb)
|
||||
// the vvvvwbc Some function
|
||||
function protocol_vvvvwbc_SomeFunc(protocol_vvvvwbc)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwbb == 2)
|
||||
if (protocol_vvvvwbc == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbb Some function
|
||||
function authentication_vvvvwbb_SomeFunc(authentication_vvvvwbb)
|
||||
// the vvvvwbc Some function
|
||||
function authentication_vvvvwbc_SomeFunc(authentication_vvvvwbc)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwbb == 4 || authentication_vvvvwbb == 5)
|
||||
if (authentication_vvvvwbc == 4 || authentication_vvvvwbc == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbd function
|
||||
function vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd)
|
||||
// the vvvvwbe function
|
||||
function vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe)
|
||||
{
|
||||
if (isSet(protocol_vvvvwbd) && protocol_vvvvwbd.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwbe) && protocol_vvvvwbe.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbd = protocol_vvvvwbd;
|
||||
var protocol_vvvvwbd = [];
|
||||
protocol_vvvvwbd.push(temp_vvvvwbd);
|
||||
var temp_vvvvwbe = protocol_vvvvwbe;
|
||||
var protocol_vvvvwbe = [];
|
||||
protocol_vvvvwbe.push(temp_vvvvwbe);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwbd))
|
||||
else if (!isSet(protocol_vvvvwbe))
|
||||
{
|
||||
var protocol_vvvvwbd = [];
|
||||
var protocol_vvvvwbe = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwbd.some(protocol_vvvvwbd_SomeFunc);
|
||||
var protocol = protocol_vvvvwbe.some(protocol_vvvvwbe_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwbd) && authentication_vvvvwbd.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwbe) && authentication_vvvvwbe.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbd = authentication_vvvvwbd;
|
||||
var authentication_vvvvwbd = [];
|
||||
authentication_vvvvwbd.push(temp_vvvvwbd);
|
||||
var temp_vvvvwbe = authentication_vvvvwbe;
|
||||
var authentication_vvvvwbe = [];
|
||||
authentication_vvvvwbe.push(temp_vvvvwbe);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwbd))
|
||||
else if (!isSet(authentication_vvvvwbe))
|
||||
{
|
||||
var authentication_vvvvwbd = [];
|
||||
var authentication_vvvvwbe = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwbd.some(authentication_vvvvwbd_SomeFunc);
|
||||
var authentication = authentication_vvvvwbe.some(authentication_vvvvwbe_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -522,22 +522,22 @@ function vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbd Some function
|
||||
function protocol_vvvvwbd_SomeFunc(protocol_vvvvwbd)
|
||||
// the vvvvwbe Some function
|
||||
function protocol_vvvvwbe_SomeFunc(protocol_vvvvwbe)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwbd == 2)
|
||||
if (protocol_vvvvwbe == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbd Some function
|
||||
function authentication_vvvvwbd_SomeFunc(authentication_vvvvwbd)
|
||||
// the vvvvwbe Some function
|
||||
function authentication_vvvvwbe_SomeFunc(authentication_vvvvwbe)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwbd == 2 || authentication_vvvvwbd == 3 || authentication_vvvvwbd == 4 || authentication_vvvvwbd == 5)
|
||||
if (authentication_vvvvwbe == 2 || authentication_vvvvwbe == 3 || authentication_vvvvwbe == 4 || authentication_vvvvwbe == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -23,7 +23,6 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvynvyh_required = false;
|
||||
jform_vvvvvyovyi_required = false;
|
||||
jform_vvvvvypvyj_required = false;
|
||||
jform_vvvvvyqvyk_required = false;
|
||||
@ -33,308 +32,309 @@ jform_vvvvvytvyn_required = false;
|
||||
jform_vvvvvyuvyo_required = false;
|
||||
jform_vvvvvyvvyp_required = false;
|
||||
jform_vvvvvywvyq_required = false;
|
||||
jform_vvvvvywvyr_required = false;
|
||||
jform_vvvvvyxvyr_required = false;
|
||||
jform_vvvvvyxvys_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvyn = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyn(add_php_view_vvvvvyn);
|
||||
var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_view_vvvvvyo);
|
||||
|
||||
var add_php_jview_display_vvvvvyo = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_jview_display_vvvvvyo);
|
||||
var add_php_jview_display_vvvvvyp = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_jview_display_vvvvvyp);
|
||||
|
||||
var add_php_jview_vvvvvyp = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_jview_vvvvvyp);
|
||||
var add_php_jview_vvvvvyq = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_jview_vvvvvyq);
|
||||
|
||||
var add_php_document_vvvvvyq = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_document_vvvvvyq);
|
||||
var add_php_document_vvvvvyr = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyr(add_php_document_vvvvvyr);
|
||||
|
||||
var add_css_document_vvvvvyr = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyr(add_css_document_vvvvvyr);
|
||||
var add_css_document_vvvvvys = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvys(add_css_document_vvvvvys);
|
||||
|
||||
var add_javascript_file_vvvvvys = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvys(add_javascript_file_vvvvvys);
|
||||
var add_javascript_file_vvvvvyt = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvyt(add_javascript_file_vvvvvyt);
|
||||
|
||||
var add_js_document_vvvvvyt = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyt(add_js_document_vvvvvyt);
|
||||
var add_js_document_vvvvvyu = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyu(add_js_document_vvvvvyu);
|
||||
|
||||
var add_css_vvvvvyu = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvyu(add_css_vvvvvyu);
|
||||
var add_css_vvvvvyv = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvyv(add_css_vvvvvyv);
|
||||
|
||||
var add_php_ajax_vvvvvyv = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyv(add_php_ajax_vvvvvyv);
|
||||
var add_php_ajax_vvvvvyw = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyw(add_php_ajax_vvvvvyw);
|
||||
|
||||
var add_custom_button_vvvvvyw = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyw(add_custom_button_vvvvvyw);
|
||||
var add_custom_button_vvvvvyx = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyx(add_custom_button_vvvvvyx);
|
||||
|
||||
var button_position_vvvvvyx = jQuery("#jform_button_position").val();
|
||||
vvvvvyx(button_position_vvvvvyx);
|
||||
var button_position_vvvvvyy = jQuery("#jform_button_position").val();
|
||||
vvvvvyy(button_position_vvvvvyy);
|
||||
});
|
||||
|
||||
// the vvvvvyn function
|
||||
function vvvvvyn(add_php_view_vvvvvyn)
|
||||
// the vvvvvyo function
|
||||
function vvvvvyo(add_php_view_vvvvvyo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvyn == 1)
|
||||
if (add_php_view_vvvvvyo == 1)
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').show();
|
||||
if (jform_vvvvvynvyh_required)
|
||||
if (jform_vvvvvyovyi_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_vvvvvynvyh_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvynvyh_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_vvvvvynvyh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyo function
|
||||
function vvvvvyo(add_php_jview_display_vvvvvyo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvvyo == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').show();
|
||||
if (jform_vvvvvyovyi_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_vvvvvyovyi_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').hide();
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyovyi_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_vvvvvyovyi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyp function
|
||||
function vvvvvyp(add_php_jview_vvvvvyp)
|
||||
function vvvvvyp(add_php_jview_display_vvvvvyp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvvyp == 1)
|
||||
if (add_php_jview_display_vvvvvyp == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').show();
|
||||
if (jform_vvvvvypvyj_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_vvvvvypvyj_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview_display').closest('.control-group').hide();
|
||||
if (!jform_vvvvvypvyj_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_vvvvvypvyj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyq function
|
||||
function vvvvvyq(add_php_document_vvvvvyq)
|
||||
function vvvvvyq(add_php_jview_vvvvvyq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvyq == 1)
|
||||
if (add_php_jview_vvvvvyq == 1)
|
||||
{
|
||||
jQuery('#jform_php_document').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview').closest('.control-group').show();
|
||||
if (jform_vvvvvyqvyk_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_vvvvvyqvyk_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_document').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyqvyk_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_vvvvvyqvyk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyr function
|
||||
function vvvvvyr(add_css_document_vvvvvyr)
|
||||
function vvvvvyr(add_php_document_vvvvvyr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvvyr == 1)
|
||||
if (add_php_document_vvvvvyr == 1)
|
||||
{
|
||||
jQuery('#jform_css_document').closest('.control-group').show();
|
||||
jQuery('#jform_php_document').closest('.control-group').show();
|
||||
if (jform_vvvvvyrvyl_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_vvvvvyrvyl_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_document').closest('.control-group').hide();
|
||||
jQuery('#jform_php_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyrvyl_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_vvvvvyrvyl_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvys function
|
||||
function vvvvvys(add_javascript_file_vvvvvys)
|
||||
function vvvvvys(add_css_document_vvvvvys)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_file_vvvvvys == 1)
|
||||
if (add_css_document_vvvvvys == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_file').closest('.control-group').show();
|
||||
jQuery('#jform_css_document').closest('.control-group').show();
|
||||
if (jform_vvvvvysvym_required)
|
||||
{
|
||||
updateFieldRequired('javascript_file',0);
|
||||
jQuery('#jform_javascript_file').prop('required','required');
|
||||
jQuery('#jform_javascript_file').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_file').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_vvvvvysvym_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_file').closest('.control-group').hide();
|
||||
jQuery('#jform_css_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvysvym_required)
|
||||
{
|
||||
updateFieldRequired('javascript_file',1);
|
||||
jQuery('#jform_javascript_file').removeAttr('required');
|
||||
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_file').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_vvvvvysvym_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyt function
|
||||
function vvvvvyt(add_js_document_vvvvvyt)
|
||||
function vvvvvyt(add_javascript_file_vvvvvyt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvvyt == 1)
|
||||
if (add_javascript_file_vvvvvyt == 1)
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').show();
|
||||
jQuery('#jform_javascript_file').closest('.control-group').show();
|
||||
if (jform_vvvvvytvyn_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('javascript_file',0);
|
||||
jQuery('#jform_javascript_file').prop('required','required');
|
||||
jQuery('#jform_javascript_file').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_file').addClass('required');
|
||||
jform_vvvvvytvyn_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_js_document').closest('.control-group').hide();
|
||||
jQuery('#jform_javascript_file').closest('.control-group').hide();
|
||||
if (!jform_vvvvvytvyn_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('javascript_file',1);
|
||||
jQuery('#jform_javascript_file').removeAttr('required');
|
||||
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_file').removeClass('required');
|
||||
jform_vvvvvytvyn_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyu function
|
||||
function vvvvvyu(add_css_vvvvvyu)
|
||||
function vvvvvyu(add_js_document_vvvvvyu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvvyu == 1)
|
||||
if (add_js_document_vvvvvyu == 1)
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').show();
|
||||
jQuery('#jform_js_document').closest('.control-group').show();
|
||||
if (jform_vvvvvyuvyo_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_vvvvvyuvyo_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').hide();
|
||||
jQuery('#jform_js_document').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyuvyo_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_vvvvvyuvyo_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyv function
|
||||
function vvvvvyv(add_php_ajax_vvvvvyv)
|
||||
function vvvvvyv(add_css_vvvvvyv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvyv == 1)
|
||||
if (add_css_vvvvvyv == 1)
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').show();
|
||||
if (jform_vvvvvyvvyp_required)
|
||||
{
|
||||
updateFieldRequired('css',0);
|
||||
jQuery('#jform_css').prop('required','required');
|
||||
jQuery('#jform_css').attr('aria-required',true);
|
||||
jQuery('#jform_css').addClass('required');
|
||||
jform_vvvvvyvvyp_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyvvyp_required)
|
||||
{
|
||||
updateFieldRequired('css',1);
|
||||
jQuery('#jform_css').removeAttr('required');
|
||||
jQuery('#jform_css').removeAttr('aria-required');
|
||||
jQuery('#jform_css').removeClass('required');
|
||||
jform_vvvvvyvvyp_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyw function
|
||||
function vvvvvyw(add_php_ajax_vvvvvyw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvyw == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
|
||||
if (jform_vvvvvyvvyp_required)
|
||||
if (jform_vvvvvywvyq_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_vvvvvyvvyp_required = false;
|
||||
jform_vvvvvywvyq_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -342,42 +342,42 @@ function vvvvvyv(add_php_ajax_vvvvvyv)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyvvyp_required)
|
||||
if (!jform_vvvvvywvyq_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_vvvvvyvvyp_required = true;
|
||||
jform_vvvvvywvyq_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyw function
|
||||
function vvvvvyw(add_custom_button_vvvvvyw)
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(add_custom_button_vvvvvyx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvyw == 1)
|
||||
if (add_custom_button_vvvvvyx == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller').closest('.control-group').show();
|
||||
if (jform_vvvvvywvyq_required)
|
||||
if (jform_vvvvvyxvyr_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_vvvvvywvyq_required = false;
|
||||
jform_vvvvvyxvyr_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_php_model').closest('.control-group').show();
|
||||
if (jform_vvvvvywvyr_required)
|
||||
if (jform_vvvvvyxvys_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_vvvvvywvyr_required = false;
|
||||
jform_vvvvvyxvys_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -385,40 +385,40 @@ function vvvvvyw(add_custom_button_vvvvvyw)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_controller').closest('.control-group').hide();
|
||||
if (!jform_vvvvvywvyq_required)
|
||||
if (!jform_vvvvvyxvyr_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_vvvvvywvyq_required = true;
|
||||
jform_vvvvvyxvyr_required = true;
|
||||
}
|
||||
jQuery('#jform_php_model').closest('.control-group').hide();
|
||||
if (!jform_vvvvvywvyr_required)
|
||||
if (!jform_vvvvvyxvys_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_vvvvvywvyr_required = true;
|
||||
jform_vvvvvyxvys_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(button_position_vvvvvyx)
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(button_position_vvvvvyy)
|
||||
{
|
||||
if (isSet(button_position_vvvvvyx) && button_position_vvvvvyx.constructor !== Array)
|
||||
if (isSet(button_position_vvvvvyy) && button_position_vvvvvyy.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvyx = button_position_vvvvvyx;
|
||||
var button_position_vvvvvyx = [];
|
||||
button_position_vvvvvyx.push(temp_vvvvvyx);
|
||||
var temp_vvvvvyy = button_position_vvvvvyy;
|
||||
var button_position_vvvvvyy = [];
|
||||
button_position_vvvvvyy.push(temp_vvvvvyy);
|
||||
}
|
||||
else if (!isSet(button_position_vvvvvyx))
|
||||
else if (!isSet(button_position_vvvvvyy))
|
||||
{
|
||||
var button_position_vvvvvyx = [];
|
||||
var button_position_vvvvvyy = [];
|
||||
}
|
||||
var button_position = button_position_vvvvvyx.some(button_position_vvvvvyx_SomeFunc);
|
||||
var button_position = button_position_vvvvvyy.some(button_position_vvvvvyy_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -432,11 +432,11 @@ function vvvvvyx(button_position_vvvvvyx)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyx Some function
|
||||
function button_position_vvvvvyx_SomeFunc(button_position_vvvvvyx)
|
||||
// the vvvvvyy Some function
|
||||
function button_position_vvvvvyy_SomeFunc(button_position_vvvvvyy)
|
||||
{
|
||||
// set the function logic
|
||||
if (button_position_vvvvvyx == 5)
|
||||
if (button_position_vvvvvyy == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -23,42 +23,42 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvyyvys_required = false;
|
||||
jform_vvvvvyzvyt_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvyy = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyy(add_php_view_vvvvvyy);
|
||||
var add_php_view_vvvvvyz = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyz(add_php_view_vvvvvyz);
|
||||
});
|
||||
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(add_php_view_vvvvvyy)
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(add_php_view_vvvvvyz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvyy == 1)
|
||||
if (add_php_view_vvvvvyz == 1)
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').show();
|
||||
if (jform_vvvvvyyvys_required)
|
||||
if (jform_vvvvvyzvyt_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_vvvvvyyvys_required = false;
|
||||
jform_vvvvvyzvyt_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyyvys_required)
|
||||
if (!jform_vvvvvyzvyt_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_vvvvvyyvys_required = true;
|
||||
jform_vvvvvyzvyt_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -100,34 +100,28 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
||||
$item->metadata = $registry->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->php_postflight_update))
|
||||
{
|
||||
// base64 Decode php_postflight_update.
|
||||
$item->php_postflight_update = base64_decode($item->php_postflight_update);
|
||||
}
|
||||
|
||||
if (!empty($item->php_preflight_update))
|
||||
{
|
||||
// base64 Decode php_preflight_update.
|
||||
$item->php_preflight_update = base64_decode($item->php_preflight_update);
|
||||
}
|
||||
|
||||
if (!empty($item->javascript))
|
||||
{
|
||||
// base64 Decode javascript.
|
||||
$item->javascript = base64_decode($item->javascript);
|
||||
}
|
||||
|
||||
if (!empty($item->css_site))
|
||||
{
|
||||
// base64 Decode css_site.
|
||||
$item->css_site = base64_decode($item->css_site);
|
||||
}
|
||||
|
||||
if (!empty($item->sql))
|
||||
if (!empty($item->php_helper_site))
|
||||
{
|
||||
// base64 Decode sql.
|
||||
$item->sql = base64_decode($item->sql);
|
||||
// base64 Decode php_helper_site.
|
||||
$item->php_helper_site = base64_decode($item->php_helper_site);
|
||||
}
|
||||
|
||||
if (!empty($item->javascript))
|
||||
{
|
||||
// base64 Decode javascript.
|
||||
$item->javascript = base64_decode($item->javascript);
|
||||
}
|
||||
|
||||
if (!empty($item->php_helper_admin))
|
||||
@ -136,10 +130,22 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
||||
$item->php_helper_admin = base64_decode($item->php_helper_admin);
|
||||
}
|
||||
|
||||
if (!empty($item->php_helper_site))
|
||||
if (!empty($item->readme))
|
||||
{
|
||||
// base64 Decode php_helper_site.
|
||||
$item->php_helper_site = base64_decode($item->php_helper_site);
|
||||
// base64 Decode readme.
|
||||
$item->readme = base64_decode($item->readme);
|
||||
}
|
||||
|
||||
if (!empty($item->php_postflight_update))
|
||||
{
|
||||
// base64 Decode php_postflight_update.
|
||||
$item->php_postflight_update = base64_decode($item->php_postflight_update);
|
||||
}
|
||||
|
||||
if (!empty($item->sql))
|
||||
{
|
||||
// base64 Decode sql.
|
||||
$item->sql = base64_decode($item->sql);
|
||||
}
|
||||
|
||||
if (!empty($item->php_helper_both))
|
||||
@ -184,10 +190,10 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
||||
$item->php_method_uninstall = base64_decode($item->php_method_uninstall);
|
||||
}
|
||||
|
||||
if (!empty($item->readme))
|
||||
if (!empty($item->sql_uninstall))
|
||||
{
|
||||
// base64 Decode readme.
|
||||
$item->readme = base64_decode($item->readme);
|
||||
// base64 Decode sql_uninstall.
|
||||
$item->sql_uninstall = base64_decode($item->sql_uninstall);
|
||||
}
|
||||
|
||||
if (!empty($item->buildcompsql))
|
||||
@ -1063,34 +1069,28 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
||||
$data['addcontributors'] = '';
|
||||
}
|
||||
|
||||
// Set the php_postflight_update string to base64 string.
|
||||
if (isset($data['php_postflight_update']))
|
||||
{
|
||||
$data['php_postflight_update'] = base64_encode($data['php_postflight_update']);
|
||||
}
|
||||
|
||||
// Set the php_preflight_update string to base64 string.
|
||||
if (isset($data['php_preflight_update']))
|
||||
{
|
||||
$data['php_preflight_update'] = base64_encode($data['php_preflight_update']);
|
||||
}
|
||||
|
||||
// Set the javascript string to base64 string.
|
||||
if (isset($data['javascript']))
|
||||
{
|
||||
$data['javascript'] = base64_encode($data['javascript']);
|
||||
}
|
||||
|
||||
// Set the css_site string to base64 string.
|
||||
if (isset($data['css_site']))
|
||||
{
|
||||
$data['css_site'] = base64_encode($data['css_site']);
|
||||
}
|
||||
|
||||
// Set the sql string to base64 string.
|
||||
if (isset($data['sql']))
|
||||
// Set the php_helper_site string to base64 string.
|
||||
if (isset($data['php_helper_site']))
|
||||
{
|
||||
$data['sql'] = base64_encode($data['sql']);
|
||||
$data['php_helper_site'] = base64_encode($data['php_helper_site']);
|
||||
}
|
||||
|
||||
// Set the javascript string to base64 string.
|
||||
if (isset($data['javascript']))
|
||||
{
|
||||
$data['javascript'] = base64_encode($data['javascript']);
|
||||
}
|
||||
|
||||
// Set the php_helper_admin string to base64 string.
|
||||
@ -1099,10 +1099,22 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
||||
$data['php_helper_admin'] = base64_encode($data['php_helper_admin']);
|
||||
}
|
||||
|
||||
// Set the php_helper_site string to base64 string.
|
||||
if (isset($data['php_helper_site']))
|
||||
// Set the readme string to base64 string.
|
||||
if (isset($data['readme']))
|
||||
{
|
||||
$data['php_helper_site'] = base64_encode($data['php_helper_site']);
|
||||
$data['readme'] = base64_encode($data['readme']);
|
||||
}
|
||||
|
||||
// Set the php_postflight_update string to base64 string.
|
||||
if (isset($data['php_postflight_update']))
|
||||
{
|
||||
$data['php_postflight_update'] = base64_encode($data['php_postflight_update']);
|
||||
}
|
||||
|
||||
// Set the sql string to base64 string.
|
||||
if (isset($data['sql']))
|
||||
{
|
||||
$data['sql'] = base64_encode($data['sql']);
|
||||
}
|
||||
|
||||
// Set the php_helper_both string to base64 string.
|
||||
@ -1147,10 +1159,10 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
||||
$data['php_method_uninstall'] = base64_encode($data['php_method_uninstall']);
|
||||
}
|
||||
|
||||
// Set the readme string to base64 string.
|
||||
if (isset($data['readme']))
|
||||
// Set the sql_uninstall string to base64 string.
|
||||
if (isset($data['sql_uninstall']))
|
||||
{
|
||||
$data['readme'] = base64_encode($data['readme']);
|
||||
$data['sql_uninstall'] = base64_encode($data['sql_uninstall']);
|
||||
}
|
||||
|
||||
// Set the buildcompsql string to base64 string.
|
||||
|
@ -1921,20 +1921,22 @@ class ComponentbuilderModelJoomla_components extends JModelList
|
||||
continue;
|
||||
}
|
||||
|
||||
// decode php_postflight_update
|
||||
$item->php_postflight_update = base64_decode($item->php_postflight_update);
|
||||
// decode php_preflight_update
|
||||
$item->php_preflight_update = base64_decode($item->php_preflight_update);
|
||||
// decode javascript
|
||||
$item->javascript = base64_decode($item->javascript);
|
||||
// decode css_site
|
||||
$item->css_site = base64_decode($item->css_site);
|
||||
// decode sql
|
||||
$item->sql = base64_decode($item->sql);
|
||||
// decode php_helper_admin
|
||||
$item->php_helper_admin = base64_decode($item->php_helper_admin);
|
||||
// decode php_helper_site
|
||||
$item->php_helper_site = base64_decode($item->php_helper_site);
|
||||
// decode javascript
|
||||
$item->javascript = base64_decode($item->javascript);
|
||||
// decode php_helper_admin
|
||||
$item->php_helper_admin = base64_decode($item->php_helper_admin);
|
||||
// decode readme
|
||||
$item->readme = base64_decode($item->readme);
|
||||
// decode php_postflight_update
|
||||
$item->php_postflight_update = base64_decode($item->php_postflight_update);
|
||||
// decode sql
|
||||
$item->sql = base64_decode($item->sql);
|
||||
// decode php_helper_both
|
||||
$item->php_helper_both = base64_decode($item->php_helper_both);
|
||||
// decode php_admin_event
|
||||
@ -1954,8 +1956,8 @@ class ComponentbuilderModelJoomla_components extends JModelList
|
||||
$item->php_postflight_install = base64_decode($item->php_postflight_install);
|
||||
// decode php_method_uninstall
|
||||
$item->php_method_uninstall = base64_decode($item->php_method_uninstall);
|
||||
// decode readme
|
||||
$item->readme = base64_decode($item->readme);
|
||||
// decode sql_uninstall
|
||||
$item->sql_uninstall = base64_decode($item->sql_uninstall);
|
||||
if ($basickey && !is_numeric($item->export_key) && $item->export_key === base64_encode(base64_decode($item->export_key, true)))
|
||||
{
|
||||
// decrypt export_key
|
||||
|
@ -170,7 +170,7 @@ class ComponentbuilderModelServer extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getWamlinked_components()
|
||||
public function getWanlinked_components()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
|
Reference in New Issue
Block a user