Fixed a method from public to protected status error. All other changes are only random variable name and date changes (due to automation)
This commit is contained in:
parent
12fa48a0b4
commit
9e61837cda
@ -43,7 +43,7 @@ class JFormFieldArticles extends JFormFieldList
|
|||||||
*
|
*
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
*/
|
*/
|
||||||
public function getInput()
|
protected function getInput()
|
||||||
{
|
{
|
||||||
// see if we should add buttons
|
// see if we should add buttons
|
||||||
$setButton = $this->getAttribute('button');
|
$setButton = $this->getAttribute('button');
|
||||||
|
@ -18,38 +18,38 @@
|
|||||||
/------------------------------------------------------------------------------------------------------*/
|
/------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
// Some Global Values
|
// Some Global Values
|
||||||
jform_buUjwqCEgw_required = false;
|
jform_mHaLxVHYyC_required = false;
|
||||||
jform_awHrEpJTCs_required = false;
|
jform_aSTTcjFsgo_required = false;
|
||||||
jform_JHuhjDjkaI_required = false;
|
jform_PiHSAiXeZa_required = false;
|
||||||
jform_pceolzDUXH_required = false;
|
jform_brAbXYXLXw_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
{
|
{
|
||||||
var location_jfFNhcv = jQuery("#jform_location input[type='radio']:checked").val();
|
var location_qXGzcva = jQuery("#jform_location input[type='radio']:checked").val();
|
||||||
jfFNhcv(location_jfFNhcv);
|
qXGzcva(location_qXGzcva);
|
||||||
|
|
||||||
var location_IjbbDyi = jQuery("#jform_location input[type='radio']:checked").val();
|
var location_rBfCTdX = jQuery("#jform_location input[type='radio']:checked").val();
|
||||||
IjbbDyi(location_IjbbDyi);
|
rBfCTdX(location_rBfCTdX);
|
||||||
|
|
||||||
var type_buUjwqC = jQuery("#jform_type").val();
|
var type_mHaLxVH = jQuery("#jform_type").val();
|
||||||
buUjwqC(type_buUjwqC);
|
mHaLxVH(type_mHaLxVH);
|
||||||
|
|
||||||
var type_awHrEpJ = jQuery("#jform_type").val();
|
var type_aSTTcjF = jQuery("#jform_type").val();
|
||||||
awHrEpJ(type_awHrEpJ);
|
aSTTcjF(type_aSTTcjF);
|
||||||
|
|
||||||
var type_JHuhjDj = jQuery("#jform_type").val();
|
var type_PiHSAiX = jQuery("#jform_type").val();
|
||||||
JHuhjDj(type_JHuhjDj);
|
PiHSAiX(type_PiHSAiX);
|
||||||
|
|
||||||
var target_pceolzD = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_brAbXYX = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
pceolzD(target_pceolzD);
|
brAbXYX(target_brAbXYX);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the jfFNhcv function
|
// the qXGzcva function
|
||||||
function jfFNhcv(location_jfFNhcv)
|
function qXGzcva(location_qXGzcva)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (location_jfFNhcv == 1)
|
if (location_qXGzcva == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||||
}
|
}
|
||||||
@ -59,11 +59,11 @@ function jfFNhcv(location_jfFNhcv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the IjbbDyi function
|
// the rBfCTdX function
|
||||||
function IjbbDyi(location_IjbbDyi)
|
function rBfCTdX(location_rBfCTdX)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (location_IjbbDyi == 2)
|
if (location_rBfCTdX == 2)
|
||||||
{
|
{
|
||||||
jQuery('#jform_site_view').closest('.control-group').show();
|
jQuery('#jform_site_view').closest('.control-group').show();
|
||||||
}
|
}
|
||||||
@ -73,198 +73,198 @@ function IjbbDyi(location_IjbbDyi)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the buUjwqC function
|
// the mHaLxVH function
|
||||||
function buUjwqC(type_buUjwqC)
|
function mHaLxVH(type_mHaLxVH)
|
||||||
{
|
{
|
||||||
if (isSet(type_buUjwqC) && type_buUjwqC.constructor !== Array)
|
if (isSet(type_mHaLxVH) && type_mHaLxVH.constructor !== Array)
|
||||||
{
|
{
|
||||||
var temp_buUjwqC = type_buUjwqC;
|
var temp_mHaLxVH = type_mHaLxVH;
|
||||||
var type_buUjwqC = [];
|
var type_mHaLxVH = [];
|
||||||
type_buUjwqC.push(temp_buUjwqC);
|
type_mHaLxVH.push(temp_mHaLxVH);
|
||||||
}
|
}
|
||||||
else if (!isSet(type_buUjwqC))
|
else if (!isSet(type_mHaLxVH))
|
||||||
{
|
{
|
||||||
var type_buUjwqC = [];
|
var type_mHaLxVH = [];
|
||||||
}
|
}
|
||||||
var type = type_buUjwqC.some(type_buUjwqC_SomeFunc);
|
var type = type_mHaLxVH.some(type_mHaLxVH_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// set this function logic
|
||||||
if (type)
|
if (type)
|
||||||
{
|
{
|
||||||
jQuery('#jform_url').closest('.control-group').show();
|
jQuery('#jform_url').closest('.control-group').show();
|
||||||
if (jform_buUjwqCEgw_required)
|
if (jform_mHaLxVHYyC_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_buUjwqCEgw_required = false;
|
jform_mHaLxVHYyC_required = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_url').closest('.control-group').hide();
|
jQuery('#jform_url').closest('.control-group').hide();
|
||||||
if (!jform_buUjwqCEgw_required)
|
if (!jform_mHaLxVHYyC_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_buUjwqCEgw_required = true;
|
jform_mHaLxVHYyC_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the buUjwqC Some function
|
// the mHaLxVH Some function
|
||||||
function type_buUjwqC_SomeFunc(type_buUjwqC)
|
function type_mHaLxVH_SomeFunc(type_mHaLxVH)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (type_buUjwqC == 3)
|
if (type_mHaLxVH == 3)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the awHrEpJ function
|
// the aSTTcjF function
|
||||||
function awHrEpJ(type_awHrEpJ)
|
function aSTTcjF(type_aSTTcjF)
|
||||||
{
|
{
|
||||||
if (isSet(type_awHrEpJ) && type_awHrEpJ.constructor !== Array)
|
if (isSet(type_aSTTcjF) && type_aSTTcjF.constructor !== Array)
|
||||||
{
|
{
|
||||||
var temp_awHrEpJ = type_awHrEpJ;
|
var temp_aSTTcjF = type_aSTTcjF;
|
||||||
var type_awHrEpJ = [];
|
var type_aSTTcjF = [];
|
||||||
type_awHrEpJ.push(temp_awHrEpJ);
|
type_aSTTcjF.push(temp_aSTTcjF);
|
||||||
}
|
}
|
||||||
else if (!isSet(type_awHrEpJ))
|
else if (!isSet(type_aSTTcjF))
|
||||||
{
|
{
|
||||||
var type_awHrEpJ = [];
|
var type_aSTTcjF = [];
|
||||||
}
|
}
|
||||||
var type = type_awHrEpJ.some(type_awHrEpJ_SomeFunc);
|
var type = type_aSTTcjF.some(type_aSTTcjF_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// set this function logic
|
||||||
if (type)
|
if (type)
|
||||||
{
|
{
|
||||||
jQuery('#jform_article').closest('.control-group').show();
|
jQuery('#jform_article').closest('.control-group').show();
|
||||||
if (jform_awHrEpJTCs_required)
|
if (jform_aSTTcjFsgo_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_awHrEpJTCs_required = false;
|
jform_aSTTcjFsgo_required = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_article').closest('.control-group').hide();
|
jQuery('#jform_article').closest('.control-group').hide();
|
||||||
if (!jform_awHrEpJTCs_required)
|
if (!jform_aSTTcjFsgo_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_awHrEpJTCs_required = true;
|
jform_aSTTcjFsgo_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the awHrEpJ Some function
|
// the aSTTcjF Some function
|
||||||
function type_awHrEpJ_SomeFunc(type_awHrEpJ)
|
function type_aSTTcjF_SomeFunc(type_aSTTcjF)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (type_awHrEpJ == 1)
|
if (type_aSTTcjF == 1)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the JHuhjDj function
|
// the PiHSAiX function
|
||||||
function JHuhjDj(type_JHuhjDj)
|
function PiHSAiX(type_PiHSAiX)
|
||||||
{
|
{
|
||||||
if (isSet(type_JHuhjDj) && type_JHuhjDj.constructor !== Array)
|
if (isSet(type_PiHSAiX) && type_PiHSAiX.constructor !== Array)
|
||||||
{
|
{
|
||||||
var temp_JHuhjDj = type_JHuhjDj;
|
var temp_PiHSAiX = type_PiHSAiX;
|
||||||
var type_JHuhjDj = [];
|
var type_PiHSAiX = [];
|
||||||
type_JHuhjDj.push(temp_JHuhjDj);
|
type_PiHSAiX.push(temp_PiHSAiX);
|
||||||
}
|
}
|
||||||
else if (!isSet(type_JHuhjDj))
|
else if (!isSet(type_PiHSAiX))
|
||||||
{
|
{
|
||||||
var type_JHuhjDj = [];
|
var type_PiHSAiX = [];
|
||||||
}
|
}
|
||||||
var type = type_JHuhjDj.some(type_JHuhjDj_SomeFunc);
|
var type = type_PiHSAiX.some(type_PiHSAiX_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// 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_JHuhjDjkaI_required)
|
if (jform_PiHSAiXeZa_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_JHuhjDjkaI_required = false;
|
jform_PiHSAiXeZa_required = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
||||||
if (!jform_JHuhjDjkaI_required)
|
if (!jform_PiHSAiXeZa_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_JHuhjDjkaI_required = true;
|
jform_PiHSAiXeZa_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the JHuhjDj Some function
|
// the PiHSAiX Some function
|
||||||
function type_JHuhjDj_SomeFunc(type_JHuhjDj)
|
function type_PiHSAiX_SomeFunc(type_PiHSAiX)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (type_JHuhjDj == 2)
|
if (type_PiHSAiX == 2)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the pceolzD function
|
// the brAbXYX function
|
||||||
function pceolzD(target_pceolzD)
|
function brAbXYX(target_brAbXYX)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (target_pceolzD == 1)
|
if (target_brAbXYX == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_groups').closest('.control-group').show();
|
jQuery('#jform_groups').closest('.control-group').show();
|
||||||
if (jform_pceolzDUXH_required)
|
if (jform_brAbXYXLXw_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_pceolzDUXH_required = false;
|
jform_brAbXYXLXw_required = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_groups').closest('.control-group').hide();
|
jQuery('#jform_groups').closest('.control-group').hide();
|
||||||
if (!jform_pceolzDUXH_required)
|
if (!jform_brAbXYXLXw_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_pceolzDUXH_required = true;
|
jform_brAbXYXLXw_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,23 +18,23 @@
|
|||||||
/------------------------------------------------------------------------------------------------------*/
|
/------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
// Some Global Values
|
// Some Global Values
|
||||||
jform_kRTvpkrmEl_required = false;
|
jform_IJPcusUjqK_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
{
|
{
|
||||||
var name_DPMkarz = jQuery("#jform_name").val();
|
var name_AxdqOTc = jQuery("#jform_name").val();
|
||||||
DPMkarz(name_DPMkarz);
|
AxdqOTc(name_AxdqOTc);
|
||||||
|
|
||||||
var add_kRTvpkr = jQuery("#jform_add input[type='radio']:checked").val();
|
var add_IJPcusU = jQuery("#jform_add input[type='radio']:checked").val();
|
||||||
kRTvpkr(add_kRTvpkr);
|
IJPcusU(add_IJPcusU);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the DPMkarz function
|
// the AxdqOTc function
|
||||||
function DPMkarz(name_DPMkarz)
|
function AxdqOTc(name_AxdqOTc)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (isSet(name_DPMkarz))
|
if (isSet(name_AxdqOTc))
|
||||||
{
|
{
|
||||||
jQuery('#jform_alias').closest('.control-group').show();
|
jQuery('#jform_alias').closest('.control-group').show();
|
||||||
jQuery('#jform_description').closest('.control-group').show();
|
jQuery('#jform_description').closest('.control-group').show();
|
||||||
@ -46,20 +46,20 @@ function DPMkarz(name_DPMkarz)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the kRTvpkr function
|
// the IJPcusU function
|
||||||
function kRTvpkr(add_kRTvpkr)
|
function IJPcusU(add_IJPcusU)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_kRTvpkr == 1)
|
if (add_IJPcusU == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_acronym').closest('.control-group').show();
|
jQuery('#jform_acronym').closest('.control-group').show();
|
||||||
if (jform_kRTvpkrmEl_required)
|
if (jform_IJPcusUjqK_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('acronym',0);
|
updateFieldRequired('acronym',0);
|
||||||
jQuery('#jform_acronym').prop('required','required');
|
jQuery('#jform_acronym').prop('required','required');
|
||||||
jQuery('#jform_acronym').attr('aria-required',true);
|
jQuery('#jform_acronym').attr('aria-required',true);
|
||||||
jQuery('#jform_acronym').addClass('required');
|
jQuery('#jform_acronym').addClass('required');
|
||||||
jform_kRTvpkrmEl_required = false;
|
jform_IJPcusUjqK_required = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_website').closest('.control-group').show();
|
jQuery('#jform_website').closest('.control-group').show();
|
||||||
@ -67,13 +67,13 @@ function kRTvpkr(add_kRTvpkr)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_acronym').closest('.control-group').hide();
|
jQuery('#jform_acronym').closest('.control-group').hide();
|
||||||
if (!jform_kRTvpkrmEl_required)
|
if (!jform_IJPcusUjqK_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('acronym',1);
|
updateFieldRequired('acronym',1);
|
||||||
jQuery('#jform_acronym').removeAttr('required');
|
jQuery('#jform_acronym').removeAttr('required');
|
||||||
jQuery('#jform_acronym').removeAttr('aria-required');
|
jQuery('#jform_acronym').removeAttr('aria-required');
|
||||||
jQuery('#jform_acronym').removeClass('required');
|
jQuery('#jform_acronym').removeClass('required');
|
||||||
jform_kRTvpkrmEl_required = true;
|
jform_IJPcusUjqK_required = true;
|
||||||
}
|
}
|
||||||
jQuery('#jform_website').closest('.control-group').hide();
|
jQuery('#jform_website').closest('.control-group').hide();
|
||||||
}
|
}
|
||||||
|
@ -393,7 +393,7 @@ class DemoModelHelp_document extends JModelAdmin
|
|||||||
*
|
*
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
*/
|
*/
|
||||||
public function getUniqeFields()
|
protected function getUniqeFields()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -524,7 +524,7 @@ class DemoModelHelp_document extends JModelAdmin
|
|||||||
*
|
*
|
||||||
* @since 12.2
|
* @since 12.2
|
||||||
*/
|
*/
|
||||||
public function batchCopy($values, $pks, $contexts)
|
protected function batchCopy($values, $pks, $contexts)
|
||||||
{
|
{
|
||||||
if (empty($this->batchSet))
|
if (empty($this->batchSet))
|
||||||
{
|
{
|
||||||
@ -673,7 +673,7 @@ class DemoModelHelp_document extends JModelAdmin
|
|||||||
*
|
*
|
||||||
* @since 12.2
|
* @since 12.2
|
||||||
*/
|
*/
|
||||||
public function batchMove($values, $pks, $contexts)
|
protected function batchMove($values, $pks, $contexts)
|
||||||
{
|
{
|
||||||
if (empty($this->batchSet))
|
if (empty($this->batchSet))
|
||||||
{
|
{
|
||||||
@ -920,7 +920,7 @@ class DemoModelHelp_document extends JModelAdmin
|
|||||||
* @return array Contains the modified title and alias.
|
* @return array Contains the modified title and alias.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function _generateNewTitle($alias, $title)
|
protected function _generateNewTitle($alias, $title)
|
||||||
{
|
{
|
||||||
|
|
||||||
// Alter the title & alias
|
// Alter the title & alias
|
||||||
|
@ -173,7 +173,7 @@ class DemoModelHelp_documents extends JModelList
|
|||||||
*
|
*
|
||||||
* @return translatable string
|
* @return translatable string
|
||||||
*/
|
*/
|
||||||
public function selectionTranslation($value,$name)
|
protected function selectionTranslation($value,$name)
|
||||||
{
|
{
|
||||||
// Array of type language strings
|
// Array of type language strings
|
||||||
if ($name == 'type')
|
if ($name == 'type')
|
||||||
@ -425,7 +425,7 @@ class DemoModelHelp_documents extends JModelList
|
|||||||
* @return a bool
|
* @return a bool
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function checkInNow()
|
protected function checkInNow()
|
||||||
{
|
{
|
||||||
// Get set check in time
|
// Get set check in time
|
||||||
$time = JComponentHelper::getParams('com_demo')->get('check_in');
|
$time = JComponentHelper::getParams('com_demo')->get('check_in');
|
||||||
|
@ -440,7 +440,7 @@ class DemoModelLook extends JModelAdmin
|
|||||||
*
|
*
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
*/
|
*/
|
||||||
public function getUniqeFields()
|
protected function getUniqeFields()
|
||||||
{
|
{
|
||||||
return array('acronym');
|
return array('acronym');
|
||||||
}
|
}
|
||||||
@ -571,7 +571,7 @@ class DemoModelLook extends JModelAdmin
|
|||||||
*
|
*
|
||||||
* @since 12.2
|
* @since 12.2
|
||||||
*/
|
*/
|
||||||
public function batchCopy($values, $pks, $contexts)
|
protected function batchCopy($values, $pks, $contexts)
|
||||||
{
|
{
|
||||||
if (empty($this->batchSet))
|
if (empty($this->batchSet))
|
||||||
{
|
{
|
||||||
@ -720,7 +720,7 @@ class DemoModelLook extends JModelAdmin
|
|||||||
*
|
*
|
||||||
* @since 12.2
|
* @since 12.2
|
||||||
*/
|
*/
|
||||||
public function batchMove($values, $pks, $contexts)
|
protected function batchMove($values, $pks, $contexts)
|
||||||
{
|
{
|
||||||
if (empty($this->batchSet))
|
if (empty($this->batchSet))
|
||||||
{
|
{
|
||||||
@ -961,7 +961,7 @@ class DemoModelLook extends JModelAdmin
|
|||||||
* @return array Contains the modified title and alias.
|
* @return array Contains the modified title and alias.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function _generateNewTitle($alias, $title)
|
protected function _generateNewTitle($alias, $title)
|
||||||
{
|
{
|
||||||
|
|
||||||
// Alter the title & alias
|
// Alter the title & alias
|
||||||
|
@ -151,7 +151,7 @@ class DemoModelLooks extends JModelList
|
|||||||
*
|
*
|
||||||
* @return translatable string
|
* @return translatable string
|
||||||
*/
|
*/
|
||||||
public function selectionTranslation($value,$name)
|
protected function selectionTranslation($value,$name)
|
||||||
{
|
{
|
||||||
// Array of add language strings
|
// Array of add language strings
|
||||||
if ($name == 'add')
|
if ($name == 'add')
|
||||||
@ -378,7 +378,7 @@ class DemoModelLooks extends JModelList
|
|||||||
* @return a bool
|
* @return a bool
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function checkInNow()
|
protected function checkInNow()
|
||||||
{
|
{
|
||||||
// Get set check in time
|
// Get set check in time
|
||||||
$time = JComponentHelper::getParams('com_demo')->get('check_in');
|
$time = JComponentHelper::getParams('com_demo')->get('check_in');
|
||||||
|
@ -97,93 +97,93 @@ $componentParams = JComponentHelper::getParams('com_demo');
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_location listeners for location_jfFNhcv function
|
// #jform_location listeners for location_qXGzcva function
|
||||||
jQuery('#jform_location').on('keyup',function()
|
jQuery('#jform_location').on('keyup',function()
|
||||||
{
|
{
|
||||||
var location_jfFNhcv = jQuery("#jform_location input[type='radio']:checked").val();
|
var location_qXGzcva = jQuery("#jform_location input[type='radio']:checked").val();
|
||||||
jfFNhcv(location_jfFNhcv);
|
qXGzcva(location_qXGzcva);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var location_jfFNhcv = jQuery("#jform_location input[type='radio']:checked").val();
|
var location_qXGzcva = jQuery("#jform_location input[type='radio']:checked").val();
|
||||||
jfFNhcv(location_jfFNhcv);
|
qXGzcva(location_qXGzcva);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_location listeners for location_IjbbDyi function
|
// #jform_location listeners for location_rBfCTdX function
|
||||||
jQuery('#jform_location').on('keyup',function()
|
jQuery('#jform_location').on('keyup',function()
|
||||||
{
|
{
|
||||||
var location_IjbbDyi = jQuery("#jform_location input[type='radio']:checked").val();
|
var location_rBfCTdX = jQuery("#jform_location input[type='radio']:checked").val();
|
||||||
IjbbDyi(location_IjbbDyi);
|
rBfCTdX(location_rBfCTdX);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var location_IjbbDyi = jQuery("#jform_location input[type='radio']:checked").val();
|
var location_rBfCTdX = jQuery("#jform_location input[type='radio']:checked").val();
|
||||||
IjbbDyi(location_IjbbDyi);
|
rBfCTdX(location_rBfCTdX);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_type listeners for type_buUjwqC function
|
// #jform_type listeners for type_mHaLxVH function
|
||||||
jQuery('#jform_type').on('keyup',function()
|
jQuery('#jform_type').on('keyup',function()
|
||||||
{
|
{
|
||||||
var type_buUjwqC = jQuery("#jform_type").val();
|
var type_mHaLxVH = jQuery("#jform_type").val();
|
||||||
buUjwqC(type_buUjwqC);
|
mHaLxVH(type_mHaLxVH);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var type_buUjwqC = jQuery("#jform_type").val();
|
var type_mHaLxVH = jQuery("#jform_type").val();
|
||||||
buUjwqC(type_buUjwqC);
|
mHaLxVH(type_mHaLxVH);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_type listeners for type_awHrEpJ function
|
// #jform_type listeners for type_aSTTcjF function
|
||||||
jQuery('#jform_type').on('keyup',function()
|
jQuery('#jform_type').on('keyup',function()
|
||||||
{
|
{
|
||||||
var type_awHrEpJ = jQuery("#jform_type").val();
|
var type_aSTTcjF = jQuery("#jform_type").val();
|
||||||
awHrEpJ(type_awHrEpJ);
|
aSTTcjF(type_aSTTcjF);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var type_awHrEpJ = jQuery("#jform_type").val();
|
var type_aSTTcjF = jQuery("#jform_type").val();
|
||||||
awHrEpJ(type_awHrEpJ);
|
aSTTcjF(type_aSTTcjF);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_type listeners for type_JHuhjDj function
|
// #jform_type listeners for type_PiHSAiX function
|
||||||
jQuery('#jform_type').on('keyup',function()
|
jQuery('#jform_type').on('keyup',function()
|
||||||
{
|
{
|
||||||
var type_JHuhjDj = jQuery("#jform_type").val();
|
var type_PiHSAiX = jQuery("#jform_type").val();
|
||||||
JHuhjDj(type_JHuhjDj);
|
PiHSAiX(type_PiHSAiX);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var type_JHuhjDj = jQuery("#jform_type").val();
|
var type_PiHSAiX = jQuery("#jform_type").val();
|
||||||
JHuhjDj(type_JHuhjDj);
|
PiHSAiX(type_PiHSAiX);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_target listeners for target_pceolzD function
|
// #jform_target listeners for target_brAbXYX function
|
||||||
jQuery('#jform_target').on('keyup',function()
|
jQuery('#jform_target').on('keyup',function()
|
||||||
{
|
{
|
||||||
var target_pceolzD = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_brAbXYX = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
pceolzD(target_pceolzD);
|
brAbXYX(target_brAbXYX);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var target_pceolzD = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_brAbXYX = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
pceolzD(target_pceolzD);
|
brAbXYX(target_brAbXYX);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -103,33 +103,33 @@ $componentParams = JComponentHelper::getParams('com_demo');
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_name listeners for name_DPMkarz function
|
// #jform_name listeners for name_AxdqOTc function
|
||||||
jQuery('#jform_name').on('keyup',function()
|
jQuery('#jform_name').on('keyup',function()
|
||||||
{
|
{
|
||||||
var name_DPMkarz = jQuery("#jform_name").val();
|
var name_AxdqOTc = jQuery("#jform_name").val();
|
||||||
DPMkarz(name_DPMkarz);
|
AxdqOTc(name_AxdqOTc);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_name',function (e)
|
jQuery('#adminForm').on('change', '#jform_name',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var name_DPMkarz = jQuery("#jform_name").val();
|
var name_AxdqOTc = jQuery("#jform_name").val();
|
||||||
DPMkarz(name_DPMkarz);
|
AxdqOTc(name_AxdqOTc);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add listeners for add_kRTvpkr function
|
// #jform_add listeners for add_IJPcusU function
|
||||||
jQuery('#jform_add').on('keyup',function()
|
jQuery('#jform_add').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_kRTvpkr = jQuery("#jform_add input[type='radio']:checked").val();
|
var add_IJPcusU = jQuery("#jform_add input[type='radio']:checked").val();
|
||||||
kRTvpkr(add_kRTvpkr);
|
IJPcusU(add_IJPcusU);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add',function (e)
|
jQuery('#adminForm').on('change', '#jform_add',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_kRTvpkr = jQuery("#jform_add input[type='radio']:checked").val();
|
var add_IJPcusU = jQuery("#jform_add input[type='radio']:checked").val();
|
||||||
kRTvpkr(add_kRTvpkr);
|
IJPcusU(add_IJPcusU);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user