Changed to readme file, other changes are only random var changes (due to automation)
This commit is contained in:
parent
47f5267209
commit
8ca3c8830d
@ -1,6 +1,6 @@
|
||||
# Sermon Distributor (1.2.9)
|
||||
|
||||
![Sermon Distributor image] (https://raw.githubusercontent.com/SermonDistributor/Joomla-3-Component/master/admin/assets/images/component-300.jpg "The Sermon Distributor") (https://github.com/SermonDistributor/Joomla-3-Component)
|
||||
![Sermon Distributor image] (https://raw.githubusercontent.com/SermonDistributor/Joomla-3-Component/master/admin/assets/images/component-300.jpg "The Sermon Distributor")
|
||||
|
||||
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.
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->riksermons;
|
||||
$items = $displayData->iuwsermons;
|
||||
$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->hvwsermons;
|
||||
$items = $displayData->mzrsermons;
|
||||
$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->njdstastics;
|
||||
$items = $displayData->scistastics;
|
||||
$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_pfUDjYGVoL_required = false;
|
||||
jform_cfyFlnvkzP_required = false;
|
||||
jform_SSRqCogOIY_required = false;
|
||||
jform_qdgfzreiiB_required = false;
|
||||
jform_oGAMfTbxuS_required = false;
|
||||
jform_LTWmzwABJL_required = false;
|
||||
jform_UCmYIbJcaV_required = false;
|
||||
jform_Opviezbfev_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var location_YqmLlcw = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
YqmLlcw(location_YqmLlcw);
|
||||
var location_bqdlaIg = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
bqdlaIg(location_bqdlaIg);
|
||||
|
||||
var location_ErKnwQB = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
ErKnwQB(location_ErKnwQB);
|
||||
var location_YOOAZiI = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
YOOAZiI(location_YOOAZiI);
|
||||
|
||||
var type_pfUDjYG = jQuery("#jform_type").val();
|
||||
pfUDjYG(type_pfUDjYG);
|
||||
var type_oGAMfTb = jQuery("#jform_type").val();
|
||||
oGAMfTb(type_oGAMfTb);
|
||||
|
||||
var type_cfyFlnv = jQuery("#jform_type").val();
|
||||
cfyFlnv(type_cfyFlnv);
|
||||
var type_LTWmzwA = jQuery("#jform_type").val();
|
||||
LTWmzwA(type_LTWmzwA);
|
||||
|
||||
var type_SSRqCog = jQuery("#jform_type").val();
|
||||
SSRqCog(type_SSRqCog);
|
||||
var type_UCmYIbJ = jQuery("#jform_type").val();
|
||||
UCmYIbJ(type_UCmYIbJ);
|
||||
|
||||
var target_qdgfzre = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
qdgfzre(target_qdgfzre);
|
||||
var target_Opviezb = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
Opviezb(target_Opviezb);
|
||||
});
|
||||
|
||||
// the YqmLlcw function
|
||||
function YqmLlcw(location_YqmLlcw)
|
||||
// the bqdlaIg function
|
||||
function bqdlaIg(location_bqdlaIg)
|
||||
{
|
||||
// [8001] set the function logic
|
||||
if (location_YqmLlcw == 1)
|
||||
if (location_bqdlaIg == 1)
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
}
|
||||
@ -59,11 +59,11 @@ function YqmLlcw(location_YqmLlcw)
|
||||
}
|
||||
}
|
||||
|
||||
// the ErKnwQB function
|
||||
function ErKnwQB(location_ErKnwQB)
|
||||
// the YOOAZiI function
|
||||
function YOOAZiI(location_YOOAZiI)
|
||||
{
|
||||
// [8001] set the function logic
|
||||
if (location_ErKnwQB == 2)
|
||||
if (location_YOOAZiI == 2)
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
}
|
||||
@ -73,198 +73,198 @@ function ErKnwQB(location_ErKnwQB)
|
||||
}
|
||||
}
|
||||
|
||||
// the pfUDjYG function
|
||||
function pfUDjYG(type_pfUDjYG)
|
||||
// the oGAMfTb function
|
||||
function oGAMfTb(type_oGAMfTb)
|
||||
{
|
||||
if (isSet(type_pfUDjYG) && type_pfUDjYG.constructor !== Array)
|
||||
if (isSet(type_oGAMfTb) && type_oGAMfTb.constructor !== Array)
|
||||
{
|
||||
var temp_pfUDjYG = type_pfUDjYG;
|
||||
var type_pfUDjYG = [];
|
||||
type_pfUDjYG.push(temp_pfUDjYG);
|
||||
var temp_oGAMfTb = type_oGAMfTb;
|
||||
var type_oGAMfTb = [];
|
||||
type_oGAMfTb.push(temp_oGAMfTb);
|
||||
}
|
||||
else if (!isSet(type_pfUDjYG))
|
||||
else if (!isSet(type_oGAMfTb))
|
||||
{
|
||||
var type_pfUDjYG = [];
|
||||
var type_oGAMfTb = [];
|
||||
}
|
||||
var type = type_pfUDjYG.some(type_pfUDjYG_SomeFunc);
|
||||
var type = type_oGAMfTb.some(type_oGAMfTb_SomeFunc);
|
||||
|
||||
|
||||
// [7979] set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
if (jform_pfUDjYGVoL_required)
|
||||
if (jform_oGAMfTbxuS_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_pfUDjYGVoL_required = false;
|
||||
jform_oGAMfTbxuS_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
if (!jform_pfUDjYGVoL_required)
|
||||
if (!jform_oGAMfTbxuS_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_pfUDjYGVoL_required = true;
|
||||
jform_oGAMfTbxuS_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the pfUDjYG Some function
|
||||
function type_pfUDjYG_SomeFunc(type_pfUDjYG)
|
||||
// the oGAMfTb Some function
|
||||
function type_oGAMfTb_SomeFunc(type_oGAMfTb)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (type_pfUDjYG == 3)
|
||||
if (type_oGAMfTb == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the cfyFlnv function
|
||||
function cfyFlnv(type_cfyFlnv)
|
||||
// the LTWmzwA function
|
||||
function LTWmzwA(type_LTWmzwA)
|
||||
{
|
||||
if (isSet(type_cfyFlnv) && type_cfyFlnv.constructor !== Array)
|
||||
if (isSet(type_LTWmzwA) && type_LTWmzwA.constructor !== Array)
|
||||
{
|
||||
var temp_cfyFlnv = type_cfyFlnv;
|
||||
var type_cfyFlnv = [];
|
||||
type_cfyFlnv.push(temp_cfyFlnv);
|
||||
var temp_LTWmzwA = type_LTWmzwA;
|
||||
var type_LTWmzwA = [];
|
||||
type_LTWmzwA.push(temp_LTWmzwA);
|
||||
}
|
||||
else if (!isSet(type_cfyFlnv))
|
||||
else if (!isSet(type_LTWmzwA))
|
||||
{
|
||||
var type_cfyFlnv = [];
|
||||
var type_LTWmzwA = [];
|
||||
}
|
||||
var type = type_cfyFlnv.some(type_cfyFlnv_SomeFunc);
|
||||
var type = type_LTWmzwA.some(type_LTWmzwA_SomeFunc);
|
||||
|
||||
|
||||
// [7979] set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
if (jform_cfyFlnvkzP_required)
|
||||
if (jform_LTWmzwABJL_required)
|
||||
{
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
jform_cfyFlnvkzP_required = false;
|
||||
jform_LTWmzwABJL_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
if (!jform_cfyFlnvkzP_required)
|
||||
if (!jform_LTWmzwABJL_required)
|
||||
{
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
jform_cfyFlnvkzP_required = true;
|
||||
jform_LTWmzwABJL_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the cfyFlnv Some function
|
||||
function type_cfyFlnv_SomeFunc(type_cfyFlnv)
|
||||
// the LTWmzwA Some function
|
||||
function type_LTWmzwA_SomeFunc(type_LTWmzwA)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (type_cfyFlnv == 1)
|
||||
if (type_LTWmzwA == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the SSRqCog function
|
||||
function SSRqCog(type_SSRqCog)
|
||||
// the UCmYIbJ function
|
||||
function UCmYIbJ(type_UCmYIbJ)
|
||||
{
|
||||
if (isSet(type_SSRqCog) && type_SSRqCog.constructor !== Array)
|
||||
if (isSet(type_UCmYIbJ) && type_UCmYIbJ.constructor !== Array)
|
||||
{
|
||||
var temp_SSRqCog = type_SSRqCog;
|
||||
var type_SSRqCog = [];
|
||||
type_SSRqCog.push(temp_SSRqCog);
|
||||
var temp_UCmYIbJ = type_UCmYIbJ;
|
||||
var type_UCmYIbJ = [];
|
||||
type_UCmYIbJ.push(temp_UCmYIbJ);
|
||||
}
|
||||
else if (!isSet(type_SSRqCog))
|
||||
else if (!isSet(type_UCmYIbJ))
|
||||
{
|
||||
var type_SSRqCog = [];
|
||||
var type_UCmYIbJ = [];
|
||||
}
|
||||
var type = type_SSRqCog.some(type_SSRqCog_SomeFunc);
|
||||
var type = type_UCmYIbJ.some(type_UCmYIbJ_SomeFunc);
|
||||
|
||||
|
||||
// [7979] set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').show();
|
||||
if (jform_SSRqCogOIY_required)
|
||||
if (jform_UCmYIbJcaV_required)
|
||||
{
|
||||
updateFieldRequired('content',0);
|
||||
jQuery('#jform_content').prop('required','required');
|
||||
jQuery('#jform_content').attr('aria-required',true);
|
||||
jQuery('#jform_content').addClass('required');
|
||||
jform_SSRqCogOIY_required = false;
|
||||
jform_UCmYIbJcaV_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
||||
if (!jform_SSRqCogOIY_required)
|
||||
if (!jform_UCmYIbJcaV_required)
|
||||
{
|
||||
updateFieldRequired('content',1);
|
||||
jQuery('#jform_content').removeAttr('required');
|
||||
jQuery('#jform_content').removeAttr('aria-required');
|
||||
jQuery('#jform_content').removeClass('required');
|
||||
jform_SSRqCogOIY_required = true;
|
||||
jform_UCmYIbJcaV_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the SSRqCog Some function
|
||||
function type_SSRqCog_SomeFunc(type_SSRqCog)
|
||||
// the UCmYIbJ Some function
|
||||
function type_UCmYIbJ_SomeFunc(type_UCmYIbJ)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (type_SSRqCog == 2)
|
||||
if (type_UCmYIbJ == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the qdgfzre function
|
||||
function qdgfzre(target_qdgfzre)
|
||||
// the Opviezb function
|
||||
function Opviezb(target_Opviezb)
|
||||
{
|
||||
// [8001] set the function logic
|
||||
if (target_qdgfzre == 1)
|
||||
if (target_Opviezb == 1)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
if (jform_qdgfzreiiB_required)
|
||||
if (jform_Opviezbfev_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
jform_qdgfzreiiB_required = false;
|
||||
jform_Opviezbfev_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
if (!jform_qdgfzreiiB_required)
|
||||
if (!jform_Opviezbfev_required)
|
||||
{
|
||||
updateFieldRequired('groups',1);
|
||||
jQuery('#jform_groups').removeAttr('required');
|
||||
jQuery('#jform_groups').removeAttr('aria-required');
|
||||
jQuery('#jform_groups').removeClass('required');
|
||||
jform_qdgfzreiiB_required = true;
|
||||
jform_Opviezbfev_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,124 +18,124 @@
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_mWnyiWrQzD_required = false;
|
||||
jform_USEyiqHsmP_required = false;
|
||||
jform_PuIkmmJLYI_required = false;
|
||||
jform_rZyqFpzhBR_required = false;
|
||||
jform_pwLZOSxoqG_required = false;
|
||||
jform_krBYtbjBSg_required = false;
|
||||
jform_fTVMCkKOvd_required = false;
|
||||
jform_NPhYsagIYW_required = false;
|
||||
jform_kEIQntmwGo_required = false;
|
||||
jform_RQkNwSYiKv_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var source_mWnyiWr = jQuery("#jform_source").val();
|
||||
mWnyiWr(source_mWnyiWr);
|
||||
var source_krBYtbj = jQuery("#jform_source").val();
|
||||
krBYtbj(source_krBYtbj);
|
||||
|
||||
var source_qGZCbLd = jQuery("#jform_source").val();
|
||||
var build_qGZCbLd = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
qGZCbLd(source_qGZCbLd,build_qGZCbLd);
|
||||
var source_sYPBGNJ = jQuery("#jform_source").val();
|
||||
var build_sYPBGNJ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
sYPBGNJ(source_sYPBGNJ,build_sYPBGNJ);
|
||||
|
||||
var source_USEyiqH = jQuery("#jform_source").val();
|
||||
var build_USEyiqH = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
USEyiqH(source_USEyiqH,build_USEyiqH);
|
||||
var source_fTVMCkK = jQuery("#jform_source").val();
|
||||
var build_fTVMCkK = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
fTVMCkK(source_fTVMCkK,build_fTVMCkK);
|
||||
|
||||
var build_PuIkmmJ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_PuIkmmJ = jQuery("#jform_source").val();
|
||||
PuIkmmJ(build_PuIkmmJ,source_PuIkmmJ);
|
||||
var build_NPhYsag = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_NPhYsag = jQuery("#jform_source").val();
|
||||
NPhYsag(build_NPhYsag,source_NPhYsag);
|
||||
|
||||
var source_rZyqFpz = jQuery("#jform_source").val();
|
||||
rZyqFpz(source_rZyqFpz);
|
||||
var source_kEIQntm = jQuery("#jform_source").val();
|
||||
kEIQntm(source_kEIQntm);
|
||||
|
||||
var source_pwLZOSx = jQuery("#jform_source").val();
|
||||
pwLZOSx(source_pwLZOSx);
|
||||
var source_RQkNwSY = jQuery("#jform_source").val();
|
||||
RQkNwSY(source_RQkNwSY);
|
||||
|
||||
var link_type_hfgQmzf = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
hfgQmzf(link_type_hfgQmzf);
|
||||
var link_type_lzmprMp = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
lzmprMp(link_type_lzmprMp);
|
||||
|
||||
var link_type_bdfNqfg = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
bdfNqfg(link_type_bdfNqfg);
|
||||
var link_type_wAnuIRh = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
wAnuIRh(link_type_wAnuIRh);
|
||||
});
|
||||
|
||||
// the mWnyiWr function
|
||||
function mWnyiWr(source_mWnyiWr)
|
||||
// the krBYtbj function
|
||||
function krBYtbj(source_krBYtbj)
|
||||
{
|
||||
if (isSet(source_mWnyiWr) && source_mWnyiWr.constructor !== Array)
|
||||
if (isSet(source_krBYtbj) && source_krBYtbj.constructor !== Array)
|
||||
{
|
||||
var temp_mWnyiWr = source_mWnyiWr;
|
||||
var source_mWnyiWr = [];
|
||||
source_mWnyiWr.push(temp_mWnyiWr);
|
||||
var temp_krBYtbj = source_krBYtbj;
|
||||
var source_krBYtbj = [];
|
||||
source_krBYtbj.push(temp_krBYtbj);
|
||||
}
|
||||
else if (!isSet(source_mWnyiWr))
|
||||
else if (!isSet(source_krBYtbj))
|
||||
{
|
||||
var source_mWnyiWr = [];
|
||||
var source_krBYtbj = [];
|
||||
}
|
||||
var source = source_mWnyiWr.some(source_mWnyiWr_SomeFunc);
|
||||
var source = source_krBYtbj.some(source_krBYtbj_SomeFunc);
|
||||
|
||||
|
||||
// [7979] set this function logic
|
||||
if (source)
|
||||
{
|
||||
jQuery('#jform_build').closest('.control-group').show();
|
||||
if (jform_mWnyiWrQzD_required)
|
||||
if (jform_krBYtbjBSg_required)
|
||||
{
|
||||
updateFieldRequired('build',0);
|
||||
jQuery('#jform_build').prop('required','required');
|
||||
jQuery('#jform_build').attr('aria-required',true);
|
||||
jQuery('#jform_build').addClass('required');
|
||||
jform_mWnyiWrQzD_required = false;
|
||||
jform_krBYtbjBSg_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_build').closest('.control-group').hide();
|
||||
if (!jform_mWnyiWrQzD_required)
|
||||
if (!jform_krBYtbjBSg_required)
|
||||
{
|
||||
updateFieldRequired('build',1);
|
||||
jQuery('#jform_build').removeAttr('required');
|
||||
jQuery('#jform_build').removeAttr('aria-required');
|
||||
jQuery('#jform_build').removeClass('required');
|
||||
jform_mWnyiWrQzD_required = true;
|
||||
jform_krBYtbjBSg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the mWnyiWr Some function
|
||||
function source_mWnyiWr_SomeFunc(source_mWnyiWr)
|
||||
// the krBYtbj Some function
|
||||
function source_krBYtbj_SomeFunc(source_krBYtbj)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (source_mWnyiWr == 2)
|
||||
if (source_krBYtbj == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the qGZCbLd function
|
||||
function qGZCbLd(source_qGZCbLd,build_qGZCbLd)
|
||||
// the sYPBGNJ function
|
||||
function sYPBGNJ(source_sYPBGNJ,build_sYPBGNJ)
|
||||
{
|
||||
if (isSet(source_qGZCbLd) && source_qGZCbLd.constructor !== Array)
|
||||
if (isSet(source_sYPBGNJ) && source_sYPBGNJ.constructor !== Array)
|
||||
{
|
||||
var temp_qGZCbLd = source_qGZCbLd;
|
||||
var source_qGZCbLd = [];
|
||||
source_qGZCbLd.push(temp_qGZCbLd);
|
||||
var temp_sYPBGNJ = source_sYPBGNJ;
|
||||
var source_sYPBGNJ = [];
|
||||
source_sYPBGNJ.push(temp_sYPBGNJ);
|
||||
}
|
||||
else if (!isSet(source_qGZCbLd))
|
||||
else if (!isSet(source_sYPBGNJ))
|
||||
{
|
||||
var source_qGZCbLd = [];
|
||||
var source_sYPBGNJ = [];
|
||||
}
|
||||
var source = source_qGZCbLd.some(source_qGZCbLd_SomeFunc);
|
||||
var source = source_sYPBGNJ.some(source_sYPBGNJ_SomeFunc);
|
||||
|
||||
if (isSet(build_qGZCbLd) && build_qGZCbLd.constructor !== Array)
|
||||
if (isSet(build_sYPBGNJ) && build_sYPBGNJ.constructor !== Array)
|
||||
{
|
||||
var temp_qGZCbLd = build_qGZCbLd;
|
||||
var build_qGZCbLd = [];
|
||||
build_qGZCbLd.push(temp_qGZCbLd);
|
||||
var temp_sYPBGNJ = build_sYPBGNJ;
|
||||
var build_sYPBGNJ = [];
|
||||
build_sYPBGNJ.push(temp_sYPBGNJ);
|
||||
}
|
||||
else if (!isSet(build_qGZCbLd))
|
||||
else if (!isSet(build_sYPBGNJ))
|
||||
{
|
||||
var build_qGZCbLd = [];
|
||||
var build_sYPBGNJ = [];
|
||||
}
|
||||
var build = build_qGZCbLd.some(build_qGZCbLd_SomeFunc);
|
||||
var build = build_sYPBGNJ.some(build_sYPBGNJ_SomeFunc);
|
||||
|
||||
|
||||
// [7979] set this function logic
|
||||
@ -149,67 +149,67 @@ function qGZCbLd(source_qGZCbLd,build_qGZCbLd)
|
||||
}
|
||||
}
|
||||
|
||||
// the qGZCbLd Some function
|
||||
function source_qGZCbLd_SomeFunc(source_qGZCbLd)
|
||||
// the sYPBGNJ Some function
|
||||
function source_sYPBGNJ_SomeFunc(source_sYPBGNJ)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (source_qGZCbLd == 2)
|
||||
if (source_sYPBGNJ == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the qGZCbLd Some function
|
||||
function build_qGZCbLd_SomeFunc(build_qGZCbLd)
|
||||
// the sYPBGNJ Some function
|
||||
function build_sYPBGNJ_SomeFunc(build_sYPBGNJ)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (build_qGZCbLd == 2)
|
||||
if (build_sYPBGNJ == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the USEyiqH function
|
||||
function USEyiqH(source_USEyiqH,build_USEyiqH)
|
||||
// the fTVMCkK function
|
||||
function fTVMCkK(source_fTVMCkK,build_fTVMCkK)
|
||||
{
|
||||
if (isSet(source_USEyiqH) && source_USEyiqH.constructor !== Array)
|
||||
if (isSet(source_fTVMCkK) && source_fTVMCkK.constructor !== Array)
|
||||
{
|
||||
var temp_USEyiqH = source_USEyiqH;
|
||||
var source_USEyiqH = [];
|
||||
source_USEyiqH.push(temp_USEyiqH);
|
||||
var temp_fTVMCkK = source_fTVMCkK;
|
||||
var source_fTVMCkK = [];
|
||||
source_fTVMCkK.push(temp_fTVMCkK);
|
||||
}
|
||||
else if (!isSet(source_USEyiqH))
|
||||
else if (!isSet(source_fTVMCkK))
|
||||
{
|
||||
var source_USEyiqH = [];
|
||||
var source_fTVMCkK = [];
|
||||
}
|
||||
var source = source_USEyiqH.some(source_USEyiqH_SomeFunc);
|
||||
var source = source_fTVMCkK.some(source_fTVMCkK_SomeFunc);
|
||||
|
||||
if (isSet(build_USEyiqH) && build_USEyiqH.constructor !== Array)
|
||||
if (isSet(build_fTVMCkK) && build_fTVMCkK.constructor !== Array)
|
||||
{
|
||||
var temp_USEyiqH = build_USEyiqH;
|
||||
var build_USEyiqH = [];
|
||||
build_USEyiqH.push(temp_USEyiqH);
|
||||
var temp_fTVMCkK = build_fTVMCkK;
|
||||
var build_fTVMCkK = [];
|
||||
build_fTVMCkK.push(temp_fTVMCkK);
|
||||
}
|
||||
else if (!isSet(build_USEyiqH))
|
||||
else if (!isSet(build_fTVMCkK))
|
||||
{
|
||||
var build_USEyiqH = [];
|
||||
var build_fTVMCkK = [];
|
||||
}
|
||||
var build = build_USEyiqH.some(build_USEyiqH_SomeFunc);
|
||||
var build = build_fTVMCkK.some(build_fTVMCkK_SomeFunc);
|
||||
|
||||
|
||||
// [7979] set this function logic
|
||||
if (source && build)
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').show();
|
||||
if (jform_USEyiqHsmP_required)
|
||||
if (jform_fTVMCkKOvd_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_USEyiqHsmP_required = false;
|
||||
jform_fTVMCkKOvd_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').show();
|
||||
@ -217,79 +217,79 @@ function USEyiqH(source_USEyiqH,build_USEyiqH)
|
||||
else
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').hide();
|
||||
if (!jform_USEyiqHsmP_required)
|
||||
if (!jform_fTVMCkKOvd_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_USEyiqHsmP_required = true;
|
||||
jform_fTVMCkKOvd_required = true;
|
||||
}
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the USEyiqH Some function
|
||||
function source_USEyiqH_SomeFunc(source_USEyiqH)
|
||||
// the fTVMCkK Some function
|
||||
function source_fTVMCkK_SomeFunc(source_fTVMCkK)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (source_USEyiqH == 2)
|
||||
if (source_fTVMCkK == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the USEyiqH Some function
|
||||
function build_USEyiqH_SomeFunc(build_USEyiqH)
|
||||
// the fTVMCkK Some function
|
||||
function build_fTVMCkK_SomeFunc(build_fTVMCkK)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (build_USEyiqH == 1)
|
||||
if (build_fTVMCkK == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the PuIkmmJ function
|
||||
function PuIkmmJ(build_PuIkmmJ,source_PuIkmmJ)
|
||||
// the NPhYsag function
|
||||
function NPhYsag(build_NPhYsag,source_NPhYsag)
|
||||
{
|
||||
if (isSet(build_PuIkmmJ) && build_PuIkmmJ.constructor !== Array)
|
||||
if (isSet(build_NPhYsag) && build_NPhYsag.constructor !== Array)
|
||||
{
|
||||
var temp_PuIkmmJ = build_PuIkmmJ;
|
||||
var build_PuIkmmJ = [];
|
||||
build_PuIkmmJ.push(temp_PuIkmmJ);
|
||||
var temp_NPhYsag = build_NPhYsag;
|
||||
var build_NPhYsag = [];
|
||||
build_NPhYsag.push(temp_NPhYsag);
|
||||
}
|
||||
else if (!isSet(build_PuIkmmJ))
|
||||
else if (!isSet(build_NPhYsag))
|
||||
{
|
||||
var build_PuIkmmJ = [];
|
||||
var build_NPhYsag = [];
|
||||
}
|
||||
var build = build_PuIkmmJ.some(build_PuIkmmJ_SomeFunc);
|
||||
var build = build_NPhYsag.some(build_NPhYsag_SomeFunc);
|
||||
|
||||
if (isSet(source_PuIkmmJ) && source_PuIkmmJ.constructor !== Array)
|
||||
if (isSet(source_NPhYsag) && source_NPhYsag.constructor !== Array)
|
||||
{
|
||||
var temp_PuIkmmJ = source_PuIkmmJ;
|
||||
var source_PuIkmmJ = [];
|
||||
source_PuIkmmJ.push(temp_PuIkmmJ);
|
||||
var temp_NPhYsag = source_NPhYsag;
|
||||
var source_NPhYsag = [];
|
||||
source_NPhYsag.push(temp_NPhYsag);
|
||||
}
|
||||
else if (!isSet(source_PuIkmmJ))
|
||||
else if (!isSet(source_NPhYsag))
|
||||
{
|
||||
var source_PuIkmmJ = [];
|
||||
var source_NPhYsag = [];
|
||||
}
|
||||
var source = source_PuIkmmJ.some(source_PuIkmmJ_SomeFunc);
|
||||
var source = source_NPhYsag.some(source_NPhYsag_SomeFunc);
|
||||
|
||||
|
||||
// [7979] set this function logic
|
||||
if (build && source)
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').show();
|
||||
if (jform_PuIkmmJLYI_required)
|
||||
if (jform_NPhYsagIYW_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_PuIkmmJLYI_required = false;
|
||||
jform_NPhYsagIYW_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').show();
|
||||
@ -297,155 +297,155 @@ function PuIkmmJ(build_PuIkmmJ,source_PuIkmmJ)
|
||||
else
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').hide();
|
||||
if (!jform_PuIkmmJLYI_required)
|
||||
if (!jform_NPhYsagIYW_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_PuIkmmJLYI_required = true;
|
||||
jform_NPhYsagIYW_required = true;
|
||||
}
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the PuIkmmJ Some function
|
||||
function build_PuIkmmJ_SomeFunc(build_PuIkmmJ)
|
||||
// the NPhYsag Some function
|
||||
function build_NPhYsag_SomeFunc(build_NPhYsag)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (build_PuIkmmJ == 1)
|
||||
if (build_NPhYsag == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the PuIkmmJ Some function
|
||||
function source_PuIkmmJ_SomeFunc(source_PuIkmmJ)
|
||||
// the NPhYsag Some function
|
||||
function source_NPhYsag_SomeFunc(source_NPhYsag)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (source_PuIkmmJ == 2)
|
||||
if (source_NPhYsag == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the rZyqFpz function
|
||||
function rZyqFpz(source_rZyqFpz)
|
||||
// the kEIQntm function
|
||||
function kEIQntm(source_kEIQntm)
|
||||
{
|
||||
if (isSet(source_rZyqFpz) && source_rZyqFpz.constructor !== Array)
|
||||
if (isSet(source_kEIQntm) && source_kEIQntm.constructor !== Array)
|
||||
{
|
||||
var temp_rZyqFpz = source_rZyqFpz;
|
||||
var source_rZyqFpz = [];
|
||||
source_rZyqFpz.push(temp_rZyqFpz);
|
||||
var temp_kEIQntm = source_kEIQntm;
|
||||
var source_kEIQntm = [];
|
||||
source_kEIQntm.push(temp_kEIQntm);
|
||||
}
|
||||
else if (!isSet(source_rZyqFpz))
|
||||
else if (!isSet(source_kEIQntm))
|
||||
{
|
||||
var source_rZyqFpz = [];
|
||||
var source_kEIQntm = [];
|
||||
}
|
||||
var source = source_rZyqFpz.some(source_rZyqFpz_SomeFunc);
|
||||
var source = source_kEIQntm.some(source_kEIQntm_SomeFunc);
|
||||
|
||||
|
||||
// [7979] set this function logic
|
||||
if (source)
|
||||
{
|
||||
jQuery('#jform_local_files').closest('.control-group').show();
|
||||
if (jform_rZyqFpzhBR_required)
|
||||
if (jform_kEIQntmwGo_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_rZyqFpzhBR_required = false;
|
||||
jform_kEIQntmwGo_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_local_files').closest('.control-group').hide();
|
||||
if (!jform_rZyqFpzhBR_required)
|
||||
if (!jform_kEIQntmwGo_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_rZyqFpzhBR_required = true;
|
||||
jform_kEIQntmwGo_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the rZyqFpz Some function
|
||||
function source_rZyqFpz_SomeFunc(source_rZyqFpz)
|
||||
// the kEIQntm Some function
|
||||
function source_kEIQntm_SomeFunc(source_kEIQntm)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (source_rZyqFpz == 1)
|
||||
if (source_kEIQntm == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the pwLZOSx function
|
||||
function pwLZOSx(source_pwLZOSx)
|
||||
// the RQkNwSY function
|
||||
function RQkNwSY(source_RQkNwSY)
|
||||
{
|
||||
if (isSet(source_pwLZOSx) && source_pwLZOSx.constructor !== Array)
|
||||
if (isSet(source_RQkNwSY) && source_RQkNwSY.constructor !== Array)
|
||||
{
|
||||
var temp_pwLZOSx = source_pwLZOSx;
|
||||
var source_pwLZOSx = [];
|
||||
source_pwLZOSx.push(temp_pwLZOSx);
|
||||
var temp_RQkNwSY = source_RQkNwSY;
|
||||
var source_RQkNwSY = [];
|
||||
source_RQkNwSY.push(temp_RQkNwSY);
|
||||
}
|
||||
else if (!isSet(source_pwLZOSx))
|
||||
else if (!isSet(source_RQkNwSY))
|
||||
{
|
||||
var source_pwLZOSx = [];
|
||||
var source_RQkNwSY = [];
|
||||
}
|
||||
var source = source_pwLZOSx.some(source_pwLZOSx_SomeFunc);
|
||||
var source = source_RQkNwSY.some(source_RQkNwSY_SomeFunc);
|
||||
|
||||
|
||||
// [7979] set this function logic
|
||||
if (source)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
if (jform_pwLZOSxoqG_required)
|
||||
if (jform_RQkNwSYiKv_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_pwLZOSxoqG_required = false;
|
||||
jform_RQkNwSYiKv_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
if (!jform_pwLZOSxoqG_required)
|
||||
if (!jform_RQkNwSYiKv_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_pwLZOSxoqG_required = true;
|
||||
jform_RQkNwSYiKv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the pwLZOSx Some function
|
||||
function source_pwLZOSx_SomeFunc(source_pwLZOSx)
|
||||
// the RQkNwSY Some function
|
||||
function source_RQkNwSY_SomeFunc(source_RQkNwSY)
|
||||
{
|
||||
// [7966] set the function logic
|
||||
if (source_pwLZOSx == 3)
|
||||
if (source_RQkNwSY == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the hfgQmzf function
|
||||
function hfgQmzf(link_type_hfgQmzf)
|
||||
// the lzmprMp function
|
||||
function lzmprMp(link_type_lzmprMp)
|
||||
{
|
||||
// [8001] set the function logic
|
||||
if (link_type_hfgQmzf == 2)
|
||||
if (link_type_lzmprMp == 2)
|
||||
{
|
||||
jQuery('.note_link_directed').closest('.control-group').show();
|
||||
}
|
||||
@ -455,11 +455,11 @@ function hfgQmzf(link_type_hfgQmzf)
|
||||
}
|
||||
}
|
||||
|
||||
// the bdfNqfg function
|
||||
function bdfNqfg(link_type_bdfNqfg)
|
||||
// the wAnuIRh function
|
||||
function wAnuIRh(link_type_wAnuIRh)
|
||||
{
|
||||
// [8001] set the function logic
|
||||
if (link_type_bdfNqfg == 1)
|
||||
if (link_type_wAnuIRh == 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->preacherqkei = $item->id;
|
||||
$this->preacherynwu = $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 getRiksermons()
|
||||
public function getIuwsermons()
|
||||
{
|
||||
// [6938] 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') . ')');
|
||||
|
||||
// [6966] Filter by preacherqkei global.
|
||||
$preacherqkei = $this->preacherqkei;
|
||||
if (is_numeric($preacherqkei ))
|
||||
// [6966] Filter by preacherynwu global.
|
||||
$preacherynwu = $this->preacherynwu;
|
||||
if (is_numeric($preacherynwu ))
|
||||
{
|
||||
$query->where('a.preacher = ' . (int) $preacherqkei );
|
||||
$query->where('a.preacher = ' . (int) $preacherynwu );
|
||||
}
|
||||
elseif (is_string($preacherqkei))
|
||||
elseif (is_string($preacherynwu))
|
||||
{
|
||||
$query->where('a.preacher = ' . $db->quote($preacherqkei));
|
||||
$query->where('a.preacher = ' . $db->quote($preacherynwu));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -193,9 +193,9 @@ class SermondistributorModelPreacher extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// [10877] convert link_type
|
||||
$item->link_type = $this->selectionTranslationRiksermons($item->link_type, 'link_type');
|
||||
$item->link_type = $this->selectionTranslationIuwsermons($item->link_type, 'link_type');
|
||||
// [10877] convert source
|
||||
$item->source = $this->selectionTranslationRiksermons($item->source, 'source');
|
||||
$item->source = $this->selectionTranslationIuwsermons($item->source, 'source');
|
||||
}
|
||||
}
|
||||
|
||||
@ -209,7 +209,7 @@ class SermondistributorModelPreacher extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationRiksermons($value,$name)
|
||||
public function selectionTranslationIuwsermons($value,$name)
|
||||
{
|
||||
// [10903] 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->serieszeat = $item->id;
|
||||
$this->serieswuoy = $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 getHvwsermons()
|
||||
public function getMzrsermons()
|
||||
{
|
||||
// [6938] 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') . ')');
|
||||
|
||||
// [6966] Filter by serieszeat global.
|
||||
$serieszeat = $this->serieszeat;
|
||||
if (is_numeric($serieszeat ))
|
||||
// [6966] Filter by serieswuoy global.
|
||||
$serieswuoy = $this->serieswuoy;
|
||||
if (is_numeric($serieswuoy ))
|
||||
{
|
||||
$query->where('a.series = ' . (int) $serieszeat );
|
||||
$query->where('a.series = ' . (int) $serieswuoy );
|
||||
}
|
||||
elseif (is_string($serieszeat))
|
||||
elseif (is_string($serieswuoy))
|
||||
{
|
||||
$query->where('a.series = ' . $db->quote($serieszeat));
|
||||
$query->where('a.series = ' . $db->quote($serieswuoy));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -193,9 +193,9 @@ class SermondistributorModelSeries extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// [10877] convert link_type
|
||||
$item->link_type = $this->selectionTranslationHvwsermons($item->link_type, 'link_type');
|
||||
$item->link_type = $this->selectionTranslationMzrsermons($item->link_type, 'link_type');
|
||||
// [10877] convert source
|
||||
$item->source = $this->selectionTranslationHvwsermons($item->source, 'source');
|
||||
$item->source = $this->selectionTranslationMzrsermons($item->source, 'source');
|
||||
}
|
||||
}
|
||||
|
||||
@ -209,7 +209,7 @@ class SermondistributorModelSeries extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationHvwsermons($value,$name)
|
||||
public function selectionTranslationMzrsermons($value,$name)
|
||||
{
|
||||
// [10903] 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->sermonkndl = $item->id;
|
||||
$this->sermonduql = $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 getNjdstastics()
|
||||
public function getScistastics()
|
||||
{
|
||||
// [6938] 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') . ')');
|
||||
|
||||
// [6966] Filter by sermonkndl global.
|
||||
$sermonkndl = $this->sermonkndl;
|
||||
if (is_numeric($sermonkndl ))
|
||||
// [6966] Filter by sermonduql global.
|
||||
$sermonduql = $this->sermonduql;
|
||||
if (is_numeric($sermonduql ))
|
||||
{
|
||||
$query->where('a.sermon = ' . (int) $sermonkndl );
|
||||
$query->where('a.sermon = ' . (int) $sermonduql );
|
||||
}
|
||||
elseif (is_string($sermonkndl))
|
||||
elseif (is_string($sermonduql))
|
||||
{
|
||||
$query->where('a.sermon = ' . $db->quote($sermonkndl));
|
||||
$query->where('a.sermon = ' . $db->quote($sermonduql));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -95,93 +95,93 @@ $componentParams = JComponentHelper::getParams('com_sermondistributor');
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_location listeners for location_YqmLlcw function
|
||||
// #jform_location listeners for location_bqdlaIg function
|
||||
jQuery('#jform_location').on('keyup',function()
|
||||
{
|
||||
var location_YqmLlcw = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
YqmLlcw(location_YqmLlcw);
|
||||
var location_bqdlaIg = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
bqdlaIg(location_bqdlaIg);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var location_YqmLlcw = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
YqmLlcw(location_YqmLlcw);
|
||||
var location_bqdlaIg = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
bqdlaIg(location_bqdlaIg);
|
||||
|
||||
});
|
||||
|
||||
// #jform_location listeners for location_ErKnwQB function
|
||||
// #jform_location listeners for location_YOOAZiI function
|
||||
jQuery('#jform_location').on('keyup',function()
|
||||
{
|
||||
var location_ErKnwQB = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
ErKnwQB(location_ErKnwQB);
|
||||
var location_YOOAZiI = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
YOOAZiI(location_YOOAZiI);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var location_ErKnwQB = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
ErKnwQB(location_ErKnwQB);
|
||||
var location_YOOAZiI = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
YOOAZiI(location_YOOAZiI);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_pfUDjYG function
|
||||
// #jform_type listeners for type_oGAMfTb function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_pfUDjYG = jQuery("#jform_type").val();
|
||||
pfUDjYG(type_pfUDjYG);
|
||||
var type_oGAMfTb = jQuery("#jform_type").val();
|
||||
oGAMfTb(type_oGAMfTb);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_pfUDjYG = jQuery("#jform_type").val();
|
||||
pfUDjYG(type_pfUDjYG);
|
||||
var type_oGAMfTb = jQuery("#jform_type").val();
|
||||
oGAMfTb(type_oGAMfTb);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_cfyFlnv function
|
||||
// #jform_type listeners for type_LTWmzwA function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_cfyFlnv = jQuery("#jform_type").val();
|
||||
cfyFlnv(type_cfyFlnv);
|
||||
var type_LTWmzwA = jQuery("#jform_type").val();
|
||||
LTWmzwA(type_LTWmzwA);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_cfyFlnv = jQuery("#jform_type").val();
|
||||
cfyFlnv(type_cfyFlnv);
|
||||
var type_LTWmzwA = jQuery("#jform_type").val();
|
||||
LTWmzwA(type_LTWmzwA);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_SSRqCog function
|
||||
// #jform_type listeners for type_UCmYIbJ function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_SSRqCog = jQuery("#jform_type").val();
|
||||
SSRqCog(type_SSRqCog);
|
||||
var type_UCmYIbJ = jQuery("#jform_type").val();
|
||||
UCmYIbJ(type_UCmYIbJ);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_SSRqCog = jQuery("#jform_type").val();
|
||||
SSRqCog(type_SSRqCog);
|
||||
var type_UCmYIbJ = jQuery("#jform_type").val();
|
||||
UCmYIbJ(type_UCmYIbJ);
|
||||
|
||||
});
|
||||
|
||||
// #jform_target listeners for target_qdgfzre function
|
||||
// #jform_target listeners for target_Opviezb function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var target_qdgfzre = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
qdgfzre(target_qdgfzre);
|
||||
var target_Opviezb = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
Opviezb(target_Opviezb);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_qdgfzre = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
qdgfzre(target_qdgfzre);
|
||||
var target_Opviezb = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
Opviezb(target_Opviezb);
|
||||
|
||||
});
|
||||
|
||||
|
@ -66,7 +66,7 @@ class SermondistributorViewPreacher extends JViewLegacy
|
||||
}
|
||||
|
||||
// [6472] Get Linked view data
|
||||
$this->riksermons = $this->get('Riksermons');
|
||||
$this->iuwsermons = $this->get('Iuwsermons');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -66,7 +66,7 @@ class SermondistributorViewSeries extends JViewLegacy
|
||||
}
|
||||
|
||||
// [6472] Get Linked view data
|
||||
$this->hvwsermons = $this->get('Hvwsermons');
|
||||
$this->mzrsermons = $this->get('Mzrsermons');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -115,180 +115,180 @@ $componentParams = JComponentHelper::getParams('com_sermondistributor');
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_source listeners for source_mWnyiWr function
|
||||
// #jform_source listeners for source_krBYtbj function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_mWnyiWr = jQuery("#jform_source").val();
|
||||
mWnyiWr(source_mWnyiWr);
|
||||
var source_krBYtbj = jQuery("#jform_source").val();
|
||||
krBYtbj(source_krBYtbj);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_mWnyiWr = jQuery("#jform_source").val();
|
||||
mWnyiWr(source_mWnyiWr);
|
||||
var source_krBYtbj = jQuery("#jform_source").val();
|
||||
krBYtbj(source_krBYtbj);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_qGZCbLd function
|
||||
// #jform_source listeners for source_sYPBGNJ function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_qGZCbLd = jQuery("#jform_source").val();
|
||||
var build_qGZCbLd = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
qGZCbLd(source_qGZCbLd,build_qGZCbLd);
|
||||
var source_sYPBGNJ = jQuery("#jform_source").val();
|
||||
var build_sYPBGNJ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
sYPBGNJ(source_sYPBGNJ,build_sYPBGNJ);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_qGZCbLd = jQuery("#jform_source").val();
|
||||
var build_qGZCbLd = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
qGZCbLd(source_qGZCbLd,build_qGZCbLd);
|
||||
var source_sYPBGNJ = jQuery("#jform_source").val();
|
||||
var build_sYPBGNJ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
sYPBGNJ(source_sYPBGNJ,build_sYPBGNJ);
|
||||
|
||||
});
|
||||
|
||||
// #jform_build listeners for build_qGZCbLd function
|
||||
// #jform_build listeners for build_sYPBGNJ function
|
||||
jQuery('#jform_build').on('keyup',function()
|
||||
{
|
||||
var source_qGZCbLd = jQuery("#jform_source").val();
|
||||
var build_qGZCbLd = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
qGZCbLd(source_qGZCbLd,build_qGZCbLd);
|
||||
var source_sYPBGNJ = jQuery("#jform_source").val();
|
||||
var build_sYPBGNJ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
sYPBGNJ(source_sYPBGNJ,build_sYPBGNJ);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_build',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_qGZCbLd = jQuery("#jform_source").val();
|
||||
var build_qGZCbLd = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
qGZCbLd(source_qGZCbLd,build_qGZCbLd);
|
||||
var source_sYPBGNJ = jQuery("#jform_source").val();
|
||||
var build_sYPBGNJ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
sYPBGNJ(source_sYPBGNJ,build_sYPBGNJ);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_USEyiqH function
|
||||
// #jform_source listeners for source_fTVMCkK function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_USEyiqH = jQuery("#jform_source").val();
|
||||
var build_USEyiqH = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
USEyiqH(source_USEyiqH,build_USEyiqH);
|
||||
var source_fTVMCkK = jQuery("#jform_source").val();
|
||||
var build_fTVMCkK = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
fTVMCkK(source_fTVMCkK,build_fTVMCkK);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_USEyiqH = jQuery("#jform_source").val();
|
||||
var build_USEyiqH = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
USEyiqH(source_USEyiqH,build_USEyiqH);
|
||||
var source_fTVMCkK = jQuery("#jform_source").val();
|
||||
var build_fTVMCkK = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
fTVMCkK(source_fTVMCkK,build_fTVMCkK);
|
||||
|
||||
});
|
||||
|
||||
// #jform_build listeners for build_USEyiqH function
|
||||
// #jform_build listeners for build_fTVMCkK function
|
||||
jQuery('#jform_build').on('keyup',function()
|
||||
{
|
||||
var source_USEyiqH = jQuery("#jform_source").val();
|
||||
var build_USEyiqH = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
USEyiqH(source_USEyiqH,build_USEyiqH);
|
||||
var source_fTVMCkK = jQuery("#jform_source").val();
|
||||
var build_fTVMCkK = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
fTVMCkK(source_fTVMCkK,build_fTVMCkK);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_build',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_USEyiqH = jQuery("#jform_source").val();
|
||||
var build_USEyiqH = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
USEyiqH(source_USEyiqH,build_USEyiqH);
|
||||
var source_fTVMCkK = jQuery("#jform_source").val();
|
||||
var build_fTVMCkK = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
fTVMCkK(source_fTVMCkK,build_fTVMCkK);
|
||||
|
||||
});
|
||||
|
||||
// #jform_build listeners for build_PuIkmmJ function
|
||||
// #jform_build listeners for build_NPhYsag function
|
||||
jQuery('#jform_build').on('keyup',function()
|
||||
{
|
||||
var build_PuIkmmJ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_PuIkmmJ = jQuery("#jform_source").val();
|
||||
PuIkmmJ(build_PuIkmmJ,source_PuIkmmJ);
|
||||
var build_NPhYsag = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_NPhYsag = jQuery("#jform_source").val();
|
||||
NPhYsag(build_NPhYsag,source_NPhYsag);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_build',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var build_PuIkmmJ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_PuIkmmJ = jQuery("#jform_source").val();
|
||||
PuIkmmJ(build_PuIkmmJ,source_PuIkmmJ);
|
||||
var build_NPhYsag = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_NPhYsag = jQuery("#jform_source").val();
|
||||
NPhYsag(build_NPhYsag,source_NPhYsag);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_PuIkmmJ function
|
||||
// #jform_source listeners for source_NPhYsag function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var build_PuIkmmJ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_PuIkmmJ = jQuery("#jform_source").val();
|
||||
PuIkmmJ(build_PuIkmmJ,source_PuIkmmJ);
|
||||
var build_NPhYsag = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_NPhYsag = jQuery("#jform_source").val();
|
||||
NPhYsag(build_NPhYsag,source_NPhYsag);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var build_PuIkmmJ = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_PuIkmmJ = jQuery("#jform_source").val();
|
||||
PuIkmmJ(build_PuIkmmJ,source_PuIkmmJ);
|
||||
var build_NPhYsag = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_NPhYsag = jQuery("#jform_source").val();
|
||||
NPhYsag(build_NPhYsag,source_NPhYsag);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_rZyqFpz function
|
||||
// #jform_source listeners for source_kEIQntm function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_rZyqFpz = jQuery("#jform_source").val();
|
||||
rZyqFpz(source_rZyqFpz);
|
||||
var source_kEIQntm = jQuery("#jform_source").val();
|
||||
kEIQntm(source_kEIQntm);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_rZyqFpz = jQuery("#jform_source").val();
|
||||
rZyqFpz(source_rZyqFpz);
|
||||
var source_kEIQntm = jQuery("#jform_source").val();
|
||||
kEIQntm(source_kEIQntm);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_pwLZOSx function
|
||||
// #jform_source listeners for source_RQkNwSY function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_pwLZOSx = jQuery("#jform_source").val();
|
||||
pwLZOSx(source_pwLZOSx);
|
||||
var source_RQkNwSY = jQuery("#jform_source").val();
|
||||
RQkNwSY(source_RQkNwSY);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_pwLZOSx = jQuery("#jform_source").val();
|
||||
pwLZOSx(source_pwLZOSx);
|
||||
var source_RQkNwSY = jQuery("#jform_source").val();
|
||||
RQkNwSY(source_RQkNwSY);
|
||||
|
||||
});
|
||||
|
||||
// #jform_link_type listeners for link_type_hfgQmzf function
|
||||
// #jform_link_type listeners for link_type_lzmprMp function
|
||||
jQuery('#jform_link_type').on('keyup',function()
|
||||
{
|
||||
var link_type_hfgQmzf = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
hfgQmzf(link_type_hfgQmzf);
|
||||
var link_type_lzmprMp = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
lzmprMp(link_type_lzmprMp);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_link_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var link_type_hfgQmzf = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
hfgQmzf(link_type_hfgQmzf);
|
||||
var link_type_lzmprMp = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
lzmprMp(link_type_lzmprMp);
|
||||
|
||||
});
|
||||
|
||||
// #jform_link_type listeners for link_type_bdfNqfg function
|
||||
// #jform_link_type listeners for link_type_wAnuIRh function
|
||||
jQuery('#jform_link_type').on('keyup',function()
|
||||
{
|
||||
var link_type_bdfNqfg = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
bdfNqfg(link_type_bdfNqfg);
|
||||
var link_type_wAnuIRh = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
wAnuIRh(link_type_wAnuIRh);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_link_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var link_type_bdfNqfg = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
bdfNqfg(link_type_bdfNqfg);
|
||||
var link_type_wAnuIRh = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
wAnuIRh(link_type_wAnuIRh);
|
||||
|
||||
});
|
||||
|
||||
|
@ -66,7 +66,7 @@ class SermondistributorViewSermon extends JViewLegacy
|
||||
}
|
||||
|
||||
// [6472] Get Linked view data
|
||||
$this->njdstastics = $this->get('Njdstastics');
|
||||
$this->scistastics = $this->get('Scistastics');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
Loading…
Reference in New Issue
Block a user