Changed to install message, other changes are only random var changes (due to automation)
This commit is contained in:
parent
12a9eb3546
commit
f74b562ba4
@ -23,7 +23,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->drbsermons;
|
||||
$items = $displayData->slqsermons;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit";
|
||||
|
@ -23,7 +23,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->wffsermons;
|
||||
$items = $displayData->grqsermons;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit";
|
||||
|
@ -23,7 +23,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->rhestastics;
|
||||
$items = $displayData->uaqstastics;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_sermondistributor&view=statistics&task=statistic.edit";
|
||||
|
@ -18,38 +18,38 @@
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_qBaiAonoCl_required = false;
|
||||
jform_lRQxpwWmDS_required = false;
|
||||
jform_tsDxjTicPJ_required = false;
|
||||
jform_gengnJuwTQ_required = false;
|
||||
jform_dXNGPABnBk_required = false;
|
||||
jform_lUjJAvVFIk_required = false;
|
||||
jform_ILzlnJWAHY_required = false;
|
||||
jform_wQUmqIUYUo_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var location_XZUaOFk = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
XZUaOFk(location_XZUaOFk);
|
||||
var location_fpmeWpw = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
fpmeWpw(location_fpmeWpw);
|
||||
|
||||
var location_VrJSUBc = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
VrJSUBc(location_VrJSUBc);
|
||||
var location_ynMoYbd = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
ynMoYbd(location_ynMoYbd);
|
||||
|
||||
var type_qBaiAon = jQuery("#jform_type").val();
|
||||
qBaiAon(type_qBaiAon);
|
||||
var type_dXNGPAB = jQuery("#jform_type").val();
|
||||
dXNGPAB(type_dXNGPAB);
|
||||
|
||||
var type_lRQxpwW = jQuery("#jform_type").val();
|
||||
lRQxpwW(type_lRQxpwW);
|
||||
var type_lUjJAvV = jQuery("#jform_type").val();
|
||||
lUjJAvV(type_lUjJAvV);
|
||||
|
||||
var type_tsDxjTi = jQuery("#jform_type").val();
|
||||
tsDxjTi(type_tsDxjTi);
|
||||
var type_ILzlnJW = jQuery("#jform_type").val();
|
||||
ILzlnJW(type_ILzlnJW);
|
||||
|
||||
var target_gengnJu = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
gengnJu(target_gengnJu);
|
||||
var target_wQUmqIU = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
wQUmqIU(target_wQUmqIU);
|
||||
});
|
||||
|
||||
// the XZUaOFk function
|
||||
function XZUaOFk(location_XZUaOFk)
|
||||
// the fpmeWpw function
|
||||
function fpmeWpw(location_fpmeWpw)
|
||||
{
|
||||
// [7974] set the function logic
|
||||
if (location_XZUaOFk == 1)
|
||||
if (location_fpmeWpw == 1)
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
}
|
||||
@ -59,11 +59,11 @@ function XZUaOFk(location_XZUaOFk)
|
||||
}
|
||||
}
|
||||
|
||||
// the VrJSUBc function
|
||||
function VrJSUBc(location_VrJSUBc)
|
||||
// the ynMoYbd function
|
||||
function ynMoYbd(location_ynMoYbd)
|
||||
{
|
||||
// [7974] set the function logic
|
||||
if (location_VrJSUBc == 2)
|
||||
if (location_ynMoYbd == 2)
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
}
|
||||
@ -73,198 +73,198 @@ function VrJSUBc(location_VrJSUBc)
|
||||
}
|
||||
}
|
||||
|
||||
// the qBaiAon function
|
||||
function qBaiAon(type_qBaiAon)
|
||||
// the dXNGPAB function
|
||||
function dXNGPAB(type_dXNGPAB)
|
||||
{
|
||||
if (isSet(type_qBaiAon) && type_qBaiAon.constructor !== Array)
|
||||
if (isSet(type_dXNGPAB) && type_dXNGPAB.constructor !== Array)
|
||||
{
|
||||
var temp_qBaiAon = type_qBaiAon;
|
||||
var type_qBaiAon = [];
|
||||
type_qBaiAon.push(temp_qBaiAon);
|
||||
var temp_dXNGPAB = type_dXNGPAB;
|
||||
var type_dXNGPAB = [];
|
||||
type_dXNGPAB.push(temp_dXNGPAB);
|
||||
}
|
||||
else if (!isSet(type_qBaiAon))
|
||||
else if (!isSet(type_dXNGPAB))
|
||||
{
|
||||
var type_qBaiAon = [];
|
||||
var type_dXNGPAB = [];
|
||||
}
|
||||
var type = type_qBaiAon.some(type_qBaiAon_SomeFunc);
|
||||
var type = type_dXNGPAB.some(type_dXNGPAB_SomeFunc);
|
||||
|
||||
|
||||
// [7952] set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
if (jform_qBaiAonoCl_required)
|
||||
if (jform_dXNGPABnBk_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_qBaiAonoCl_required = false;
|
||||
jform_dXNGPABnBk_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
if (!jform_qBaiAonoCl_required)
|
||||
if (!jform_dXNGPABnBk_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_qBaiAonoCl_required = true;
|
||||
jform_dXNGPABnBk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the qBaiAon Some function
|
||||
function type_qBaiAon_SomeFunc(type_qBaiAon)
|
||||
// the dXNGPAB Some function
|
||||
function type_dXNGPAB_SomeFunc(type_dXNGPAB)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (type_qBaiAon == 3)
|
||||
if (type_dXNGPAB == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the lRQxpwW function
|
||||
function lRQxpwW(type_lRQxpwW)
|
||||
// the lUjJAvV function
|
||||
function lUjJAvV(type_lUjJAvV)
|
||||
{
|
||||
if (isSet(type_lRQxpwW) && type_lRQxpwW.constructor !== Array)
|
||||
if (isSet(type_lUjJAvV) && type_lUjJAvV.constructor !== Array)
|
||||
{
|
||||
var temp_lRQxpwW = type_lRQxpwW;
|
||||
var type_lRQxpwW = [];
|
||||
type_lRQxpwW.push(temp_lRQxpwW);
|
||||
var temp_lUjJAvV = type_lUjJAvV;
|
||||
var type_lUjJAvV = [];
|
||||
type_lUjJAvV.push(temp_lUjJAvV);
|
||||
}
|
||||
else if (!isSet(type_lRQxpwW))
|
||||
else if (!isSet(type_lUjJAvV))
|
||||
{
|
||||
var type_lRQxpwW = [];
|
||||
var type_lUjJAvV = [];
|
||||
}
|
||||
var type = type_lRQxpwW.some(type_lRQxpwW_SomeFunc);
|
||||
var type = type_lUjJAvV.some(type_lUjJAvV_SomeFunc);
|
||||
|
||||
|
||||
// [7952] set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
if (jform_lRQxpwWmDS_required)
|
||||
if (jform_lUjJAvVFIk_required)
|
||||
{
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
jform_lRQxpwWmDS_required = false;
|
||||
jform_lUjJAvVFIk_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
if (!jform_lRQxpwWmDS_required)
|
||||
if (!jform_lUjJAvVFIk_required)
|
||||
{
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
jform_lRQxpwWmDS_required = true;
|
||||
jform_lUjJAvVFIk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the lRQxpwW Some function
|
||||
function type_lRQxpwW_SomeFunc(type_lRQxpwW)
|
||||
// the lUjJAvV Some function
|
||||
function type_lUjJAvV_SomeFunc(type_lUjJAvV)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (type_lRQxpwW == 1)
|
||||
if (type_lUjJAvV == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the tsDxjTi function
|
||||
function tsDxjTi(type_tsDxjTi)
|
||||
// the ILzlnJW function
|
||||
function ILzlnJW(type_ILzlnJW)
|
||||
{
|
||||
if (isSet(type_tsDxjTi) && type_tsDxjTi.constructor !== Array)
|
||||
if (isSet(type_ILzlnJW) && type_ILzlnJW.constructor !== Array)
|
||||
{
|
||||
var temp_tsDxjTi = type_tsDxjTi;
|
||||
var type_tsDxjTi = [];
|
||||
type_tsDxjTi.push(temp_tsDxjTi);
|
||||
var temp_ILzlnJW = type_ILzlnJW;
|
||||
var type_ILzlnJW = [];
|
||||
type_ILzlnJW.push(temp_ILzlnJW);
|
||||
}
|
||||
else if (!isSet(type_tsDxjTi))
|
||||
else if (!isSet(type_ILzlnJW))
|
||||
{
|
||||
var type_tsDxjTi = [];
|
||||
var type_ILzlnJW = [];
|
||||
}
|
||||
var type = type_tsDxjTi.some(type_tsDxjTi_SomeFunc);
|
||||
var type = type_ILzlnJW.some(type_ILzlnJW_SomeFunc);
|
||||
|
||||
|
||||
// [7952] set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').show();
|
||||
if (jform_tsDxjTicPJ_required)
|
||||
if (jform_ILzlnJWAHY_required)
|
||||
{
|
||||
updateFieldRequired('content',0);
|
||||
jQuery('#jform_content').prop('required','required');
|
||||
jQuery('#jform_content').attr('aria-required',true);
|
||||
jQuery('#jform_content').addClass('required');
|
||||
jform_tsDxjTicPJ_required = false;
|
||||
jform_ILzlnJWAHY_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
||||
if (!jform_tsDxjTicPJ_required)
|
||||
if (!jform_ILzlnJWAHY_required)
|
||||
{
|
||||
updateFieldRequired('content',1);
|
||||
jQuery('#jform_content').removeAttr('required');
|
||||
jQuery('#jform_content').removeAttr('aria-required');
|
||||
jQuery('#jform_content').removeClass('required');
|
||||
jform_tsDxjTicPJ_required = true;
|
||||
jform_ILzlnJWAHY_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the tsDxjTi Some function
|
||||
function type_tsDxjTi_SomeFunc(type_tsDxjTi)
|
||||
// the ILzlnJW Some function
|
||||
function type_ILzlnJW_SomeFunc(type_ILzlnJW)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (type_tsDxjTi == 2)
|
||||
if (type_ILzlnJW == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the gengnJu function
|
||||
function gengnJu(target_gengnJu)
|
||||
// the wQUmqIU function
|
||||
function wQUmqIU(target_wQUmqIU)
|
||||
{
|
||||
// [7974] set the function logic
|
||||
if (target_gengnJu == 1)
|
||||
if (target_wQUmqIU == 1)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
if (jform_gengnJuwTQ_required)
|
||||
if (jform_wQUmqIUYUo_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
jform_gengnJuwTQ_required = false;
|
||||
jform_wQUmqIUYUo_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
if (!jform_gengnJuwTQ_required)
|
||||
if (!jform_wQUmqIUYUo_required)
|
||||
{
|
||||
updateFieldRequired('groups',1);
|
||||
jQuery('#jform_groups').removeAttr('required');
|
||||
jQuery('#jform_groups').removeAttr('aria-required');
|
||||
jQuery('#jform_groups').removeClass('required');
|
||||
jform_gengnJuwTQ_required = true;
|
||||
jform_wQUmqIUYUo_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,124 +18,124 @@
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_eERxCZssJl_required = false;
|
||||
jform_WKvxfsZjRQ_required = false;
|
||||
jform_zmOSMyfqmP_required = false;
|
||||
jform_bNlgLehdtA_required = false;
|
||||
jform_nqdRJneIrW_required = false;
|
||||
jform_rftyiTCGUp_required = false;
|
||||
jform_jAMSvXiJcA_required = false;
|
||||
jform_hkBIRwXeyD_required = false;
|
||||
jform_cyLHBtpmUy_required = false;
|
||||
jform_XcZLWuJdiL_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var source_eERxCZs = jQuery("#jform_source").val();
|
||||
eERxCZs(source_eERxCZs);
|
||||
var source_rftyiTC = jQuery("#jform_source").val();
|
||||
rftyiTC(source_rftyiTC);
|
||||
|
||||
var source_yKLKtte = jQuery("#jform_source").val();
|
||||
var build_yKLKtte = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
yKLKtte(source_yKLKtte,build_yKLKtte);
|
||||
var source_liGWajx = jQuery("#jform_source").val();
|
||||
var build_liGWajx = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
liGWajx(source_liGWajx,build_liGWajx);
|
||||
|
||||
var source_WKvxfsZ = jQuery("#jform_source").val();
|
||||
var build_WKvxfsZ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
WKvxfsZ(source_WKvxfsZ,build_WKvxfsZ);
|
||||
var source_jAMSvXi = jQuery("#jform_source").val();
|
||||
var build_jAMSvXi = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
jAMSvXi(source_jAMSvXi,build_jAMSvXi);
|
||||
|
||||
var build_zmOSMyf = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_zmOSMyf = jQuery("#jform_source").val();
|
||||
zmOSMyf(build_zmOSMyf,source_zmOSMyf);
|
||||
var build_hkBIRwX = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_hkBIRwX = jQuery("#jform_source").val();
|
||||
hkBIRwX(build_hkBIRwX,source_hkBIRwX);
|
||||
|
||||
var source_bNlgLeh = jQuery("#jform_source").val();
|
||||
bNlgLeh(source_bNlgLeh);
|
||||
var source_cyLHBtp = jQuery("#jform_source").val();
|
||||
cyLHBtp(source_cyLHBtp);
|
||||
|
||||
var source_nqdRJne = jQuery("#jform_source").val();
|
||||
nqdRJne(source_nqdRJne);
|
||||
var source_XcZLWuJ = jQuery("#jform_source").val();
|
||||
XcZLWuJ(source_XcZLWuJ);
|
||||
|
||||
var link_type_EYkuTXS = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
EYkuTXS(link_type_EYkuTXS);
|
||||
var link_type_LnTfUMv = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
LnTfUMv(link_type_LnTfUMv);
|
||||
|
||||
var link_type_YoiOpWc = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
YoiOpWc(link_type_YoiOpWc);
|
||||
var link_type_SPbxTGc = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
SPbxTGc(link_type_SPbxTGc);
|
||||
});
|
||||
|
||||
// the eERxCZs function
|
||||
function eERxCZs(source_eERxCZs)
|
||||
// the rftyiTC function
|
||||
function rftyiTC(source_rftyiTC)
|
||||
{
|
||||
if (isSet(source_eERxCZs) && source_eERxCZs.constructor !== Array)
|
||||
if (isSet(source_rftyiTC) && source_rftyiTC.constructor !== Array)
|
||||
{
|
||||
var temp_eERxCZs = source_eERxCZs;
|
||||
var source_eERxCZs = [];
|
||||
source_eERxCZs.push(temp_eERxCZs);
|
||||
var temp_rftyiTC = source_rftyiTC;
|
||||
var source_rftyiTC = [];
|
||||
source_rftyiTC.push(temp_rftyiTC);
|
||||
}
|
||||
else if (!isSet(source_eERxCZs))
|
||||
else if (!isSet(source_rftyiTC))
|
||||
{
|
||||
var source_eERxCZs = [];
|
||||
var source_rftyiTC = [];
|
||||
}
|
||||
var source = source_eERxCZs.some(source_eERxCZs_SomeFunc);
|
||||
var source = source_rftyiTC.some(source_rftyiTC_SomeFunc);
|
||||
|
||||
|
||||
// [7952] set this function logic
|
||||
if (source)
|
||||
{
|
||||
jQuery('#jform_build').closest('.control-group').show();
|
||||
if (jform_eERxCZssJl_required)
|
||||
if (jform_rftyiTCGUp_required)
|
||||
{
|
||||
updateFieldRequired('build',0);
|
||||
jQuery('#jform_build').prop('required','required');
|
||||
jQuery('#jform_build').attr('aria-required',true);
|
||||
jQuery('#jform_build').addClass('required');
|
||||
jform_eERxCZssJl_required = false;
|
||||
jform_rftyiTCGUp_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_build').closest('.control-group').hide();
|
||||
if (!jform_eERxCZssJl_required)
|
||||
if (!jform_rftyiTCGUp_required)
|
||||
{
|
||||
updateFieldRequired('build',1);
|
||||
jQuery('#jform_build').removeAttr('required');
|
||||
jQuery('#jform_build').removeAttr('aria-required');
|
||||
jQuery('#jform_build').removeClass('required');
|
||||
jform_eERxCZssJl_required = true;
|
||||
jform_rftyiTCGUp_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the eERxCZs Some function
|
||||
function source_eERxCZs_SomeFunc(source_eERxCZs)
|
||||
// the rftyiTC Some function
|
||||
function source_rftyiTC_SomeFunc(source_rftyiTC)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (source_eERxCZs == 2)
|
||||
if (source_rftyiTC == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the yKLKtte function
|
||||
function yKLKtte(source_yKLKtte,build_yKLKtte)
|
||||
// the liGWajx function
|
||||
function liGWajx(source_liGWajx,build_liGWajx)
|
||||
{
|
||||
if (isSet(source_yKLKtte) && source_yKLKtte.constructor !== Array)
|
||||
if (isSet(source_liGWajx) && source_liGWajx.constructor !== Array)
|
||||
{
|
||||
var temp_yKLKtte = source_yKLKtte;
|
||||
var source_yKLKtte = [];
|
||||
source_yKLKtte.push(temp_yKLKtte);
|
||||
var temp_liGWajx = source_liGWajx;
|
||||
var source_liGWajx = [];
|
||||
source_liGWajx.push(temp_liGWajx);
|
||||
}
|
||||
else if (!isSet(source_yKLKtte))
|
||||
else if (!isSet(source_liGWajx))
|
||||
{
|
||||
var source_yKLKtte = [];
|
||||
var source_liGWajx = [];
|
||||
}
|
||||
var source = source_yKLKtte.some(source_yKLKtte_SomeFunc);
|
||||
var source = source_liGWajx.some(source_liGWajx_SomeFunc);
|
||||
|
||||
if (isSet(build_yKLKtte) && build_yKLKtte.constructor !== Array)
|
||||
if (isSet(build_liGWajx) && build_liGWajx.constructor !== Array)
|
||||
{
|
||||
var temp_yKLKtte = build_yKLKtte;
|
||||
var build_yKLKtte = [];
|
||||
build_yKLKtte.push(temp_yKLKtte);
|
||||
var temp_liGWajx = build_liGWajx;
|
||||
var build_liGWajx = [];
|
||||
build_liGWajx.push(temp_liGWajx);
|
||||
}
|
||||
else if (!isSet(build_yKLKtte))
|
||||
else if (!isSet(build_liGWajx))
|
||||
{
|
||||
var build_yKLKtte = [];
|
||||
var build_liGWajx = [];
|
||||
}
|
||||
var build = build_yKLKtte.some(build_yKLKtte_SomeFunc);
|
||||
var build = build_liGWajx.some(build_liGWajx_SomeFunc);
|
||||
|
||||
|
||||
// [7952] set this function logic
|
||||
@ -149,67 +149,67 @@ function yKLKtte(source_yKLKtte,build_yKLKtte)
|
||||
}
|
||||
}
|
||||
|
||||
// the yKLKtte Some function
|
||||
function source_yKLKtte_SomeFunc(source_yKLKtte)
|
||||
// the liGWajx Some function
|
||||
function source_liGWajx_SomeFunc(source_liGWajx)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (source_yKLKtte == 2)
|
||||
if (source_liGWajx == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the yKLKtte Some function
|
||||
function build_yKLKtte_SomeFunc(build_yKLKtte)
|
||||
// the liGWajx Some function
|
||||
function build_liGWajx_SomeFunc(build_liGWajx)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (build_yKLKtte == 2)
|
||||
if (build_liGWajx == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the WKvxfsZ function
|
||||
function WKvxfsZ(source_WKvxfsZ,build_WKvxfsZ)
|
||||
// the jAMSvXi function
|
||||
function jAMSvXi(source_jAMSvXi,build_jAMSvXi)
|
||||
{
|
||||
if (isSet(source_WKvxfsZ) && source_WKvxfsZ.constructor !== Array)
|
||||
if (isSet(source_jAMSvXi) && source_jAMSvXi.constructor !== Array)
|
||||
{
|
||||
var temp_WKvxfsZ = source_WKvxfsZ;
|
||||
var source_WKvxfsZ = [];
|
||||
source_WKvxfsZ.push(temp_WKvxfsZ);
|
||||
var temp_jAMSvXi = source_jAMSvXi;
|
||||
var source_jAMSvXi = [];
|
||||
source_jAMSvXi.push(temp_jAMSvXi);
|
||||
}
|
||||
else if (!isSet(source_WKvxfsZ))
|
||||
else if (!isSet(source_jAMSvXi))
|
||||
{
|
||||
var source_WKvxfsZ = [];
|
||||
var source_jAMSvXi = [];
|
||||
}
|
||||
var source = source_WKvxfsZ.some(source_WKvxfsZ_SomeFunc);
|
||||
var source = source_jAMSvXi.some(source_jAMSvXi_SomeFunc);
|
||||
|
||||
if (isSet(build_WKvxfsZ) && build_WKvxfsZ.constructor !== Array)
|
||||
if (isSet(build_jAMSvXi) && build_jAMSvXi.constructor !== Array)
|
||||
{
|
||||
var temp_WKvxfsZ = build_WKvxfsZ;
|
||||
var build_WKvxfsZ = [];
|
||||
build_WKvxfsZ.push(temp_WKvxfsZ);
|
||||
var temp_jAMSvXi = build_jAMSvXi;
|
||||
var build_jAMSvXi = [];
|
||||
build_jAMSvXi.push(temp_jAMSvXi);
|
||||
}
|
||||
else if (!isSet(build_WKvxfsZ))
|
||||
else if (!isSet(build_jAMSvXi))
|
||||
{
|
||||
var build_WKvxfsZ = [];
|
||||
var build_jAMSvXi = [];
|
||||
}
|
||||
var build = build_WKvxfsZ.some(build_WKvxfsZ_SomeFunc);
|
||||
var build = build_jAMSvXi.some(build_jAMSvXi_SomeFunc);
|
||||
|
||||
|
||||
// [7952] set this function logic
|
||||
if (source && build)
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').show();
|
||||
if (jform_WKvxfsZjRQ_required)
|
||||
if (jform_jAMSvXiJcA_required)
|
||||
{
|
||||
updateFieldRequired('manual_files',0);
|
||||
jQuery('#jform_manual_files').prop('required','required');
|
||||
jQuery('#jform_manual_files').attr('aria-required',true);
|
||||
jQuery('#jform_manual_files').addClass('required');
|
||||
jform_WKvxfsZjRQ_required = false;
|
||||
jform_jAMSvXiJcA_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').show();
|
||||
@ -217,79 +217,79 @@ function WKvxfsZ(source_WKvxfsZ,build_WKvxfsZ)
|
||||
else
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').hide();
|
||||
if (!jform_WKvxfsZjRQ_required)
|
||||
if (!jform_jAMSvXiJcA_required)
|
||||
{
|
||||
updateFieldRequired('manual_files',1);
|
||||
jQuery('#jform_manual_files').removeAttr('required');
|
||||
jQuery('#jform_manual_files').removeAttr('aria-required');
|
||||
jQuery('#jform_manual_files').removeClass('required');
|
||||
jform_WKvxfsZjRQ_required = true;
|
||||
jform_jAMSvXiJcA_required = true;
|
||||
}
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the WKvxfsZ Some function
|
||||
function source_WKvxfsZ_SomeFunc(source_WKvxfsZ)
|
||||
// the jAMSvXi Some function
|
||||
function source_jAMSvXi_SomeFunc(source_jAMSvXi)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (source_WKvxfsZ == 2)
|
||||
if (source_jAMSvXi == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the WKvxfsZ Some function
|
||||
function build_WKvxfsZ_SomeFunc(build_WKvxfsZ)
|
||||
// the jAMSvXi Some function
|
||||
function build_jAMSvXi_SomeFunc(build_jAMSvXi)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (build_WKvxfsZ == 1)
|
||||
if (build_jAMSvXi == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the zmOSMyf function
|
||||
function zmOSMyf(build_zmOSMyf,source_zmOSMyf)
|
||||
// the hkBIRwX function
|
||||
function hkBIRwX(build_hkBIRwX,source_hkBIRwX)
|
||||
{
|
||||
if (isSet(build_zmOSMyf) && build_zmOSMyf.constructor !== Array)
|
||||
if (isSet(build_hkBIRwX) && build_hkBIRwX.constructor !== Array)
|
||||
{
|
||||
var temp_zmOSMyf = build_zmOSMyf;
|
||||
var build_zmOSMyf = [];
|
||||
build_zmOSMyf.push(temp_zmOSMyf);
|
||||
var temp_hkBIRwX = build_hkBIRwX;
|
||||
var build_hkBIRwX = [];
|
||||
build_hkBIRwX.push(temp_hkBIRwX);
|
||||
}
|
||||
else if (!isSet(build_zmOSMyf))
|
||||
else if (!isSet(build_hkBIRwX))
|
||||
{
|
||||
var build_zmOSMyf = [];
|
||||
var build_hkBIRwX = [];
|
||||
}
|
||||
var build = build_zmOSMyf.some(build_zmOSMyf_SomeFunc);
|
||||
var build = build_hkBIRwX.some(build_hkBIRwX_SomeFunc);
|
||||
|
||||
if (isSet(source_zmOSMyf) && source_zmOSMyf.constructor !== Array)
|
||||
if (isSet(source_hkBIRwX) && source_hkBIRwX.constructor !== Array)
|
||||
{
|
||||
var temp_zmOSMyf = source_zmOSMyf;
|
||||
var source_zmOSMyf = [];
|
||||
source_zmOSMyf.push(temp_zmOSMyf);
|
||||
var temp_hkBIRwX = source_hkBIRwX;
|
||||
var source_hkBIRwX = [];
|
||||
source_hkBIRwX.push(temp_hkBIRwX);
|
||||
}
|
||||
else if (!isSet(source_zmOSMyf))
|
||||
else if (!isSet(source_hkBIRwX))
|
||||
{
|
||||
var source_zmOSMyf = [];
|
||||
var source_hkBIRwX = [];
|
||||
}
|
||||
var source = source_zmOSMyf.some(source_zmOSMyf_SomeFunc);
|
||||
var source = source_hkBIRwX.some(source_hkBIRwX_SomeFunc);
|
||||
|
||||
|
||||
// [7952] set this function logic
|
||||
if (build && source)
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').show();
|
||||
if (jform_zmOSMyfqmP_required)
|
||||
if (jform_hkBIRwXeyD_required)
|
||||
{
|
||||
updateFieldRequired('manual_files',0);
|
||||
jQuery('#jform_manual_files').prop('required','required');
|
||||
jQuery('#jform_manual_files').attr('aria-required',true);
|
||||
jQuery('#jform_manual_files').addClass('required');
|
||||
jform_zmOSMyfqmP_required = false;
|
||||
jform_hkBIRwXeyD_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').show();
|
||||
@ -297,155 +297,155 @@ function zmOSMyf(build_zmOSMyf,source_zmOSMyf)
|
||||
else
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').hide();
|
||||
if (!jform_zmOSMyfqmP_required)
|
||||
if (!jform_hkBIRwXeyD_required)
|
||||
{
|
||||
updateFieldRequired('manual_files',1);
|
||||
jQuery('#jform_manual_files').removeAttr('required');
|
||||
jQuery('#jform_manual_files').removeAttr('aria-required');
|
||||
jQuery('#jform_manual_files').removeClass('required');
|
||||
jform_zmOSMyfqmP_required = true;
|
||||
jform_hkBIRwXeyD_required = true;
|
||||
}
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the zmOSMyf Some function
|
||||
function build_zmOSMyf_SomeFunc(build_zmOSMyf)
|
||||
// the hkBIRwX Some function
|
||||
function build_hkBIRwX_SomeFunc(build_hkBIRwX)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (build_zmOSMyf == 1)
|
||||
if (build_hkBIRwX == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the zmOSMyf Some function
|
||||
function source_zmOSMyf_SomeFunc(source_zmOSMyf)
|
||||
// the hkBIRwX Some function
|
||||
function source_hkBIRwX_SomeFunc(source_hkBIRwX)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (source_zmOSMyf == 2)
|
||||
if (source_hkBIRwX == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the bNlgLeh function
|
||||
function bNlgLeh(source_bNlgLeh)
|
||||
// the cyLHBtp function
|
||||
function cyLHBtp(source_cyLHBtp)
|
||||
{
|
||||
if (isSet(source_bNlgLeh) && source_bNlgLeh.constructor !== Array)
|
||||
if (isSet(source_cyLHBtp) && source_cyLHBtp.constructor !== Array)
|
||||
{
|
||||
var temp_bNlgLeh = source_bNlgLeh;
|
||||
var source_bNlgLeh = [];
|
||||
source_bNlgLeh.push(temp_bNlgLeh);
|
||||
var temp_cyLHBtp = source_cyLHBtp;
|
||||
var source_cyLHBtp = [];
|
||||
source_cyLHBtp.push(temp_cyLHBtp);
|
||||
}
|
||||
else if (!isSet(source_bNlgLeh))
|
||||
else if (!isSet(source_cyLHBtp))
|
||||
{
|
||||
var source_bNlgLeh = [];
|
||||
var source_cyLHBtp = [];
|
||||
}
|
||||
var source = source_bNlgLeh.some(source_bNlgLeh_SomeFunc);
|
||||
var source = source_cyLHBtp.some(source_cyLHBtp_SomeFunc);
|
||||
|
||||
|
||||
// [7952] set this function logic
|
||||
if (source)
|
||||
{
|
||||
jQuery('#jform_local_files').closest('.control-group').show();
|
||||
if (jform_bNlgLehdtA_required)
|
||||
if (jform_cyLHBtpmUy_required)
|
||||
{
|
||||
updateFieldRequired('local_files',0);
|
||||
jQuery('#jform_local_files').prop('required','required');
|
||||
jQuery('#jform_local_files').attr('aria-required',true);
|
||||
jQuery('#jform_local_files').addClass('required');
|
||||
jform_bNlgLehdtA_required = false;
|
||||
jform_cyLHBtpmUy_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_local_files').closest('.control-group').hide();
|
||||
if (!jform_bNlgLehdtA_required)
|
||||
if (!jform_cyLHBtpmUy_required)
|
||||
{
|
||||
updateFieldRequired('local_files',1);
|
||||
jQuery('#jform_local_files').removeAttr('required');
|
||||
jQuery('#jform_local_files').removeAttr('aria-required');
|
||||
jQuery('#jform_local_files').removeClass('required');
|
||||
jform_bNlgLehdtA_required = true;
|
||||
jform_cyLHBtpmUy_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the bNlgLeh Some function
|
||||
function source_bNlgLeh_SomeFunc(source_bNlgLeh)
|
||||
// the cyLHBtp Some function
|
||||
function source_cyLHBtp_SomeFunc(source_cyLHBtp)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (source_bNlgLeh == 1)
|
||||
if (source_cyLHBtp == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the nqdRJne function
|
||||
function nqdRJne(source_nqdRJne)
|
||||
// the XcZLWuJ function
|
||||
function XcZLWuJ(source_XcZLWuJ)
|
||||
{
|
||||
if (isSet(source_nqdRJne) && source_nqdRJne.constructor !== Array)
|
||||
if (isSet(source_XcZLWuJ) && source_XcZLWuJ.constructor !== Array)
|
||||
{
|
||||
var temp_nqdRJne = source_nqdRJne;
|
||||
var source_nqdRJne = [];
|
||||
source_nqdRJne.push(temp_nqdRJne);
|
||||
var temp_XcZLWuJ = source_XcZLWuJ;
|
||||
var source_XcZLWuJ = [];
|
||||
source_XcZLWuJ.push(temp_XcZLWuJ);
|
||||
}
|
||||
else if (!isSet(source_nqdRJne))
|
||||
else if (!isSet(source_XcZLWuJ))
|
||||
{
|
||||
var source_nqdRJne = [];
|
||||
var source_XcZLWuJ = [];
|
||||
}
|
||||
var source = source_nqdRJne.some(source_nqdRJne_SomeFunc);
|
||||
var source = source_XcZLWuJ.some(source_XcZLWuJ_SomeFunc);
|
||||
|
||||
|
||||
// [7952] set this function logic
|
||||
if (source)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
if (jform_nqdRJneIrW_required)
|
||||
if (jform_XcZLWuJdiL_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_nqdRJneIrW_required = false;
|
||||
jform_XcZLWuJdiL_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
if (!jform_nqdRJneIrW_required)
|
||||
if (!jform_XcZLWuJdiL_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_nqdRJneIrW_required = true;
|
||||
jform_XcZLWuJdiL_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the nqdRJne Some function
|
||||
function source_nqdRJne_SomeFunc(source_nqdRJne)
|
||||
// the XcZLWuJ Some function
|
||||
function source_XcZLWuJ_SomeFunc(source_XcZLWuJ)
|
||||
{
|
||||
// [7939] set the function logic
|
||||
if (source_nqdRJne == 3)
|
||||
if (source_XcZLWuJ == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the EYkuTXS function
|
||||
function EYkuTXS(link_type_EYkuTXS)
|
||||
// the LnTfUMv function
|
||||
function LnTfUMv(link_type_LnTfUMv)
|
||||
{
|
||||
// [7974] set the function logic
|
||||
if (link_type_EYkuTXS == 2)
|
||||
if (link_type_LnTfUMv == 2)
|
||||
{
|
||||
jQuery('.note_link_directed').closest('.control-group').show();
|
||||
}
|
||||
@ -455,11 +455,11 @@ function EYkuTXS(link_type_EYkuTXS)
|
||||
}
|
||||
}
|
||||
|
||||
// the YoiOpWc function
|
||||
function YoiOpWc(link_type_YoiOpWc)
|
||||
// the SPbxTGc function
|
||||
function SPbxTGc(link_type_SPbxTGc)
|
||||
{
|
||||
// [7974] set the function logic
|
||||
if (link_type_YoiOpWc == 1)
|
||||
if (link_type_SPbxTGc == 1)
|
||||
{
|
||||
jQuery('.note_link_encrypted').closest('.control-group').show();
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ class SermondistributorModelPreacher extends JModelAdmin
|
||||
$item->tags->getTagIds($item->id, 'com_sermondistributor.preacher');
|
||||
}
|
||||
}
|
||||
$this->preacherogkh = $item->id;
|
||||
$this->preacherghlu = $item->id;
|
||||
|
||||
return $item;
|
||||
}
|
||||
@ -106,7 +106,7 @@ class SermondistributorModelPreacher extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getDrbsermons()
|
||||
public function getSlqsermons()
|
||||
{
|
||||
// [6911] Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -130,15 +130,15 @@ class SermondistributorModelPreacher extends JModelAdmin
|
||||
$query->select($db->quoteName('h.name','series_name'));
|
||||
$query->join('LEFT', $db->quoteName('#__sermondistributor_series', 'h') . ' ON (' . $db->quoteName('a.series') . ' = ' . $db->quoteName('h.id') . ')');
|
||||
|
||||
// [6939] Filter by preacherogkh global.
|
||||
$preacherogkh = $this->preacherogkh;
|
||||
if (is_numeric($preacherogkh ))
|
||||
// [6939] Filter by preacherghlu global.
|
||||
$preacherghlu = $this->preacherghlu;
|
||||
if (is_numeric($preacherghlu ))
|
||||
{
|
||||
$query->where('a.preacher = ' . (int) $preacherogkh );
|
||||
$query->where('a.preacher = ' . (int) $preacherghlu );
|
||||
}
|
||||
elseif (is_string($preacherogkh))
|
||||
elseif (is_string($preacherghlu))
|
||||
{
|
||||
$query->where('a.preacher = ' . $db->quote($preacherogkh));
|
||||
$query->where('a.preacher = ' . $db->quote($preacherghlu));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -193,9 +193,9 @@ class SermondistributorModelPreacher extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// [10850] convert link_type
|
||||
$item->link_type = $this->selectionTranslationDrbsermons($item->link_type, 'link_type');
|
||||
$item->link_type = $this->selectionTranslationSlqsermons($item->link_type, 'link_type');
|
||||
// [10850] convert source
|
||||
$item->source = $this->selectionTranslationDrbsermons($item->source, 'source');
|
||||
$item->source = $this->selectionTranslationSlqsermons($item->source, 'source');
|
||||
}
|
||||
}
|
||||
|
||||
@ -209,7 +209,7 @@ class SermondistributorModelPreacher extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationDrbsermons($value,$name)
|
||||
public function selectionTranslationSlqsermons($value,$name)
|
||||
{
|
||||
// [10876] Array of link_type language strings
|
||||
if ($name == 'link_type')
|
||||
|
@ -96,7 +96,7 @@ class SermondistributorModelSeries extends JModelAdmin
|
||||
$item->tags->getTagIds($item->id, 'com_sermondistributor.series');
|
||||
}
|
||||
}
|
||||
$this->seriesnhqe = $item->id;
|
||||
$this->seriesdytn = $item->id;
|
||||
|
||||
return $item;
|
||||
}
|
||||
@ -106,7 +106,7 @@ class SermondistributorModelSeries extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getWffsermons()
|
||||
public function getGrqsermons()
|
||||
{
|
||||
// [6911] Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -130,15 +130,15 @@ class SermondistributorModelSeries extends JModelAdmin
|
||||
$query->select($db->quoteName('h.name','series_name'));
|
||||
$query->join('LEFT', $db->quoteName('#__sermondistributor_series', 'h') . ' ON (' . $db->quoteName('a.series') . ' = ' . $db->quoteName('h.id') . ')');
|
||||
|
||||
// [6939] Filter by seriesnhqe global.
|
||||
$seriesnhqe = $this->seriesnhqe;
|
||||
if (is_numeric($seriesnhqe ))
|
||||
// [6939] Filter by seriesdytn global.
|
||||
$seriesdytn = $this->seriesdytn;
|
||||
if (is_numeric($seriesdytn ))
|
||||
{
|
||||
$query->where('a.series = ' . (int) $seriesnhqe );
|
||||
$query->where('a.series = ' . (int) $seriesdytn );
|
||||
}
|
||||
elseif (is_string($seriesnhqe))
|
||||
elseif (is_string($seriesdytn))
|
||||
{
|
||||
$query->where('a.series = ' . $db->quote($seriesnhqe));
|
||||
$query->where('a.series = ' . $db->quote($seriesdytn));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -193,9 +193,9 @@ class SermondistributorModelSeries extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// [10850] convert link_type
|
||||
$item->link_type = $this->selectionTranslationWffsermons($item->link_type, 'link_type');
|
||||
$item->link_type = $this->selectionTranslationGrqsermons($item->link_type, 'link_type');
|
||||
// [10850] convert source
|
||||
$item->source = $this->selectionTranslationWffsermons($item->source, 'source');
|
||||
$item->source = $this->selectionTranslationGrqsermons($item->source, 'source');
|
||||
}
|
||||
}
|
||||
|
||||
@ -209,7 +209,7 @@ class SermondistributorModelSeries extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationWffsermons($value,$name)
|
||||
public function selectionTranslationGrqsermons($value,$name)
|
||||
{
|
||||
// [10876] Array of link_type language strings
|
||||
if ($name == 'link_type')
|
||||
|
@ -108,7 +108,7 @@ class SermondistributorModelSermon extends JModelAdmin
|
||||
$item->tags->getTagIds($item->id, 'com_sermondistributor.sermon');
|
||||
}
|
||||
}
|
||||
$this->sermondafs = $item->id;
|
||||
$this->sermonnrql = $item->id;
|
||||
|
||||
return $item;
|
||||
}
|
||||
@ -118,7 +118,7 @@ class SermondistributorModelSermon extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getRhestastics()
|
||||
public function getUaqstastics()
|
||||
{
|
||||
// [6911] Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -144,15 +144,15 @@ class SermondistributorModelSermon extends JModelAdmin
|
||||
$query->select($db->quoteName('i.name','series_name'));
|
||||
$query->join('LEFT', $db->quoteName('#__sermondistributor_series', 'i') . ' ON (' . $db->quoteName('a.series') . ' = ' . $db->quoteName('i.id') . ')');
|
||||
|
||||
// [6939] Filter by sermondafs global.
|
||||
$sermondafs = $this->sermondafs;
|
||||
if (is_numeric($sermondafs ))
|
||||
// [6939] Filter by sermonnrql global.
|
||||
$sermonnrql = $this->sermonnrql;
|
||||
if (is_numeric($sermonnrql ))
|
||||
{
|
||||
$query->where('a.sermon = ' . (int) $sermondafs );
|
||||
$query->where('a.sermon = ' . (int) $sermonnrql );
|
||||
}
|
||||
elseif (is_string($sermondafs))
|
||||
elseif (is_string($sermonnrql))
|
||||
{
|
||||
$query->where('a.sermon = ' . $db->quote($sermondafs));
|
||||
$query->where('a.sermon = ' . $db->quote($sermonnrql));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -95,93 +95,93 @@ $componentParams = JComponentHelper::getParams('com_sermondistributor');
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_location listeners for location_XZUaOFk function
|
||||
// #jform_location listeners for location_fpmeWpw function
|
||||
jQuery('#jform_location').on('keyup',function()
|
||||
{
|
||||
var location_XZUaOFk = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
XZUaOFk(location_XZUaOFk);
|
||||
var location_fpmeWpw = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
fpmeWpw(location_fpmeWpw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var location_XZUaOFk = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
XZUaOFk(location_XZUaOFk);
|
||||
var location_fpmeWpw = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
fpmeWpw(location_fpmeWpw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_location listeners for location_VrJSUBc function
|
||||
// #jform_location listeners for location_ynMoYbd function
|
||||
jQuery('#jform_location').on('keyup',function()
|
||||
{
|
||||
var location_VrJSUBc = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
VrJSUBc(location_VrJSUBc);
|
||||
var location_ynMoYbd = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
ynMoYbd(location_ynMoYbd);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var location_VrJSUBc = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
VrJSUBc(location_VrJSUBc);
|
||||
var location_ynMoYbd = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
ynMoYbd(location_ynMoYbd);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_qBaiAon function
|
||||
// #jform_type listeners for type_dXNGPAB function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_qBaiAon = jQuery("#jform_type").val();
|
||||
qBaiAon(type_qBaiAon);
|
||||
var type_dXNGPAB = jQuery("#jform_type").val();
|
||||
dXNGPAB(type_dXNGPAB);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_qBaiAon = jQuery("#jform_type").val();
|
||||
qBaiAon(type_qBaiAon);
|
||||
var type_dXNGPAB = jQuery("#jform_type").val();
|
||||
dXNGPAB(type_dXNGPAB);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_lRQxpwW function
|
||||
// #jform_type listeners for type_lUjJAvV function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_lRQxpwW = jQuery("#jform_type").val();
|
||||
lRQxpwW(type_lRQxpwW);
|
||||
var type_lUjJAvV = jQuery("#jform_type").val();
|
||||
lUjJAvV(type_lUjJAvV);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_lRQxpwW = jQuery("#jform_type").val();
|
||||
lRQxpwW(type_lRQxpwW);
|
||||
var type_lUjJAvV = jQuery("#jform_type").val();
|
||||
lUjJAvV(type_lUjJAvV);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_tsDxjTi function
|
||||
// #jform_type listeners for type_ILzlnJW function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_tsDxjTi = jQuery("#jform_type").val();
|
||||
tsDxjTi(type_tsDxjTi);
|
||||
var type_ILzlnJW = jQuery("#jform_type").val();
|
||||
ILzlnJW(type_ILzlnJW);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_tsDxjTi = jQuery("#jform_type").val();
|
||||
tsDxjTi(type_tsDxjTi);
|
||||
var type_ILzlnJW = jQuery("#jform_type").val();
|
||||
ILzlnJW(type_ILzlnJW);
|
||||
|
||||
});
|
||||
|
||||
// #jform_target listeners for target_gengnJu function
|
||||
// #jform_target listeners for target_wQUmqIU function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var target_gengnJu = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
gengnJu(target_gengnJu);
|
||||
var target_wQUmqIU = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
wQUmqIU(target_wQUmqIU);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_gengnJu = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
gengnJu(target_gengnJu);
|
||||
var target_wQUmqIU = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
wQUmqIU(target_wQUmqIU);
|
||||
|
||||
});
|
||||
|
||||
|
@ -66,7 +66,7 @@ class SermondistributorViewPreacher extends JViewLegacy
|
||||
}
|
||||
|
||||
// [6445] Get Linked view data
|
||||
$this->drbsermons = $this->get('Drbsermons');
|
||||
$this->slqsermons = $this->get('Slqsermons');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -66,7 +66,7 @@ class SermondistributorViewSeries extends JViewLegacy
|
||||
}
|
||||
|
||||
// [6445] Get Linked view data
|
||||
$this->wffsermons = $this->get('Wffsermons');
|
||||
$this->grqsermons = $this->get('Grqsermons');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -115,180 +115,180 @@ $componentParams = JComponentHelper::getParams('com_sermondistributor');
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_source listeners for source_eERxCZs function
|
||||
// #jform_source listeners for source_rftyiTC function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_eERxCZs = jQuery("#jform_source").val();
|
||||
eERxCZs(source_eERxCZs);
|
||||
var source_rftyiTC = jQuery("#jform_source").val();
|
||||
rftyiTC(source_rftyiTC);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_eERxCZs = jQuery("#jform_source").val();
|
||||
eERxCZs(source_eERxCZs);
|
||||
var source_rftyiTC = jQuery("#jform_source").val();
|
||||
rftyiTC(source_rftyiTC);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_yKLKtte function
|
||||
// #jform_source listeners for source_liGWajx function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_yKLKtte = jQuery("#jform_source").val();
|
||||
var build_yKLKtte = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
yKLKtte(source_yKLKtte,build_yKLKtte);
|
||||
var source_liGWajx = jQuery("#jform_source").val();
|
||||
var build_liGWajx = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
liGWajx(source_liGWajx,build_liGWajx);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_yKLKtte = jQuery("#jform_source").val();
|
||||
var build_yKLKtte = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
yKLKtte(source_yKLKtte,build_yKLKtte);
|
||||
var source_liGWajx = jQuery("#jform_source").val();
|
||||
var build_liGWajx = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
liGWajx(source_liGWajx,build_liGWajx);
|
||||
|
||||
});
|
||||
|
||||
// #jform_build listeners for build_yKLKtte function
|
||||
// #jform_build listeners for build_liGWajx function
|
||||
jQuery('#jform_build').on('keyup',function()
|
||||
{
|
||||
var source_yKLKtte = jQuery("#jform_source").val();
|
||||
var build_yKLKtte = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
yKLKtte(source_yKLKtte,build_yKLKtte);
|
||||
var source_liGWajx = jQuery("#jform_source").val();
|
||||
var build_liGWajx = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
liGWajx(source_liGWajx,build_liGWajx);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_build',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_yKLKtte = jQuery("#jform_source").val();
|
||||
var build_yKLKtte = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
yKLKtte(source_yKLKtte,build_yKLKtte);
|
||||
var source_liGWajx = jQuery("#jform_source").val();
|
||||
var build_liGWajx = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
liGWajx(source_liGWajx,build_liGWajx);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_WKvxfsZ function
|
||||
// #jform_source listeners for source_jAMSvXi function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_WKvxfsZ = jQuery("#jform_source").val();
|
||||
var build_WKvxfsZ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
WKvxfsZ(source_WKvxfsZ,build_WKvxfsZ);
|
||||
var source_jAMSvXi = jQuery("#jform_source").val();
|
||||
var build_jAMSvXi = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
jAMSvXi(source_jAMSvXi,build_jAMSvXi);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_WKvxfsZ = jQuery("#jform_source").val();
|
||||
var build_WKvxfsZ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
WKvxfsZ(source_WKvxfsZ,build_WKvxfsZ);
|
||||
var source_jAMSvXi = jQuery("#jform_source").val();
|
||||
var build_jAMSvXi = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
jAMSvXi(source_jAMSvXi,build_jAMSvXi);
|
||||
|
||||
});
|
||||
|
||||
// #jform_build listeners for build_WKvxfsZ function
|
||||
// #jform_build listeners for build_jAMSvXi function
|
||||
jQuery('#jform_build').on('keyup',function()
|
||||
{
|
||||
var source_WKvxfsZ = jQuery("#jform_source").val();
|
||||
var build_WKvxfsZ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
WKvxfsZ(source_WKvxfsZ,build_WKvxfsZ);
|
||||
var source_jAMSvXi = jQuery("#jform_source").val();
|
||||
var build_jAMSvXi = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
jAMSvXi(source_jAMSvXi,build_jAMSvXi);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_build',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_WKvxfsZ = jQuery("#jform_source").val();
|
||||
var build_WKvxfsZ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
WKvxfsZ(source_WKvxfsZ,build_WKvxfsZ);
|
||||
var source_jAMSvXi = jQuery("#jform_source").val();
|
||||
var build_jAMSvXi = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
jAMSvXi(source_jAMSvXi,build_jAMSvXi);
|
||||
|
||||
});
|
||||
|
||||
// #jform_build listeners for build_zmOSMyf function
|
||||
// #jform_build listeners for build_hkBIRwX function
|
||||
jQuery('#jform_build').on('keyup',function()
|
||||
{
|
||||
var build_zmOSMyf = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_zmOSMyf = jQuery("#jform_source").val();
|
||||
zmOSMyf(build_zmOSMyf,source_zmOSMyf);
|
||||
var build_hkBIRwX = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_hkBIRwX = jQuery("#jform_source").val();
|
||||
hkBIRwX(build_hkBIRwX,source_hkBIRwX);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_build',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var build_zmOSMyf = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_zmOSMyf = jQuery("#jform_source").val();
|
||||
zmOSMyf(build_zmOSMyf,source_zmOSMyf);
|
||||
var build_hkBIRwX = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_hkBIRwX = jQuery("#jform_source").val();
|
||||
hkBIRwX(build_hkBIRwX,source_hkBIRwX);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_zmOSMyf function
|
||||
// #jform_source listeners for source_hkBIRwX function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var build_zmOSMyf = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_zmOSMyf = jQuery("#jform_source").val();
|
||||
zmOSMyf(build_zmOSMyf,source_zmOSMyf);
|
||||
var build_hkBIRwX = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_hkBIRwX = jQuery("#jform_source").val();
|
||||
hkBIRwX(build_hkBIRwX,source_hkBIRwX);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var build_zmOSMyf = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_zmOSMyf = jQuery("#jform_source").val();
|
||||
zmOSMyf(build_zmOSMyf,source_zmOSMyf);
|
||||
var build_hkBIRwX = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_hkBIRwX = jQuery("#jform_source").val();
|
||||
hkBIRwX(build_hkBIRwX,source_hkBIRwX);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_bNlgLeh function
|
||||
// #jform_source listeners for source_cyLHBtp function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_bNlgLeh = jQuery("#jform_source").val();
|
||||
bNlgLeh(source_bNlgLeh);
|
||||
var source_cyLHBtp = jQuery("#jform_source").val();
|
||||
cyLHBtp(source_cyLHBtp);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_bNlgLeh = jQuery("#jform_source").val();
|
||||
bNlgLeh(source_bNlgLeh);
|
||||
var source_cyLHBtp = jQuery("#jform_source").val();
|
||||
cyLHBtp(source_cyLHBtp);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_nqdRJne function
|
||||
// #jform_source listeners for source_XcZLWuJ function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_nqdRJne = jQuery("#jform_source").val();
|
||||
nqdRJne(source_nqdRJne);
|
||||
var source_XcZLWuJ = jQuery("#jform_source").val();
|
||||
XcZLWuJ(source_XcZLWuJ);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_nqdRJne = jQuery("#jform_source").val();
|
||||
nqdRJne(source_nqdRJne);
|
||||
var source_XcZLWuJ = jQuery("#jform_source").val();
|
||||
XcZLWuJ(source_XcZLWuJ);
|
||||
|
||||
});
|
||||
|
||||
// #jform_link_type listeners for link_type_EYkuTXS function
|
||||
// #jform_link_type listeners for link_type_LnTfUMv function
|
||||
jQuery('#jform_link_type').on('keyup',function()
|
||||
{
|
||||
var link_type_EYkuTXS = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
EYkuTXS(link_type_EYkuTXS);
|
||||
var link_type_LnTfUMv = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
LnTfUMv(link_type_LnTfUMv);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_link_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var link_type_EYkuTXS = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
EYkuTXS(link_type_EYkuTXS);
|
||||
var link_type_LnTfUMv = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
LnTfUMv(link_type_LnTfUMv);
|
||||
|
||||
});
|
||||
|
||||
// #jform_link_type listeners for link_type_YoiOpWc function
|
||||
// #jform_link_type listeners for link_type_SPbxTGc function
|
||||
jQuery('#jform_link_type').on('keyup',function()
|
||||
{
|
||||
var link_type_YoiOpWc = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
YoiOpWc(link_type_YoiOpWc);
|
||||
var link_type_SPbxTGc = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
SPbxTGc(link_type_SPbxTGc);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_link_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var link_type_YoiOpWc = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
YoiOpWc(link_type_YoiOpWc);
|
||||
var link_type_SPbxTGc = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
SPbxTGc(link_type_SPbxTGc);
|
||||
|
||||
});
|
||||
|
||||
|
@ -66,7 +66,7 @@ class SermondistributorViewSermon extends JViewLegacy
|
||||
}
|
||||
|
||||
// [6445] Get Linked view data
|
||||
$this->rhestastics = $this->get('Rhestastics');
|
||||
$this->uaqstastics = $this->get('Uaqstastics');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -11,19 +11,7 @@
|
||||
<description><![CDATA[
|
||||
<h1>Sermon Distributor (v.1.2.9)</h1>
|
||||
<div style="clear: both;"></div>
|
||||
<p>Distributor is a highly advanced sermon distributor that runs on the [Joomla 3.x] (http://www.joomla.org) framework. You can link a shared folder from Dropbox to the component and use Dropbox as your file host, not to mention the advanced auto builder that gives you the ability to simply load sermons to your website by only adding them to Dropbox.
|
||||
|
||||
The best way to see all your options is to install this component on you Joomla website and test all features yourself. Here is a [direct download link] (https://github.com/SermonDistributor/Joomla-3-Component/archive/master.zip)
|
||||
|
||||
### Example Website, That Has Over 6000 Audio Files
|
||||
|
||||
[LoudVoice.org] (http://www.loudvoice.org)
|
||||
|
||||
### Some Video Demonstrations
|
||||
|
||||
+ [Setup overview] (https://youtu.be/yMPp1Cp3W_0?t=20m)
|
||||
+ [Setup Dropbox] (https://youtu.be/btpKFDk0-dI)
|
||||
+ [Component Build] (https://youtu.be/yMPp1Cp3W_0)</p>
|
||||
<p>Distributor is a highly advanced sermon distributor that runs on the [Joomla 3.x] (http://www.joomla.org) framework. You can link a shared folder from Dropbox to the component and use Dropbox as your file host, not to mention the advanced auto builder that gives you the ability to simply load sermons to your website by only adding them to Dropbox.</p>
|
||||
<p>Created by <a href="https://www.vdm.io/" target="_blank">Llewellyn van der Merwe</a>
|
||||
]]></description>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user