2016-01-30 20:28:43 +00:00
|
|
|
<?php
|
2021-03-05 03:08:47 +00:00
|
|
|
/**
|
|
|
|
* @package Joomla.Component.Builder
|
|
|
|
*
|
|
|
|
* @created 30th April, 2015
|
2022-07-09 15:45:08 +00:00
|
|
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
|
|
|
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
|
2021-03-05 03:08:47 +00:00
|
|
|
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
|
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
use Joomla\CMS\Factory;
|
|
|
|
use Joomla\CMS\Language\Text;
|
|
|
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
|
|
|
use Joomla\CMS\Layout\LayoutHelper;
|
|
|
|
use Joomla\CMS\Router\Route;
|
|
|
|
Html::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
|
|
|
Html::_('behavior.formvalidator');
|
|
|
|
Html::_('formbehavior.chosen', 'select');
|
|
|
|
Html::_('behavior.keepalive');
|
|
|
|
|
2021-03-05 03:08:47 +00:00
|
|
|
$componentParams = $this->params; // will be removed just use $this->params instead
|
|
|
|
?>
|
2016-05-31 05:36:31 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
// waiting spinner
|
2024-03-02 20:10:30 +00:00
|
|
|
var outerDiv = document.querySelector('body');
|
|
|
|
var loadingDiv = document.createElement('div');
|
|
|
|
loadingDiv.id = 'loading';
|
|
|
|
loadingDiv.style.cssText = "background: rgba(255, 255, 255, .8) url('components/com_componentbuilder/assets/images/import.gif') 50% 15% no-repeat; top: " + (outerDiv.getBoundingClientRect().top + window.pageYOffset) + "px; left: " + (outerDiv.getBoundingClientRect().left + window.pageXOffset) + "px; width: " + outerDiv.offsetWidth + "px; height: " + outerDiv.offsetHeight + "px; position: fixed; opacity: 0.80; -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80); filter: alpha(opacity=80); display: none;";
|
|
|
|
outerDiv.appendChild(loadingDiv);
|
|
|
|
loadingDiv.style.display = 'block';
|
2016-05-31 05:36:31 +00:00
|
|
|
// when page is ready remove and show
|
2024-03-02 20:10:30 +00:00
|
|
|
window.addEventListener('load', function() {
|
|
|
|
var componentLoader = document.getElementById('componentbuilder_loader');
|
|
|
|
if (componentLoader) componentLoader.style.display = 'block';
|
|
|
|
loadingDiv.style.display = 'none';
|
2016-05-31 05:36:31 +00:00
|
|
|
});
|
|
|
|
</script>
|
2021-03-05 03:08:47 +00:00
|
|
|
<div id="componentbuilder_loader" style="display: none;">
|
2024-03-02 20:10:30 +00:00
|
|
|
<form action="<?php echo Route::_('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">
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::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
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.startTabSet', 'admin_viewTab', ['active' => 'details', 'recall' => true]); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.addTab', 'admin_viewTab', 'details', Text::_('COM_COMPONENTBUILDER_ADMIN_VIEW_DETAILS', true)); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span6">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.details_left', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
<div class="span6">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.details_right', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-01-15 15:54:05 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.details_fullwidth', $this); ?>
|
2018-01-15 15:54:05 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.addTab', 'admin_viewTab', 'settings', Text::_('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">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.settings_fullwidth', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.addTab', 'admin_viewTab', 'fields', Text::_('COM_COMPONENTBUILDER_ADMIN_VIEW_FIELDS', 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">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.fields_left', $this); ?>
|
2017-10-13 03:45:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="span6">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.fields_right', $this); ?>
|
2017-10-13 03:45:54 +00:00
|
|
|
</div>
|
2017-01-20 00:16:50 +00:00
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.fields_fullwidth', $this); ?>
|
2017-01-20 00:16:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.endTab'); ?>
|
2017-01-20 00:16:50 +00:00
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.addTab', 'admin_viewTab', 'css', Text::_('COM_COMPONENTBUILDER_ADMIN_VIEW_CSS', 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">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.css_fullwidth', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.addTab', 'admin_viewTab', 'javascript', Text::_('COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT', 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">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.javascript_fullwidth', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.addTab', 'admin_viewTab', 'custom_buttons', Text::_('COM_COMPONENTBUILDER_ADMIN_VIEW_CUSTOM_BUTTONS', true)); ?>
|
2016-09-11 15:27:04 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.custom_buttons_left', $this); ?>
|
2016-09-11 15:27:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.custom_buttons_fullwidth', $this); ?>
|
2016-09-11 15:27:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.endTab'); ?>
|
2016-09-11 15:27:04 +00:00
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.addTab', 'admin_viewTab', 'php', Text::_('COM_COMPONENTBUILDER_ADMIN_VIEW_PHP', 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">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.php_fullwidth', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.addTab', 'admin_viewTab', 'mysql', Text::_('COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL', true)); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.mysql_left', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.mysql_fullwidth', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.addTab', 'admin_viewTab', 'custom_import', Text::_('COM_COMPONENTBUILDER_ADMIN_VIEW_CUSTOM_IMPORT', true)); ?>
|
2016-05-04 04:53:33 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.custom_import_fullwidth', $this); ?>
|
2016-05-04 04:53:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.endTab'); ?>
|
2016-05-04 04:53:33 +00:00
|
|
|
|
2018-08-23 21:51:09 +00:00
|
|
|
<?php $this->ignore_fieldsets = array('details','metadata','vdmmetadata','accesscontrol'); ?>
|
|
|
|
<?php $this->tab_name = 'admin_viewTab'; ?>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('joomla.edit.params', $this); ?>
|
2018-08-23 21:51:09 +00:00
|
|
|
|
2020-06-25 19:22:30 +00:00
|
|
|
<?php if ($this->canDo->get('admin_view.edit.created_by') || $this->canDo->get('admin_view.edit.created') || $this->canDo->get('admin_view.edit.state') || ($this->canDo->get('admin_view.delete') && $this->canDo->get('admin_view.edit.state'))) : ?>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.addTab', 'admin_viewTab', 'publishing', Text::_('COM_COMPONENTBUILDER_ADMIN_VIEW_PUBLISHING', true)); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span6">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.publishing', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
<div class="span6">
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.publlshing', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('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')) : ?>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.addTab', 'admin_viewTab', 'permissions', Text::_('COM_COMPONENTBUILDER_ADMIN_VIEW_PERMISSION', true)); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
<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>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('bootstrap.endTabSet'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
<div>
|
|
|
|
<input type="hidden" name="task" value="admin_view.edit" />
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo Html::_('form.token'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
2024-03-02 20:10:30 +00:00
|
|
|
<?php echo LayoutHelper::render('admin_view.details_under', $this); ?>
|
2021-03-05 03:08:47 +00:00
|
|
|
</form>
|
2016-05-31 05:11:07 +00:00
|
|
|
</div>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_css_view listeners for add_css_view_vvvvvxb function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_css_view').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_css_view_vvvvvxb = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
|
|
|
vvvvvxb(add_css_view_vvvvvxb);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_css_view_vvvvvxb = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
|
|
|
vvvvvxb(add_css_view_vvvvvxb);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_css_views listeners for add_css_views_vvvvvxc function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_css_views').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_css_views_vvvvvxc = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
|
|
|
vvvvvxc(add_css_views_vvvvvxc);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_css_views_vvvvvxc = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
|
|
|
vvvvvxc(add_css_views_vvvvvxc);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvxd function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_view_file').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_javascript_view_file_vvvvvxd = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
|
|
|
vvvvvxd(add_javascript_view_file_vvvvvxd);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_javascript_view_file_vvvvvxd = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
|
|
|
vvvvvxd(add_javascript_view_file_vvvvvxd);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvxe function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_views_file').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_javascript_views_file_vvvvvxe = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
|
|
|
vvvvvxe(add_javascript_views_file_vvvvvxe);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_javascript_views_file_vvvvvxe = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
|
|
|
vvvvvxe(add_javascript_views_file_vvvvvxe);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvxf function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_view_footer').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_javascript_view_footer_vvvvvxf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
|
|
|
vvvvvxf(add_javascript_view_footer_vvvvvxf);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_javascript_view_footer_vvvvvxf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
|
|
|
vvvvvxf(add_javascript_view_footer_vvvvvxf);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvxg function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_javascript_views_footer').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_javascript_views_footer_vvvvvxg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
|
|
|
vvvvvxg(add_javascript_views_footer_vvvvvxg);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_javascript_views_footer_vvvvvxg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
|
|
|
vvvvvxg(add_javascript_views_footer_vvvvvxg);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvxh function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_ajax').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_ajax_vvvvvxh = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
|
|
|
vvvvvxh(add_php_ajax_vvvvvxh);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_ajax_vvvvvxh = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
|
|
|
vvvvvxh(add_php_ajax_vvvvvxh);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_getitem listeners for add_php_getitem_vvvvvxi function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_getitem').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_getitem_vvvvvxi = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
|
|
|
vvvvvxi(add_php_getitem_vvvvvxi);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_getitem_vvvvvxi = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
|
|
|
vvvvvxi(add_php_getitem_vvvvvxi);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_getitems listeners for add_php_getitems_vvvvvxj function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_getitems').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_getitems_vvvvvxj = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
|
|
|
vvvvvxj(add_php_getitems_vvvvvxj);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_getitems_vvvvvxj = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
|
|
|
vvvvvxj(add_php_getitems_vvvvvxj);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_getitems_after_all listeners for add_php_getitems_after_all_vvvvvxk function
|
2016-09-03 21:44:47 +00:00
|
|
|
jQuery('#jform_add_php_getitems_after_all').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_getitems_after_all_vvvvvxk = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
|
|
|
vvvvvxk(add_php_getitems_after_all_vvvvvxk);
|
2016-09-03 21:44:47 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getitems_after_all',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_getitems_after_all_vvvvvxk = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
|
|
|
vvvvvxk(add_php_getitems_after_all_vvvvvxk);
|
2016-09-03 21:44:47 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvxl function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_getlistquery').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_getlistquery_vvvvvxl = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
|
|
|
vvvvvxl(add_php_getlistquery_vvvvvxl);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_getlistquery_vvvvvxl = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
|
|
|
vvvvvxl(add_php_getlistquery_vvvvvxl);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_getform listeners for add_php_getform_vvvvvxm function
|
2018-07-06 13:46:30 +00:00
|
|
|
jQuery('#jform_add_php_getform').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_getform_vvvvvxm = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
|
|
|
vvvvvxm(add_php_getform_vvvvvxm);
|
2018-07-06 13:46:30 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_getform',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_getform_vvvvvxm = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
|
|
|
vvvvvxm(add_php_getform_vvvvvxm);
|
2018-07-06 13:46:30 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_before_save listeners for add_php_before_save_vvvvvxn function
|
2017-09-13 00:37:43 +00:00
|
|
|
jQuery('#jform_add_php_before_save').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_before_save_vvvvvxn = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
|
|
|
vvvvvxn(add_php_before_save_vvvvvxn);
|
2017-09-13 00:37:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_before_save',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_before_save_vvvvvxn = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
|
|
|
vvvvvxn(add_php_before_save_vvvvvxn);
|
2017-09-13 00:37:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_save listeners for add_php_save_vvvvvxo function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_save').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_save_vvvvvxo = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
|
|
|
vvvvvxo(add_php_save_vvvvvxo);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_save',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_save_vvvvvxo = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
|
|
|
vvvvvxo(add_php_save_vvvvvxo);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvxp function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_postsavehook').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_postsavehook_vvvvvxp = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
|
|
|
vvvvvxp(add_php_postsavehook_vvvvvxp);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_postsavehook_vvvvvxp = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
|
|
|
vvvvvxp(add_php_postsavehook_vvvvvxp);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_allowadd listeners for add_php_allowadd_vvvvvxq function
|
2018-08-14 08:25:46 +00:00
|
|
|
jQuery('#jform_add_php_allowadd').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_allowadd_vvvvvxq = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
|
|
|
vvvvvxq(add_php_allowadd_vvvvvxq);
|
2018-08-14 08:25:46 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_allowadd',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_allowadd_vvvvvxq = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
|
|
|
vvvvvxq(add_php_allowadd_vvvvvxq);
|
2018-08-14 08:25:46 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxr function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_allowedit').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_allowedit_vvvvvxr = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
|
|
|
vvvvvxr(add_php_allowedit_vvvvvxr);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_allowedit_vvvvvxr = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
|
|
|
vvvvvxr(add_php_allowedit_vvvvvxr);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_before_cancel listeners for add_php_before_cancel_vvvvvxs function
|
2019-06-12 20:06:19 +00:00
|
|
|
jQuery('#jform_add_php_before_cancel').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_before_cancel_vvvvvxs = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
|
|
|
vvvvvxs(add_php_before_cancel_vvvvvxs);
|
2019-06-12 20:06:19 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_before_cancel',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_before_cancel_vvvvvxs = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
|
|
|
vvvvvxs(add_php_before_cancel_vvvvvxs);
|
2019-06-12 20:06:19 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_after_cancel listeners for add_php_after_cancel_vvvvvxt function
|
2019-06-12 20:36:05 +00:00
|
|
|
jQuery('#jform_add_php_after_cancel').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_after_cancel_vvvvvxt = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
|
|
|
vvvvvxt(add_php_after_cancel_vvvvvxt);
|
2019-06-12 20:36:05 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_after_cancel',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_after_cancel_vvvvvxt = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
|
|
|
vvvvvxt(add_php_after_cancel_vvvvvxt);
|
2019-06-12 20:36:05 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxu function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_batchcopy').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_batchcopy_vvvvvxu = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
|
|
|
vvvvvxu(add_php_batchcopy_vvvvvxu);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_batchcopy_vvvvvxu = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
|
|
|
vvvvvxu(add_php_batchcopy_vvvvvxu);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxv function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_php_batchmove').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_batchmove_vvvvvxv = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
|
|
|
vvvvvxv(add_php_batchmove_vvvvvxv);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_batchmove_vvvvvxv = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
|
|
|
vvvvvxv(add_php_batchmove_vvvvvxv);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxw 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
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_before_publish_vvvvvxw = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
|
|
|
vvvvvxw(add_php_before_publish_vvvvvxw);
|
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();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_before_publish_vvvvvxw = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
|
|
|
vvvvvxw(add_php_before_publish_vvvvvxw);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxx 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
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_after_publish_vvvvvxx = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
|
|
|
vvvvvxx(add_php_after_publish_vvvvvxx);
|
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();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_after_publish_vvvvvxx = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
|
|
|
vvvvvxx(add_php_after_publish_vvvvvxx);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxy 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
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_before_delete_vvvvvxy = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
|
|
|
vvvvvxy(add_php_before_delete_vvvvvxy);
|
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();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_before_delete_vvvvvxy = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
|
|
|
vvvvvxy(add_php_before_delete_vvvvvxy);
|
2016-04-22 21:32:02 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxz 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
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_after_delete_vvvvvxz = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
|
|
|
vvvvvxz(add_php_after_delete_vvvvvxz);
|
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();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_after_delete_vvvvvxz = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
|
|
|
vvvvvxz(add_php_after_delete_vvvvvxz);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_php_document listeners for add_php_document_vvvvvya 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
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_document_vvvvvya = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
|
|
|
vvvvvya(add_php_document_vvvvvya);
|
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();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_php_document_vvvvvya = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
|
|
|
vvvvvya(add_php_document_vvvvvya);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_sql listeners for add_sql_vvvvvyb function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_sql').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvyb(add_sql_vvvvvyb);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvyb(add_sql_vvvvvyb);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_source listeners for source_vvvvvyc function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_source').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_sql listeners for add_sql_vvvvvyc function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_sql').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_source listeners for source_vvvvvye function
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#jform_source').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvye(source_vvvvvye,add_sql_vvvvvye);
|
2016-09-07 21:20:58 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvye(source_vvvvvye,add_sql_vvvvvye);
|
2016-09-07 21:20:58 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_sql listeners for add_sql_vvvvvye function
|
2016-09-07 21:20:58 +00:00
|
|
|
jQuery('#jform_add_sql').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvye(source_vvvvvye,add_sql_vvvvvye);
|
2016-09-07 21:20:58 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val();
|
|
|
|
var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
|
|
vvvvvye(source_vvvvvye,add_sql_vvvvvye);
|
2016-09-07 21:20:58 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_custom_import listeners for add_custom_import_vvvvvyg function
|
2016-05-04 04:53:33 +00:00
|
|
|
jQuery('#jform_add_custom_import').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_custom_import_vvvvvyg = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
|
|
|
vvvvvyg(add_custom_import_vvvvvyg);
|
2016-05-04 04:53:33 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_custom_import_vvvvvyg = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
|
|
|
vvvvvyg(add_custom_import_vvvvvyg);
|
2016-05-04 04:53:33 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_custom_import listeners for add_custom_import_vvvvvyh function
|
2016-05-04 04:53:33 +00:00
|
|
|
jQuery('#jform_add_custom_import').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_custom_import_vvvvvyh = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
|
|
|
vvvvvyh(add_custom_import_vvvvvyh);
|
2016-05-04 04:53:33 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_custom_import_vvvvvyh = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
|
|
|
vvvvvyh(add_custom_import_vvvvvyh);
|
2016-05-04 04:53:33 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-06-20 23:32:05 +00:00
|
|
|
// #jform_add_custom_button listeners for add_custom_button_vvvvvyi function
|
2016-09-11 15:27:04 +00:00
|
|
|
jQuery('#jform_add_custom_button').on('keyup',function()
|
|
|
|
{
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_custom_button_vvvvvyi = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
|
|
|
vvvvvyi(add_custom_button_vvvvvyi);
|
2016-09-11 15:27:04 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-06-20 23:32:05 +00:00
|
|
|
var add_custom_button_vvvvvyi = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
|
|
|
vvvvvyi(add_custom_button_vvvvvyi);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2016-09-11 15:27:04 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-21 02:45:51 +00:00
|
|
|
<?php $numberAddtables = range(0, count( (array) $this->item->addtables) + 3, 1);?>
|
2017-10-12 00:50:14 +00:00
|
|
|
|
|
|
|
// 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();
|
2018-01-23 22:05:57 +00:00
|
|
|
getDynamicScripts(valueSwitch);
|
2017-10-12 23:14:17 +00:00
|
|
|
});
|
2018-02-27 12:17:38 +00:00
|
|
|
|
2017-10-12 23:14:17 +00:00
|
|
|
<?php
|
2024-03-02 20:10:30 +00:00
|
|
|
$app = Factory::getApplication();
|
2017-10-12 23:14:17 +00:00
|
|
|
?>
|
|
|
|
function JRouter(link) {
|
|
|
|
<?php
|
2020-01-03 01:41:55 +00:00
|
|
|
if ($app->isClient('site'))
|
2017-10-12 23:14:17 +00:00
|
|
|
{
|
2024-03-02 20:10:30 +00:00
|
|
|
echo 'var url = "'. \Joomla\CMS\Uri\Uri::root() . '";';
|
2017-10-12 23:14:17 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo 'var url = "";';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
return url+link;
|
2018-02-27 12:17:38 +00:00
|
|
|
}
|
|
|
|
|
2024-03-02 20:10:30 +00:00
|
|
|
document.addEventListener("DOMContentLoaded", function() {
|
|
|
|
document.querySelectorAll(".loading-dots").forEach(function(loading_dots) {
|
|
|
|
let x = 0;
|
|
|
|
let intervalId = setInterval(function() {
|
|
|
|
if (!loading_dots.classList.contains("loading-dots")) {
|
|
|
|
clearInterval(intervalId);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
let dots = ".".repeat(x % 8);
|
|
|
|
loading_dots.textContent = dots;
|
|
|
|
x++;
|
|
|
|
}, 500);
|
|
|
|
});
|
2019-07-16 23:15:42 +00:00
|
|
|
});
|
2018-12-19 04:06:36 +00:00
|
|
|
jQuery(document).ready(function(){
|
|
|
|
jQuery(document).on('subform-row-add', function(event, row){
|
|
|
|
getIconImage(jQuery(row).find('.icomoon342'));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
function getIconImage(field) {
|
|
|
|
// get the ID
|
|
|
|
var id = jQuery(field).attr('id');
|
|
|
|
// remove old one
|
|
|
|
jQuery('#image_'+id).remove();
|
|
|
|
// get value
|
|
|
|
var value = jQuery('#'+id).val();
|
|
|
|
// build new one
|
|
|
|
var span = '<span id="image_'+id+'" class="icon-'+value+'" style="position: absolute; top: 8px; right: -20px;"></span>';
|
|
|
|
// add the icon
|
|
|
|
jQuery('#'+id+'_chzn').append(span);
|
|
|
|
}
|
2021-03-05 03:08:47 +00:00
|
|
|
</script>
|