All other changes are only random variable name and date changes (due to automation)

This commit is contained in:
Llewellyn van der Merwe 2016-02-21 02:07:31 +02:00
parent 9637e3b3e7
commit 5e7fa8aa92
15 changed files with 372 additions and 372 deletions

View File

@ -28,7 +28,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->jhasermons; $items = $displayData->akssermons;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit"; $edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit";

View File

@ -28,7 +28,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->vmlsermons; $items = $displayData->vcvsermons;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit"; $edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit";

View File

@ -28,7 +28,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->uxwstastics; $items = $displayData->izistastics;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_sermondistributor&view=statistics&task=statistic.edit"; $edit = "index.php?option=com_sermondistributor&view=statistics&task=statistic.edit";

View File

@ -23,38 +23,38 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_yTuwfuDjcU_required = false; jform_LRbFdTDVsa_required = false;
jform_lXSBThsfQv_required = false; jform_SVZGybebRw_required = false;
jform_Qynvtauxsf_required = false; jform_ULuYNQgQpE_required = false;
jform_wPaXjizLsB_required = false; jform_HWyJIuCeuW_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var location_lEjKOMF = jQuery("#jform_location input[type='radio']:checked").val(); var location_KPuQSWe = jQuery("#jform_location input[type='radio']:checked").val();
lEjKOMF(location_lEjKOMF); KPuQSWe(location_KPuQSWe);
var location_OQSkzQZ = jQuery("#jform_location input[type='radio']:checked").val(); var location_exhczAS = jQuery("#jform_location input[type='radio']:checked").val();
OQSkzQZ(location_OQSkzQZ); exhczAS(location_exhczAS);
var type_yTuwfuD = jQuery("#jform_type").val(); var type_LRbFdTD = jQuery("#jform_type").val();
yTuwfuD(type_yTuwfuD); LRbFdTD(type_LRbFdTD);
var type_lXSBThs = jQuery("#jform_type").val(); var type_SVZGybe = jQuery("#jform_type").val();
lXSBThs(type_lXSBThs); SVZGybe(type_SVZGybe);
var type_Qynvtau = jQuery("#jform_type").val(); var type_ULuYNQg = jQuery("#jform_type").val();
Qynvtau(type_Qynvtau); ULuYNQg(type_ULuYNQg);
var target_wPaXjiz = jQuery("#jform_target input[type='radio']:checked").val(); var target_HWyJIuC = jQuery("#jform_target input[type='radio']:checked").val();
wPaXjiz(target_wPaXjiz); HWyJIuC(target_HWyJIuC);
}); });
// the lEjKOMF function // the KPuQSWe function
function lEjKOMF(location_lEjKOMF) function KPuQSWe(location_KPuQSWe)
{ {
// [8696] set the function logic // [8696] set the function logic
if (location_lEjKOMF == 1) if (location_KPuQSWe == 1)
{ {
jQuery('#jform_admin_view').closest('.control-group').show(); jQuery('#jform_admin_view').closest('.control-group').show();
} }
@ -64,11 +64,11 @@ function lEjKOMF(location_lEjKOMF)
} }
} }
// the OQSkzQZ function // the exhczAS function
function OQSkzQZ(location_OQSkzQZ) function exhczAS(location_exhczAS)
{ {
// [8696] set the function logic // [8696] set the function logic
if (location_OQSkzQZ == 2) if (location_exhczAS == 2)
{ {
jQuery('#jform_site_view').closest('.control-group').show(); jQuery('#jform_site_view').closest('.control-group').show();
} }
@ -78,198 +78,198 @@ function OQSkzQZ(location_OQSkzQZ)
} }
} }
// the yTuwfuD function // the LRbFdTD function
function yTuwfuD(type_yTuwfuD) function LRbFdTD(type_LRbFdTD)
{ {
if (isSet(type_yTuwfuD) && type_yTuwfuD.constructor !== Array) if (isSet(type_LRbFdTD) && type_LRbFdTD.constructor !== Array)
{ {
var temp_yTuwfuD = type_yTuwfuD; var temp_LRbFdTD = type_LRbFdTD;
var type_yTuwfuD = []; var type_LRbFdTD = [];
type_yTuwfuD.push(temp_yTuwfuD); type_LRbFdTD.push(temp_LRbFdTD);
} }
else if (!isSet(type_yTuwfuD)) else if (!isSet(type_LRbFdTD))
{ {
var type_yTuwfuD = []; var type_LRbFdTD = [];
} }
var type = type_yTuwfuD.some(type_yTuwfuD_SomeFunc); var type = type_LRbFdTD.some(type_LRbFdTD_SomeFunc);
// [8674] set this function logic // [8674] set this function logic
if (type) if (type)
{ {
jQuery('#jform_url').closest('.control-group').show(); jQuery('#jform_url').closest('.control-group').show();
if (jform_yTuwfuDjcU_required) if (jform_LRbFdTDVsa_required)
{ {
updateFieldRequired('url',0); updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required'); jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true); jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required'); jQuery('#jform_url').addClass('required');
jform_yTuwfuDjcU_required = false; jform_LRbFdTDVsa_required = false;
} }
} }
else else
{ {
jQuery('#jform_url').closest('.control-group').hide(); jQuery('#jform_url').closest('.control-group').hide();
if (!jform_yTuwfuDjcU_required) if (!jform_LRbFdTDVsa_required)
{ {
updateFieldRequired('url',1); updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required'); jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required'); jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required'); jQuery('#jform_url').removeClass('required');
jform_yTuwfuDjcU_required = true; jform_LRbFdTDVsa_required = true;
} }
} }
} }
// the yTuwfuD Some function // the LRbFdTD Some function
function type_yTuwfuD_SomeFunc(type_yTuwfuD) function type_LRbFdTD_SomeFunc(type_LRbFdTD)
{ {
// [8661] set the function logic // [8661] set the function logic
if (type_yTuwfuD == 3) if (type_LRbFdTD == 3)
{ {
return true; return true;
} }
return false; return false;
} }
// the lXSBThs function // the SVZGybe function
function lXSBThs(type_lXSBThs) function SVZGybe(type_SVZGybe)
{ {
if (isSet(type_lXSBThs) && type_lXSBThs.constructor !== Array) if (isSet(type_SVZGybe) && type_SVZGybe.constructor !== Array)
{ {
var temp_lXSBThs = type_lXSBThs; var temp_SVZGybe = type_SVZGybe;
var type_lXSBThs = []; var type_SVZGybe = [];
type_lXSBThs.push(temp_lXSBThs); type_SVZGybe.push(temp_SVZGybe);
} }
else if (!isSet(type_lXSBThs)) else if (!isSet(type_SVZGybe))
{ {
var type_lXSBThs = []; var type_SVZGybe = [];
} }
var type = type_lXSBThs.some(type_lXSBThs_SomeFunc); var type = type_SVZGybe.some(type_SVZGybe_SomeFunc);
// [8674] set this function logic // [8674] set this function logic
if (type) if (type)
{ {
jQuery('#jform_article').closest('.control-group').show(); jQuery('#jform_article').closest('.control-group').show();
if (jform_lXSBThsfQv_required) if (jform_SVZGybebRw_required)
{ {
updateFieldRequired('article',0); updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required'); jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true); jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required'); jQuery('#jform_article').addClass('required');
jform_lXSBThsfQv_required = false; jform_SVZGybebRw_required = false;
} }
} }
else else
{ {
jQuery('#jform_article').closest('.control-group').hide(); jQuery('#jform_article').closest('.control-group').hide();
if (!jform_lXSBThsfQv_required) if (!jform_SVZGybebRw_required)
{ {
updateFieldRequired('article',1); updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required'); jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required'); jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required'); jQuery('#jform_article').removeClass('required');
jform_lXSBThsfQv_required = true; jform_SVZGybebRw_required = true;
} }
} }
} }
// the lXSBThs Some function // the SVZGybe Some function
function type_lXSBThs_SomeFunc(type_lXSBThs) function type_SVZGybe_SomeFunc(type_SVZGybe)
{ {
// [8661] set the function logic // [8661] set the function logic
if (type_lXSBThs == 1) if (type_SVZGybe == 1)
{ {
return true; return true;
} }
return false; return false;
} }
// the Qynvtau function // the ULuYNQg function
function Qynvtau(type_Qynvtau) function ULuYNQg(type_ULuYNQg)
{ {
if (isSet(type_Qynvtau) && type_Qynvtau.constructor !== Array) if (isSet(type_ULuYNQg) && type_ULuYNQg.constructor !== Array)
{ {
var temp_Qynvtau = type_Qynvtau; var temp_ULuYNQg = type_ULuYNQg;
var type_Qynvtau = []; var type_ULuYNQg = [];
type_Qynvtau.push(temp_Qynvtau); type_ULuYNQg.push(temp_ULuYNQg);
} }
else if (!isSet(type_Qynvtau)) else if (!isSet(type_ULuYNQg))
{ {
var type_Qynvtau = []; var type_ULuYNQg = [];
} }
var type = type_Qynvtau.some(type_Qynvtau_SomeFunc); var type = type_ULuYNQg.some(type_ULuYNQg_SomeFunc);
// [8674] set this function logic // [8674] set this function logic
if (type) if (type)
{ {
jQuery('#jform_content-lbl').closest('.control-group').show(); jQuery('#jform_content-lbl').closest('.control-group').show();
if (jform_Qynvtauxsf_required) if (jform_ULuYNQgQpE_required)
{ {
updateFieldRequired('content',0); updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required'); jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true); jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required'); jQuery('#jform_content').addClass('required');
jform_Qynvtauxsf_required = false; jform_ULuYNQgQpE_required = false;
} }
} }
else else
{ {
jQuery('#jform_content-lbl').closest('.control-group').hide(); jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_Qynvtauxsf_required) if (!jform_ULuYNQgQpE_required)
{ {
updateFieldRequired('content',1); updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required'); jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required'); jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required'); jQuery('#jform_content').removeClass('required');
jform_Qynvtauxsf_required = true; jform_ULuYNQgQpE_required = true;
} }
} }
} }
// the Qynvtau Some function // the ULuYNQg Some function
function type_Qynvtau_SomeFunc(type_Qynvtau) function type_ULuYNQg_SomeFunc(type_ULuYNQg)
{ {
// [8661] set the function logic // [8661] set the function logic
if (type_Qynvtau == 2) if (type_ULuYNQg == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the wPaXjiz function // the HWyJIuC function
function wPaXjiz(target_wPaXjiz) function HWyJIuC(target_HWyJIuC)
{ {
// [8696] set the function logic // [8696] set the function logic
if (target_wPaXjiz == 1) if (target_HWyJIuC == 1)
{ {
jQuery('#jform_groups').closest('.control-group').show(); jQuery('#jform_groups').closest('.control-group').show();
if (jform_wPaXjizLsB_required) if (jform_HWyJIuCeuW_required)
{ {
updateFieldRequired('groups',0); updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required'); jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required'); jQuery('#jform_groups').addClass('required');
jform_wPaXjizLsB_required = false; jform_HWyJIuCeuW_required = false;
} }
} }
else else
{ {
jQuery('#jform_groups').closest('.control-group').hide(); jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_wPaXjizLsB_required) if (!jform_HWyJIuCeuW_required)
{ {
updateFieldRequired('groups',1); updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required'); jQuery('#jform_groups').removeClass('required');
jform_wPaXjizLsB_required = true; jform_HWyJIuCeuW_required = true;
} }
} }
} }

View File

@ -23,124 +23,124 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_TAXvQRxyCa_required = false; jform_IBFygJNuDM_required = false;
jform_nkNZrUGmCx_required = false; jform_kcwFchXKIB_required = false;
jform_PswgMZiFjO_required = false; jform_nUoduMOIRJ_required = false;
jform_HmcnElZntu_required = false; jform_FLgnCOUeKh_required = false;
jform_xEDfwTZfiB_required = false; jform_NXjdDlkAaX_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var source_TAXvQRx = jQuery("#jform_source").val(); var source_IBFygJN = jQuery("#jform_source").val();
TAXvQRx(source_TAXvQRx); IBFygJN(source_IBFygJN);
var source_RkEbgqN = jQuery("#jform_source").val(); var source_rfSRRvE = jQuery("#jform_source").val();
var build_RkEbgqN = jQuery("#jform_build input[type='radio']:checked").val(); var build_rfSRRvE = jQuery("#jform_build input[type='radio']:checked").val();
RkEbgqN(source_RkEbgqN,build_RkEbgqN); rfSRRvE(source_rfSRRvE,build_rfSRRvE);
var source_nkNZrUG = jQuery("#jform_source").val(); var source_kcwFchX = jQuery("#jform_source").val();
var build_nkNZrUG = jQuery("#jform_build input[type='radio']:checked").val(); var build_kcwFchX = jQuery("#jform_build input[type='radio']:checked").val();
nkNZrUG(source_nkNZrUG,build_nkNZrUG); kcwFchX(source_kcwFchX,build_kcwFchX);
var build_PswgMZi = jQuery("#jform_build input[type='radio']:checked").val(); var build_nUoduMO = jQuery("#jform_build input[type='radio']:checked").val();
var source_PswgMZi = jQuery("#jform_source").val(); var source_nUoduMO = jQuery("#jform_source").val();
PswgMZi(build_PswgMZi,source_PswgMZi); nUoduMO(build_nUoduMO,source_nUoduMO);
var source_HmcnElZ = jQuery("#jform_source").val(); var source_FLgnCOU = jQuery("#jform_source").val();
HmcnElZ(source_HmcnElZ); FLgnCOU(source_FLgnCOU);
var source_xEDfwTZ = jQuery("#jform_source").val(); var source_NXjdDlk = jQuery("#jform_source").val();
xEDfwTZ(source_xEDfwTZ); NXjdDlk(source_NXjdDlk);
var link_type_CXOYeuY = jQuery("#jform_link_type input[type='radio']:checked").val(); var link_type_ctPrsiZ = jQuery("#jform_link_type input[type='radio']:checked").val();
CXOYeuY(link_type_CXOYeuY); ctPrsiZ(link_type_ctPrsiZ);
var link_type_lahbHtd = jQuery("#jform_link_type input[type='radio']:checked").val(); var link_type_jSSQzwW = jQuery("#jform_link_type input[type='radio']:checked").val();
lahbHtd(link_type_lahbHtd); jSSQzwW(link_type_jSSQzwW);
}); });
// the TAXvQRx function // the IBFygJN function
function TAXvQRx(source_TAXvQRx) function IBFygJN(source_IBFygJN)
{ {
if (isSet(source_TAXvQRx) && source_TAXvQRx.constructor !== Array) if (isSet(source_IBFygJN) && source_IBFygJN.constructor !== Array)
{ {
var temp_TAXvQRx = source_TAXvQRx; var temp_IBFygJN = source_IBFygJN;
var source_TAXvQRx = []; var source_IBFygJN = [];
source_TAXvQRx.push(temp_TAXvQRx); source_IBFygJN.push(temp_IBFygJN);
} }
else if (!isSet(source_TAXvQRx)) else if (!isSet(source_IBFygJN))
{ {
var source_TAXvQRx = []; var source_IBFygJN = [];
} }
var source = source_TAXvQRx.some(source_TAXvQRx_SomeFunc); var source = source_IBFygJN.some(source_IBFygJN_SomeFunc);
// [8674] set this function logic // [8674] set this function logic
if (source) if (source)
{ {
jQuery('#jform_build').closest('.control-group').show(); jQuery('#jform_build').closest('.control-group').show();
if (jform_TAXvQRxyCa_required) if (jform_IBFygJNuDM_required)
{ {
updateFieldRequired('build',0); updateFieldRequired('build',0);
jQuery('#jform_build').prop('required','required'); jQuery('#jform_build').prop('required','required');
jQuery('#jform_build').attr('aria-required',true); jQuery('#jform_build').attr('aria-required',true);
jQuery('#jform_build').addClass('required'); jQuery('#jform_build').addClass('required');
jform_TAXvQRxyCa_required = false; jform_IBFygJNuDM_required = false;
} }
} }
else else
{ {
jQuery('#jform_build').closest('.control-group').hide(); jQuery('#jform_build').closest('.control-group').hide();
if (!jform_TAXvQRxyCa_required) if (!jform_IBFygJNuDM_required)
{ {
updateFieldRequired('build',1); updateFieldRequired('build',1);
jQuery('#jform_build').removeAttr('required'); jQuery('#jform_build').removeAttr('required');
jQuery('#jform_build').removeAttr('aria-required'); jQuery('#jform_build').removeAttr('aria-required');
jQuery('#jform_build').removeClass('required'); jQuery('#jform_build').removeClass('required');
jform_TAXvQRxyCa_required = true; jform_IBFygJNuDM_required = true;
} }
} }
} }
// the TAXvQRx Some function // the IBFygJN Some function
function source_TAXvQRx_SomeFunc(source_TAXvQRx) function source_IBFygJN_SomeFunc(source_IBFygJN)
{ {
// [8661] set the function logic // [8661] set the function logic
if (source_TAXvQRx == 2) if (source_IBFygJN == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the RkEbgqN function // the rfSRRvE function
function RkEbgqN(source_RkEbgqN,build_RkEbgqN) function rfSRRvE(source_rfSRRvE,build_rfSRRvE)
{ {
if (isSet(source_RkEbgqN) && source_RkEbgqN.constructor !== Array) if (isSet(source_rfSRRvE) && source_rfSRRvE.constructor !== Array)
{ {
var temp_RkEbgqN = source_RkEbgqN; var temp_rfSRRvE = source_rfSRRvE;
var source_RkEbgqN = []; var source_rfSRRvE = [];
source_RkEbgqN.push(temp_RkEbgqN); source_rfSRRvE.push(temp_rfSRRvE);
} }
else if (!isSet(source_RkEbgqN)) else if (!isSet(source_rfSRRvE))
{ {
var source_RkEbgqN = []; var source_rfSRRvE = [];
} }
var source = source_RkEbgqN.some(source_RkEbgqN_SomeFunc); var source = source_rfSRRvE.some(source_rfSRRvE_SomeFunc);
if (isSet(build_RkEbgqN) && build_RkEbgqN.constructor !== Array) if (isSet(build_rfSRRvE) && build_rfSRRvE.constructor !== Array)
{ {
var temp_RkEbgqN = build_RkEbgqN; var temp_rfSRRvE = build_rfSRRvE;
var build_RkEbgqN = []; var build_rfSRRvE = [];
build_RkEbgqN.push(temp_RkEbgqN); build_rfSRRvE.push(temp_rfSRRvE);
} }
else if (!isSet(build_RkEbgqN)) else if (!isSet(build_rfSRRvE))
{ {
var build_RkEbgqN = []; var build_rfSRRvE = [];
} }
var build = build_RkEbgqN.some(build_RkEbgqN_SomeFunc); var build = build_rfSRRvE.some(build_rfSRRvE_SomeFunc);
// [8674] set this function logic // [8674] set this function logic
@ -154,67 +154,67 @@ function RkEbgqN(source_RkEbgqN,build_RkEbgqN)
} }
} }
// the RkEbgqN Some function // the rfSRRvE Some function
function source_RkEbgqN_SomeFunc(source_RkEbgqN) function source_rfSRRvE_SomeFunc(source_rfSRRvE)
{ {
// [8661] set the function logic // [8661] set the function logic
if (source_RkEbgqN == 2) if (source_rfSRRvE == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the RkEbgqN Some function // the rfSRRvE Some function
function build_RkEbgqN_SomeFunc(build_RkEbgqN) function build_rfSRRvE_SomeFunc(build_rfSRRvE)
{ {
// [8661] set the function logic // [8661] set the function logic
if (build_RkEbgqN == 2) if (build_rfSRRvE == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the nkNZrUG function // the kcwFchX function
function nkNZrUG(source_nkNZrUG,build_nkNZrUG) function kcwFchX(source_kcwFchX,build_kcwFchX)
{ {
if (isSet(source_nkNZrUG) && source_nkNZrUG.constructor !== Array) if (isSet(source_kcwFchX) && source_kcwFchX.constructor !== Array)
{ {
var temp_nkNZrUG = source_nkNZrUG; var temp_kcwFchX = source_kcwFchX;
var source_nkNZrUG = []; var source_kcwFchX = [];
source_nkNZrUG.push(temp_nkNZrUG); source_kcwFchX.push(temp_kcwFchX);
} }
else if (!isSet(source_nkNZrUG)) else if (!isSet(source_kcwFchX))
{ {
var source_nkNZrUG = []; var source_kcwFchX = [];
} }
var source = source_nkNZrUG.some(source_nkNZrUG_SomeFunc); var source = source_kcwFchX.some(source_kcwFchX_SomeFunc);
if (isSet(build_nkNZrUG) && build_nkNZrUG.constructor !== Array) if (isSet(build_kcwFchX) && build_kcwFchX.constructor !== Array)
{ {
var temp_nkNZrUG = build_nkNZrUG; var temp_kcwFchX = build_kcwFchX;
var build_nkNZrUG = []; var build_kcwFchX = [];
build_nkNZrUG.push(temp_nkNZrUG); build_kcwFchX.push(temp_kcwFchX);
} }
else if (!isSet(build_nkNZrUG)) else if (!isSet(build_kcwFchX))
{ {
var build_nkNZrUG = []; var build_kcwFchX = [];
} }
var build = build_nkNZrUG.some(build_nkNZrUG_SomeFunc); var build = build_kcwFchX.some(build_kcwFchX_SomeFunc);
// [8674] set this function logic // [8674] set this function logic
if (source && build) if (source && build)
{ {
jQuery('#jform_manual_files').closest('.control-group').show(); jQuery('#jform_manual_files').closest('.control-group').show();
if (jform_nkNZrUGmCx_required) if (jform_kcwFchXKIB_required)
{ {
updateFieldRequired('manual_files',0); updateFieldRequired('manual_files',0);
jQuery('#jform_manual_files').prop('required','required'); jQuery('#jform_manual_files').prop('required','required');
jQuery('#jform_manual_files').attr('aria-required',true); jQuery('#jform_manual_files').attr('aria-required',true);
jQuery('#jform_manual_files').addClass('required'); jQuery('#jform_manual_files').addClass('required');
jform_nkNZrUGmCx_required = false; jform_kcwFchXKIB_required = false;
} }
jQuery('.note_manual_dropbox').closest('.control-group').show(); jQuery('.note_manual_dropbox').closest('.control-group').show();
@ -222,79 +222,79 @@ function nkNZrUG(source_nkNZrUG,build_nkNZrUG)
else else
{ {
jQuery('#jform_manual_files').closest('.control-group').hide(); jQuery('#jform_manual_files').closest('.control-group').hide();
if (!jform_nkNZrUGmCx_required) if (!jform_kcwFchXKIB_required)
{ {
updateFieldRequired('manual_files',1); updateFieldRequired('manual_files',1);
jQuery('#jform_manual_files').removeAttr('required'); jQuery('#jform_manual_files').removeAttr('required');
jQuery('#jform_manual_files').removeAttr('aria-required'); jQuery('#jform_manual_files').removeAttr('aria-required');
jQuery('#jform_manual_files').removeClass('required'); jQuery('#jform_manual_files').removeClass('required');
jform_nkNZrUGmCx_required = true; jform_kcwFchXKIB_required = true;
} }
jQuery('.note_manual_dropbox').closest('.control-group').hide(); jQuery('.note_manual_dropbox').closest('.control-group').hide();
} }
} }
// the nkNZrUG Some function // the kcwFchX Some function
function source_nkNZrUG_SomeFunc(source_nkNZrUG) function source_kcwFchX_SomeFunc(source_kcwFchX)
{ {
// [8661] set the function logic // [8661] set the function logic
if (source_nkNZrUG == 2) if (source_kcwFchX == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the nkNZrUG Some function // the kcwFchX Some function
function build_nkNZrUG_SomeFunc(build_nkNZrUG) function build_kcwFchX_SomeFunc(build_kcwFchX)
{ {
// [8661] set the function logic // [8661] set the function logic
if (build_nkNZrUG == 1) if (build_kcwFchX == 1)
{ {
return true; return true;
} }
return false; return false;
} }
// the PswgMZi function // the nUoduMO function
function PswgMZi(build_PswgMZi,source_PswgMZi) function nUoduMO(build_nUoduMO,source_nUoduMO)
{ {
if (isSet(build_PswgMZi) && build_PswgMZi.constructor !== Array) if (isSet(build_nUoduMO) && build_nUoduMO.constructor !== Array)
{ {
var temp_PswgMZi = build_PswgMZi; var temp_nUoduMO = build_nUoduMO;
var build_PswgMZi = []; var build_nUoduMO = [];
build_PswgMZi.push(temp_PswgMZi); build_nUoduMO.push(temp_nUoduMO);
} }
else if (!isSet(build_PswgMZi)) else if (!isSet(build_nUoduMO))
{ {
var build_PswgMZi = []; var build_nUoduMO = [];
} }
var build = build_PswgMZi.some(build_PswgMZi_SomeFunc); var build = build_nUoduMO.some(build_nUoduMO_SomeFunc);
if (isSet(source_PswgMZi) && source_PswgMZi.constructor !== Array) if (isSet(source_nUoduMO) && source_nUoduMO.constructor !== Array)
{ {
var temp_PswgMZi = source_PswgMZi; var temp_nUoduMO = source_nUoduMO;
var source_PswgMZi = []; var source_nUoduMO = [];
source_PswgMZi.push(temp_PswgMZi); source_nUoduMO.push(temp_nUoduMO);
} }
else if (!isSet(source_PswgMZi)) else if (!isSet(source_nUoduMO))
{ {
var source_PswgMZi = []; var source_nUoduMO = [];
} }
var source = source_PswgMZi.some(source_PswgMZi_SomeFunc); var source = source_nUoduMO.some(source_nUoduMO_SomeFunc);
// [8674] set this function logic // [8674] set this function logic
if (build && source) if (build && source)
{ {
jQuery('#jform_manual_files').closest('.control-group').show(); jQuery('#jform_manual_files').closest('.control-group').show();
if (jform_PswgMZiFjO_required) if (jform_nUoduMOIRJ_required)
{ {
updateFieldRequired('manual_files',0); updateFieldRequired('manual_files',0);
jQuery('#jform_manual_files').prop('required','required'); jQuery('#jform_manual_files').prop('required','required');
jQuery('#jform_manual_files').attr('aria-required',true); jQuery('#jform_manual_files').attr('aria-required',true);
jQuery('#jform_manual_files').addClass('required'); jQuery('#jform_manual_files').addClass('required');
jform_PswgMZiFjO_required = false; jform_nUoduMOIRJ_required = false;
} }
jQuery('.note_manual_dropbox').closest('.control-group').show(); jQuery('.note_manual_dropbox').closest('.control-group').show();
@ -302,155 +302,155 @@ function PswgMZi(build_PswgMZi,source_PswgMZi)
else else
{ {
jQuery('#jform_manual_files').closest('.control-group').hide(); jQuery('#jform_manual_files').closest('.control-group').hide();
if (!jform_PswgMZiFjO_required) if (!jform_nUoduMOIRJ_required)
{ {
updateFieldRequired('manual_files',1); updateFieldRequired('manual_files',1);
jQuery('#jform_manual_files').removeAttr('required'); jQuery('#jform_manual_files').removeAttr('required');
jQuery('#jform_manual_files').removeAttr('aria-required'); jQuery('#jform_manual_files').removeAttr('aria-required');
jQuery('#jform_manual_files').removeClass('required'); jQuery('#jform_manual_files').removeClass('required');
jform_PswgMZiFjO_required = true; jform_nUoduMOIRJ_required = true;
} }
jQuery('.note_manual_dropbox').closest('.control-group').hide(); jQuery('.note_manual_dropbox').closest('.control-group').hide();
} }
} }
// the PswgMZi Some function // the nUoduMO Some function
function build_PswgMZi_SomeFunc(build_PswgMZi) function build_nUoduMO_SomeFunc(build_nUoduMO)
{ {
// [8661] set the function logic // [8661] set the function logic
if (build_PswgMZi == 1) if (build_nUoduMO == 1)
{ {
return true; return true;
} }
return false; return false;
} }
// the PswgMZi Some function // the nUoduMO Some function
function source_PswgMZi_SomeFunc(source_PswgMZi) function source_nUoduMO_SomeFunc(source_nUoduMO)
{ {
// [8661] set the function logic // [8661] set the function logic
if (source_PswgMZi == 2) if (source_nUoduMO == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the HmcnElZ function // the FLgnCOU function
function HmcnElZ(source_HmcnElZ) function FLgnCOU(source_FLgnCOU)
{ {
if (isSet(source_HmcnElZ) && source_HmcnElZ.constructor !== Array) if (isSet(source_FLgnCOU) && source_FLgnCOU.constructor !== Array)
{ {
var temp_HmcnElZ = source_HmcnElZ; var temp_FLgnCOU = source_FLgnCOU;
var source_HmcnElZ = []; var source_FLgnCOU = [];
source_HmcnElZ.push(temp_HmcnElZ); source_FLgnCOU.push(temp_FLgnCOU);
} }
else if (!isSet(source_HmcnElZ)) else if (!isSet(source_FLgnCOU))
{ {
var source_HmcnElZ = []; var source_FLgnCOU = [];
} }
var source = source_HmcnElZ.some(source_HmcnElZ_SomeFunc); var source = source_FLgnCOU.some(source_FLgnCOU_SomeFunc);
// [8674] set this function logic // [8674] set this function logic
if (source) if (source)
{ {
jQuery('#jform_local_files').closest('.control-group').show(); jQuery('#jform_local_files').closest('.control-group').show();
if (jform_HmcnElZntu_required) if (jform_FLgnCOUeKh_required)
{ {
updateFieldRequired('local_files',0); updateFieldRequired('local_files',0);
jQuery('#jform_local_files').prop('required','required'); jQuery('#jform_local_files').prop('required','required');
jQuery('#jform_local_files').attr('aria-required',true); jQuery('#jform_local_files').attr('aria-required',true);
jQuery('#jform_local_files').addClass('required'); jQuery('#jform_local_files').addClass('required');
jform_HmcnElZntu_required = false; jform_FLgnCOUeKh_required = false;
} }
} }
else else
{ {
jQuery('#jform_local_files').closest('.control-group').hide(); jQuery('#jform_local_files').closest('.control-group').hide();
if (!jform_HmcnElZntu_required) if (!jform_FLgnCOUeKh_required)
{ {
updateFieldRequired('local_files',1); updateFieldRequired('local_files',1);
jQuery('#jform_local_files').removeAttr('required'); jQuery('#jform_local_files').removeAttr('required');
jQuery('#jform_local_files').removeAttr('aria-required'); jQuery('#jform_local_files').removeAttr('aria-required');
jQuery('#jform_local_files').removeClass('required'); jQuery('#jform_local_files').removeClass('required');
jform_HmcnElZntu_required = true; jform_FLgnCOUeKh_required = true;
} }
} }
} }
// the HmcnElZ Some function // the FLgnCOU Some function
function source_HmcnElZ_SomeFunc(source_HmcnElZ) function source_FLgnCOU_SomeFunc(source_FLgnCOU)
{ {
// [8661] set the function logic // [8661] set the function logic
if (source_HmcnElZ == 1) if (source_FLgnCOU == 1)
{ {
return true; return true;
} }
return false; return false;
} }
// the xEDfwTZ function // the NXjdDlk function
function xEDfwTZ(source_xEDfwTZ) function NXjdDlk(source_NXjdDlk)
{ {
if (isSet(source_xEDfwTZ) && source_xEDfwTZ.constructor !== Array) if (isSet(source_NXjdDlk) && source_NXjdDlk.constructor !== Array)
{ {
var temp_xEDfwTZ = source_xEDfwTZ; var temp_NXjdDlk = source_NXjdDlk;
var source_xEDfwTZ = []; var source_NXjdDlk = [];
source_xEDfwTZ.push(temp_xEDfwTZ); source_NXjdDlk.push(temp_NXjdDlk);
} }
else if (!isSet(source_xEDfwTZ)) else if (!isSet(source_NXjdDlk))
{ {
var source_xEDfwTZ = []; var source_NXjdDlk = [];
} }
var source = source_xEDfwTZ.some(source_xEDfwTZ_SomeFunc); var source = source_NXjdDlk.some(source_NXjdDlk_SomeFunc);
// [8674] set this function logic // [8674] set this function logic
if (source) if (source)
{ {
jQuery('#jform_url').closest('.control-group').show(); jQuery('#jform_url').closest('.control-group').show();
if (jform_xEDfwTZfiB_required) if (jform_NXjdDlkAaX_required)
{ {
updateFieldRequired('url',0); updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required'); jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true); jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required'); jQuery('#jform_url').addClass('required');
jform_xEDfwTZfiB_required = false; jform_NXjdDlkAaX_required = false;
} }
} }
else else
{ {
jQuery('#jform_url').closest('.control-group').hide(); jQuery('#jform_url').closest('.control-group').hide();
if (!jform_xEDfwTZfiB_required) if (!jform_NXjdDlkAaX_required)
{ {
updateFieldRequired('url',1); updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required'); jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required'); jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required'); jQuery('#jform_url').removeClass('required');
jform_xEDfwTZfiB_required = true; jform_NXjdDlkAaX_required = true;
} }
} }
} }
// the xEDfwTZ Some function // the NXjdDlk Some function
function source_xEDfwTZ_SomeFunc(source_xEDfwTZ) function source_NXjdDlk_SomeFunc(source_NXjdDlk)
{ {
// [8661] set the function logic // [8661] set the function logic
if (source_xEDfwTZ == 3) if (source_NXjdDlk == 3)
{ {
return true; return true;
} }
return false; return false;
} }
// the CXOYeuY function // the ctPrsiZ function
function CXOYeuY(link_type_CXOYeuY) function ctPrsiZ(link_type_ctPrsiZ)
{ {
// [8696] set the function logic // [8696] set the function logic
if (link_type_CXOYeuY == 2) if (link_type_ctPrsiZ == 2)
{ {
jQuery('.note_link_directed').closest('.control-group').show(); jQuery('.note_link_directed').closest('.control-group').show();
} }
@ -460,11 +460,11 @@ function CXOYeuY(link_type_CXOYeuY)
} }
} }
// the lahbHtd function // the jSSQzwW function
function lahbHtd(link_type_lahbHtd) function jSSQzwW(link_type_jSSQzwW)
{ {
// [8696] set the function logic // [8696] set the function logic
if (link_type_lahbHtd == 1) if (link_type_jSSQzwW == 1)
{ {
jQuery('.note_link_encrypted').closest('.control-group').show(); jQuery('.note_link_encrypted').closest('.control-group').show();
} }

View File

@ -157,7 +157,7 @@ class SermondistributorModelHelp_document extends JModelAdmin
$form->setFieldAttribute('ordering', 'filter', 'unset'); $form->setFieldAttribute('ordering', 'filter', 'unset');
$form->setFieldAttribute('published', 'filter', 'unset'); $form->setFieldAttribute('published', 'filter', 'unset');
} }
// [10372] If this is a new item insure the greated by is set // [10372] If this is a new item insure the greated by is set.
if (0 == $id) if (0 == $id)
{ {
// [10375] Set the created_by to this user // [10375] Set the created_by to this user
@ -305,7 +305,7 @@ class SermondistributorModelHelp_document extends JModelAdmin
{ {
$table->created = $date->toSql(); $table->created = $date->toSql();
// set the user // set the user
if ($table->created_by == 0) if ($table->created_by == 0 || empty($table->created_by))
{ {
$table->created_by = $user->id; $table->created_by = $user->id;
} }

View File

@ -101,7 +101,7 @@ class SermondistributorModelPreacher extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_sermondistributor.preacher'); $item->tags->getTagIds($item->id, 'com_sermondistributor.preacher');
} }
} }
$this->preacherhzzb = $item->id; $this->preachereitd = $item->id;
return $item; return $item;
} }
@ -111,7 +111,7 @@ class SermondistributorModelPreacher extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getJhasermons() public function getAkssermons()
{ {
// [7633] Get the user object. // [7633] Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -135,15 +135,15 @@ class SermondistributorModelPreacher extends JModelAdmin
$query->select($db->quoteName('h.name','series_name')); $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') . ')'); $query->join('LEFT', $db->quoteName('#__sermondistributor_series', 'h') . ' ON (' . $db->quoteName('a.series') . ' = ' . $db->quoteName('h.id') . ')');
// [7661] Filter by preacherhzzb global. // [7661] Filter by preachereitd global.
$preacherhzzb = $this->preacherhzzb; $preachereitd = $this->preachereitd;
if (is_numeric($preacherhzzb )) if (is_numeric($preachereitd ))
{ {
$query->where('a.preacher = ' . (int) $preacherhzzb ); $query->where('a.preacher = ' . (int) $preachereitd );
} }
elseif (is_string($preacherhzzb)) elseif (is_string($preachereitd))
{ {
$query->where('a.preacher = ' . $db->quote($preacherhzzb)); $query->where('a.preacher = ' . $db->quote($preachereitd));
} }
else else
{ {
@ -198,9 +198,9 @@ class SermondistributorModelPreacher extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// [11596] convert link_type // [11596] convert link_type
$item->link_type = $this->selectionTranslationJhasermons($item->link_type, 'link_type'); $item->link_type = $this->selectionTranslationAkssermons($item->link_type, 'link_type');
// [11596] convert source // [11596] convert source
$item->source = $this->selectionTranslationJhasermons($item->source, 'source'); $item->source = $this->selectionTranslationAkssermons($item->source, 'source');
} }
} }
@ -214,7 +214,7 @@ class SermondistributorModelPreacher extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationJhasermons($value,$name) public function selectionTranslationAkssermons($value,$name)
{ {
// [11622] Array of link_type language strings // [11622] Array of link_type language strings
if ($name == 'link_type') if ($name == 'link_type')
@ -293,7 +293,7 @@ class SermondistributorModelPreacher extends JModelAdmin
$form->setFieldAttribute('ordering', 'filter', 'unset'); $form->setFieldAttribute('ordering', 'filter', 'unset');
$form->setFieldAttribute('published', 'filter', 'unset'); $form->setFieldAttribute('published', 'filter', 'unset');
} }
// [10372] If this is a new item insure the greated by is set // [10372] If this is a new item insure the greated by is set.
if (0 == $id) if (0 == $id)
{ {
// [10375] Set the created_by to this user // [10375] Set the created_by to this user
@ -443,7 +443,7 @@ class SermondistributorModelPreacher extends JModelAdmin
{ {
$table->created = $date->toSql(); $table->created = $date->toSql();
// set the user // set the user
if ($table->created_by == 0) if ($table->created_by == 0 || empty($table->created_by))
{ {
$table->created_by = $user->id; $table->created_by = $user->id;
} }

View File

@ -101,7 +101,7 @@ class SermondistributorModelSeries extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_sermondistributor.series'); $item->tags->getTagIds($item->id, 'com_sermondistributor.series');
} }
} }
$this->seriesozxh = $item->id; $this->seriesrwnh = $item->id;
return $item; return $item;
} }
@ -111,7 +111,7 @@ class SermondistributorModelSeries extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getVmlsermons() public function getVcvsermons()
{ {
// [7633] Get the user object. // [7633] Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -135,15 +135,15 @@ class SermondistributorModelSeries extends JModelAdmin
$query->select($db->quoteName('h.name','series_name')); $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') . ')'); $query->join('LEFT', $db->quoteName('#__sermondistributor_series', 'h') . ' ON (' . $db->quoteName('a.series') . ' = ' . $db->quoteName('h.id') . ')');
// [7661] Filter by seriesozxh global. // [7661] Filter by seriesrwnh global.
$seriesozxh = $this->seriesozxh; $seriesrwnh = $this->seriesrwnh;
if (is_numeric($seriesozxh )) if (is_numeric($seriesrwnh ))
{ {
$query->where('a.series = ' . (int) $seriesozxh ); $query->where('a.series = ' . (int) $seriesrwnh );
} }
elseif (is_string($seriesozxh)) elseif (is_string($seriesrwnh))
{ {
$query->where('a.series = ' . $db->quote($seriesozxh)); $query->where('a.series = ' . $db->quote($seriesrwnh));
} }
else else
{ {
@ -198,9 +198,9 @@ class SermondistributorModelSeries extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// [11596] convert link_type // [11596] convert link_type
$item->link_type = $this->selectionTranslationVmlsermons($item->link_type, 'link_type'); $item->link_type = $this->selectionTranslationVcvsermons($item->link_type, 'link_type');
// [11596] convert source // [11596] convert source
$item->source = $this->selectionTranslationVmlsermons($item->source, 'source'); $item->source = $this->selectionTranslationVcvsermons($item->source, 'source');
} }
} }
@ -214,7 +214,7 @@ class SermondistributorModelSeries extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationVmlsermons($value,$name) public function selectionTranslationVcvsermons($value,$name)
{ {
// [11622] Array of link_type language strings // [11622] Array of link_type language strings
if ($name == 'link_type') if ($name == 'link_type')
@ -293,7 +293,7 @@ class SermondistributorModelSeries extends JModelAdmin
$form->setFieldAttribute('ordering', 'filter', 'unset'); $form->setFieldAttribute('ordering', 'filter', 'unset');
$form->setFieldAttribute('published', 'filter', 'unset'); $form->setFieldAttribute('published', 'filter', 'unset');
} }
// [10372] If this is a new item insure the greated by is set // [10372] If this is a new item insure the greated by is set.
if (0 == $id) if (0 == $id)
{ {
// [10375] Set the created_by to this user // [10375] Set the created_by to this user
@ -443,7 +443,7 @@ class SermondistributorModelSeries extends JModelAdmin
{ {
$table->created = $date->toSql(); $table->created = $date->toSql();
// set the user // set the user
if ($table->created_by == 0) if ($table->created_by == 0 || empty($table->created_by))
{ {
$table->created_by = $user->id; $table->created_by = $user->id;
} }

View File

@ -113,7 +113,7 @@ class SermondistributorModelSermon extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_sermondistributor.sermon'); $item->tags->getTagIds($item->id, 'com_sermondistributor.sermon');
} }
} }
$this->sermonhlbv = $item->id; $this->sermonjlfo = $item->id;
return $item; return $item;
} }
@ -123,7 +123,7 @@ class SermondistributorModelSermon extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getUxwstastics() public function getIzistastics()
{ {
// [7633] Get the user object. // [7633] Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -149,15 +149,15 @@ class SermondistributorModelSermon extends JModelAdmin
$query->select($db->quoteName('i.name','series_name')); $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') . ')'); $query->join('LEFT', $db->quoteName('#__sermondistributor_series', 'i') . ' ON (' . $db->quoteName('a.series') . ' = ' . $db->quoteName('i.id') . ')');
// [7661] Filter by sermonhlbv global. // [7661] Filter by sermonjlfo global.
$sermonhlbv = $this->sermonhlbv; $sermonjlfo = $this->sermonjlfo;
if (is_numeric($sermonhlbv )) if (is_numeric($sermonjlfo ))
{ {
$query->where('a.sermon = ' . (int) $sermonhlbv ); $query->where('a.sermon = ' . (int) $sermonjlfo );
} }
elseif (is_string($sermonhlbv)) elseif (is_string($sermonjlfo))
{ {
$query->where('a.sermon = ' . $db->quote($sermonhlbv)); $query->where('a.sermon = ' . $db->quote($sermonjlfo));
} }
else else
{ {
@ -281,7 +281,7 @@ class SermondistributorModelSermon extends JModelAdmin
$form->setFieldAttribute('ordering', 'filter', 'unset'); $form->setFieldAttribute('ordering', 'filter', 'unset');
$form->setFieldAttribute('published', 'filter', 'unset'); $form->setFieldAttribute('published', 'filter', 'unset');
} }
// [10372] If this is a new item insure the greated by is set // [10372] If this is a new item insure the greated by is set.
if (0 == $id) if (0 == $id)
{ {
// [10375] Set the created_by to this user // [10375] Set the created_by to this user
@ -446,7 +446,7 @@ class SermondistributorModelSermon extends JModelAdmin
{ {
$table->created = $date->toSql(); $table->created = $date->toSql();
// set the user // set the user
if ($table->created_by == 0) if ($table->created_by == 0 || empty($table->created_by))
{ {
$table->created_by = $user->id; $table->created_by = $user->id;
} }

View File

@ -151,7 +151,7 @@ class SermondistributorModelStatistic extends JModelAdmin
$form->setFieldAttribute('ordering', 'filter', 'unset'); $form->setFieldAttribute('ordering', 'filter', 'unset');
$form->setFieldAttribute('published', 'filter', 'unset'); $form->setFieldAttribute('published', 'filter', 'unset');
} }
// [10372] If this is a new item insure the greated by is set // [10372] If this is a new item insure the greated by is set.
if (0 == $id) if (0 == $id)
{ {
// [10375] Set the created_by to this user // [10375] Set the created_by to this user
@ -301,7 +301,7 @@ class SermondistributorModelStatistic extends JModelAdmin
{ {
$table->created = $date->toSql(); $table->created = $date->toSql();
// set the user // set the user
if ($table->created_by == 0) if ($table->created_by == 0 || empty($table->created_by))
{ {
$table->created_by = $user->id; $table->created_by = $user->id;
} }

View File

@ -102,93 +102,93 @@ $componentParams = JComponentHelper::getParams('com_sermondistributor');
<script type="text/javascript"> <script type="text/javascript">
// #jform_location listeners for location_lEjKOMF function // #jform_location listeners for location_KPuQSWe function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var location_lEjKOMF = jQuery("#jform_location input[type='radio']:checked").val(); var location_KPuQSWe = jQuery("#jform_location input[type='radio']:checked").val();
lEjKOMF(location_lEjKOMF); KPuQSWe(location_KPuQSWe);
}); });
jQuery('#adminForm').on('change', '#jform_location',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var location_lEjKOMF = jQuery("#jform_location input[type='radio']:checked").val(); var location_KPuQSWe = jQuery("#jform_location input[type='radio']:checked").val();
lEjKOMF(location_lEjKOMF); KPuQSWe(location_KPuQSWe);
}); });
// #jform_location listeners for location_OQSkzQZ function // #jform_location listeners for location_exhczAS function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var location_OQSkzQZ = jQuery("#jform_location input[type='radio']:checked").val(); var location_exhczAS = jQuery("#jform_location input[type='radio']:checked").val();
OQSkzQZ(location_OQSkzQZ); exhczAS(location_exhczAS);
}); });
jQuery('#adminForm').on('change', '#jform_location',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var location_OQSkzQZ = jQuery("#jform_location input[type='radio']:checked").val(); var location_exhczAS = jQuery("#jform_location input[type='radio']:checked").val();
OQSkzQZ(location_OQSkzQZ); exhczAS(location_exhczAS);
}); });
// #jform_type listeners for type_yTuwfuD function // #jform_type listeners for type_LRbFdTD function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_yTuwfuD = jQuery("#jform_type").val(); var type_LRbFdTD = jQuery("#jform_type").val();
yTuwfuD(type_yTuwfuD); LRbFdTD(type_LRbFdTD);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_yTuwfuD = jQuery("#jform_type").val(); var type_LRbFdTD = jQuery("#jform_type").val();
yTuwfuD(type_yTuwfuD); LRbFdTD(type_LRbFdTD);
}); });
// #jform_type listeners for type_lXSBThs function // #jform_type listeners for type_SVZGybe function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_lXSBThs = jQuery("#jform_type").val(); var type_SVZGybe = jQuery("#jform_type").val();
lXSBThs(type_lXSBThs); SVZGybe(type_SVZGybe);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_lXSBThs = jQuery("#jform_type").val(); var type_SVZGybe = jQuery("#jform_type").val();
lXSBThs(type_lXSBThs); SVZGybe(type_SVZGybe);
}); });
// #jform_type listeners for type_Qynvtau function // #jform_type listeners for type_ULuYNQg function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_Qynvtau = jQuery("#jform_type").val(); var type_ULuYNQg = jQuery("#jform_type").val();
Qynvtau(type_Qynvtau); ULuYNQg(type_ULuYNQg);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_Qynvtau = jQuery("#jform_type").val(); var type_ULuYNQg = jQuery("#jform_type").val();
Qynvtau(type_Qynvtau); ULuYNQg(type_ULuYNQg);
}); });
// #jform_target listeners for target_wPaXjiz function // #jform_target listeners for target_HWyJIuC function
jQuery('#jform_target').on('keyup',function() jQuery('#jform_target').on('keyup',function()
{ {
var target_wPaXjiz = jQuery("#jform_target input[type='radio']:checked").val(); var target_HWyJIuC = jQuery("#jform_target input[type='radio']:checked").val();
wPaXjiz(target_wPaXjiz); HWyJIuC(target_HWyJIuC);
}); });
jQuery('#adminForm').on('change', '#jform_target',function (e) jQuery('#adminForm').on('change', '#jform_target',function (e)
{ {
e.preventDefault(); e.preventDefault();
var target_wPaXjiz = jQuery("#jform_target input[type='radio']:checked").val(); var target_HWyJIuC = jQuery("#jform_target input[type='radio']:checked").val();
wPaXjiz(target_wPaXjiz); HWyJIuC(target_HWyJIuC);
}); });

View File

@ -71,7 +71,7 @@ class SermondistributorViewPreacher extends JViewLegacy
} }
// [7167] Get Linked view data // [7167] Get Linked view data
$this->jhasermons = $this->get('Jhasermons'); $this->akssermons = $this->get('Akssermons');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -71,7 +71,7 @@ class SermondistributorViewSeries extends JViewLegacy
} }
// [7167] Get Linked view data // [7167] Get Linked view data
$this->vmlsermons = $this->get('Vmlsermons'); $this->vcvsermons = $this->get('Vcvsermons');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -124,180 +124,180 @@ $componentParams = JComponentHelper::getParams('com_sermondistributor');
<script type="text/javascript"> <script type="text/javascript">
// #jform_source listeners for source_TAXvQRx function // #jform_source listeners for source_IBFygJN function
jQuery('#jform_source').on('keyup',function() jQuery('#jform_source').on('keyup',function()
{ {
var source_TAXvQRx = jQuery("#jform_source").val(); var source_IBFygJN = jQuery("#jform_source").val();
TAXvQRx(source_TAXvQRx); IBFygJN(source_IBFygJN);
}); });
jQuery('#adminForm').on('change', '#jform_source',function (e) jQuery('#adminForm').on('change', '#jform_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_TAXvQRx = jQuery("#jform_source").val(); var source_IBFygJN = jQuery("#jform_source").val();
TAXvQRx(source_TAXvQRx); IBFygJN(source_IBFygJN);
}); });
// #jform_source listeners for source_RkEbgqN function // #jform_source listeners for source_rfSRRvE function
jQuery('#jform_source').on('keyup',function() jQuery('#jform_source').on('keyup',function()
{ {
var source_RkEbgqN = jQuery("#jform_source").val(); var source_rfSRRvE = jQuery("#jform_source").val();
var build_RkEbgqN = jQuery("#jform_build input[type='radio']:checked").val(); var build_rfSRRvE = jQuery("#jform_build input[type='radio']:checked").val();
RkEbgqN(source_RkEbgqN,build_RkEbgqN); rfSRRvE(source_rfSRRvE,build_rfSRRvE);
}); });
jQuery('#adminForm').on('change', '#jform_source',function (e) jQuery('#adminForm').on('change', '#jform_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_RkEbgqN = jQuery("#jform_source").val(); var source_rfSRRvE = jQuery("#jform_source").val();
var build_RkEbgqN = jQuery("#jform_build input[type='radio']:checked").val(); var build_rfSRRvE = jQuery("#jform_build input[type='radio']:checked").val();
RkEbgqN(source_RkEbgqN,build_RkEbgqN); rfSRRvE(source_rfSRRvE,build_rfSRRvE);
}); });
// #jform_build listeners for build_RkEbgqN function // #jform_build listeners for build_rfSRRvE function
jQuery('#jform_build').on('keyup',function() jQuery('#jform_build').on('keyup',function()
{ {
var source_RkEbgqN = jQuery("#jform_source").val(); var source_rfSRRvE = jQuery("#jform_source").val();
var build_RkEbgqN = jQuery("#jform_build input[type='radio']:checked").val(); var build_rfSRRvE = jQuery("#jform_build input[type='radio']:checked").val();
RkEbgqN(source_RkEbgqN,build_RkEbgqN); rfSRRvE(source_rfSRRvE,build_rfSRRvE);
}); });
jQuery('#adminForm').on('change', '#jform_build',function (e) jQuery('#adminForm').on('change', '#jform_build',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_RkEbgqN = jQuery("#jform_source").val(); var source_rfSRRvE = jQuery("#jform_source").val();
var build_RkEbgqN = jQuery("#jform_build input[type='radio']:checked").val(); var build_rfSRRvE = jQuery("#jform_build input[type='radio']:checked").val();
RkEbgqN(source_RkEbgqN,build_RkEbgqN); rfSRRvE(source_rfSRRvE,build_rfSRRvE);
}); });
// #jform_source listeners for source_nkNZrUG function // #jform_source listeners for source_kcwFchX function
jQuery('#jform_source').on('keyup',function() jQuery('#jform_source').on('keyup',function()
{ {
var source_nkNZrUG = jQuery("#jform_source").val(); var source_kcwFchX = jQuery("#jform_source").val();
var build_nkNZrUG = jQuery("#jform_build input[type='radio']:checked").val(); var build_kcwFchX = jQuery("#jform_build input[type='radio']:checked").val();
nkNZrUG(source_nkNZrUG,build_nkNZrUG); kcwFchX(source_kcwFchX,build_kcwFchX);
}); });
jQuery('#adminForm').on('change', '#jform_source',function (e) jQuery('#adminForm').on('change', '#jform_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_nkNZrUG = jQuery("#jform_source").val(); var source_kcwFchX = jQuery("#jform_source").val();
var build_nkNZrUG = jQuery("#jform_build input[type='radio']:checked").val(); var build_kcwFchX = jQuery("#jform_build input[type='radio']:checked").val();
nkNZrUG(source_nkNZrUG,build_nkNZrUG); kcwFchX(source_kcwFchX,build_kcwFchX);
}); });
// #jform_build listeners for build_nkNZrUG function // #jform_build listeners for build_kcwFchX function
jQuery('#jform_build').on('keyup',function() jQuery('#jform_build').on('keyup',function()
{ {
var source_nkNZrUG = jQuery("#jform_source").val(); var source_kcwFchX = jQuery("#jform_source").val();
var build_nkNZrUG = jQuery("#jform_build input[type='radio']:checked").val(); var build_kcwFchX = jQuery("#jform_build input[type='radio']:checked").val();
nkNZrUG(source_nkNZrUG,build_nkNZrUG); kcwFchX(source_kcwFchX,build_kcwFchX);
}); });
jQuery('#adminForm').on('change', '#jform_build',function (e) jQuery('#adminForm').on('change', '#jform_build',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_nkNZrUG = jQuery("#jform_source").val(); var source_kcwFchX = jQuery("#jform_source").val();
var build_nkNZrUG = jQuery("#jform_build input[type='radio']:checked").val(); var build_kcwFchX = jQuery("#jform_build input[type='radio']:checked").val();
nkNZrUG(source_nkNZrUG,build_nkNZrUG); kcwFchX(source_kcwFchX,build_kcwFchX);
}); });
// #jform_build listeners for build_PswgMZi function // #jform_build listeners for build_nUoduMO function
jQuery('#jform_build').on('keyup',function() jQuery('#jform_build').on('keyup',function()
{ {
var build_PswgMZi = jQuery("#jform_build input[type='radio']:checked").val(); var build_nUoduMO = jQuery("#jform_build input[type='radio']:checked").val();
var source_PswgMZi = jQuery("#jform_source").val(); var source_nUoduMO = jQuery("#jform_source").val();
PswgMZi(build_PswgMZi,source_PswgMZi); nUoduMO(build_nUoduMO,source_nUoduMO);
}); });
jQuery('#adminForm').on('change', '#jform_build',function (e) jQuery('#adminForm').on('change', '#jform_build',function (e)
{ {
e.preventDefault(); e.preventDefault();
var build_PswgMZi = jQuery("#jform_build input[type='radio']:checked").val(); var build_nUoduMO = jQuery("#jform_build input[type='radio']:checked").val();
var source_PswgMZi = jQuery("#jform_source").val(); var source_nUoduMO = jQuery("#jform_source").val();
PswgMZi(build_PswgMZi,source_PswgMZi); nUoduMO(build_nUoduMO,source_nUoduMO);
}); });
// #jform_source listeners for source_PswgMZi function // #jform_source listeners for source_nUoduMO function
jQuery('#jform_source').on('keyup',function() jQuery('#jform_source').on('keyup',function()
{ {
var build_PswgMZi = jQuery("#jform_build input[type='radio']:checked").val(); var build_nUoduMO = jQuery("#jform_build input[type='radio']:checked").val();
var source_PswgMZi = jQuery("#jform_source").val(); var source_nUoduMO = jQuery("#jform_source").val();
PswgMZi(build_PswgMZi,source_PswgMZi); nUoduMO(build_nUoduMO,source_nUoduMO);
}); });
jQuery('#adminForm').on('change', '#jform_source',function (e) jQuery('#adminForm').on('change', '#jform_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var build_PswgMZi = jQuery("#jform_build input[type='radio']:checked").val(); var build_nUoduMO = jQuery("#jform_build input[type='radio']:checked").val();
var source_PswgMZi = jQuery("#jform_source").val(); var source_nUoduMO = jQuery("#jform_source").val();
PswgMZi(build_PswgMZi,source_PswgMZi); nUoduMO(build_nUoduMO,source_nUoduMO);
}); });
// #jform_source listeners for source_HmcnElZ function // #jform_source listeners for source_FLgnCOU function
jQuery('#jform_source').on('keyup',function() jQuery('#jform_source').on('keyup',function()
{ {
var source_HmcnElZ = jQuery("#jform_source").val(); var source_FLgnCOU = jQuery("#jform_source").val();
HmcnElZ(source_HmcnElZ); FLgnCOU(source_FLgnCOU);
}); });
jQuery('#adminForm').on('change', '#jform_source',function (e) jQuery('#adminForm').on('change', '#jform_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_HmcnElZ = jQuery("#jform_source").val(); var source_FLgnCOU = jQuery("#jform_source").val();
HmcnElZ(source_HmcnElZ); FLgnCOU(source_FLgnCOU);
}); });
// #jform_source listeners for source_xEDfwTZ function // #jform_source listeners for source_NXjdDlk function
jQuery('#jform_source').on('keyup',function() jQuery('#jform_source').on('keyup',function()
{ {
var source_xEDfwTZ = jQuery("#jform_source").val(); var source_NXjdDlk = jQuery("#jform_source").val();
xEDfwTZ(source_xEDfwTZ); NXjdDlk(source_NXjdDlk);
}); });
jQuery('#adminForm').on('change', '#jform_source',function (e) jQuery('#adminForm').on('change', '#jform_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var source_xEDfwTZ = jQuery("#jform_source").val(); var source_NXjdDlk = jQuery("#jform_source").val();
xEDfwTZ(source_xEDfwTZ); NXjdDlk(source_NXjdDlk);
}); });
// #jform_link_type listeners for link_type_CXOYeuY function // #jform_link_type listeners for link_type_ctPrsiZ function
jQuery('#jform_link_type').on('keyup',function() jQuery('#jform_link_type').on('keyup',function()
{ {
var link_type_CXOYeuY = jQuery("#jform_link_type input[type='radio']:checked").val(); var link_type_ctPrsiZ = jQuery("#jform_link_type input[type='radio']:checked").val();
CXOYeuY(link_type_CXOYeuY); ctPrsiZ(link_type_ctPrsiZ);
}); });
jQuery('#adminForm').on('change', '#jform_link_type',function (e) jQuery('#adminForm').on('change', '#jform_link_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var link_type_CXOYeuY = jQuery("#jform_link_type input[type='radio']:checked").val(); var link_type_ctPrsiZ = jQuery("#jform_link_type input[type='radio']:checked").val();
CXOYeuY(link_type_CXOYeuY); ctPrsiZ(link_type_ctPrsiZ);
}); });
// #jform_link_type listeners for link_type_lahbHtd function // #jform_link_type listeners for link_type_jSSQzwW function
jQuery('#jform_link_type').on('keyup',function() jQuery('#jform_link_type').on('keyup',function()
{ {
var link_type_lahbHtd = jQuery("#jform_link_type input[type='radio']:checked").val(); var link_type_jSSQzwW = jQuery("#jform_link_type input[type='radio']:checked").val();
lahbHtd(link_type_lahbHtd); jSSQzwW(link_type_jSSQzwW);
}); });
jQuery('#adminForm').on('change', '#jform_link_type',function (e) jQuery('#adminForm').on('change', '#jform_link_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var link_type_lahbHtd = jQuery("#jform_link_type input[type='radio']:checked").val(); var link_type_jSSQzwW = jQuery("#jform_link_type input[type='radio']:checked").val();
lahbHtd(link_type_lahbHtd); jSSQzwW(link_type_jSSQzwW);
}); });

View File

@ -71,7 +71,7 @@ class SermondistributorViewSermon extends JViewLegacy
} }
// [7167] Get Linked view data // [7167] Get Linked view data
$this->uxwstastics = $this->get('Uxwstastics'); $this->izistastics = $this->get('Izistastics');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();