2016-01-30 20:28:43 +00:00
|
|
|
<?php
|
|
|
|
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
|
|
|
__ __ _ _____ _ _ __ __ _ _ _
|
|
|
|
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
|
|
|
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
|
|
|
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
|
|
|
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
|
|
|
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
|
|
|
| |
|
|
|
|
|_|
|
|
|
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
|
|
|
|
2017-10-14 15:56:04 +00:00
|
|
|
@version @update number 178 of this MVC
|
2017-10-14 03:37:18 +00:00
|
|
|
@build 14th October, 2017
|
2016-01-30 20:28:43 +00:00
|
|
|
@created 30th April, 2015
|
|
|
|
@package Component Builder
|
|
|
|
@subpackage edit.php
|
2016-12-22 21:32:13 +00:00
|
|
|
@author Llewellyn van der Merwe <http://vdm.bz/component-builder>
|
2016-01-30 20:28:43 +00:00
|
|
|
@copyright Copyright (C) 2015. All Rights Reserved
|
|
|
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
|
|
|
|
Builds Complex Joomla Components
|
|
|
|
|
|
|
|
/-----------------------------------------------------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
|
|
|
|
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
|
|
|
JHtml::_('behavior.tooltip');
|
|
|
|
JHtml::_('behavior.formvalidation');
|
|
|
|
JHtml::_('formbehavior.chosen', 'select');
|
|
|
|
JHtml::_('behavior.keepalive');
|
|
|
|
$componentParams = JComponentHelper::getParams('com_componentbuilder');
|
|
|
|
?>
|
2016-05-31 05:36:31 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
// waiting spinner
|
|
|
|
var outerDiv = jQuery('body');
|
|
|
|
jQuery('<div id="loading"></div>')
|
|
|
|
.css("background", "rgba(255, 255, 255, .8) url('components/com_componentbuilder/assets/images/import.gif') 50% 15% no-repeat")
|
|
|
|
.css("top", outerDiv.position().top - jQuery(window).scrollTop())
|
|
|
|
.css("left", outerDiv.position().left - jQuery(window).scrollLeft())
|
|
|
|
.css("width", outerDiv.width())
|
|
|
|
.css("height", outerDiv.height())
|
|
|
|
.css("position", "fixed")
|
|
|
|
.css("opacity", "0.80")
|
|
|
|
.css("-ms-filter", "progid:DXImageTransform.Microsoft.Alpha(Opacity = 80)")
|
|
|
|
.css("filter", "alpha(opacity = 80)")
|
|
|
|
.css("display", "none")
|
|
|
|
.appendTo(outerDiv);
|
|
|
|
jQuery('#loading').show();
|
|
|
|
// when page is ready remove and show
|
|
|
|
jQuery(window).load(function() {
|
|
|
|
jQuery('#componentbuilder_loader').fadeIn('fast');
|
|
|
|
jQuery('#loading').hide();
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<div id="componentbuilder_loader" style="display: none;">
|
2016-01-30 20:28:43 +00:00
|
|
|
<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
|
|
|
|
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php echo JLayoutHelper::render('admin_view.details_above', $this); ?>
|
2017-04-26 08:55:02 +00:00
|
|
|
<div class="form-horizontal">
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.startTabSet', 'admin_viewTab', array('active' => 'details')); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'details', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_DETAILS', true)); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span6">
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php echo JLayoutHelper::render('admin_view.details_left', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
<div class="span6">
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php echo JLayoutHelper::render('admin_view.details_right', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'settings', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_SETTINGS', true)); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php echo JLayoutHelper::render('admin_view.settings_fullwidth', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'fields_conditions', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_FIELDS_CONDITIONS', true)); ?>
|
2017-01-20 00:16:50 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
2017-10-13 03:45:54 +00:00
|
|
|
<div class="span6">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.fields_conditions_left', $this); ?>
|
|
|
|
</div>
|
|
|
|
<div class="span6">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.fields_conditions_right', $this); ?>
|
|
|
|
</div>
|
2017-01-20 00:16:50 +00:00
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php echo JLayoutHelper::render('admin_view.fields_conditions_fullwidth', $this); ?>
|
2017-01-20 00:16:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
2016-01-30 20:28:43 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'css', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_CSS', true)); ?>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.css_fullwidth', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'javascript', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT', true)); ?>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.javascript_fullwidth', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
2016-09-11 15:27:04 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'custom_buttons', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_CUSTOM_BUTTONS', true)); ?>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.custom_buttons_left', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.custom_buttons_fullwidth', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
2016-01-30 20:28:43 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'php', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_PHP', true)); ?>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.php_fullwidth', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'mysql', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL', true)); ?>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.mysql_left', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.mysql_fullwidth', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php if ($this->canDo->get('joomla_component.access')) : ?>
|
2017-10-13 03:51:56 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'linked_components', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_LINKED_COMPONENTS', true)); ?>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.linked_components_fullwidth', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
2016-05-04 04:53:33 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'custom_import', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_CUSTOM_IMPORT', true)); ?>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.custom_import_fullwidth', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php if ($this->canDo->get('admin_view.delete') || $this->canDo->get('admin_view.edit.created_by') || $this->canDo->get('admin_view.edit.state') || $this->canDo->get('admin_view.edit.created')) : ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'publishing', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_PUBLISHING', true)); ?>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span6">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.publishing', $this); ?>
|
|
|
|
</div>
|
|
|
|
<div class="span6">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.publlshing', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
2016-02-15 08:37:21 +00:00
|
|
|
<?php endif; ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
<?php if ($this->canDo->get('core.admin')) : ?>
|
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'permissions', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_PERMISSION', true)); ?>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
|
|
|
<fieldset class="adminform">
|
|
|
|
<div class="adminformlist">
|
|
|
|
<?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?>
|
|
|
|
<div>
|
|
|
|
<?php echo $field->label; echo $field->input;?>
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<?php echo JHtml::_('bootstrap.endTabSet'); ?>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<input type="hidden" name="task" value="admin_view.edit" />
|
|
|
|
<?php echo JHtml::_('form.token'); ?>
|
|
|
|
</div>
|
2017-04-26 08:55:02 +00:00
|
|
|
</div>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
2017-10-13 03:45:54 +00:00
|
|
|
<?php echo JLayoutHelper::render('admin_view.details_under', $this); ?>
|
2016-05-31 05:11:07 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_css_view listeners for add_css_view_vvvvvwx function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_css_view').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_css_view_vvvvvwx = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
|
|
|
vvvvvwx(add_css_view_vvvvvwx);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_css_view_vvvvvwx = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
|
|
|
vvvvvwx(add_css_view_vvvvvwx);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_css_views listeners for add_css_views_vvvvvwy function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_css_views').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_css_views_vvvvvwy = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
|
|
|
vvvvvwy(add_css_views_vvvvvwy);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_css_views_vvvvvwy = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
|
|
|
vvvvvwy(add_css_views_vvvvvwy);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvwz function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_view_file').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_javascript_view_file_vvvvvwz = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
|
|
|
vvvvvwz(add_javascript_view_file_vvvvvwz);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_javascript_view_file_vvvvvwz = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
|
|
|
vvvvvwz(add_javascript_view_file_vvvvvwz);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvxa function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_views_file').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_javascript_views_file_vvvvvxa = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
|
|
|
vvvvvxa(add_javascript_views_file_vvvvvxa);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_javascript_views_file_vvvvvxa = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
|
|
|
vvvvvxa(add_javascript_views_file_vvvvvxa);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvxb function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_view_footer').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_javascript_view_footer_vvvvvxb = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
|
|
|
vvvvvxb(add_javascript_view_footer_vvvvvxb);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_javascript_view_footer_vvvvvxb = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
|
|
|
vvvvvxb(add_javascript_view_footer_vvvvvxb);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvxc function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_views_footer').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_javascript_views_footer_vvvvvxc = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
|
|
|
vvvvvxc(add_javascript_views_footer_vvvvvxc);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_javascript_views_footer_vvvvvxc = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
|
|
|
vvvvvxc(add_javascript_views_footer_vvvvvxc);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvxd function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_ajax').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_ajax_vvvvvxd = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
|
|
|
vvvvvxd(add_php_ajax_vvvvvxd);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_ajax_vvvvvxd = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
|
|
|
vvvvvxd(add_php_ajax_vvvvvxd);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_getitem listeners for add_php_getitem_vvvvvxe function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_getitem').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_getitem_vvvvvxe = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
|
|
|
vvvvvxe(add_php_getitem_vvvvvxe);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_getitem_vvvvvxe = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
|
|
|
vvvvvxe(add_php_getitem_vvvvvxe);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_getitems listeners for add_php_getitems_vvvvvxf function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_getitems').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_getitems_vvvvvxf = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
|
|
|
vvvvvxf(add_php_getitems_vvvvvxf);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_getitems_vvvvvxf = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
|
|
|
vvvvvxf(add_php_getitems_vvvvvxf);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_getitems_after_all listeners for add_php_getitems_after_all_vvvvvxg function
|
2016-09-03 21:44:47 +00:00
|
|
|
jQuery('#jform_add_php_getitems_after_all').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_getitems_after_all_vvvvvxg = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
|
|
|
vvvvvxg(add_php_getitems_after_all_vvvvvxg);
|
2016-09-03 21:44:47 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getitems_after_all',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_getitems_after_all_vvvvvxg = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
|
|
|
vvvvvxg(add_php_getitems_after_all_vvvvvxg);
|
2016-09-03 21:44:47 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvxh function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_getlistquery').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_getlistquery_vvvvvxh = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
|
|
|
vvvvvxh(add_php_getlistquery_vvvvvxh);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_getlistquery_vvvvvxh = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
|
|
|
vvvvvxh(add_php_getlistquery_vvvvvxh);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_before_save listeners for add_php_before_save_vvvvvxi function
|
2017-09-13 00:37:43 +00:00
|
|
|
jQuery('#jform_add_php_before_save').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_before_save_vvvvvxi = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
|
|
|
vvvvvxi(add_php_before_save_vvvvvxi);
|
2017-09-13 00:37:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_before_save',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_before_save_vvvvvxi = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
|
|
|
vvvvvxi(add_php_before_save_vvvvvxi);
|
2017-09-13 00:37:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_save listeners for add_php_save_vvvvvxj function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_save').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_save_vvvvvxj = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
|
|
|
vvvvvxj(add_php_save_vvvvvxj);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_save',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_save_vvvvvxj = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
|
|
|
vvvvvxj(add_php_save_vvvvvxj);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvxk function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_postsavehook').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_postsavehook_vvvvvxk = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
|
|
|
vvvvvxk(add_php_postsavehook_vvvvvxk);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_postsavehook_vvvvvxk = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
|
|
|
vvvvvxk(add_php_postsavehook_vvvvvxk);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxl function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_allowedit').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_allowedit_vvvvvxl = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
|
|
|
vvvvvxl(add_php_allowedit_vvvvvxl);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_allowedit_vvvvvxl = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
|
|
|
vvvvvxl(add_php_allowedit_vvvvvxl);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxm function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_batchcopy').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_batchcopy_vvvvvxm = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
|
|
|
vvvvvxm(add_php_batchcopy_vvvvvxm);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_batchcopy_vvvvvxm = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
|
|
|
vvvvvxm(add_php_batchcopy_vvvvvxm);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxn function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_batchmove').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_batchmove_vvvvvxn = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
|
|
|
vvvvvxn(add_php_batchmove_vvvvvxn);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_batchmove_vvvvvxn = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
|
|
|
vvvvvxn(add_php_batchmove_vvvvvxn);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxo function
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#jform_add_php_before_publish').on('keyup',function()
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_before_publish_vvvvvxo = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
|
|
|
vvvvvxo(add_php_before_publish_vvvvvxo);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_before_publish',function (e)
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_before_publish_vvvvvxo = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
|
|
|
vvvvvxo(add_php_before_publish_vvvvvxo);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxp function
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#jform_add_php_after_publish').on('keyup',function()
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_after_publish_vvvvvxp = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
|
|
|
vvvvvxp(add_php_after_publish_vvvvvxp);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_after_publish',function (e)
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_after_publish_vvvvvxp = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
|
|
|
vvvvvxp(add_php_after_publish_vvvvvxp);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxq function
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#jform_add_php_before_delete').on('keyup',function()
|
2016-04-22 21:32:02 +00:00
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_before_delete_vvvvvxq = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
|
|
|
vvvvvxq(add_php_before_delete_vvvvvxq);
|
2016-04-22 21:32:02 +00:00
|
|
|
|
|
|
|
});
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e)
|
2016-04-22 21:32:02 +00:00
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_before_delete_vvvvvxq = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
|
|
|
vvvvvxq(add_php_before_delete_vvvvvxq);
|
2016-04-22 21:32:02 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxr function
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#jform_add_php_after_delete').on('keyup',function()
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_after_delete_vvvvvxr = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
|
|
|
vvvvvxr(add_php_after_delete_vvvvvxr);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e)
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_after_delete_vvvvvxr = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
|
|
|
vvvvvxr(add_php_after_delete_vvvvvxr);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_php_document listeners for add_php_document_vvvvvxs function
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#jform_add_php_document').on('keyup',function()
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_document_vvvvvxs = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
|
|
|
vvvvvxs(add_php_document_vvvvvxs);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_php_document_vvvvvxs = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
|
|
|
vvvvvxs(add_php_document_vvvvvxs);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_sql listeners for add_sql_vvvvvxt function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_sql').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_sql_vvvvvxt = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvxt(add_sql_vvvvvxt);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_sql_vvvvvxt = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvxt(add_sql_vvvvvxt);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_source listeners for source_vvvvvxu function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_source').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var source_vvvvvxu = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvxu = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvxu(source_vvvvvxu,add_sql_vvvvvxu);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var source_vvvvvxu = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvxu = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvxu(source_vvvvvxu,add_sql_vvvvvxu);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_sql listeners for add_sql_vvvvvxu function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_sql').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var source_vvvvvxu = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvxu = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvxu(source_vvvvvxu,add_sql_vvvvvxu);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var source_vvvvvxu = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvxu = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvxu(source_vvvvvxu,add_sql_vvvvvxu);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_source listeners for source_vvvvvxw function
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#jform_source').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var source_vvvvvxw = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvxw = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvxw(source_vvvvvxw,add_sql_vvvvvxw);
|
2016-09-07 21:20:58 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var source_vvvvvxw = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvxw = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvxw(source_vvvvvxw,add_sql_vvvvvxw);
|
2016-09-07 21:20:58 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_sql listeners for add_sql_vvvvvxw function
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#jform_add_sql').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var source_vvvvvxw = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvxw = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvxw(source_vvvvvxw,add_sql_vvvvvxw);
|
2016-09-07 21:20:58 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var source_vvvvvxw = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvxw = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvxw(source_vvvvvxw,add_sql_vvvvvxw);
|
2016-09-07 21:20:58 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_custom_import listeners for add_custom_import_vvvvvxy function
|
2016-05-04 04:53:33 +00:00
|
|
|
jQuery('#jform_add_custom_import').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_custom_import_vvvvvxy = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
|
|
|
vvvvvxy(add_custom_import_vvvvvxy);
|
2016-05-04 04:53:33 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_custom_import_vvvvvxy = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
|
|
|
vvvvvxy(add_custom_import_vvvvvxy);
|
2016-05-04 04:53:33 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_custom_import listeners for add_custom_import_vvvvvxz function
|
2016-05-04 04:53:33 +00:00
|
|
|
jQuery('#jform_add_custom_import').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_custom_import_vvvvvxz = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
|
|
|
vvvvvxz(add_custom_import_vvvvvxz);
|
2016-05-04 04:53:33 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_custom_import_vvvvvxz = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
|
|
|
vvvvvxz(add_custom_import_vvvvvxz);
|
2016-05-04 04:53:33 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2017-10-06 14:53:22 +00:00
|
|
|
// #jform_add_custom_button listeners for add_custom_button_vvvvvya function
|
2016-09-11 15:27:04 +00:00
|
|
|
jQuery('#jform_add_custom_button').on('keyup',function()
|
|
|
|
{
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_custom_button_vvvvvya = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
|
|
|
vvvvvya(add_custom_button_vvvvvya);
|
2016-09-11 15:27:04 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2017-10-06 14:53:22 +00:00
|
|
|
var add_custom_button_vvvvvya = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
|
|
|
vvvvvya(add_custom_button_vvvvvya);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2016-09-11 15:27:04 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php $fieldNrs = range(1,7,1); ?>
|
|
|
|
<?php foreach($fieldNrs as $nr): ?>jQuery('#jform_custom_button_modal').on('change', 'select[name="icomoon-<?php echo $nr; ?>"]',function (e) {
|
|
|
|
// update the icon if changed
|
|
|
|
var vala_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val();
|
|
|
|
// build new span
|
|
|
|
var span = '<span id="icon_custom_button_fields_icomoon_<?php echo $nr; ?>" class="icon-'+vala_<?php echo $nr; ?>+'"></span>';
|
|
|
|
// remove old one
|
|
|
|
jQuery('#icon_custom_button_fields_icomoon_<?php echo $nr; ?>').remove();
|
|
|
|
// add the new icon
|
|
|
|
jQuery('#jform_custom_button_fields_icomoon_<?php echo $nr; ?>_chzn').closest("td").append(span);
|
|
|
|
});
|
|
|
|
|
|
|
|
jQuery(document).ready(function() {
|
|
|
|
jQuery('input.form-field-repeatable').on('row-add', function (e) {
|
|
|
|
// show the icon if set
|
|
|
|
var vala_<?php echo $nr; ?> = jQuery('#jform_custom_button_fields_icomoon-<?php echo $nr; ?>').val();
|
|
|
|
// build new span
|
|
|
|
var span = '<span id="icon_custom_button_fields_icomoon_<?php echo $nr; ?>" class="icon-'+vala_<?php echo $nr; ?>+'"></span>';
|
|
|
|
// remove old one
|
|
|
|
jQuery('#icon_custom_button_fields_icomoon_<?php echo $nr; ?>').remove();
|
|
|
|
// add the new icon
|
|
|
|
jQuery('#jform_custom_button_fields_icomoon_<?php echo $nr; ?>_chzn').closest("td").append(span);
|
|
|
|
});
|
|
|
|
});
|
2017-10-12 00:50:14 +00:00
|
|
|
<?php endforeach; ?><?php $numberAddtables = range(0, count($this->item->addtables) + 3, 1);?>
|
|
|
|
|
|
|
|
// for the values already set
|
|
|
|
jQuery(document).ready(function(){
|
|
|
|
<?php foreach($numberAddtables as $fieldNr): ?>
|
|
|
|
jQuery('#adminForm').on('change', '#jform_addtables__addtables<?php echo $fieldNr ?>__table',function (e) {
|
2016-01-30 20:28:43 +00:00
|
|
|
e.preventDefault();
|
2017-10-12 00:50:14 +00:00
|
|
|
getTableColumns(<?php echo $fieldNr ?>, "_", "_");
|
2016-01-30 20:28:43 +00:00
|
|
|
});
|
2017-10-12 00:50:14 +00:00
|
|
|
<?php endforeach; ?>
|
|
|
|
jQuery(document).on('subform-row-add', function(event, row){
|
|
|
|
var groupName = jQuery(row).data('group');
|
|
|
|
var fieldName = groupName.replace(/([0-9])/g, '');
|
|
|
|
var fieldNr = groupName.replace(/([A-z_])/g, '');
|
2017-10-13 03:45:54 +00:00
|
|
|
if ('addtables' === fieldName) {
|
2017-10-12 00:50:14 +00:00
|
|
|
jQuery('#adminForm').on('change', '#jform_addtables_addtables'+fieldNr+'_table',function (e) {
|
|
|
|
e.preventDefault();
|
|
|
|
getTableColumns(fieldNr, "", "");
|
|
|
|
});
|
|
|
|
}
|
2016-01-30 20:28:43 +00:00
|
|
|
});
|
|
|
|
});
|
2017-10-12 00:50:14 +00:00
|
|
|
|
2016-05-04 04:53:33 +00:00
|
|
|
// #jform_add_custom_import listeners
|
2017-10-12 00:50:14 +00:00
|
|
|
jQuery('#jform_add_custom_import').on('change',function() {
|
2016-05-04 04:53:33 +00:00
|
|
|
var valueSwitch = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
|
|
|
getImportScripts(valueSwitch);
|
|
|
|
|
2017-10-12 23:14:17 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
<?php
|
|
|
|
$app = JFactory::getApplication();
|
|
|
|
?>
|
|
|
|
function JRouter(link) {
|
|
|
|
<?php
|
|
|
|
if ($app->isSite())
|
|
|
|
{
|
|
|
|
echo 'var url = "'.JURI::root().'";';
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo 'var url = "";';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
return url+link;
|
2017-10-14 03:37:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// nice little dot trick :)
|
|
|
|
jQuery(document).ready( function($) {
|
|
|
|
var x=0;
|
|
|
|
setInterval(function() {
|
|
|
|
var dots = "";
|
|
|
|
x++;
|
|
|
|
for (var y=0; y < x%8; y++) {
|
|
|
|
dots+=".";
|
|
|
|
}
|
|
|
|
$(".loading-dots").text(dots);
|
|
|
|
} , 500);
|
|
|
|
});
|
2016-01-30 20:28:43 +00:00
|
|
|
</script>
|