Component-Builder-fork/admin/views/joomla_component/tmpl/edit.php

793 lines
30 KiB
PHP
Raw Normal View History

2016-01-30 20:28:43 +00:00
<?php
/**
* @package Joomla.Component.Builder
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
* @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');
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
JHtml::_('behavior.formvalidator');
JHtml::_('formbehavior.chosen', 'select');
JHtml::_('behavior.keepalive');
$componentParams = $this->params; // will be removed just use $this->params instead
?>
<script type="text/javascript">
// waiting spinner
var outerDiv = jQuery('body');
jQuery('<div id="loading"></div>')
.css("background", "rgba(255, 255, 255, .8) url('components/com_componentbuilder/assets/images/import.gif') 50% 15% no-repeat")
.css("top", outerDiv.position().top - jQuery(window).scrollTop())
.css("left", outerDiv.position().left - jQuery(window).scrollLeft())
.css("width", outerDiv.width())
.css("height", outerDiv.height())
.css("position", "fixed")
.css("opacity", "0.80")
.css("-ms-filter", "progid:DXImageTransform.Microsoft.Alpha(Opacity = 80)")
.css("filter", "alpha(opacity = 80)")
.css("display", "none")
.appendTo(outerDiv);
jQuery('#loading').show();
// when page is ready remove and show
jQuery(window).load(function() {
jQuery('#componentbuilder_loader').fadeIn('fast');
jQuery('#loading').hide();
});
</script>
<div id="componentbuilder_loader" style="display: none;">
<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">
2016-01-30 20:28:43 +00:00
<?php echo JLayoutHelper::render('joomla_component.details_above', $this); ?>
<div class="form-horizontal">
2016-01-30 20:28:43 +00:00
<?php echo JHtml::_('bootstrap.startTabSet', 'joomla_componentTab', array('active' => 'details')); ?>
2016-01-30 20:28:43 +00:00
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'details', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DETAILS', true)); ?>
2016-01-30 20:28:43 +00:00
<div class="row-fluid form-horizontal-desktop">
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.details_left', $this); ?>
2016-01-30 20:28:43 +00:00
</div>
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.details_right', $this); ?>
2016-01-30 20:28:43 +00:00
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'settings', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SETTINGS', true)); ?>
2016-01-30 20:28:43 +00:00
<div class="row-fluid form-horizontal-desktop">
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.settings_left', $this); ?>
2016-01-30 20:28:43 +00:00
</div>
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.settings_right', $this); ?>
2016-01-30 20:28:43 +00:00
</div>
</div>
<div class="row-fluid form-horizontal-desktop">
<div class="span12">
<?php echo JLayoutHelper::render('joomla_component.settings_fullwidth', $this); ?>
</div>
</div>
2016-01-30 20:28:43 +00:00
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'admin_views', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADMIN_VIEWS', 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">
<?php echo JLayoutHelper::render('joomla_component.admin_views_fullwidth', $this); ?>
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'site_views', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SITE_VIEWS', true)); ?>
<div class="row-fluid form-horizontal-desktop">
</div>
<div class="row-fluid form-horizontal-desktop">
<div class="span12">
<?php echo JLayoutHelper::render('joomla_component.site_views_fullwidth', $this); ?>
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'custom_admin_views', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CUSTOM_ADMIN_VIEWS', true)); ?>
<div class="row-fluid form-horizontal-desktop">
</div>
<div class="row-fluid form-horizontal-desktop">
<div class="span12">
<?php echo JLayoutHelper::render('joomla_component.custom_admin_views_fullwidth', $this); ?>
2016-01-30 20:28:43 +00:00
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'libs_helpers', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LIBS_HELPERS', 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">
<?php echo JLayoutHelper::render('joomla_component.libs_helpers_fullwidth', $this); ?>
2016-01-30 20:28:43 +00:00
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'dash_install', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DASH_INSTALL', true)); ?>
2016-01-30 20:28:43 +00:00
<div class="row-fluid form-horizontal-desktop">
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.dash_install_left', $this); ?>
</div>
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.dash_install_right', $this); ?>
</div>
2016-01-30 20:28:43 +00:00
</div>
<div class="row-fluid form-horizontal-desktop">
<div class="span12">
<?php echo JLayoutHelper::render('joomla_component.dash_install_fullwidth', $this); ?>
2016-01-30 20:28:43 +00:00
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'mysql', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_MYSQL', true)); ?>
<div class="row-fluid form-horizontal-desktop">
</div>
<div class="row-fluid form-horizontal-desktop">
<div class="span12">
<?php echo JLayoutHelper::render('joomla_component.mysql_fullwidth', $this); ?>
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'readme', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_README', true)); ?>
2016-01-30 20:28:43 +00:00
<div class="row-fluid form-horizontal-desktop">
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.readme_left', $this); ?>
</div>
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.readme_right', $this); ?>
2016-01-30 20:28:43 +00:00
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'dynamic_integration', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DYNAMIC_INTEGRATION', true)); ?>
2016-03-04 20:58:05 +00:00
<div class="row-fluid form-horizontal-desktop">
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.dynamic_integration_left', $this); ?>
</div>
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.dynamic_integration_right', $this); ?>
2016-03-04 20:58:05 +00:00
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'dynamic_build_beta', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DYNAMIC_BUILD_BETA', true)); ?>
<div class="row-fluid form-horizontal-desktop">
</div>
<div class="row-fluid form-horizontal-desktop">
<div class="span12">
<?php echo JLayoutHelper::render('joomla_component.dynamic_build_beta_fullwidth', $this); ?>
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php $this->ignore_fieldsets = array('details','metadata','vdmmetadata','accesscontrol'); ?>
<?php $this->tab_name = 'joomla_componentTab'; ?>
<?php echo JLayoutHelper::render('joomla.edit.params', $this); ?>
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'))) : ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'publishing', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PUBLISHING', true)); ?>
2016-01-30 20:28:43 +00:00
<div class="row-fluid form-horizontal-desktop">
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.publishing', $this); ?>
2016-01-30 20:28:43 +00:00
</div>
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.metadata', $this); ?>
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php endif; ?>
<?php if ($this->canDo->get('core.admin')) : ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'permissions', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_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>
2016-01-30 20:28:43 +00:00
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php endif; ?>
2016-01-30 20:28:43 +00:00
<?php echo JHtml::_('bootstrap.endTabSet'); ?>
<div>
<input type="hidden" name="task" value="joomla_component.edit" />
2016-01-30 20:28:43 +00:00
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
<div class="clearfix"></div>
<?php echo JLayoutHelper::render('joomla_component.details_under', $this); ?>
</form>
</div>
2016-01-30 20:28:43 +00:00
<script type="text/javascript">
// #jform_add_php_helper_admin listeners for add_php_helper_admin_vvvvvvv function
2016-01-30 20:28:43 +00:00
jQuery('#jform_add_php_helper_admin').on('keyup',function()
{
var add_php_helper_admin_vvvvvvv = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val();
vvvvvvv(add_php_helper_admin_vvvvvvv);
2016-01-30 20:28:43 +00:00
});
jQuery('#adminForm').on('change', '#jform_add_php_helper_admin',function (e)
{
e.preventDefault();
var add_php_helper_admin_vvvvvvv = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val();
vvvvvvv(add_php_helper_admin_vvvvvvv);
2016-01-30 20:28:43 +00:00
});
// #jform_add_php_helper_site listeners for add_php_helper_site_vvvvvvw function
2016-01-30 20:28:43 +00:00
jQuery('#jform_add_php_helper_site').on('keyup',function()
{
var add_php_helper_site_vvvvvvw = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val();
vvvvvvw(add_php_helper_site_vvvvvvw);
2016-01-30 20:28:43 +00:00
});
jQuery('#adminForm').on('change', '#jform_add_php_helper_site',function (e)
{
e.preventDefault();
var add_php_helper_site_vvvvvvw = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val();
vvvvvvw(add_php_helper_site_vvvvvvw);
2016-01-30 20:28:43 +00:00
});
// #jform_add_php_helper_both listeners for add_php_helper_both_vvvvvvx function
jQuery('#jform_add_php_helper_both').on('keyup',function()
{
var add_php_helper_both_vvvvvvx = jQuery("#jform_add_php_helper_both input[type='radio']:checked").val();
vvvvvvx(add_php_helper_both_vvvvvvx);
});
jQuery('#adminForm').on('change', '#jform_add_php_helper_both',function (e)
{
e.preventDefault();
var add_php_helper_both_vvvvvvx = jQuery("#jform_add_php_helper_both input[type='radio']:checked").val();
vvvvvvx(add_php_helper_both_vvvvvvx);
});
// #jform_add_css_admin listeners for add_css_admin_vvvvvvy function
jQuery('#jform_add_css_admin').on('keyup',function()
2016-01-30 20:28:43 +00:00
{
var add_css_admin_vvvvvvy = jQuery("#jform_add_css_admin input[type='radio']:checked").val();
vvvvvvy(add_css_admin_vvvvvvy);
2016-01-30 20:28:43 +00:00
});
jQuery('#adminForm').on('change', '#jform_add_css_admin',function (e)
2016-01-30 20:28:43 +00:00
{
e.preventDefault();
var add_css_admin_vvvvvvy = jQuery("#jform_add_css_admin input[type='radio']:checked").val();
vvvvvvy(add_css_admin_vvvvvvy);
2016-01-30 20:28:43 +00:00
});
// #jform_add_css_site listeners for add_css_site_vvvvvvz function
jQuery('#jform_add_css_site').on('keyup',function()
{
var add_css_site_vvvvvvz = jQuery("#jform_add_css_site input[type='radio']:checked").val();
vvvvvvz(add_css_site_vvvvvvz);
});
jQuery('#adminForm').on('change', '#jform_add_css_site',function (e)
{
e.preventDefault();
var add_css_site_vvvvvvz = jQuery("#jform_add_css_site input[type='radio']:checked").val();
vvvvvvz(add_css_site_vvvvvvz);
});
// #jform_add_javascript listeners for add_javascript_vvvvvwa function
jQuery('#jform_add_javascript').on('keyup',function()
{
var add_javascript_vvvvvwa = jQuery("#jform_add_javascript input[type='radio']:checked").val();
vvvvvwa(add_javascript_vvvvvwa);
});
jQuery('#adminForm').on('change', '#jform_add_javascript',function (e)
{
e.preventDefault();
var add_javascript_vvvvvwa = jQuery("#jform_add_javascript input[type='radio']:checked").val();
vvvvvwa(add_javascript_vvvvvwa);
});
// #jform_add_sql listeners for add_sql_vvvvvwb function
2016-01-30 20:28:43 +00:00
jQuery('#jform_add_sql').on('keyup',function()
{
var add_sql_vvvvvwb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvwb(add_sql_vvvvvwb);
2016-01-30 20:28:43 +00:00
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var add_sql_vvvvvwb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvwb(add_sql_vvvvvwb);
2016-01-30 20:28:43 +00:00
});
// #jform_add_sql_uninstall listeners for add_sql_uninstall_vvvvvwc function
jQuery('#jform_add_sql_uninstall').on('keyup',function()
{
var add_sql_uninstall_vvvvvwc = jQuery("#jform_add_sql_uninstall input[type='radio']:checked").val();
vvvvvwc(add_sql_uninstall_vvvvvwc);
});
jQuery('#adminForm').on('change', '#jform_add_sql_uninstall',function (e)
{
e.preventDefault();
var add_sql_uninstall_vvvvvwc = jQuery("#jform_add_sql_uninstall input[type='radio']:checked").val();
vvvvvwc(add_sql_uninstall_vvvvvwc);
});
// #jform_emptycontributors listeners for emptycontributors_vvvvvwd function
2016-01-30 20:28:43 +00:00
jQuery('#jform_emptycontributors').on('keyup',function()
{
var emptycontributors_vvvvvwd = jQuery("#jform_emptycontributors input[type='radio']:checked").val();
vvvvvwd(emptycontributors_vvvvvwd);
2016-01-30 20:28:43 +00:00
});
jQuery('#adminForm').on('change', '#jform_emptycontributors',function (e)
{
e.preventDefault();
var emptycontributors_vvvvvwd = jQuery("#jform_emptycontributors input[type='radio']:checked").val();
vvvvvwd(emptycontributors_vvvvvwd);
2016-01-30 20:28:43 +00:00
});
// #jform_add_license listeners for add_license_vvvvvwe function
2016-01-30 20:28:43 +00:00
jQuery('#jform_add_license').on('keyup',function()
{
var add_license_vvvvvwe = jQuery("#jform_add_license input[type='radio']:checked").val();
vvvvvwe(add_license_vvvvvwe);
2016-01-30 20:28:43 +00:00
});
jQuery('#adminForm').on('change', '#jform_add_license',function (e)
{
e.preventDefault();
var add_license_vvvvvwe = jQuery("#jform_add_license input[type='radio']:checked").val();
vvvvvwe(add_license_vvvvvwe);
2016-01-30 20:28:43 +00:00
});
// #jform_add_admin_event listeners for add_admin_event_vvvvvwf function
2016-01-30 20:28:43 +00:00
jQuery('#jform_add_admin_event').on('keyup',function()
{
var add_admin_event_vvvvvwf = jQuery("#jform_add_admin_event input[type='radio']:checked").val();
vvvvvwf(add_admin_event_vvvvvwf);
2016-01-30 20:28:43 +00:00
});
jQuery('#adminForm').on('change', '#jform_add_admin_event',function (e)
{
e.preventDefault();
var add_admin_event_vvvvvwf = jQuery("#jform_add_admin_event input[type='radio']:checked").val();
vvvvvwf(add_admin_event_vvvvvwf);
2016-01-30 20:28:43 +00:00
});
// #jform_add_site_event listeners for add_site_event_vvvvvwg function
2016-01-30 20:28:43 +00:00
jQuery('#jform_add_site_event').on('keyup',function()
{
var add_site_event_vvvvvwg = jQuery("#jform_add_site_event input[type='radio']:checked").val();
vvvvvwg(add_site_event_vvvvvwg);
2016-01-30 20:28:43 +00:00
});
jQuery('#adminForm').on('change', '#jform_add_site_event',function (e)
{
e.preventDefault();
var add_site_event_vvvvvwg = jQuery("#jform_add_site_event input[type='radio']:checked").val();
vvvvvwg(add_site_event_vvvvvwg);
2016-01-30 20:28:43 +00:00
});
// #jform_addreadme listeners for addreadme_vvvvvwh function
2016-01-30 20:28:43 +00:00
jQuery('#jform_addreadme').on('keyup',function()
{
var addreadme_vvvvvwh = jQuery("#jform_addreadme input[type='radio']:checked").val();
vvvvvwh(addreadme_vvvvvwh);
2016-01-30 20:28:43 +00:00
});
jQuery('#adminForm').on('change', '#jform_addreadme',function (e)
{
e.preventDefault();
var addreadme_vvvvvwh = jQuery("#jform_addreadme input[type='radio']:checked").val();
vvvvvwh(addreadme_vvvvvwh);
2016-01-30 20:28:43 +00:00
});
// #jform_add_update_server listeners for add_update_server_vvvvvwi function
2016-03-04 20:58:05 +00:00
jQuery('#jform_add_update_server').on('keyup',function()
{
var add_update_server_vvvvvwi = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwi(add_update_server_vvvvvwi);
2016-03-04 20:58:05 +00:00
});
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
{
e.preventDefault();
var add_update_server_vvvvvwi = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwi(add_update_server_vvvvvwi);
2016-03-04 20:58:05 +00:00
});
// #jform_add_sales_server listeners for add_sales_server_vvvvvwj function
2016-03-04 20:58:05 +00:00
jQuery('#jform_add_sales_server').on('keyup',function()
{
var add_sales_server_vvvvvwj = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
vvvvvwj(add_sales_server_vvvvvwj);
2016-03-04 20:58:05 +00:00
});
jQuery('#adminForm').on('change', '#jform_add_sales_server',function (e)
{
e.preventDefault();
var add_sales_server_vvvvvwj = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
vvvvvwj(add_sales_server_vvvvvwj);
2016-03-04 20:58:05 +00:00
});
// #jform_add_license listeners for add_license_vvvvvwk function
2016-01-30 20:28:43 +00:00
jQuery('#jform_add_license').on('keyup',function()
{
var add_license_vvvvvwk = jQuery("#jform_add_license input[type='radio']:checked").val();
vvvvvwk(add_license_vvvvvwk);
2016-01-30 20:28:43 +00:00
});
jQuery('#adminForm').on('change', '#jform_add_license',function (e)
{
e.preventDefault();
var add_license_vvvvvwk = jQuery("#jform_add_license input[type='radio']:checked").val();
vvvvvwk(add_license_vvvvvwk);
});
// #jform_add_php_postflight_install listeners for add_php_postflight_install_vvvvvwl function
jQuery('#jform_add_php_postflight_install').on('keyup',function()
{
var add_php_postflight_install_vvvvvwl = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
vvvvvwl(add_php_postflight_install_vvvvvwl);
});
jQuery('#adminForm').on('change', '#jform_add_php_postflight_install',function (e)
{
e.preventDefault();
var add_php_postflight_install_vvvvvwl = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
vvvvvwl(add_php_postflight_install_vvvvvwl);
});
// #jform_add_php_postflight_update listeners for add_php_postflight_update_vvvvvwm function
jQuery('#jform_add_php_postflight_update').on('keyup',function()
{
var add_php_postflight_update_vvvvvwm = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
vvvvvwm(add_php_postflight_update_vvvvvwm);
});
jQuery('#adminForm').on('change', '#jform_add_php_postflight_update',function (e)
{
e.preventDefault();
var add_php_postflight_update_vvvvvwm = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
vvvvvwm(add_php_postflight_update_vvvvvwm);
});
// #jform_add_php_method_uninstall listeners for add_php_method_uninstall_vvvvvwn function
jQuery('#jform_add_php_method_uninstall').on('keyup',function()
{
var add_php_method_uninstall_vvvvvwn = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
vvvvvwn(add_php_method_uninstall_vvvvvwn);
});
jQuery('#adminForm').on('change', '#jform_add_php_method_uninstall',function (e)
{
e.preventDefault();
var add_php_method_uninstall_vvvvvwn = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
vvvvvwn(add_php_method_uninstall_vvvvvwn);
});
// #jform_add_php_preflight_install listeners for add_php_preflight_install_vvvvvwo function
jQuery('#jform_add_php_preflight_install').on('keyup',function()
{
var add_php_preflight_install_vvvvvwo = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
vvvvvwo(add_php_preflight_install_vvvvvwo);
});
jQuery('#adminForm').on('change', '#jform_add_php_preflight_install',function (e)
{
e.preventDefault();
var add_php_preflight_install_vvvvvwo = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
vvvvvwo(add_php_preflight_install_vvvvvwo);
});
// #jform_add_php_preflight_update listeners for add_php_preflight_update_vvvvvwp function
jQuery('#jform_add_php_preflight_update').on('keyup',function()
{
var add_php_preflight_update_vvvvvwp = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
vvvvvwp(add_php_preflight_update_vvvvvwp);
});
jQuery('#adminForm').on('change', '#jform_add_php_preflight_update',function (e)
{
e.preventDefault();
var add_php_preflight_update_vvvvvwp = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
vvvvvwp(add_php_preflight_update_vvvvvwp);
});
// #jform_update_server_target listeners for update_server_target_vvvvvwq function
jQuery('#jform_update_server_target').on('keyup',function()
{
var update_server_target_vvvvvwq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvwq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq);
});
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
{
e.preventDefault();
var update_server_target_vvvvvwq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvwq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq);
});
// #jform_add_update_server listeners for add_update_server_vvvvvwq function
jQuery('#jform_add_update_server').on('keyup',function()
{
var update_server_target_vvvvvwq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvwq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq);
});
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
{
e.preventDefault();
var update_server_target_vvvvvwq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvwq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq);
});
// #jform_add_update_server listeners for add_update_server_vvvvvwr function
jQuery('#jform_add_update_server').on('keyup',function()
{
var add_update_server_vvvvvwr = jQuery("#jform_add_update_server input[type='radio']:checked").val();
var update_server_target_vvvvvwr = jQuery("#jform_update_server_target input[type='radio']:checked").val();
vvvvvwr(add_update_server_vvvvvwr,update_server_target_vvvvvwr);
});
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
{
e.preventDefault();
var add_update_server_vvvvvwr = jQuery("#jform_add_update_server input[type='radio']:checked").val();
var update_server_target_vvvvvwr = jQuery("#jform_update_server_target input[type='radio']:checked").val();
vvvvvwr(add_update_server_vvvvvwr,update_server_target_vvvvvwr);
});
// #jform_update_server_target listeners for update_server_target_vvvvvwr function
jQuery('#jform_update_server_target').on('keyup',function()
{
var add_update_server_vvvvvwr = jQuery("#jform_add_update_server input[type='radio']:checked").val();
var update_server_target_vvvvvwr = jQuery("#jform_update_server_target input[type='radio']:checked").val();
vvvvvwr(add_update_server_vvvvvwr,update_server_target_vvvvvwr);
});
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
{
e.preventDefault();
var add_update_server_vvvvvwr = jQuery("#jform_add_update_server input[type='radio']:checked").val();
var update_server_target_vvvvvwr = jQuery("#jform_update_server_target input[type='radio']:checked").val();
vvvvvwr(add_update_server_vvvvvwr,update_server_target_vvvvvwr);
});
// #jform_update_server_target listeners for update_server_target_vvvvvws function
jQuery('#jform_update_server_target').on('keyup',function()
{
var update_server_target_vvvvvws = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvws = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvws(update_server_target_vvvvvws,add_update_server_vvvvvws);
});
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
{
e.preventDefault();
var update_server_target_vvvvvws = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvws = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvws(update_server_target_vvvvvws,add_update_server_vvvvvws);
});
// #jform_add_update_server listeners for add_update_server_vvvvvws function
jQuery('#jform_add_update_server').on('keyup',function()
{
var update_server_target_vvvvvws = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvws = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvws(update_server_target_vvvvvws,add_update_server_vvvvvws);
});
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
{
e.preventDefault();
var update_server_target_vvvvvws = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvws = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvws(update_server_target_vvvvvws,add_update_server_vvvvvws);
});
// #jform_update_server_target listeners for update_server_target_vvvvvwu function
jQuery('#jform_update_server_target').on('keyup',function()
{
var update_server_target_vvvvvwu = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvwu = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwu(update_server_target_vvvvvwu,add_update_server_vvvvvwu);
});
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
{
e.preventDefault();
var update_server_target_vvvvvwu = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvwu = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwu(update_server_target_vvvvvwu,add_update_server_vvvvvwu);
});
// #jform_add_update_server listeners for add_update_server_vvvvvwu function
jQuery('#jform_add_update_server').on('keyup',function()
{
var update_server_target_vvvvvwu = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvwu = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwu(update_server_target_vvvvvwu,add_update_server_vvvvvwu);
});
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
{
e.preventDefault();
var update_server_target_vvvvvwu = jQuery("#jform_update_server_target input[type='radio']:checked").val();
var add_update_server_vvvvvwu = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwu(update_server_target_vvvvvwu,add_update_server_vvvvvwu);
});
// #jform_add_update_server listeners for add_update_server_vvvvvww function
jQuery('#jform_add_update_server').on('keyup',function()
{
var add_update_server_vvvvvww = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvww(add_update_server_vvvvvww);
});
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
{
e.preventDefault();
var add_update_server_vvvvvww = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvww(add_update_server_vvvvvww);
});
// #jform_buildcomp listeners for buildcomp_vvvvvwx function
jQuery('#jform_buildcomp').on('keyup',function()
{
var buildcomp_vvvvvwx = jQuery("#jform_buildcomp input[type='radio']:checked").val();
vvvvvwx(buildcomp_vvvvvwx);
});
jQuery('#adminForm').on('change', '#jform_buildcomp',function (e)
{
e.preventDefault();
var buildcomp_vvvvvwx = jQuery("#jform_buildcomp input[type='radio']:checked").val();
vvvvvwx(buildcomp_vvvvvwx);
});
// #jform_dashboard_type listeners for dashboard_type_vvvvvwy function
jQuery('#jform_dashboard_type').on('keyup',function()
{
var dashboard_type_vvvvvwy = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
vvvvvwy(dashboard_type_vvvvvwy);
});
jQuery('#adminForm').on('change', '#jform_dashboard_type',function (e)
{
e.preventDefault();
var dashboard_type_vvvvvwy = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
vvvvvwy(dashboard_type_vvvvvwy);
});
// #jform_dashboard_type listeners for dashboard_type_vvvvvwz function
jQuery('#jform_dashboard_type').on('keyup',function()
{
var dashboard_type_vvvvvwz = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
vvvvvwz(dashboard_type_vvvvvwz);
});
jQuery('#adminForm').on('change', '#jform_dashboard_type',function (e)
{
e.preventDefault();
var dashboard_type_vvvvvwz = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
vvvvvwz(dashboard_type_vvvvvwz);
});
// #jform_translation_tool listeners for translation_tool_vvvvvxa function
jQuery('#jform_translation_tool').on('keyup',function()
{
var translation_tool_vvvvvxa = jQuery("#jform_translation_tool").val();
vvvvvxa(translation_tool_vvvvvxa);
});
jQuery('#adminForm').on('change', '#jform_translation_tool',function (e)
{
e.preventDefault();
var translation_tool_vvvvvxa = jQuery("#jform_translation_tool").val();
vvvvvxa(translation_tool_vvvvvxa);
});
2016-01-30 20:28:43 +00:00
<?php
$app = JFactory::getApplication();
?>
function JRouter(link) {
<?php
if ($app->isClient('site'))
{
echo 'var url = "'.JURI::root().'";';
}
else
{
echo 'var url = "";';
}
?>
return url+link;
}
// nice little dot trick :)
jQuery(document).ready( function($) {
var x=0;
setInterval(function() {
var dots = "";
x++;
for (var y=0; y < x%8; y++) {
dots+=".";
}
$(".loading-dots").text(dots);
} , 500);
});
// 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);
});
</script>