687 lines
30 KiB
PHP
687 lines
30 KiB
PHP
<?php
|
|
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
|
__ __ _ _____ _ _ __ __ _ _ _
|
|
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
|
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
|
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
|
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
|
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
|
| |
|
|
|_|
|
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
|
|
|
@version @update number 55 of this MVC
|
|
@build 17th July, 2017
|
|
@created 3rd November, 2016
|
|
@package Sermon Distributor
|
|
@subpackage edit.php
|
|
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
|
@copyright Copyright (C) 2015. All Rights Reserved
|
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
A sermon distributor that links to Dropbox.
|
|
|
|
/-----------------------------------------------------------------------------------------------------------------------------*/
|
|
|
|
// No direct access to this file
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
|
JHtml::_('behavior.tooltip');
|
|
JHtml::_('behavior.formvalidation');
|
|
JHtml::_('formbehavior.chosen', 'select');
|
|
JHtml::_('behavior.keepalive');
|
|
$componentParams = JComponentHelper::getParams('com_sermondistributor');
|
|
?>
|
|
<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_sermondistributor/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('#sermondistributor_loader').fadeIn('fast');
|
|
jQuery('#loading').hide();
|
|
});
|
|
</script>
|
|
<div id="sermondistributor_loader" style="display: none;">
|
|
<form action="<?php echo JRoute::_('index.php?option=com_sermondistributor&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
|
|
|
|
<?php echo JLayoutHelper::render('external_source.details_above', $this); ?>
|
|
<div class="form-horizontal">
|
|
|
|
<?php echo JHtml::_('bootstrap.startTabSet', 'external_sourceTab', array('active' => 'details')); ?>
|
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'external_sourceTab', 'details', JText::_('COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_DETAILS', true)); ?>
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
<div class="span6">
|
|
<?php echo JLayoutHelper::render('external_source.details_left', $this); ?>
|
|
</div>
|
|
<div class="span6">
|
|
<?php echo JLayoutHelper::render('external_source.details_right', $this); ?>
|
|
</div>
|
|
</div>
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
<div class="span12">
|
|
<?php echo JLayoutHelper::render('external_source.details_fullwidth', $this); ?>
|
|
</div>
|
|
</div>
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'external_sourceTab', 'build_option', JText::_('COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_BUILD_OPTION', true)); ?>
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
</div>
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
<div class="span12">
|
|
<?php echo JLayoutHelper::render('external_source.build_option_fullwidth', $this); ?>
|
|
</div>
|
|
</div>
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
<?php if ($this->canDo->get('external_source.delete') || $this->canDo->get('external_source.edit.created_by') || $this->canDo->get('external_source.edit.state') || $this->canDo->get('external_source.edit.created')) : ?>
|
|
<?php echo JHtml::_('bootstrap.addTab', 'external_sourceTab', 'publishing', JText::_('COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PUBLISHING', true)); ?>
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
<div class="span6">
|
|
<?php echo JLayoutHelper::render('external_source.publishing', $this); ?>
|
|
</div>
|
|
<div class="span6">
|
|
<?php echo JLayoutHelper::render('external_source.publlshing', $this); ?>
|
|
</div>
|
|
</div>
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
<?php endif; ?>
|
|
|
|
<?php if ($this->canDo->get('core.admin')) : ?>
|
|
<?php echo JHtml::_('bootstrap.addTab', 'external_sourceTab', 'permissions', JText::_('COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_PERMISSION', true)); ?>
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
<div class="span12">
|
|
<fieldset class="adminform">
|
|
<div class="adminformlist">
|
|
<?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?>
|
|
<div>
|
|
<?php echo $field->label; echo $field->input;?>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
<?php endif; ?>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTabSet'); ?>
|
|
|
|
<div>
|
|
<input type="hidden" name="task" value="external_source.edit" />
|
|
<?php echo JHtml::_('form.token'); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
<?php echo JLayoutHelper::render('external_source.details_under', $this); ?>
|
|
</form>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
// #jform_externalsources listeners for externalsources_vvvvvwe function
|
|
jQuery('#jform_externalsources').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwe = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwe = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwe(externalsources_vvvvvwe,permissiontype_vvvvvwe);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_externalsources',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwe = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwe = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwe(externalsources_vvvvvwe,permissiontype_vvvvvwe);
|
|
|
|
});
|
|
|
|
// #jform_permissiontype listeners for permissiontype_vvvvvwe function
|
|
jQuery('#jform_permissiontype').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwe = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwe = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwe(externalsources_vvvvvwe,permissiontype_vvvvvwe);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_permissiontype',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwe = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwe = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwe(externalsources_vvvvvwe,permissiontype_vvvvvwe);
|
|
|
|
});
|
|
|
|
// #jform_externalsources listeners for externalsources_vvvvvwg function
|
|
jQuery('#jform_externalsources').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwg = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwg = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwg(externalsources_vvvvvwg,permissiontype_vvvvvwg);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_externalsources',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwg = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwg = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwg(externalsources_vvvvvwg,permissiontype_vvvvvwg);
|
|
|
|
});
|
|
|
|
// #jform_permissiontype listeners for permissiontype_vvvvvwg function
|
|
jQuery('#jform_permissiontype').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwg = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwg = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwg(externalsources_vvvvvwg,permissiontype_vvvvvwg);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_permissiontype',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwg = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwg = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwg(externalsources_vvvvvwg,permissiontype_vvvvvwg);
|
|
|
|
});
|
|
|
|
// #jform_externalsources listeners for externalsources_vvvvvwi function
|
|
jQuery('#jform_externalsources').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwi = jQuery("#jform_externalsources").val();
|
|
vvvvvwi(externalsources_vvvvvwi);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_externalsources',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwi = jQuery("#jform_externalsources").val();
|
|
vvvvvwi(externalsources_vvvvvwi);
|
|
|
|
});
|
|
|
|
// #jform_update_method listeners for update_method_vvvvvwj function
|
|
jQuery('#jform_update_method').on('keyup',function()
|
|
{
|
|
var update_method_vvvvvwj = jQuery("#jform_update_method input[type='radio']:checked").val();
|
|
vvvvvwj(update_method_vvvvvwj);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_update_method',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var update_method_vvvvvwj = jQuery("#jform_update_method input[type='radio']:checked").val();
|
|
vvvvvwj(update_method_vvvvvwj);
|
|
|
|
});
|
|
|
|
// #jform_build listeners for build_vvvvvwk function
|
|
jQuery('#jform_build').on('keyup',function()
|
|
{
|
|
var build_vvvvvwk = jQuery("#jform_build").val();
|
|
vvvvvwk(build_vvvvvwk);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_build',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var build_vvvvvwk = jQuery("#jform_build").val();
|
|
vvvvvwk(build_vvvvvwk);
|
|
|
|
});
|
|
|
|
// #jform_build listeners for build_vvvvvwl function
|
|
jQuery('#jform_build').on('keyup',function()
|
|
{
|
|
var build_vvvvvwl = jQuery("#jform_build").val();
|
|
vvvvvwl(build_vvvvvwl);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_build',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var build_vvvvvwl = jQuery("#jform_build").val();
|
|
vvvvvwl(build_vvvvvwl);
|
|
|
|
});
|
|
|
|
// #jform_externalsources listeners for externalsources_vvvvvwm function
|
|
jQuery('#jform_externalsources').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwm = jQuery("#jform_externalsources").val();
|
|
var update_method_vvvvvwm = jQuery("#jform_update_method input[type='radio']:checked").val();
|
|
vvvvvwm(externalsources_vvvvvwm,update_method_vvvvvwm);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_externalsources',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwm = jQuery("#jform_externalsources").val();
|
|
var update_method_vvvvvwm = jQuery("#jform_update_method input[type='radio']:checked").val();
|
|
vvvvvwm(externalsources_vvvvvwm,update_method_vvvvvwm);
|
|
|
|
});
|
|
|
|
// #jform_update_method listeners for update_method_vvvvvwm function
|
|
jQuery('#jform_update_method').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwm = jQuery("#jform_externalsources").val();
|
|
var update_method_vvvvvwm = jQuery("#jform_update_method input[type='radio']:checked").val();
|
|
vvvvvwm(externalsources_vvvvvwm,update_method_vvvvvwm);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_update_method',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwm = jQuery("#jform_externalsources").val();
|
|
var update_method_vvvvvwm = jQuery("#jform_update_method input[type='radio']:checked").val();
|
|
vvvvvwm(externalsources_vvvvvwm,update_method_vvvvvwm);
|
|
|
|
});
|
|
|
|
// #jform_externalsources listeners for externalsources_vvvvvwo function
|
|
jQuery('#jform_externalsources').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwo = jQuery("#jform_externalsources").val();
|
|
var update_method_vvvvvwo = jQuery("#jform_update_method input[type='radio']:checked").val();
|
|
vvvvvwo(externalsources_vvvvvwo,update_method_vvvvvwo);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_externalsources',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwo = jQuery("#jform_externalsources").val();
|
|
var update_method_vvvvvwo = jQuery("#jform_update_method input[type='radio']:checked").val();
|
|
vvvvvwo(externalsources_vvvvvwo,update_method_vvvvvwo);
|
|
|
|
});
|
|
|
|
// #jform_update_method listeners for update_method_vvvvvwo function
|
|
jQuery('#jform_update_method').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwo = jQuery("#jform_externalsources").val();
|
|
var update_method_vvvvvwo = jQuery("#jform_update_method input[type='radio']:checked").val();
|
|
vvvvvwo(externalsources_vvvvvwo,update_method_vvvvvwo);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_update_method',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwo = jQuery("#jform_externalsources").val();
|
|
var update_method_vvvvvwo = jQuery("#jform_update_method input[type='radio']:checked").val();
|
|
vvvvvwo(externalsources_vvvvvwo,update_method_vvvvvwo);
|
|
|
|
});
|
|
|
|
// #jform_externalsources listeners for externalsources_vvvvvwq function
|
|
jQuery('#jform_externalsources').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwq = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwq = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwq = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwq(externalsources_vvvvvwq,dropboxoptions_vvvvvwq,permissiontype_vvvvvwq);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_externalsources',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwq = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwq = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwq = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwq(externalsources_vvvvvwq,dropboxoptions_vvvvvwq,permissiontype_vvvvvwq);
|
|
|
|
});
|
|
|
|
// #jform_dropboxoptions listeners for dropboxoptions_vvvvvwq function
|
|
jQuery('#jform_dropboxoptions').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwq = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwq = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwq = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwq(externalsources_vvvvvwq,dropboxoptions_vvvvvwq,permissiontype_vvvvvwq);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_dropboxoptions',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwq = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwq = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwq = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwq(externalsources_vvvvvwq,dropboxoptions_vvvvvwq,permissiontype_vvvvvwq);
|
|
|
|
});
|
|
|
|
// #jform_permissiontype listeners for permissiontype_vvvvvwq function
|
|
jQuery('#jform_permissiontype').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwq = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwq = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwq = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwq(externalsources_vvvvvwq,dropboxoptions_vvvvvwq,permissiontype_vvvvvwq);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_permissiontype',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwq = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwq = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwq = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwq(externalsources_vvvvvwq,dropboxoptions_vvvvvwq,permissiontype_vvvvvwq);
|
|
|
|
});
|
|
|
|
// #jform_dropboxoptions listeners for dropboxoptions_vvvvvwr function
|
|
jQuery('#jform_dropboxoptions').on('keyup',function()
|
|
{
|
|
var dropboxoptions_vvvvvwr = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwr = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwr = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwr(dropboxoptions_vvvvvwr,externalsources_vvvvvwr,permissiontype_vvvvvwr);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_dropboxoptions',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var dropboxoptions_vvvvvwr = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwr = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwr = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwr(dropboxoptions_vvvvvwr,externalsources_vvvvvwr,permissiontype_vvvvvwr);
|
|
|
|
});
|
|
|
|
// #jform_externalsources listeners for externalsources_vvvvvwr function
|
|
jQuery('#jform_externalsources').on('keyup',function()
|
|
{
|
|
var dropboxoptions_vvvvvwr = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwr = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwr = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwr(dropboxoptions_vvvvvwr,externalsources_vvvvvwr,permissiontype_vvvvvwr);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_externalsources',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var dropboxoptions_vvvvvwr = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwr = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwr = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwr(dropboxoptions_vvvvvwr,externalsources_vvvvvwr,permissiontype_vvvvvwr);
|
|
|
|
});
|
|
|
|
// #jform_permissiontype listeners for permissiontype_vvvvvwr function
|
|
jQuery('#jform_permissiontype').on('keyup',function()
|
|
{
|
|
var dropboxoptions_vvvvvwr = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwr = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwr = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwr(dropboxoptions_vvvvvwr,externalsources_vvvvvwr,permissiontype_vvvvvwr);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_permissiontype',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var dropboxoptions_vvvvvwr = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwr = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwr = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwr(dropboxoptions_vvvvvwr,externalsources_vvvvvwr,permissiontype_vvvvvwr);
|
|
|
|
});
|
|
|
|
// #jform_permissiontype listeners for permissiontype_vvvvvws function
|
|
jQuery('#jform_permissiontype').on('keyup',function()
|
|
{
|
|
var permissiontype_vvvvvws = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvws = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvws = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvws(permissiontype_vvvvvws,externalsources_vvvvvws,dropboxoptions_vvvvvws);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_permissiontype',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var permissiontype_vvvvvws = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvws = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvws = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvws(permissiontype_vvvvvws,externalsources_vvvvvws,dropboxoptions_vvvvvws);
|
|
|
|
});
|
|
|
|
// #jform_externalsources listeners for externalsources_vvvvvws function
|
|
jQuery('#jform_externalsources').on('keyup',function()
|
|
{
|
|
var permissiontype_vvvvvws = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvws = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvws = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvws(permissiontype_vvvvvws,externalsources_vvvvvws,dropboxoptions_vvvvvws);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_externalsources',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var permissiontype_vvvvvws = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvws = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvws = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvws(permissiontype_vvvvvws,externalsources_vvvvvws,dropboxoptions_vvvvvws);
|
|
|
|
});
|
|
|
|
// #jform_dropboxoptions listeners for dropboxoptions_vvvvvws function
|
|
jQuery('#jform_dropboxoptions').on('keyup',function()
|
|
{
|
|
var permissiontype_vvvvvws = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvws = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvws = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvws(permissiontype_vvvvvws,externalsources_vvvvvws,dropboxoptions_vvvvvws);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_dropboxoptions',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var permissiontype_vvvvvws = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvws = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvws = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvws(permissiontype_vvvvvws,externalsources_vvvvvws,dropboxoptions_vvvvvws);
|
|
|
|
});
|
|
|
|
// #jform_externalsources listeners for externalsources_vvvvvwt function
|
|
jQuery('#jform_externalsources').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwt = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwt = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwt = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwt(externalsources_vvvvvwt,dropboxoptions_vvvvvwt,permissiontype_vvvvvwt);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_externalsources',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwt = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwt = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwt = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwt(externalsources_vvvvvwt,dropboxoptions_vvvvvwt,permissiontype_vvvvvwt);
|
|
|
|
});
|
|
|
|
// #jform_dropboxoptions listeners for dropboxoptions_vvvvvwt function
|
|
jQuery('#jform_dropboxoptions').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwt = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwt = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwt = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwt(externalsources_vvvvvwt,dropboxoptions_vvvvvwt,permissiontype_vvvvvwt);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_dropboxoptions',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwt = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwt = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwt = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwt(externalsources_vvvvvwt,dropboxoptions_vvvvvwt,permissiontype_vvvvvwt);
|
|
|
|
});
|
|
|
|
// #jform_permissiontype listeners for permissiontype_vvvvvwt function
|
|
jQuery('#jform_permissiontype').on('keyup',function()
|
|
{
|
|
var externalsources_vvvvvwt = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwt = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwt = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwt(externalsources_vvvvvwt,dropboxoptions_vvvvvwt,permissiontype_vvvvvwt);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_permissiontype',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var externalsources_vvvvvwt = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwt = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var permissiontype_vvvvvwt = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwt(externalsources_vvvvvwt,dropboxoptions_vvvvvwt,permissiontype_vvvvvwt);
|
|
|
|
});
|
|
|
|
// #jform_dropboxoptions listeners for dropboxoptions_vvvvvwu function
|
|
jQuery('#jform_dropboxoptions').on('keyup',function()
|
|
{
|
|
var dropboxoptions_vvvvvwu = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwu = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwu = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwu(dropboxoptions_vvvvvwu,externalsources_vvvvvwu,permissiontype_vvvvvwu);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_dropboxoptions',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var dropboxoptions_vvvvvwu = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwu = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwu = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwu(dropboxoptions_vvvvvwu,externalsources_vvvvvwu,permissiontype_vvvvvwu);
|
|
|
|
});
|
|
|
|
// #jform_externalsources listeners for externalsources_vvvvvwu function
|
|
jQuery('#jform_externalsources').on('keyup',function()
|
|
{
|
|
var dropboxoptions_vvvvvwu = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwu = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwu = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwu(dropboxoptions_vvvvvwu,externalsources_vvvvvwu,permissiontype_vvvvvwu);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_externalsources',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var dropboxoptions_vvvvvwu = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwu = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwu = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwu(dropboxoptions_vvvvvwu,externalsources_vvvvvwu,permissiontype_vvvvvwu);
|
|
|
|
});
|
|
|
|
// #jform_permissiontype listeners for permissiontype_vvvvvwu function
|
|
jQuery('#jform_permissiontype').on('keyup',function()
|
|
{
|
|
var dropboxoptions_vvvvvwu = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwu = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwu = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwu(dropboxoptions_vvvvvwu,externalsources_vvvvvwu,permissiontype_vvvvvwu);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_permissiontype',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var dropboxoptions_vvvvvwu = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwu = jQuery("#jform_externalsources").val();
|
|
var permissiontype_vvvvvwu = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
vvvvvwu(dropboxoptions_vvvvvwu,externalsources_vvvvvwu,permissiontype_vvvvvwu);
|
|
|
|
});
|
|
|
|
// #jform_permissiontype listeners for permissiontype_vvvvvwv function
|
|
jQuery('#jform_permissiontype').on('keyup',function()
|
|
{
|
|
var permissiontype_vvvvvwv = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwv = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwv = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvwv(permissiontype_vvvvvwv,externalsources_vvvvvwv,dropboxoptions_vvvvvwv);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_permissiontype',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var permissiontype_vvvvvwv = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwv = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwv = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvwv(permissiontype_vvvvvwv,externalsources_vvvvvwv,dropboxoptions_vvvvvwv);
|
|
|
|
});
|
|
|
|
// #jform_externalsources listeners for externalsources_vvvvvwv function
|
|
jQuery('#jform_externalsources').on('keyup',function()
|
|
{
|
|
var permissiontype_vvvvvwv = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwv = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwv = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvwv(permissiontype_vvvvvwv,externalsources_vvvvvwv,dropboxoptions_vvvvvwv);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_externalsources',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var permissiontype_vvvvvwv = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwv = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwv = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvwv(permissiontype_vvvvvwv,externalsources_vvvvvwv,dropboxoptions_vvvvvwv);
|
|
|
|
});
|
|
|
|
// #jform_dropboxoptions listeners for dropboxoptions_vvvvvwv function
|
|
jQuery('#jform_dropboxoptions').on('keyup',function()
|
|
{
|
|
var permissiontype_vvvvvwv = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwv = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwv = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvwv(permissiontype_vvvvvwv,externalsources_vvvvvwv,dropboxoptions_vvvvvwv);
|
|
|
|
});
|
|
jQuery('#adminForm').on('change', '#jform_dropboxoptions',function (e)
|
|
{
|
|
e.preventDefault();
|
|
var permissiontype_vvvvvwv = jQuery("#jform_permissiontype input[type='radio']:checked").val();
|
|
var externalsources_vvvvvwv = jQuery("#jform_externalsources").val();
|
|
var dropboxoptions_vvvvvwv = jQuery("#jform_dropboxoptions input[type='radio']:checked").val();
|
|
vvvvvwv(permissiontype_vvvvvwv,externalsources_vvvvvwv,dropboxoptions_vvvvvwv);
|
|
|
|
});
|
|
|
|
|
|
jQuery('input.form-field-repeatable').on('value-update', function(e, value){
|
|
if (value)
|
|
{
|
|
value = JSON.stringify(value);
|
|
getBuildTable(value,e.currentTarget.id);
|
|
}
|
|
});
|
|
</script>
|