2016-01-30 20:28:43 +00:00
|
|
|
<?php
|
|
|
|
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
|
|
|
__ __ _ _____ _ _ __ __ _ _ _
|
|
|
|
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
|
|
|
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
|
|
|
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
|
|
|
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
|
|
|
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
|
|
|
| |
|
|
|
|
|_|
|
|
|
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
@version 2.0.9
|
2016-01-31 16:55:06 +00:00
|
|
|
@build 31st January, 2016
|
2016-01-30 20:28:43 +00:00
|
|
|
@created 30th April, 2015
|
|
|
|
@package Component Builder
|
|
|
|
@subpackage edit.php
|
|
|
|
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder>
|
|
|
|
@my wife Roline van der Merwe <http://www.vdm.io/>
|
|
|
|
@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');
|
|
|
|
?>
|
|
|
|
|
|
|
|
<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">
|
|
|
|
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.settings_above', $this); ?><div class="form-horizontal">
|
|
|
|
|
|
|
|
<?php echo JHtml::_('bootstrap.startTabSet', 'admin_viewTab', array('active' => 'settings')); ?>
|
|
|
|
|
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'settings', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_SETTINGS', true)); ?>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span6">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.settings_left', $this); ?>
|
|
|
|
</div>
|
|
|
|
<div class="span6">
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.settings_right', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'fields', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_FIELDS', 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.fields_fullwidth', $this); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
|
|
|
<?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'); ?>
|
|
|
|
|
|
|
|
<?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'); ?>
|
|
|
|
|
|
|
|
<?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'); ?>
|
|
|
|
|
|
|
|
<?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>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<?php echo JLayoutHelper::render('admin_view.settings_under', $this); ?>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_css_view listeners for add_css_view_WSwrvIg function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_css_view').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_css_view_WSwrvIg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
|
|
|
WSwrvIg(add_css_view_WSwrvIg);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_css_view_WSwrvIg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
|
|
|
WSwrvIg(add_css_view_WSwrvIg);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_css_views listeners for add_css_views_tJmAmne function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_css_views').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_css_views_tJmAmne = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
|
|
|
tJmAmne(add_css_views_tJmAmne);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_css_views_tJmAmne = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
|
|
|
tJmAmne(add_css_views_tJmAmne);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_javascript_view_file listeners for add_javascript_view_file_MCmDrfE function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_view_file').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_javascript_view_file_MCmDrfE = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
|
|
|
MCmDrfE(add_javascript_view_file_MCmDrfE);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_javascript_view_file_MCmDrfE = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
|
|
|
MCmDrfE(add_javascript_view_file_MCmDrfE);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_javascript_views_file listeners for add_javascript_views_file_FmbVzDw function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_views_file').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_javascript_views_file_FmbVzDw = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
|
|
|
FmbVzDw(add_javascript_views_file_FmbVzDw);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_javascript_views_file_FmbVzDw = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
|
|
|
FmbVzDw(add_javascript_views_file_FmbVzDw);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_DADObKa function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_view_footer').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_javascript_view_footer_DADObKa = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
|
|
|
DADObKa(add_javascript_view_footer_DADObKa);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_javascript_view_footer_DADObKa = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
|
|
|
DADObKa(add_javascript_view_footer_DADObKa);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_LkoWIBb function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_views_footer').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_javascript_views_footer_LkoWIBb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
|
|
|
LkoWIBb(add_javascript_views_footer_LkoWIBb);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_javascript_views_footer_LkoWIBb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
|
|
|
LkoWIBb(add_javascript_views_footer_LkoWIBb);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_php_ajax listeners for add_php_ajax_rHFzvkV function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_ajax').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_ajax_rHFzvkV = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
|
|
|
rHFzvkV(add_php_ajax_rHFzvkV);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_ajax_rHFzvkV = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
|
|
|
rHFzvkV(add_php_ajax_rHFzvkV);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_php_getitem listeners for add_php_getitem_JqKoiLY function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_getitem').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_getitem_JqKoiLY = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
|
|
|
JqKoiLY(add_php_getitem_JqKoiLY);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_getitem_JqKoiLY = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
|
|
|
JqKoiLY(add_php_getitem_JqKoiLY);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_php_getitems listeners for add_php_getitems_OBHaxtC function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_getitems').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_getitems_OBHaxtC = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
|
|
|
OBHaxtC(add_php_getitems_OBHaxtC);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_getitems_OBHaxtC = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
|
|
|
OBHaxtC(add_php_getitems_OBHaxtC);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_php_getlistquery listeners for add_php_getlistquery_QcpBvJG function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_getlistquery').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_getlistquery_QcpBvJG = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
|
|
|
QcpBvJG(add_php_getlistquery_QcpBvJG);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_getlistquery_QcpBvJG = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
|
|
|
QcpBvJG(add_php_getlistquery_QcpBvJG);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_php_save listeners for add_php_save_tCXfMfO function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_save').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_save_tCXfMfO = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
|
|
|
tCXfMfO(add_php_save_tCXfMfO);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_save',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_save_tCXfMfO = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
|
|
|
tCXfMfO(add_php_save_tCXfMfO);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_php_postsavehook listeners for add_php_postsavehook_hhZUiqs function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_postsavehook').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_postsavehook_hhZUiqs = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
|
|
|
hhZUiqs(add_php_postsavehook_hhZUiqs);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_postsavehook_hhZUiqs = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
|
|
|
hhZUiqs(add_php_postsavehook_hhZUiqs);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_php_allowedit listeners for add_php_allowedit_tGbGbDs function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_allowedit').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_allowedit_tGbGbDs = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
|
|
|
tGbGbDs(add_php_allowedit_tGbGbDs);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_allowedit_tGbGbDs = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
|
|
|
tGbGbDs(add_php_allowedit_tGbGbDs);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_php_batchcopy listeners for add_php_batchcopy_ltKkyow function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_batchcopy').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_batchcopy_ltKkyow = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
|
|
|
ltKkyow(add_php_batchcopy_ltKkyow);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_batchcopy_ltKkyow = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
|
|
|
ltKkyow(add_php_batchcopy_ltKkyow);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_php_batchmove listeners for add_php_batchmove_HiQLeWc function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_batchmove').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_batchmove_HiQLeWc = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
|
|
|
HiQLeWc(add_php_batchmove_HiQLeWc);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_batchmove_HiQLeWc = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
|
|
|
HiQLeWc(add_php_batchmove_HiQLeWc);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_php_before_delete listeners for add_php_before_delete_uhypOtR function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_before_delete').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_before_delete_uhypOtR = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
|
|
|
uhypOtR(add_php_before_delete_uhypOtR);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_before_delete_uhypOtR = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
|
|
|
uhypOtR(add_php_before_delete_uhypOtR);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_php_after_delete listeners for add_php_after_delete_rrcbItq function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_after_delete').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_after_delete_rrcbItq = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
|
|
|
rrcbItq(add_php_after_delete_rrcbItq);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_php_after_delete_rrcbItq = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
|
|
|
rrcbItq(add_php_after_delete_rrcbItq);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_sql listeners for add_sql_CrHzYLp function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_sql').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_sql_CrHzYLp = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
CrHzYLp(add_sql_CrHzYLp);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var add_sql_CrHzYLp = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
CrHzYLp(add_sql_CrHzYLp);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_source listeners for source_SpjlMYL function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_source').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var source_SpjlMYL = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_SpjlMYL = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
SpjlMYL(source_SpjlMYL,add_sql_SpjlMYL);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var source_SpjlMYL = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_SpjlMYL = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
SpjlMYL(source_SpjlMYL,add_sql_SpjlMYL);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_sql listeners for add_sql_SpjlMYL function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_sql').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var source_SpjlMYL = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_SpjlMYL = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
SpjlMYL(source_SpjlMYL,add_sql_SpjlMYL);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var source_SpjlMYL = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_SpjlMYL = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
SpjlMYL(source_SpjlMYL,add_sql_SpjlMYL);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_source listeners for source_ZNxrsLZ function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_source').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var source_ZNxrsLZ = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_ZNxrsLZ = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
ZNxrsLZ(source_ZNxrsLZ,add_sql_ZNxrsLZ);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var source_ZNxrsLZ = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_ZNxrsLZ = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
ZNxrsLZ(source_ZNxrsLZ,add_sql_ZNxrsLZ);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-31 17:29:08 +00:00
|
|
|
// #jform_add_sql listeners for add_sql_ZNxrsLZ function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_sql').on('keyup',function()
|
|
|
|
{
|
2016-01-31 17:29:08 +00:00
|
|
|
var source_ZNxrsLZ = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_ZNxrsLZ = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
ZNxrsLZ(source_ZNxrsLZ,add_sql_ZNxrsLZ);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2016-01-31 17:29:08 +00:00
|
|
|
var source_ZNxrsLZ = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_ZNxrsLZ = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
ZNxrsLZ(source_ZNxrsLZ,add_sql_ZNxrsLZ);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
<?php $fieldNrs = range(1,500,1); ?>
|
|
|
|
jQuery('#jform_addconditions_modal').on('show.bs.modal', function (e) {
|
|
|
|
<?php foreach($fieldNrs as $fieldNr): ?>jQuery('#jform_addconditions_modal').on('change', '#jform_addconditions_fields_match_field-<?php echo $fieldNr ?>',function (e) {
|
|
|
|
e.preventDefault();
|
|
|
|
// get options
|
|
|
|
var fieldId_<?php echo $fieldNr ?> = jQuery("#jform_addconditions_fields_match_field-<?php echo $fieldNr ?> option:selected").val();
|
|
|
|
getFieldSelectOptions(fieldId_<?php echo $fieldNr ?>,<?php echo $fieldNr ?>);
|
|
|
|
});
|
|
|
|
<?php endforeach; ?>
|
|
|
|
});
|
|
|
|
jQuery('#jform_addtables_modal').on('show.bs.modal', function (e) {
|
|
|
|
<?php foreach($fieldNrs as $fieldNr): ?>jQuery('#jform_addtables_modal').on('change', '#jform_addtables_fields_table-<?php echo $fieldNr ?>',function (e) {
|
|
|
|
e.preventDefault();
|
|
|
|
// get options
|
|
|
|
var tableName_<?php echo $fieldNr ?> = jQuery("#jform_addtables_fields_table-<?php echo $fieldNr ?> option:selected").val();
|
|
|
|
getTableColumns(tableName_<?php echo $fieldNr ?>,<?php echo $fieldNr ?>);
|
|
|
|
});
|
|
|
|
<?php endforeach; ?>
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|