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
|
|
|
|
*/
|
|
|
|
|
2024-03-09 19:47:28 +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;
|
|
|
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
|
|
|
|
|
|
|
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
|
|
|
$wa = $this->getDocument()->getWebAssetManager();
|
|
|
|
$wa->useScript('keepalive')->useScript('form.validate');
|
|
|
|
Html::_('bootstrap.tooltip');
|
|
|
|
|
2021-03-05 03:08:47 +00:00
|
|
|
// No direct access to this file
|
2024-03-09 19:47:28 +00:00
|
|
|
defined('_JEXEC') or die;
|
2021-03-05 03:08:47 +00:00
|
|
|
|
|
|
|
?>
|
2016-05-31 05:36:31 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
// waiting spinner
|
2024-03-09 19:47:28 +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-09 19:47:28 +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-09 19:47:28 +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-09 19:47:28 +00:00
|
|
|
<?php echo LayoutHelper::render('joomla_component.details_above', $this); ?>
|
|
|
|
<div class="main-card">
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.startTabSet', 'joomla_componentTab', ['active' => 'details', 'recall' => true]); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'details', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DETAILS', true)); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.details_left', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.details_right', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'settings', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SETTINGS', true)); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.settings_left', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.settings_right', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.settings_fullwidth', $this); ?>
|
2017-10-26 16:43:51 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'admin_views', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADMIN_VIEWS', true)); ?>
|
|
|
|
<div class="row">
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.admin_views_fullwidth', $this); ?>
|
2016-10-23 22:48:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-10-23 22:48:26 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'site_views', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SITE_VIEWS', true)); ?>
|
|
|
|
<div class="row">
|
2016-10-23 22:48:26 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.site_views_fullwidth', $this); ?>
|
2016-10-23 22:48:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-10-23 22:48:26 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'custom_admin_views', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CUSTOM_ADMIN_VIEWS', true)); ?>
|
|
|
|
<div class="row">
|
2016-10-23 22:48:26 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.custom_admin_views_fullwidth', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'libs_helpers', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LIBS_HELPERS', true)); ?>
|
|
|
|
<div class="row">
|
2017-10-26 16:43:51 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.libs_helpers_fullwidth', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'dash_install', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DASH_INSTALL', true)); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.dash_install_left', $this); ?>
|
2017-10-26 16:43:51 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.dash_install_right', $this); ?>
|
2018-03-09 03:26:44 +00:00
|
|
|
</div>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.dash_install_fullwidth', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'mysql', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_MYSQL', true)); ?>
|
|
|
|
<div class="row">
|
2016-12-30 10:47:19 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.mysql_fullwidth', $this); ?>
|
2016-12-30 10:47:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-12-30 10:47:19 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'readme', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_README', true)); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.readme_left', $this); ?>
|
2017-10-26 16:43:51 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.readme_right', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'dynamic_integration', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DYNAMIC_INTEGRATION', true)); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.dynamic_integration_left', $this); ?>
|
2019-05-15 17:39:27 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.dynamic_integration_right', $this); ?>
|
2016-03-04 20:58:05 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-03-04 20:58:05 +00:00
|
|
|
|
2024-04-06 21:29:23 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'dynamic_build', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DYNAMIC_BUILD', true)); ?>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="row">
|
2016-12-30 10:47:19 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
2024-04-06 21:29:23 +00:00
|
|
|
<?php echo LayoutHelper::render('joomla_component.dynamic_build_fullwidth', $this); ?>
|
2016-12-30 10:47:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-12-30 10:47:19 +00:00
|
|
|
|
2018-08-23 21:51:09 +00:00
|
|
|
<?php $this->ignore_fieldsets = array('details','metadata','vdmmetadata','accesscontrol'); ?>
|
|
|
|
<?php $this->tab_name = 'joomla_componentTab'; ?>
|
2024-03-09 19:47:28 +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('joomla_component.edit.created_by') || $this->canDo->get('joomla_component.edit.created') || $this->canDo->get('joomla_component.edit.state') || ($this->canDo->get('joomla_component.delete') && $this->canDo->get('joomla_component.edit.state'))) : ?>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'publishing', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PUBLISHING', true)); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.publishing', $this); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<div class="col-md-6">
|
|
|
|
<?php echo LayoutHelper::render('joomla_component.metadata', $this); ?>
|
2017-02-16 14:02:23 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2017-02-16 14:02:23 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<?php if ($this->canDo->get('core.admin')) : ?>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.addTab', 'joomla_componentTab', 'permissions', Text::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PERMISSION', true)); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
2017-02-16 14:02:23 +00:00
|
|
|
<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>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTab'); ?>
|
2016-02-15 08:37:21 +00:00
|
|
|
<?php endif; ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('uitab.endTabSet'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
<div>
|
2017-02-16 14:02:23 +00:00
|
|
|
<input type="hidden" name="task" value="joomla_component.edit" />
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo Html::_('form.token'); ?>
|
2016-01-30 20:28:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
2024-03-09 19:47:28 +00:00
|
|
|
<?php echo LayoutHelper::render('joomla_component.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-04-21 23:07:22 +00:00
|
|
|
// #jform_emptycontributors listeners for emptycontributors_vvvvvvv function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_emptycontributors').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var emptycontributors_vvvvvvv = jQuery("#jform_emptycontributors input[type='radio']:checked").val();
|
|
|
|
vvvvvvv(emptycontributors_vvvvvvv);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_emptycontributors',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var emptycontributors_vvvvvvv = jQuery("#jform_emptycontributors input[type='radio']:checked").val();
|
|
|
|
vvvvvvv(emptycontributors_vvvvvvv);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_add_license listeners for add_license_vvvvvvw function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_license').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var add_license_vvvvvvw = jQuery("#jform_add_license input[type='radio']:checked").val();
|
|
|
|
vvvvvvw(add_license_vvvvvvw);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_license',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var add_license_vvvvvvw = jQuery("#jform_add_license input[type='radio']:checked").val();
|
|
|
|
vvvvvvw(add_license_vvvvvvw);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_add_license listeners for add_license_vvvvvvx function
|
2016-01-30 20:28:43 +00:00
|
|
|
jQuery('#jform_add_license').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var add_license_vvvvvvx = jQuery("#jform_add_license input[type='radio']:checked").val();
|
|
|
|
vvvvvvx(add_license_vvvvvvx);
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_license',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var add_license_vvvvvvx = jQuery("#jform_add_license input[type='radio']:checked").val();
|
|
|
|
vvvvvvx(add_license_vvvvvvx);
|
2016-10-23 22:48:26 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_update_server_target listeners for update_server_target_vvvvvvy function
|
2016-11-22 05:48:55 +00:00
|
|
|
jQuery('#jform_update_server_target').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvvy = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvvy = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvvy(update_server_target_vvvvvvy,add_update_server_vvvvvvy);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvvy = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvvy = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvvy(update_server_target_vvvvvvy,add_update_server_vvvvvvy);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_add_update_server listeners for add_update_server_vvvvvvy function
|
2016-11-22 05:48:55 +00:00
|
|
|
jQuery('#jform_add_update_server').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvvy = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvvy = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvvy(update_server_target_vvvvvvy,add_update_server_vvvvvvy);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvvy = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvvy = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvvy(update_server_target_vvvvvvy,add_update_server_vvvvvvy);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_add_update_server listeners for add_update_server_vvvvvvz function
|
2016-11-22 05:48:55 +00:00
|
|
|
jQuery('#jform_add_update_server').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var add_update_server_vvvvvvz = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
var update_server_target_vvvvvvz = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
vvvvvvz(add_update_server_vvvvvvz,update_server_target_vvvvvvz);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var add_update_server_vvvvvvz = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
var update_server_target_vvvvvvz = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
vvvvvvz(add_update_server_vvvvvvz,update_server_target_vvvvvvz);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_update_server_target listeners for update_server_target_vvvvvvz function
|
2016-11-22 05:48:55 +00:00
|
|
|
jQuery('#jform_update_server_target').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var add_update_server_vvvvvvz = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
var update_server_target_vvvvvvz = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
vvvvvvz(add_update_server_vvvvvvz,update_server_target_vvvvvvz);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var add_update_server_vvvvvvz = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
var update_server_target_vvvvvvz = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
vvvvvvz(add_update_server_vvvvvvz,update_server_target_vvvvvvz);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_update_server_target listeners for update_server_target_vvvvvwa function
|
2016-11-22 05:48:55 +00:00
|
|
|
jQuery('#jform_update_server_target').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvwa = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvwa = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvwa(update_server_target_vvvvvwa,add_update_server_vvvvvwa);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvwa = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvwa = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvwa(update_server_target_vvvvvwa,add_update_server_vvvvvwa);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_add_update_server listeners for add_update_server_vvvvvwa function
|
2016-11-22 05:48:55 +00:00
|
|
|
jQuery('#jform_add_update_server').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvwa = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvwa = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvwa(update_server_target_vvvvvwa,add_update_server_vvvvvwa);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvwa = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvwa = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvwa(update_server_target_vvvvvwa,add_update_server_vvvvvwa);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_update_server_target listeners for update_server_target_vvvvvwc function
|
2016-11-22 05:48:55 +00:00
|
|
|
jQuery('#jform_update_server_target').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvwc = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvwc = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvwc(update_server_target_vvvvvwc,add_update_server_vvvvvwc);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvwc = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvwc = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvwc(update_server_target_vvvvvwc,add_update_server_vvvvvwc);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_add_update_server listeners for add_update_server_vvvvvwc function
|
2016-11-22 05:48:55 +00:00
|
|
|
jQuery('#jform_add_update_server').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvwc = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvwc = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvwc(update_server_target_vvvvvwc,add_update_server_vvvvvwc);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var update_server_target_vvvvvwc = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
|
|
|
var add_update_server_vvvvvwc = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvwc(update_server_target_vvvvvwc,add_update_server_vvvvvwc);
|
2016-11-22 05:48:55 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_add_update_server listeners for add_update_server_vvvvvwe function
|
2016-11-22 17:08:17 +00:00
|
|
|
jQuery('#jform_add_update_server').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var add_update_server_vvvvvwe = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvwe(add_update_server_vvvvvwe);
|
2016-11-22 17:08:17 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var add_update_server_vvvvvwe = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
|
|
|
vvvvvwe(add_update_server_vvvvvwe);
|
2016-11-22 17:08:17 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_buildcomp listeners for buildcomp_vvvvvwf function
|
2016-12-30 10:47:19 +00:00
|
|
|
jQuery('#jform_buildcomp').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var buildcomp_vvvvvwf = jQuery("#jform_buildcomp input[type='radio']:checked").val();
|
|
|
|
vvvvvwf(buildcomp_vvvvvwf);
|
2016-12-30 10:47:19 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_buildcomp',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var buildcomp_vvvvvwf = jQuery("#jform_buildcomp input[type='radio']:checked").val();
|
|
|
|
vvvvvwf(buildcomp_vvvvvwf);
|
2016-12-30 10:47:19 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_dashboard_type listeners for dashboard_type_vvvvvwg function
|
2018-03-09 03:26:44 +00:00
|
|
|
jQuery('#jform_dashboard_type').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var dashboard_type_vvvvvwg = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
|
|
|
vvvvvwg(dashboard_type_vvvvvwg);
|
2018-03-09 03:26:44 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_dashboard_type',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var dashboard_type_vvvvvwg = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
|
|
|
vvvvvwg(dashboard_type_vvvvvwg);
|
2018-03-09 03:26:44 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_dashboard_type listeners for dashboard_type_vvvvvwh function
|
2018-03-09 03:26:44 +00:00
|
|
|
jQuery('#jform_dashboard_type').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var dashboard_type_vvvvvwh = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
|
|
|
vvvvvwh(dashboard_type_vvvvvwh);
|
2018-03-09 03:26:44 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_dashboard_type',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var dashboard_type_vvvvvwh = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
|
|
|
vvvvvwh(dashboard_type_vvvvvwh);
|
2018-03-09 03:26:44 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2024-04-21 23:07:22 +00:00
|
|
|
// #jform_translation_tool listeners for translation_tool_vvvvvwi function
|
2019-05-15 17:39:27 +00:00
|
|
|
jQuery('#jform_translation_tool').on('keyup',function()
|
|
|
|
{
|
2024-04-21 23:07:22 +00:00
|
|
|
var translation_tool_vvvvvwi = jQuery("#jform_translation_tool").val();
|
|
|
|
vvvvvwi(translation_tool_vvvvvwi);
|
2019-05-15 17:39:27 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
jQuery('#adminForm').on('change', '#jform_translation_tool',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
2024-04-21 23:07:22 +00:00
|
|
|
var translation_tool_vvvvvwi = jQuery("#jform_translation_tool").val();
|
|
|
|
vvvvvwi(translation_tool_vvvvvwi);
|
2019-05-15 17:39:27 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2016-01-30 20:28:43 +00:00
|
|
|
|
2018-02-27 12:17:38 +00:00
|
|
|
|
2018-03-11 02:44:43 +00:00
|
|
|
|
2017-10-26 16:43:51 +00:00
|
|
|
<?php
|
2024-03-09 19:47:28 +00:00
|
|
|
$app = Factory::getApplication();
|
2017-10-26 16:43:51 +00:00
|
|
|
?>
|
|
|
|
function JRouter(link) {
|
|
|
|
<?php
|
2020-01-03 01:41:55 +00:00
|
|
|
if ($app->isClient('site'))
|
2017-10-26 16:43:51 +00:00
|
|
|
{
|
2024-03-09 19:47:28 +00:00
|
|
|
echo 'var url = "'. \Joomla\CMS\Uri\Uri::root() . '";';
|
2017-10-26 16:43:51 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo 'var url = "";';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
return url+link;
|
2018-02-27 12:17:38 +00:00
|
|
|
}
|
|
|
|
|
2024-03-09 19:47:28 +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);
|
|
|
|
});
|
2018-03-09 03:26:44 +00:00
|
|
|
});
|
|
|
|
// check when dashboard switch changes
|
|
|
|
jQuery('#adminForm').on('change', '#jform_dashboard_type',function (e)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
|
|
|
var dasboard_type = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
|
|
|
dasboardSwitch(dasboard_type);
|
|
|
|
});
|
2021-03-05 03:08:47 +00:00
|
|
|
</script>
|