Updated the readme, all other changes are only random variable name and date changes (due to automation sorry)
This commit is contained in:
parent
6bf8abb6e4
commit
b7e992d602
@ -6,7 +6,7 @@ Distributor is a highly advanced sermon distributor that runs on the [Joomla 3.x
|
||||
|
||||
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)
|
||||
|
||||
### If you like our component please rate it on the [Joomla Index] (http://extensions.joomla.org/extensions/extension/living/religion/sermon-distributor)
|
||||
**If you like our component please rate it on the [Joomla Index] (http://extensions.joomla.org/extensions/extension/living/religion/sermon-distributor)**
|
||||
|
||||
### Example Website, That Has Over 6000 Audio Files
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->bzfsermons;
|
||||
$items = $displayData->nnrsermons;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit";
|
||||
|
@ -28,7 +28,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->bxtsermons;
|
||||
$items = $displayData->rbksermons;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit";
|
||||
|
@ -28,7 +28,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->uhxstastics;
|
||||
$items = $displayData->dvastastics;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_sermondistributor&view=statistics&task=statistic.edit";
|
||||
|
@ -23,38 +23,38 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_tEOArjdilp_required = false;
|
||||
jform_risVnXlByL_required = false;
|
||||
jform_FQgiSipwQJ_required = false;
|
||||
jform_OlgATsKWIb_required = false;
|
||||
jform_BfkHtbrzNw_required = false;
|
||||
jform_jQYQkGYHPT_required = false;
|
||||
jform_mCjbCJGjdd_required = false;
|
||||
jform_nyhEiHGyjm_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var location_qusgtuA = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
qusgtuA(location_qusgtuA);
|
||||
var location_plVMLqN = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
plVMLqN(location_plVMLqN);
|
||||
|
||||
var location_acgwGxu = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
acgwGxu(location_acgwGxu);
|
||||
var location_gCEFCDg = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
gCEFCDg(location_gCEFCDg);
|
||||
|
||||
var type_tEOArjd = jQuery("#jform_type").val();
|
||||
tEOArjd(type_tEOArjd);
|
||||
var type_BfkHtbr = jQuery("#jform_type").val();
|
||||
BfkHtbr(type_BfkHtbr);
|
||||
|
||||
var type_risVnXl = jQuery("#jform_type").val();
|
||||
risVnXl(type_risVnXl);
|
||||
var type_jQYQkGY = jQuery("#jform_type").val();
|
||||
jQYQkGY(type_jQYQkGY);
|
||||
|
||||
var type_FQgiSip = jQuery("#jform_type").val();
|
||||
FQgiSip(type_FQgiSip);
|
||||
var type_mCjbCJG = jQuery("#jform_type").val();
|
||||
mCjbCJG(type_mCjbCJG);
|
||||
|
||||
var target_OlgATsK = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
OlgATsK(target_OlgATsK);
|
||||
var target_nyhEiHG = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
nyhEiHG(target_nyhEiHG);
|
||||
});
|
||||
|
||||
// the qusgtuA function
|
||||
function qusgtuA(location_qusgtuA)
|
||||
// the plVMLqN function
|
||||
function plVMLqN(location_plVMLqN)
|
||||
{
|
||||
// [8307] set the function logic
|
||||
if (location_qusgtuA == 1)
|
||||
if (location_plVMLqN == 1)
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
}
|
||||
@ -64,11 +64,11 @@ function qusgtuA(location_qusgtuA)
|
||||
}
|
||||
}
|
||||
|
||||
// the acgwGxu function
|
||||
function acgwGxu(location_acgwGxu)
|
||||
// the gCEFCDg function
|
||||
function gCEFCDg(location_gCEFCDg)
|
||||
{
|
||||
// [8307] set the function logic
|
||||
if (location_acgwGxu == 2)
|
||||
if (location_gCEFCDg == 2)
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
}
|
||||
@ -78,198 +78,198 @@ function acgwGxu(location_acgwGxu)
|
||||
}
|
||||
}
|
||||
|
||||
// the tEOArjd function
|
||||
function tEOArjd(type_tEOArjd)
|
||||
// the BfkHtbr function
|
||||
function BfkHtbr(type_BfkHtbr)
|
||||
{
|
||||
if (isSet(type_tEOArjd) && type_tEOArjd.constructor !== Array)
|
||||
if (isSet(type_BfkHtbr) && type_BfkHtbr.constructor !== Array)
|
||||
{
|
||||
var temp_tEOArjd = type_tEOArjd;
|
||||
var type_tEOArjd = [];
|
||||
type_tEOArjd.push(temp_tEOArjd);
|
||||
var temp_BfkHtbr = type_BfkHtbr;
|
||||
var type_BfkHtbr = [];
|
||||
type_BfkHtbr.push(temp_BfkHtbr);
|
||||
}
|
||||
else if (!isSet(type_tEOArjd))
|
||||
else if (!isSet(type_BfkHtbr))
|
||||
{
|
||||
var type_tEOArjd = [];
|
||||
var type_BfkHtbr = [];
|
||||
}
|
||||
var type = type_tEOArjd.some(type_tEOArjd_SomeFunc);
|
||||
var type = type_BfkHtbr.some(type_BfkHtbr_SomeFunc);
|
||||
|
||||
|
||||
// [8285] set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
if (jform_tEOArjdilp_required)
|
||||
if (jform_BfkHtbrzNw_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_tEOArjdilp_required = false;
|
||||
jform_BfkHtbrzNw_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
if (!jform_tEOArjdilp_required)
|
||||
if (!jform_BfkHtbrzNw_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_tEOArjdilp_required = true;
|
||||
jform_BfkHtbrzNw_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the tEOArjd Some function
|
||||
function type_tEOArjd_SomeFunc(type_tEOArjd)
|
||||
// the BfkHtbr Some function
|
||||
function type_BfkHtbr_SomeFunc(type_BfkHtbr)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (type_tEOArjd == 3)
|
||||
if (type_BfkHtbr == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the risVnXl function
|
||||
function risVnXl(type_risVnXl)
|
||||
// the jQYQkGY function
|
||||
function jQYQkGY(type_jQYQkGY)
|
||||
{
|
||||
if (isSet(type_risVnXl) && type_risVnXl.constructor !== Array)
|
||||
if (isSet(type_jQYQkGY) && type_jQYQkGY.constructor !== Array)
|
||||
{
|
||||
var temp_risVnXl = type_risVnXl;
|
||||
var type_risVnXl = [];
|
||||
type_risVnXl.push(temp_risVnXl);
|
||||
var temp_jQYQkGY = type_jQYQkGY;
|
||||
var type_jQYQkGY = [];
|
||||
type_jQYQkGY.push(temp_jQYQkGY);
|
||||
}
|
||||
else if (!isSet(type_risVnXl))
|
||||
else if (!isSet(type_jQYQkGY))
|
||||
{
|
||||
var type_risVnXl = [];
|
||||
var type_jQYQkGY = [];
|
||||
}
|
||||
var type = type_risVnXl.some(type_risVnXl_SomeFunc);
|
||||
var type = type_jQYQkGY.some(type_jQYQkGY_SomeFunc);
|
||||
|
||||
|
||||
// [8285] set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
if (jform_risVnXlByL_required)
|
||||
if (jform_jQYQkGYHPT_required)
|
||||
{
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
jform_risVnXlByL_required = false;
|
||||
jform_jQYQkGYHPT_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
if (!jform_risVnXlByL_required)
|
||||
if (!jform_jQYQkGYHPT_required)
|
||||
{
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
jform_risVnXlByL_required = true;
|
||||
jform_jQYQkGYHPT_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the risVnXl Some function
|
||||
function type_risVnXl_SomeFunc(type_risVnXl)
|
||||
// the jQYQkGY Some function
|
||||
function type_jQYQkGY_SomeFunc(type_jQYQkGY)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (type_risVnXl == 1)
|
||||
if (type_jQYQkGY == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the FQgiSip function
|
||||
function FQgiSip(type_FQgiSip)
|
||||
// the mCjbCJG function
|
||||
function mCjbCJG(type_mCjbCJG)
|
||||
{
|
||||
if (isSet(type_FQgiSip) && type_FQgiSip.constructor !== Array)
|
||||
if (isSet(type_mCjbCJG) && type_mCjbCJG.constructor !== Array)
|
||||
{
|
||||
var temp_FQgiSip = type_FQgiSip;
|
||||
var type_FQgiSip = [];
|
||||
type_FQgiSip.push(temp_FQgiSip);
|
||||
var temp_mCjbCJG = type_mCjbCJG;
|
||||
var type_mCjbCJG = [];
|
||||
type_mCjbCJG.push(temp_mCjbCJG);
|
||||
}
|
||||
else if (!isSet(type_FQgiSip))
|
||||
else if (!isSet(type_mCjbCJG))
|
||||
{
|
||||
var type_FQgiSip = [];
|
||||
var type_mCjbCJG = [];
|
||||
}
|
||||
var type = type_FQgiSip.some(type_FQgiSip_SomeFunc);
|
||||
var type = type_mCjbCJG.some(type_mCjbCJG_SomeFunc);
|
||||
|
||||
|
||||
// [8285] set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').show();
|
||||
if (jform_FQgiSipwQJ_required)
|
||||
if (jform_mCjbCJGjdd_required)
|
||||
{
|
||||
updateFieldRequired('content',0);
|
||||
jQuery('#jform_content').prop('required','required');
|
||||
jQuery('#jform_content').attr('aria-required',true);
|
||||
jQuery('#jform_content').addClass('required');
|
||||
jform_FQgiSipwQJ_required = false;
|
||||
jform_mCjbCJGjdd_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
||||
if (!jform_FQgiSipwQJ_required)
|
||||
if (!jform_mCjbCJGjdd_required)
|
||||
{
|
||||
updateFieldRequired('content',1);
|
||||
jQuery('#jform_content').removeAttr('required');
|
||||
jQuery('#jform_content').removeAttr('aria-required');
|
||||
jQuery('#jform_content').removeClass('required');
|
||||
jform_FQgiSipwQJ_required = true;
|
||||
jform_mCjbCJGjdd_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the FQgiSip Some function
|
||||
function type_FQgiSip_SomeFunc(type_FQgiSip)
|
||||
// the mCjbCJG Some function
|
||||
function type_mCjbCJG_SomeFunc(type_mCjbCJG)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (type_FQgiSip == 2)
|
||||
if (type_mCjbCJG == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the OlgATsK function
|
||||
function OlgATsK(target_OlgATsK)
|
||||
// the nyhEiHG function
|
||||
function nyhEiHG(target_nyhEiHG)
|
||||
{
|
||||
// [8307] set the function logic
|
||||
if (target_OlgATsK == 1)
|
||||
if (target_nyhEiHG == 1)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
if (jform_OlgATsKWIb_required)
|
||||
if (jform_nyhEiHGyjm_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
jform_OlgATsKWIb_required = false;
|
||||
jform_nyhEiHGyjm_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
if (!jform_OlgATsKWIb_required)
|
||||
if (!jform_nyhEiHGyjm_required)
|
||||
{
|
||||
updateFieldRequired('groups',1);
|
||||
jQuery('#jform_groups').removeAttr('required');
|
||||
jQuery('#jform_groups').removeAttr('aria-required');
|
||||
jQuery('#jform_groups').removeClass('required');
|
||||
jform_OlgATsKWIb_required = true;
|
||||
jform_nyhEiHGyjm_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,124 +23,124 @@
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Some Global Values
|
||||
jform_qnBNDdgYsI_required = false;
|
||||
jform_tIcVEBHbWb_required = false;
|
||||
jform_KtgSzzAboh_required = false;
|
||||
jform_MEmRboexQl_required = false;
|
||||
jform_UeQYbvAIDD_required = false;
|
||||
jform_dOVAunrpjk_required = false;
|
||||
jform_iqNHLdUKVO_required = false;
|
||||
jform_kkZAuiNOLQ_required = false;
|
||||
jform_SmvypXshHY_required = false;
|
||||
jform_ENosobDoOr_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var source_qnBNDdg = jQuery("#jform_source").val();
|
||||
qnBNDdg(source_qnBNDdg);
|
||||
var source_dOVAunr = jQuery("#jform_source").val();
|
||||
dOVAunr(source_dOVAunr);
|
||||
|
||||
var source_CWzLshf = jQuery("#jform_source").val();
|
||||
var build_CWzLshf = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
CWzLshf(source_CWzLshf,build_CWzLshf);
|
||||
var source_mDbfJMD = jQuery("#jform_source").val();
|
||||
var build_mDbfJMD = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
mDbfJMD(source_mDbfJMD,build_mDbfJMD);
|
||||
|
||||
var source_tIcVEBH = jQuery("#jform_source").val();
|
||||
var build_tIcVEBH = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
tIcVEBH(source_tIcVEBH,build_tIcVEBH);
|
||||
var source_iqNHLdU = jQuery("#jform_source").val();
|
||||
var build_iqNHLdU = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
iqNHLdU(source_iqNHLdU,build_iqNHLdU);
|
||||
|
||||
var build_KtgSzzA = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_KtgSzzA = jQuery("#jform_source").val();
|
||||
KtgSzzA(build_KtgSzzA,source_KtgSzzA);
|
||||
var build_kkZAuiN = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_kkZAuiN = jQuery("#jform_source").val();
|
||||
kkZAuiN(build_kkZAuiN,source_kkZAuiN);
|
||||
|
||||
var source_MEmRboe = jQuery("#jform_source").val();
|
||||
MEmRboe(source_MEmRboe);
|
||||
var source_SmvypXs = jQuery("#jform_source").val();
|
||||
SmvypXs(source_SmvypXs);
|
||||
|
||||
var source_UeQYbvA = jQuery("#jform_source").val();
|
||||
UeQYbvA(source_UeQYbvA);
|
||||
var source_ENosobD = jQuery("#jform_source").val();
|
||||
ENosobD(source_ENosobD);
|
||||
|
||||
var link_type_CrWJiuj = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
CrWJiuj(link_type_CrWJiuj);
|
||||
var link_type_aYIZzei = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
aYIZzei(link_type_aYIZzei);
|
||||
|
||||
var link_type_JxwVegn = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
JxwVegn(link_type_JxwVegn);
|
||||
var link_type_oRQiMgE = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
oRQiMgE(link_type_oRQiMgE);
|
||||
});
|
||||
|
||||
// the qnBNDdg function
|
||||
function qnBNDdg(source_qnBNDdg)
|
||||
// the dOVAunr function
|
||||
function dOVAunr(source_dOVAunr)
|
||||
{
|
||||
if (isSet(source_qnBNDdg) && source_qnBNDdg.constructor !== Array)
|
||||
if (isSet(source_dOVAunr) && source_dOVAunr.constructor !== Array)
|
||||
{
|
||||
var temp_qnBNDdg = source_qnBNDdg;
|
||||
var source_qnBNDdg = [];
|
||||
source_qnBNDdg.push(temp_qnBNDdg);
|
||||
var temp_dOVAunr = source_dOVAunr;
|
||||
var source_dOVAunr = [];
|
||||
source_dOVAunr.push(temp_dOVAunr);
|
||||
}
|
||||
else if (!isSet(source_qnBNDdg))
|
||||
else if (!isSet(source_dOVAunr))
|
||||
{
|
||||
var source_qnBNDdg = [];
|
||||
var source_dOVAunr = [];
|
||||
}
|
||||
var source = source_qnBNDdg.some(source_qnBNDdg_SomeFunc);
|
||||
var source = source_dOVAunr.some(source_dOVAunr_SomeFunc);
|
||||
|
||||
|
||||
// [8285] set this function logic
|
||||
if (source)
|
||||
{
|
||||
jQuery('#jform_build').closest('.control-group').show();
|
||||
if (jform_qnBNDdgYsI_required)
|
||||
if (jform_dOVAunrpjk_required)
|
||||
{
|
||||
updateFieldRequired('build',0);
|
||||
jQuery('#jform_build').prop('required','required');
|
||||
jQuery('#jform_build').attr('aria-required',true);
|
||||
jQuery('#jform_build').addClass('required');
|
||||
jform_qnBNDdgYsI_required = false;
|
||||
jform_dOVAunrpjk_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_build').closest('.control-group').hide();
|
||||
if (!jform_qnBNDdgYsI_required)
|
||||
if (!jform_dOVAunrpjk_required)
|
||||
{
|
||||
updateFieldRequired('build',1);
|
||||
jQuery('#jform_build').removeAttr('required');
|
||||
jQuery('#jform_build').removeAttr('aria-required');
|
||||
jQuery('#jform_build').removeClass('required');
|
||||
jform_qnBNDdgYsI_required = true;
|
||||
jform_dOVAunrpjk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the qnBNDdg Some function
|
||||
function source_qnBNDdg_SomeFunc(source_qnBNDdg)
|
||||
// the dOVAunr Some function
|
||||
function source_dOVAunr_SomeFunc(source_dOVAunr)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (source_qnBNDdg == 2)
|
||||
if (source_dOVAunr == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the CWzLshf function
|
||||
function CWzLshf(source_CWzLshf,build_CWzLshf)
|
||||
// the mDbfJMD function
|
||||
function mDbfJMD(source_mDbfJMD,build_mDbfJMD)
|
||||
{
|
||||
if (isSet(source_CWzLshf) && source_CWzLshf.constructor !== Array)
|
||||
if (isSet(source_mDbfJMD) && source_mDbfJMD.constructor !== Array)
|
||||
{
|
||||
var temp_CWzLshf = source_CWzLshf;
|
||||
var source_CWzLshf = [];
|
||||
source_CWzLshf.push(temp_CWzLshf);
|
||||
var temp_mDbfJMD = source_mDbfJMD;
|
||||
var source_mDbfJMD = [];
|
||||
source_mDbfJMD.push(temp_mDbfJMD);
|
||||
}
|
||||
else if (!isSet(source_CWzLshf))
|
||||
else if (!isSet(source_mDbfJMD))
|
||||
{
|
||||
var source_CWzLshf = [];
|
||||
var source_mDbfJMD = [];
|
||||
}
|
||||
var source = source_CWzLshf.some(source_CWzLshf_SomeFunc);
|
||||
var source = source_mDbfJMD.some(source_mDbfJMD_SomeFunc);
|
||||
|
||||
if (isSet(build_CWzLshf) && build_CWzLshf.constructor !== Array)
|
||||
if (isSet(build_mDbfJMD) && build_mDbfJMD.constructor !== Array)
|
||||
{
|
||||
var temp_CWzLshf = build_CWzLshf;
|
||||
var build_CWzLshf = [];
|
||||
build_CWzLshf.push(temp_CWzLshf);
|
||||
var temp_mDbfJMD = build_mDbfJMD;
|
||||
var build_mDbfJMD = [];
|
||||
build_mDbfJMD.push(temp_mDbfJMD);
|
||||
}
|
||||
else if (!isSet(build_CWzLshf))
|
||||
else if (!isSet(build_mDbfJMD))
|
||||
{
|
||||
var build_CWzLshf = [];
|
||||
var build_mDbfJMD = [];
|
||||
}
|
||||
var build = build_CWzLshf.some(build_CWzLshf_SomeFunc);
|
||||
var build = build_mDbfJMD.some(build_mDbfJMD_SomeFunc);
|
||||
|
||||
|
||||
// [8285] set this function logic
|
||||
@ -154,67 +154,67 @@ function CWzLshf(source_CWzLshf,build_CWzLshf)
|
||||
}
|
||||
}
|
||||
|
||||
// the CWzLshf Some function
|
||||
function source_CWzLshf_SomeFunc(source_CWzLshf)
|
||||
// the mDbfJMD Some function
|
||||
function source_mDbfJMD_SomeFunc(source_mDbfJMD)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (source_CWzLshf == 2)
|
||||
if (source_mDbfJMD == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the CWzLshf Some function
|
||||
function build_CWzLshf_SomeFunc(build_CWzLshf)
|
||||
// the mDbfJMD Some function
|
||||
function build_mDbfJMD_SomeFunc(build_mDbfJMD)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (build_CWzLshf == 2)
|
||||
if (build_mDbfJMD == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the tIcVEBH function
|
||||
function tIcVEBH(source_tIcVEBH,build_tIcVEBH)
|
||||
// the iqNHLdU function
|
||||
function iqNHLdU(source_iqNHLdU,build_iqNHLdU)
|
||||
{
|
||||
if (isSet(source_tIcVEBH) && source_tIcVEBH.constructor !== Array)
|
||||
if (isSet(source_iqNHLdU) && source_iqNHLdU.constructor !== Array)
|
||||
{
|
||||
var temp_tIcVEBH = source_tIcVEBH;
|
||||
var source_tIcVEBH = [];
|
||||
source_tIcVEBH.push(temp_tIcVEBH);
|
||||
var temp_iqNHLdU = source_iqNHLdU;
|
||||
var source_iqNHLdU = [];
|
||||
source_iqNHLdU.push(temp_iqNHLdU);
|
||||
}
|
||||
else if (!isSet(source_tIcVEBH))
|
||||
else if (!isSet(source_iqNHLdU))
|
||||
{
|
||||
var source_tIcVEBH = [];
|
||||
var source_iqNHLdU = [];
|
||||
}
|
||||
var source = source_tIcVEBH.some(source_tIcVEBH_SomeFunc);
|
||||
var source = source_iqNHLdU.some(source_iqNHLdU_SomeFunc);
|
||||
|
||||
if (isSet(build_tIcVEBH) && build_tIcVEBH.constructor !== Array)
|
||||
if (isSet(build_iqNHLdU) && build_iqNHLdU.constructor !== Array)
|
||||
{
|
||||
var temp_tIcVEBH = build_tIcVEBH;
|
||||
var build_tIcVEBH = [];
|
||||
build_tIcVEBH.push(temp_tIcVEBH);
|
||||
var temp_iqNHLdU = build_iqNHLdU;
|
||||
var build_iqNHLdU = [];
|
||||
build_iqNHLdU.push(temp_iqNHLdU);
|
||||
}
|
||||
else if (!isSet(build_tIcVEBH))
|
||||
else if (!isSet(build_iqNHLdU))
|
||||
{
|
||||
var build_tIcVEBH = [];
|
||||
var build_iqNHLdU = [];
|
||||
}
|
||||
var build = build_tIcVEBH.some(build_tIcVEBH_SomeFunc);
|
||||
var build = build_iqNHLdU.some(build_iqNHLdU_SomeFunc);
|
||||
|
||||
|
||||
// [8285] set this function logic
|
||||
if (source && build)
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').show();
|
||||
if (jform_tIcVEBHbWb_required)
|
||||
if (jform_iqNHLdUKVO_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_tIcVEBHbWb_required = false;
|
||||
jform_iqNHLdUKVO_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').show();
|
||||
@ -222,79 +222,79 @@ function tIcVEBH(source_tIcVEBH,build_tIcVEBH)
|
||||
else
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').hide();
|
||||
if (!jform_tIcVEBHbWb_required)
|
||||
if (!jform_iqNHLdUKVO_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_tIcVEBHbWb_required = true;
|
||||
jform_iqNHLdUKVO_required = true;
|
||||
}
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the tIcVEBH Some function
|
||||
function source_tIcVEBH_SomeFunc(source_tIcVEBH)
|
||||
// the iqNHLdU Some function
|
||||
function source_iqNHLdU_SomeFunc(source_iqNHLdU)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (source_tIcVEBH == 2)
|
||||
if (source_iqNHLdU == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the tIcVEBH Some function
|
||||
function build_tIcVEBH_SomeFunc(build_tIcVEBH)
|
||||
// the iqNHLdU Some function
|
||||
function build_iqNHLdU_SomeFunc(build_iqNHLdU)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (build_tIcVEBH == 1)
|
||||
if (build_iqNHLdU == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the KtgSzzA function
|
||||
function KtgSzzA(build_KtgSzzA,source_KtgSzzA)
|
||||
// the kkZAuiN function
|
||||
function kkZAuiN(build_kkZAuiN,source_kkZAuiN)
|
||||
{
|
||||
if (isSet(build_KtgSzzA) && build_KtgSzzA.constructor !== Array)
|
||||
if (isSet(build_kkZAuiN) && build_kkZAuiN.constructor !== Array)
|
||||
{
|
||||
var temp_KtgSzzA = build_KtgSzzA;
|
||||
var build_KtgSzzA = [];
|
||||
build_KtgSzzA.push(temp_KtgSzzA);
|
||||
var temp_kkZAuiN = build_kkZAuiN;
|
||||
var build_kkZAuiN = [];
|
||||
build_kkZAuiN.push(temp_kkZAuiN);
|
||||
}
|
||||
else if (!isSet(build_KtgSzzA))
|
||||
else if (!isSet(build_kkZAuiN))
|
||||
{
|
||||
var build_KtgSzzA = [];
|
||||
var build_kkZAuiN = [];
|
||||
}
|
||||
var build = build_KtgSzzA.some(build_KtgSzzA_SomeFunc);
|
||||
var build = build_kkZAuiN.some(build_kkZAuiN_SomeFunc);
|
||||
|
||||
if (isSet(source_KtgSzzA) && source_KtgSzzA.constructor !== Array)
|
||||
if (isSet(source_kkZAuiN) && source_kkZAuiN.constructor !== Array)
|
||||
{
|
||||
var temp_KtgSzzA = source_KtgSzzA;
|
||||
var source_KtgSzzA = [];
|
||||
source_KtgSzzA.push(temp_KtgSzzA);
|
||||
var temp_kkZAuiN = source_kkZAuiN;
|
||||
var source_kkZAuiN = [];
|
||||
source_kkZAuiN.push(temp_kkZAuiN);
|
||||
}
|
||||
else if (!isSet(source_KtgSzzA))
|
||||
else if (!isSet(source_kkZAuiN))
|
||||
{
|
||||
var source_KtgSzzA = [];
|
||||
var source_kkZAuiN = [];
|
||||
}
|
||||
var source = source_KtgSzzA.some(source_KtgSzzA_SomeFunc);
|
||||
var source = source_kkZAuiN.some(source_kkZAuiN_SomeFunc);
|
||||
|
||||
|
||||
// [8285] set this function logic
|
||||
if (build && source)
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').show();
|
||||
if (jform_KtgSzzAboh_required)
|
||||
if (jform_kkZAuiNOLQ_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_KtgSzzAboh_required = false;
|
||||
jform_kkZAuiNOLQ_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').show();
|
||||
@ -302,155 +302,155 @@ function KtgSzzA(build_KtgSzzA,source_KtgSzzA)
|
||||
else
|
||||
{
|
||||
jQuery('#jform_manual_files').closest('.control-group').hide();
|
||||
if (!jform_KtgSzzAboh_required)
|
||||
if (!jform_kkZAuiNOLQ_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_KtgSzzAboh_required = true;
|
||||
jform_kkZAuiNOLQ_required = true;
|
||||
}
|
||||
jQuery('.note_manual_dropbox').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the KtgSzzA Some function
|
||||
function build_KtgSzzA_SomeFunc(build_KtgSzzA)
|
||||
// the kkZAuiN Some function
|
||||
function build_kkZAuiN_SomeFunc(build_kkZAuiN)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (build_KtgSzzA == 1)
|
||||
if (build_kkZAuiN == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the KtgSzzA Some function
|
||||
function source_KtgSzzA_SomeFunc(source_KtgSzzA)
|
||||
// the kkZAuiN Some function
|
||||
function source_kkZAuiN_SomeFunc(source_kkZAuiN)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (source_KtgSzzA == 2)
|
||||
if (source_kkZAuiN == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the MEmRboe function
|
||||
function MEmRboe(source_MEmRboe)
|
||||
// the SmvypXs function
|
||||
function SmvypXs(source_SmvypXs)
|
||||
{
|
||||
if (isSet(source_MEmRboe) && source_MEmRboe.constructor !== Array)
|
||||
if (isSet(source_SmvypXs) && source_SmvypXs.constructor !== Array)
|
||||
{
|
||||
var temp_MEmRboe = source_MEmRboe;
|
||||
var source_MEmRboe = [];
|
||||
source_MEmRboe.push(temp_MEmRboe);
|
||||
var temp_SmvypXs = source_SmvypXs;
|
||||
var source_SmvypXs = [];
|
||||
source_SmvypXs.push(temp_SmvypXs);
|
||||
}
|
||||
else if (!isSet(source_MEmRboe))
|
||||
else if (!isSet(source_SmvypXs))
|
||||
{
|
||||
var source_MEmRboe = [];
|
||||
var source_SmvypXs = [];
|
||||
}
|
||||
var source = source_MEmRboe.some(source_MEmRboe_SomeFunc);
|
||||
var source = source_SmvypXs.some(source_SmvypXs_SomeFunc);
|
||||
|
||||
|
||||
// [8285] set this function logic
|
||||
if (source)
|
||||
{
|
||||
jQuery('#jform_local_files').closest('.control-group').show();
|
||||
if (jform_MEmRboexQl_required)
|
||||
if (jform_SmvypXshHY_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_MEmRboexQl_required = false;
|
||||
jform_SmvypXshHY_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_local_files').closest('.control-group').hide();
|
||||
if (!jform_MEmRboexQl_required)
|
||||
if (!jform_SmvypXshHY_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_MEmRboexQl_required = true;
|
||||
jform_SmvypXshHY_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the MEmRboe Some function
|
||||
function source_MEmRboe_SomeFunc(source_MEmRboe)
|
||||
// the SmvypXs Some function
|
||||
function source_SmvypXs_SomeFunc(source_SmvypXs)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (source_MEmRboe == 1)
|
||||
if (source_SmvypXs == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the UeQYbvA function
|
||||
function UeQYbvA(source_UeQYbvA)
|
||||
// the ENosobD function
|
||||
function ENosobD(source_ENosobD)
|
||||
{
|
||||
if (isSet(source_UeQYbvA) && source_UeQYbvA.constructor !== Array)
|
||||
if (isSet(source_ENosobD) && source_ENosobD.constructor !== Array)
|
||||
{
|
||||
var temp_UeQYbvA = source_UeQYbvA;
|
||||
var source_UeQYbvA = [];
|
||||
source_UeQYbvA.push(temp_UeQYbvA);
|
||||
var temp_ENosobD = source_ENosobD;
|
||||
var source_ENosobD = [];
|
||||
source_ENosobD.push(temp_ENosobD);
|
||||
}
|
||||
else if (!isSet(source_UeQYbvA))
|
||||
else if (!isSet(source_ENosobD))
|
||||
{
|
||||
var source_UeQYbvA = [];
|
||||
var source_ENosobD = [];
|
||||
}
|
||||
var source = source_UeQYbvA.some(source_UeQYbvA_SomeFunc);
|
||||
var source = source_ENosobD.some(source_ENosobD_SomeFunc);
|
||||
|
||||
|
||||
// [8285] set this function logic
|
||||
if (source)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
if (jform_UeQYbvAIDD_required)
|
||||
if (jform_ENosobDoOr_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_UeQYbvAIDD_required = false;
|
||||
jform_ENosobDoOr_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
if (!jform_UeQYbvAIDD_required)
|
||||
if (!jform_ENosobDoOr_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_UeQYbvAIDD_required = true;
|
||||
jform_ENosobDoOr_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the UeQYbvA Some function
|
||||
function source_UeQYbvA_SomeFunc(source_UeQYbvA)
|
||||
// the ENosobD Some function
|
||||
function source_ENosobD_SomeFunc(source_ENosobD)
|
||||
{
|
||||
// [8272] set the function logic
|
||||
if (source_UeQYbvA == 3)
|
||||
if (source_ENosobD == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the CrWJiuj function
|
||||
function CrWJiuj(link_type_CrWJiuj)
|
||||
// the aYIZzei function
|
||||
function aYIZzei(link_type_aYIZzei)
|
||||
{
|
||||
// [8307] set the function logic
|
||||
if (link_type_CrWJiuj == 2)
|
||||
if (link_type_aYIZzei == 2)
|
||||
{
|
||||
jQuery('.note_link_directed').closest('.control-group').show();
|
||||
}
|
||||
@ -460,11 +460,11 @@ function CrWJiuj(link_type_CrWJiuj)
|
||||
}
|
||||
}
|
||||
|
||||
// the JxwVegn function
|
||||
function JxwVegn(link_type_JxwVegn)
|
||||
// the oRQiMgE function
|
||||
function oRQiMgE(link_type_oRQiMgE)
|
||||
{
|
||||
// [8307] set the function logic
|
||||
if (link_type_JxwVegn == 1)
|
||||
if (link_type_oRQiMgE == 1)
|
||||
{
|
||||
jQuery('.note_link_encrypted').closest('.control-group').show();
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ class SermondistributorModelPreacher extends JModelAdmin
|
||||
$item->tags->getTagIds($item->id, 'com_sermondistributor.preacher');
|
||||
}
|
||||
}
|
||||
$this->preacherkzna = $item->id;
|
||||
$this->preachercqfb = $item->id;
|
||||
|
||||
return $item;
|
||||
}
|
||||
@ -111,7 +111,7 @@ class SermondistributorModelPreacher extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getBzfsermons()
|
||||
public function getNnrsermons()
|
||||
{
|
||||
// [7244] Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -135,15 +135,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') . ')');
|
||||
|
||||
// [7272] Filter by preacherkzna global.
|
||||
$preacherkzna = $this->preacherkzna;
|
||||
if (is_numeric($preacherkzna ))
|
||||
// [7272] Filter by preachercqfb global.
|
||||
$preachercqfb = $this->preachercqfb;
|
||||
if (is_numeric($preachercqfb ))
|
||||
{
|
||||
$query->where('a.preacher = ' . (int) $preacherkzna );
|
||||
$query->where('a.preacher = ' . (int) $preachercqfb );
|
||||
}
|
||||
elseif (is_string($preacherkzna))
|
||||
elseif (is_string($preachercqfb))
|
||||
{
|
||||
$query->where('a.preacher = ' . $db->quote($preacherkzna));
|
||||
$query->where('a.preacher = ' . $db->quote($preachercqfb));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -198,9 +198,9 @@ class SermondistributorModelPreacher extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// [11187] convert link_type
|
||||
$item->link_type = $this->selectionTranslationBzfsermons($item->link_type, 'link_type');
|
||||
$item->link_type = $this->selectionTranslationNnrsermons($item->link_type, 'link_type');
|
||||
// [11187] convert source
|
||||
$item->source = $this->selectionTranslationBzfsermons($item->source, 'source');
|
||||
$item->source = $this->selectionTranslationNnrsermons($item->source, 'source');
|
||||
}
|
||||
}
|
||||
|
||||
@ -214,7 +214,7 @@ class SermondistributorModelPreacher extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationBzfsermons($value,$name)
|
||||
public function selectionTranslationNnrsermons($value,$name)
|
||||
{
|
||||
// [11213] Array of link_type language strings
|
||||
if ($name == 'link_type')
|
||||
|
@ -101,7 +101,7 @@ class SermondistributorModelSeries extends JModelAdmin
|
||||
$item->tags->getTagIds($item->id, 'com_sermondistributor.series');
|
||||
}
|
||||
}
|
||||
$this->seriestwqr = $item->id;
|
||||
$this->seriesxzcp = $item->id;
|
||||
|
||||
return $item;
|
||||
}
|
||||
@ -111,7 +111,7 @@ class SermondistributorModelSeries extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getBxtsermons()
|
||||
public function getRbksermons()
|
||||
{
|
||||
// [7244] Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -135,15 +135,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') . ')');
|
||||
|
||||
// [7272] Filter by seriestwqr global.
|
||||
$seriestwqr = $this->seriestwqr;
|
||||
if (is_numeric($seriestwqr ))
|
||||
// [7272] Filter by seriesxzcp global.
|
||||
$seriesxzcp = $this->seriesxzcp;
|
||||
if (is_numeric($seriesxzcp ))
|
||||
{
|
||||
$query->where('a.series = ' . (int) $seriestwqr );
|
||||
$query->where('a.series = ' . (int) $seriesxzcp );
|
||||
}
|
||||
elseif (is_string($seriestwqr))
|
||||
elseif (is_string($seriesxzcp))
|
||||
{
|
||||
$query->where('a.series = ' . $db->quote($seriestwqr));
|
||||
$query->where('a.series = ' . $db->quote($seriesxzcp));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -198,9 +198,9 @@ class SermondistributorModelSeries extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// [11187] convert link_type
|
||||
$item->link_type = $this->selectionTranslationBxtsermons($item->link_type, 'link_type');
|
||||
$item->link_type = $this->selectionTranslationRbksermons($item->link_type, 'link_type');
|
||||
// [11187] convert source
|
||||
$item->source = $this->selectionTranslationBxtsermons($item->source, 'source');
|
||||
$item->source = $this->selectionTranslationRbksermons($item->source, 'source');
|
||||
}
|
||||
}
|
||||
|
||||
@ -214,7 +214,7 @@ class SermondistributorModelSeries extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationBxtsermons($value,$name)
|
||||
public function selectionTranslationRbksermons($value,$name)
|
||||
{
|
||||
// [11213] Array of link_type language strings
|
||||
if ($name == 'link_type')
|
||||
|
@ -113,7 +113,7 @@ class SermondistributorModelSermon extends JModelAdmin
|
||||
$item->tags->getTagIds($item->id, 'com_sermondistributor.sermon');
|
||||
}
|
||||
}
|
||||
$this->sermonvyei = $item->id;
|
||||
$this->sermonjwig = $item->id;
|
||||
|
||||
return $item;
|
||||
}
|
||||
@ -123,7 +123,7 @@ class SermondistributorModelSermon extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getUhxstastics()
|
||||
public function getDvastastics()
|
||||
{
|
||||
// [7244] Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -149,15 +149,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') . ')');
|
||||
|
||||
// [7272] Filter by sermonvyei global.
|
||||
$sermonvyei = $this->sermonvyei;
|
||||
if (is_numeric($sermonvyei ))
|
||||
// [7272] Filter by sermonjwig global.
|
||||
$sermonjwig = $this->sermonjwig;
|
||||
if (is_numeric($sermonjwig ))
|
||||
{
|
||||
$query->where('a.sermon = ' . (int) $sermonvyei );
|
||||
$query->where('a.sermon = ' . (int) $sermonjwig );
|
||||
}
|
||||
elseif (is_string($sermonvyei))
|
||||
elseif (is_string($sermonjwig))
|
||||
{
|
||||
$query->where('a.sermon = ' . $db->quote($sermonvyei));
|
||||
$query->where('a.sermon = ' . $db->quote($sermonjwig));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -100,93 +100,93 @@ $componentParams = JComponentHelper::getParams('com_sermondistributor');
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_location listeners for location_qusgtuA function
|
||||
// #jform_location listeners for location_plVMLqN function
|
||||
jQuery('#jform_location').on('keyup',function()
|
||||
{
|
||||
var location_qusgtuA = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
qusgtuA(location_qusgtuA);
|
||||
var location_plVMLqN = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
plVMLqN(location_plVMLqN);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var location_qusgtuA = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
qusgtuA(location_qusgtuA);
|
||||
var location_plVMLqN = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
plVMLqN(location_plVMLqN);
|
||||
|
||||
});
|
||||
|
||||
// #jform_location listeners for location_acgwGxu function
|
||||
// #jform_location listeners for location_gCEFCDg function
|
||||
jQuery('#jform_location').on('keyup',function()
|
||||
{
|
||||
var location_acgwGxu = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
acgwGxu(location_acgwGxu);
|
||||
var location_gCEFCDg = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
gCEFCDg(location_gCEFCDg);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var location_acgwGxu = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
acgwGxu(location_acgwGxu);
|
||||
var location_gCEFCDg = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
gCEFCDg(location_gCEFCDg);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_tEOArjd function
|
||||
// #jform_type listeners for type_BfkHtbr function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_tEOArjd = jQuery("#jform_type").val();
|
||||
tEOArjd(type_tEOArjd);
|
||||
var type_BfkHtbr = jQuery("#jform_type").val();
|
||||
BfkHtbr(type_BfkHtbr);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_tEOArjd = jQuery("#jform_type").val();
|
||||
tEOArjd(type_tEOArjd);
|
||||
var type_BfkHtbr = jQuery("#jform_type").val();
|
||||
BfkHtbr(type_BfkHtbr);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_risVnXl function
|
||||
// #jform_type listeners for type_jQYQkGY function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_risVnXl = jQuery("#jform_type").val();
|
||||
risVnXl(type_risVnXl);
|
||||
var type_jQYQkGY = jQuery("#jform_type").val();
|
||||
jQYQkGY(type_jQYQkGY);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_risVnXl = jQuery("#jform_type").val();
|
||||
risVnXl(type_risVnXl);
|
||||
var type_jQYQkGY = jQuery("#jform_type").val();
|
||||
jQYQkGY(type_jQYQkGY);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_FQgiSip function
|
||||
// #jform_type listeners for type_mCjbCJG function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_FQgiSip = jQuery("#jform_type").val();
|
||||
FQgiSip(type_FQgiSip);
|
||||
var type_mCjbCJG = jQuery("#jform_type").val();
|
||||
mCjbCJG(type_mCjbCJG);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_FQgiSip = jQuery("#jform_type").val();
|
||||
FQgiSip(type_FQgiSip);
|
||||
var type_mCjbCJG = jQuery("#jform_type").val();
|
||||
mCjbCJG(type_mCjbCJG);
|
||||
|
||||
});
|
||||
|
||||
// #jform_target listeners for target_OlgATsK function
|
||||
// #jform_target listeners for target_nyhEiHG function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var target_OlgATsK = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
OlgATsK(target_OlgATsK);
|
||||
var target_nyhEiHG = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
nyhEiHG(target_nyhEiHG);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_OlgATsK = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
OlgATsK(target_OlgATsK);
|
||||
var target_nyhEiHG = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
nyhEiHG(target_nyhEiHG);
|
||||
|
||||
});
|
||||
|
||||
|
@ -71,7 +71,7 @@ class SermondistributorViewPreacher extends JViewLegacy
|
||||
}
|
||||
|
||||
// [6778] Get Linked view data
|
||||
$this->bzfsermons = $this->get('Bzfsermons');
|
||||
$this->nnrsermons = $this->get('Nnrsermons');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -71,7 +71,7 @@ class SermondistributorViewSeries extends JViewLegacy
|
||||
}
|
||||
|
||||
// [6778] Get Linked view data
|
||||
$this->bxtsermons = $this->get('Bxtsermons');
|
||||
$this->rbksermons = $this->get('Rbksermons');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -120,180 +120,180 @@ $componentParams = JComponentHelper::getParams('com_sermondistributor');
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_source listeners for source_qnBNDdg function
|
||||
// #jform_source listeners for source_dOVAunr function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_qnBNDdg = jQuery("#jform_source").val();
|
||||
qnBNDdg(source_qnBNDdg);
|
||||
var source_dOVAunr = jQuery("#jform_source").val();
|
||||
dOVAunr(source_dOVAunr);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_qnBNDdg = jQuery("#jform_source").val();
|
||||
qnBNDdg(source_qnBNDdg);
|
||||
var source_dOVAunr = jQuery("#jform_source").val();
|
||||
dOVAunr(source_dOVAunr);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_CWzLshf function
|
||||
// #jform_source listeners for source_mDbfJMD function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_CWzLshf = jQuery("#jform_source").val();
|
||||
var build_CWzLshf = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
CWzLshf(source_CWzLshf,build_CWzLshf);
|
||||
var source_mDbfJMD = jQuery("#jform_source").val();
|
||||
var build_mDbfJMD = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
mDbfJMD(source_mDbfJMD,build_mDbfJMD);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_CWzLshf = jQuery("#jform_source").val();
|
||||
var build_CWzLshf = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
CWzLshf(source_CWzLshf,build_CWzLshf);
|
||||
var source_mDbfJMD = jQuery("#jform_source").val();
|
||||
var build_mDbfJMD = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
mDbfJMD(source_mDbfJMD,build_mDbfJMD);
|
||||
|
||||
});
|
||||
|
||||
// #jform_build listeners for build_CWzLshf function
|
||||
// #jform_build listeners for build_mDbfJMD function
|
||||
jQuery('#jform_build').on('keyup',function()
|
||||
{
|
||||
var source_CWzLshf = jQuery("#jform_source").val();
|
||||
var build_CWzLshf = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
CWzLshf(source_CWzLshf,build_CWzLshf);
|
||||
var source_mDbfJMD = jQuery("#jform_source").val();
|
||||
var build_mDbfJMD = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
mDbfJMD(source_mDbfJMD,build_mDbfJMD);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_build',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_CWzLshf = jQuery("#jform_source").val();
|
||||
var build_CWzLshf = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
CWzLshf(source_CWzLshf,build_CWzLshf);
|
||||
var source_mDbfJMD = jQuery("#jform_source").val();
|
||||
var build_mDbfJMD = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
mDbfJMD(source_mDbfJMD,build_mDbfJMD);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_tIcVEBH function
|
||||
// #jform_source listeners for source_iqNHLdU function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_tIcVEBH = jQuery("#jform_source").val();
|
||||
var build_tIcVEBH = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
tIcVEBH(source_tIcVEBH,build_tIcVEBH);
|
||||
var source_iqNHLdU = jQuery("#jform_source").val();
|
||||
var build_iqNHLdU = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
iqNHLdU(source_iqNHLdU,build_iqNHLdU);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_tIcVEBH = jQuery("#jform_source").val();
|
||||
var build_tIcVEBH = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
tIcVEBH(source_tIcVEBH,build_tIcVEBH);
|
||||
var source_iqNHLdU = jQuery("#jform_source").val();
|
||||
var build_iqNHLdU = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
iqNHLdU(source_iqNHLdU,build_iqNHLdU);
|
||||
|
||||
});
|
||||
|
||||
// #jform_build listeners for build_tIcVEBH function
|
||||
// #jform_build listeners for build_iqNHLdU function
|
||||
jQuery('#jform_build').on('keyup',function()
|
||||
{
|
||||
var source_tIcVEBH = jQuery("#jform_source").val();
|
||||
var build_tIcVEBH = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
tIcVEBH(source_tIcVEBH,build_tIcVEBH);
|
||||
var source_iqNHLdU = jQuery("#jform_source").val();
|
||||
var build_iqNHLdU = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
iqNHLdU(source_iqNHLdU,build_iqNHLdU);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_build',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_tIcVEBH = jQuery("#jform_source").val();
|
||||
var build_tIcVEBH = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
tIcVEBH(source_tIcVEBH,build_tIcVEBH);
|
||||
var source_iqNHLdU = jQuery("#jform_source").val();
|
||||
var build_iqNHLdU = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
iqNHLdU(source_iqNHLdU,build_iqNHLdU);
|
||||
|
||||
});
|
||||
|
||||
// #jform_build listeners for build_KtgSzzA function
|
||||
// #jform_build listeners for build_kkZAuiN function
|
||||
jQuery('#jform_build').on('keyup',function()
|
||||
{
|
||||
var build_KtgSzzA = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_KtgSzzA = jQuery("#jform_source").val();
|
||||
KtgSzzA(build_KtgSzzA,source_KtgSzzA);
|
||||
var build_kkZAuiN = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_kkZAuiN = jQuery("#jform_source").val();
|
||||
kkZAuiN(build_kkZAuiN,source_kkZAuiN);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_build',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var build_KtgSzzA = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_KtgSzzA = jQuery("#jform_source").val();
|
||||
KtgSzzA(build_KtgSzzA,source_KtgSzzA);
|
||||
var build_kkZAuiN = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_kkZAuiN = jQuery("#jform_source").val();
|
||||
kkZAuiN(build_kkZAuiN,source_kkZAuiN);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_KtgSzzA function
|
||||
// #jform_source listeners for source_kkZAuiN function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var build_KtgSzzA = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_KtgSzzA = jQuery("#jform_source").val();
|
||||
KtgSzzA(build_KtgSzzA,source_KtgSzzA);
|
||||
var build_kkZAuiN = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_kkZAuiN = jQuery("#jform_source").val();
|
||||
kkZAuiN(build_kkZAuiN,source_kkZAuiN);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var build_KtgSzzA = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_KtgSzzA = jQuery("#jform_source").val();
|
||||
KtgSzzA(build_KtgSzzA,source_KtgSzzA);
|
||||
var build_kkZAuiN = jQuery("#jform_build input[type='radio']:checked").val();
|
||||
var source_kkZAuiN = jQuery("#jform_source").val();
|
||||
kkZAuiN(build_kkZAuiN,source_kkZAuiN);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_MEmRboe function
|
||||
// #jform_source listeners for source_SmvypXs function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_MEmRboe = jQuery("#jform_source").val();
|
||||
MEmRboe(source_MEmRboe);
|
||||
var source_SmvypXs = jQuery("#jform_source").val();
|
||||
SmvypXs(source_SmvypXs);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_MEmRboe = jQuery("#jform_source").val();
|
||||
MEmRboe(source_MEmRboe);
|
||||
var source_SmvypXs = jQuery("#jform_source").val();
|
||||
SmvypXs(source_SmvypXs);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_UeQYbvA function
|
||||
// #jform_source listeners for source_ENosobD function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_UeQYbvA = jQuery("#jform_source").val();
|
||||
UeQYbvA(source_UeQYbvA);
|
||||
var source_ENosobD = jQuery("#jform_source").val();
|
||||
ENosobD(source_ENosobD);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_UeQYbvA = jQuery("#jform_source").val();
|
||||
UeQYbvA(source_UeQYbvA);
|
||||
var source_ENosobD = jQuery("#jform_source").val();
|
||||
ENosobD(source_ENosobD);
|
||||
|
||||
});
|
||||
|
||||
// #jform_link_type listeners for link_type_CrWJiuj function
|
||||
// #jform_link_type listeners for link_type_aYIZzei function
|
||||
jQuery('#jform_link_type').on('keyup',function()
|
||||
{
|
||||
var link_type_CrWJiuj = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
CrWJiuj(link_type_CrWJiuj);
|
||||
var link_type_aYIZzei = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
aYIZzei(link_type_aYIZzei);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_link_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var link_type_CrWJiuj = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
CrWJiuj(link_type_CrWJiuj);
|
||||
var link_type_aYIZzei = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
aYIZzei(link_type_aYIZzei);
|
||||
|
||||
});
|
||||
|
||||
// #jform_link_type listeners for link_type_JxwVegn function
|
||||
// #jform_link_type listeners for link_type_oRQiMgE function
|
||||
jQuery('#jform_link_type').on('keyup',function()
|
||||
{
|
||||
var link_type_JxwVegn = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
JxwVegn(link_type_JxwVegn);
|
||||
var link_type_oRQiMgE = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
oRQiMgE(link_type_oRQiMgE);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_link_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var link_type_JxwVegn = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
JxwVegn(link_type_JxwVegn);
|
||||
var link_type_oRQiMgE = jQuery("#jform_link_type input[type='radio']:checked").val();
|
||||
oRQiMgE(link_type_oRQiMgE);
|
||||
|
||||
});
|
||||
|
||||
|
@ -71,7 +71,7 @@ class SermondistributorViewSermon extends JViewLegacy
|
||||
}
|
||||
|
||||
// [6778] Get Linked view data
|
||||
$this->uhxstastics = $this->get('Uhxstastics');
|
||||
$this->dvastastics = $this->get('Dvastastics');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
Loading…
Reference in New Issue
Block a user