Basic improvements, all other changes are only random variable name and date changes (due to automation sorry)

This commit is contained in:
Llewellyn van der Merwe 2016-01-11 22:11:48 +02:00
parent bd12ac2db9
commit 1e544a95db
83 changed files with 223 additions and 219 deletions

View File

@ -10,7 +10,7 @@ Just a basic demo of the most basic implementations of the [Joomla] (http://www.
+ *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io) + *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io)
+ *Name*: [Demo] (https://www.vdm.io/) + *Name*: [Demo] (https://www.vdm.io/)
+ *First Build*: 5th August, 2015 + *First Build*: 5th August, 2015
+ *Last Build*: 29th December, 2015 + *Last Build*: 6th January, 2016
+ *Version*: 1.0.5 + *Version*: 1.0.5
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -23,7 +23,7 @@ due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builde
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
> never making one mistake or taking any coffee break.) > never making one mistake or taking any coffee break.)
+ *Line count*: **15411** + *Line count*: **15415**
+ *File count*: **152** + *File count*: **152**
+ *Folder count*: **50** + *Folder count*: **50**

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage admin.css @subpackage admin.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage dashboard.css @subpackage dashboard.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage help_document.css @subpackage help_document.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage help_documents.css @subpackage help_documents.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage look.css @subpackage look.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage looks.css @subpackage looks.css

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage controller.php @subpackage controller.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage demo.php @subpackage demo.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage help.php @subpackage help.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage help_document.php @subpackage help_document.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage help_documents.php @subpackage help_documents.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage import.php @subpackage import.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage look.php @subpackage look.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage looks.php @subpackage looks.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage demo.php @subpackage demo.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage demo.php @subpackage demo.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage batch_.php @subpackage batch_.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage batchselection.php @subpackage batchselection.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage details_above.php @subpackage details_above.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage details_left.php @subpackage details_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage details_right.php @subpackage details_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage details_under.php @subpackage details_under.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage metadata.php @subpackage metadata.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage publishing.php @subpackage publishing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage details_above.php @subpackage details_above.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage details_left.php @subpackage details_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage details_right.php @subpackage details_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage details_under.php @subpackage details_under.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage metadata.php @subpackage metadata.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage publishing.php @subpackage publishing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage repetable_numbers_left.php @subpackage repetable_numbers_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage repetable_numbers_right.php @subpackage repetable_numbers_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage demo.php @subpackage demo.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage articles.php @subpackage articles.php

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage help_document.js @subpackage help_document.js
@ -18,38 +18,38 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_hCmROoyRik_required = false; jform_UwWDUibNSG_required = false;
jform_SPnilgyKTR_required = false; jform_OhjWnCSlYt_required = false;
jform_qYufgfpRHo_required = false; jform_TfDWyOuWhA_required = false;
jform_pMRKFEUXwb_required = false; jform_vceyFYEzKq_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var location_qNsMhBK = jQuery("#jform_location input[type='radio']:checked").val(); var location_doyJedc = jQuery("#jform_location input[type='radio']:checked").val();
qNsMhBK(location_qNsMhBK); doyJedc(location_doyJedc);
var location_gFpJuTv = jQuery("#jform_location input[type='radio']:checked").val(); var location_smDxuix = jQuery("#jform_location input[type='radio']:checked").val();
gFpJuTv(location_gFpJuTv); smDxuix(location_smDxuix);
var type_hCmROoy = jQuery("#jform_type").val(); var type_UwWDUib = jQuery("#jform_type").val();
hCmROoy(type_hCmROoy); UwWDUib(type_UwWDUib);
var type_SPnilgy = jQuery("#jform_type").val(); var type_OhjWnCS = jQuery("#jform_type").val();
SPnilgy(type_SPnilgy); OhjWnCS(type_OhjWnCS);
var type_qYufgfp = jQuery("#jform_type").val(); var type_TfDWyOu = jQuery("#jform_type").val();
qYufgfp(type_qYufgfp); TfDWyOu(type_TfDWyOu);
var target_pMRKFEU = jQuery("#jform_target input[type='radio']:checked").val(); var target_vceyFYE = jQuery("#jform_target input[type='radio']:checked").val();
pMRKFEU(target_pMRKFEU); vceyFYE(target_vceyFYE);
}); });
// the qNsMhBK function // the doyJedc function
function qNsMhBK(location_qNsMhBK) function doyJedc(location_doyJedc)
{ {
// set the function logic // set the function logic
if (location_qNsMhBK == 1) if (location_doyJedc == 1)
{ {
jQuery('#jform_admin_view').closest('.control-group').show(); jQuery('#jform_admin_view').closest('.control-group').show();
} }
@ -59,11 +59,11 @@ function qNsMhBK(location_qNsMhBK)
} }
} }
// the gFpJuTv function // the smDxuix function
function gFpJuTv(location_gFpJuTv) function smDxuix(location_smDxuix)
{ {
// set the function logic // set the function logic
if (location_gFpJuTv == 2) if (location_smDxuix == 2)
{ {
jQuery('#jform_site_view').closest('.control-group').show(); jQuery('#jform_site_view').closest('.control-group').show();
} }
@ -73,198 +73,198 @@ function gFpJuTv(location_gFpJuTv)
} }
} }
// the hCmROoy function // the UwWDUib function
function hCmROoy(type_hCmROoy) function UwWDUib(type_UwWDUib)
{ {
if (isSet(type_hCmROoy) && type_hCmROoy.constructor !== Array) if (isSet(type_UwWDUib) && type_UwWDUib.constructor !== Array)
{ {
var temp_hCmROoy = type_hCmROoy; var temp_UwWDUib = type_UwWDUib;
var type_hCmROoy = []; var type_UwWDUib = [];
type_hCmROoy.push(temp_hCmROoy); type_UwWDUib.push(temp_UwWDUib);
} }
else if (!isSet(type_hCmROoy)) else if (!isSet(type_UwWDUib))
{ {
var type_hCmROoy = []; var type_UwWDUib = [];
} }
var type = type_hCmROoy.some(type_hCmROoy_SomeFunc); var type = type_UwWDUib.some(type_UwWDUib_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_hCmROoyRik_required) if (jform_UwWDUibNSG_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_hCmROoyRik_required = false; jform_UwWDUibNSG_required = false;
} }
} }
else else
{ {
jQuery('#jform_url').closest('.control-group').hide(); jQuery('#jform_url').closest('.control-group').hide();
if (!jform_hCmROoyRik_required) if (!jform_UwWDUibNSG_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_hCmROoyRik_required = true; jform_UwWDUibNSG_required = true;
} }
} }
} }
// the hCmROoy Some function // the UwWDUib Some function
function type_hCmROoy_SomeFunc(type_hCmROoy) function type_UwWDUib_SomeFunc(type_UwWDUib)
{ {
// set the function logic // set the function logic
if (type_hCmROoy == 3) if (type_UwWDUib == 3)
{ {
return true; return true;
} }
return false; return false;
} }
// the SPnilgy function // the OhjWnCS function
function SPnilgy(type_SPnilgy) function OhjWnCS(type_OhjWnCS)
{ {
if (isSet(type_SPnilgy) && type_SPnilgy.constructor !== Array) if (isSet(type_OhjWnCS) && type_OhjWnCS.constructor !== Array)
{ {
var temp_SPnilgy = type_SPnilgy; var temp_OhjWnCS = type_OhjWnCS;
var type_SPnilgy = []; var type_OhjWnCS = [];
type_SPnilgy.push(temp_SPnilgy); type_OhjWnCS.push(temp_OhjWnCS);
} }
else if (!isSet(type_SPnilgy)) else if (!isSet(type_OhjWnCS))
{ {
var type_SPnilgy = []; var type_OhjWnCS = [];
} }
var type = type_SPnilgy.some(type_SPnilgy_SomeFunc); var type = type_OhjWnCS.some(type_OhjWnCS_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_SPnilgyKTR_required) if (jform_OhjWnCSlYt_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_SPnilgyKTR_required = false; jform_OhjWnCSlYt_required = false;
} }
} }
else else
{ {
jQuery('#jform_article').closest('.control-group').hide(); jQuery('#jform_article').closest('.control-group').hide();
if (!jform_SPnilgyKTR_required) if (!jform_OhjWnCSlYt_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_SPnilgyKTR_required = true; jform_OhjWnCSlYt_required = true;
} }
} }
} }
// the SPnilgy Some function // the OhjWnCS Some function
function type_SPnilgy_SomeFunc(type_SPnilgy) function type_OhjWnCS_SomeFunc(type_OhjWnCS)
{ {
// set the function logic // set the function logic
if (type_SPnilgy == 1) if (type_OhjWnCS == 1)
{ {
return true; return true;
} }
return false; return false;
} }
// the qYufgfp function // the TfDWyOu function
function qYufgfp(type_qYufgfp) function TfDWyOu(type_TfDWyOu)
{ {
if (isSet(type_qYufgfp) && type_qYufgfp.constructor !== Array) if (isSet(type_TfDWyOu) && type_TfDWyOu.constructor !== Array)
{ {
var temp_qYufgfp = type_qYufgfp; var temp_TfDWyOu = type_TfDWyOu;
var type_qYufgfp = []; var type_TfDWyOu = [];
type_qYufgfp.push(temp_qYufgfp); type_TfDWyOu.push(temp_TfDWyOu);
} }
else if (!isSet(type_qYufgfp)) else if (!isSet(type_TfDWyOu))
{ {
var type_qYufgfp = []; var type_TfDWyOu = [];
} }
var type = type_qYufgfp.some(type_qYufgfp_SomeFunc); var type = type_TfDWyOu.some(type_TfDWyOu_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_qYufgfpRHo_required) if (jform_TfDWyOuWhA_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_qYufgfpRHo_required = false; jform_TfDWyOuWhA_required = false;
} }
} }
else else
{ {
jQuery('#jform_content-lbl').closest('.control-group').hide(); jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_qYufgfpRHo_required) if (!jform_TfDWyOuWhA_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_qYufgfpRHo_required = true; jform_TfDWyOuWhA_required = true;
} }
} }
} }
// the qYufgfp Some function // the TfDWyOu Some function
function type_qYufgfp_SomeFunc(type_qYufgfp) function type_TfDWyOu_SomeFunc(type_TfDWyOu)
{ {
// set the function logic // set the function logic
if (type_qYufgfp == 2) if (type_TfDWyOu == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the pMRKFEU function // the vceyFYE function
function pMRKFEU(target_pMRKFEU) function vceyFYE(target_vceyFYE)
{ {
// set the function logic // set the function logic
if (target_pMRKFEU == 1) if (target_vceyFYE == 1)
{ {
jQuery('#jform_groups').closest('.control-group').show(); jQuery('#jform_groups').closest('.control-group').show();
if (jform_pMRKFEUXwb_required) if (jform_vceyFYEzKq_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_pMRKFEUXwb_required = false; jform_vceyFYEzKq_required = false;
} }
} }
else else
{ {
jQuery('#jform_groups').closest('.control-group').hide(); jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_pMRKFEUXwb_required) if (!jform_vceyFYEzKq_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_pMRKFEUXwb_required = true; jform_vceyFYEzKq_required = true;
} }
} }
} }

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage look.js @subpackage look.js
@ -18,23 +18,23 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_eUNYKfuCQx_required = false; jform_VLLamwheAX_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var name_LPOIjWF = jQuery("#jform_name").val(); var name_AqrIpkD = jQuery("#jform_name").val();
LPOIjWF(name_LPOIjWF); AqrIpkD(name_AqrIpkD);
var add_eUNYKfu = jQuery("#jform_add input[type='radio']:checked").val(); var add_VLLamwh = jQuery("#jform_add input[type='radio']:checked").val();
eUNYKfu(add_eUNYKfu); VLLamwh(add_VLLamwh);
}); });
// the LPOIjWF function // the AqrIpkD function
function LPOIjWF(name_LPOIjWF) function AqrIpkD(name_AqrIpkD)
{ {
// set the function logic // set the function logic
if (isSet(name_LPOIjWF)) if (isSet(name_AqrIpkD))
{ {
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 LPOIjWF(name_LPOIjWF)
} }
} }
// the eUNYKfu function // the VLLamwh function
function eUNYKfu(add_eUNYKfu) function VLLamwh(add_VLLamwh)
{ {
// set the function logic // set the function logic
if (add_eUNYKfu == 1) if (add_VLLamwh == 1)
{ {
jQuery('#jform_acronym').closest('.control-group').show(); jQuery('#jform_acronym').closest('.control-group').show();
if (jform_eUNYKfuCQx_required) if (jform_VLLamwheAX_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_eUNYKfuCQx_required = false; jform_VLLamwheAX_required = false;
} }
jQuery('#jform_website').closest('.control-group').show(); jQuery('#jform_website').closest('.control-group').show();
@ -67,13 +67,13 @@ function eUNYKfu(add_eUNYKfu)
else else
{ {
jQuery('#jform_acronym').closest('.control-group').hide(); jQuery('#jform_acronym').closest('.control-group').hide();
if (!jform_eUNYKfuCQx_required) if (!jform_VLLamwheAX_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_eUNYKfuCQx_required = true; jform_VLLamwheAX_required = true;
} }
jQuery('#jform_website').closest('.control-group').hide(); jQuery('#jform_website').closest('.control-group').hide();
} }

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage help_document.php @subpackage help_document.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage help_documents.php @subpackage help_documents.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage import.php @subpackage import.php
@ -193,7 +193,10 @@ class DemoModelImport extends JModelLegacy
protected function _getPackageFromUpload() protected function _getPackageFromUpload()
{ {
// Get the uploaded file information // Get the uploaded file information
$userfile = JRequest::getVar('import_package', null, 'files', 'array'); $input = JFactory::getApplication()->input;
// Do not change the filter type 'raw'. We need this to let files containing PHP code to upload. See JInputFiles::get.
$userfile = $input->files->get('import_package', null, 'raw');
// Make sure that file uploads are enabled in php // Make sure that file uploads are enabled in php
if (!(bool) ini_get('file_uploads')) if (!(bool) ini_get('file_uploads'))

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage look.php @subpackage look.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage looks.php @subpackage looks.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage help_document.php @subpackage help_document.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage look.php @subpackage look.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default.php @subpackage default.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_main.php @subpackage default_main.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_vdm.php @subpackage default_vdm.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage view.html.php @subpackage view.html.php

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage submitbutton.js @subpackage submitbutton.js

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage edit.php @subpackage edit.php
@ -95,93 +95,93 @@ $componentParams = JComponentHelper::getParams('com_demo');
<script type="text/javascript"> <script type="text/javascript">
// #jform_location listeners for location_qNsMhBK function // #jform_location listeners for location_doyJedc function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var location_qNsMhBK = jQuery("#jform_location input[type='radio']:checked").val(); var location_doyJedc = jQuery("#jform_location input[type='radio']:checked").val();
qNsMhBK(location_qNsMhBK); doyJedc(location_doyJedc);
}); });
jQuery('#adminForm').on('change', '#jform_location',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var location_qNsMhBK = jQuery("#jform_location input[type='radio']:checked").val(); var location_doyJedc = jQuery("#jform_location input[type='radio']:checked").val();
qNsMhBK(location_qNsMhBK); doyJedc(location_doyJedc);
}); });
// #jform_location listeners for location_gFpJuTv function // #jform_location listeners for location_smDxuix function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var location_gFpJuTv = jQuery("#jform_location input[type='radio']:checked").val(); var location_smDxuix = jQuery("#jform_location input[type='radio']:checked").val();
gFpJuTv(location_gFpJuTv); smDxuix(location_smDxuix);
}); });
jQuery('#adminForm').on('change', '#jform_location',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var location_gFpJuTv = jQuery("#jform_location input[type='radio']:checked").val(); var location_smDxuix = jQuery("#jform_location input[type='radio']:checked").val();
gFpJuTv(location_gFpJuTv); smDxuix(location_smDxuix);
}); });
// #jform_type listeners for type_hCmROoy function // #jform_type listeners for type_UwWDUib function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_hCmROoy = jQuery("#jform_type").val(); var type_UwWDUib = jQuery("#jform_type").val();
hCmROoy(type_hCmROoy); UwWDUib(type_UwWDUib);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_hCmROoy = jQuery("#jform_type").val(); var type_UwWDUib = jQuery("#jform_type").val();
hCmROoy(type_hCmROoy); UwWDUib(type_UwWDUib);
}); });
// #jform_type listeners for type_SPnilgy function // #jform_type listeners for type_OhjWnCS function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_SPnilgy = jQuery("#jform_type").val(); var type_OhjWnCS = jQuery("#jform_type").val();
SPnilgy(type_SPnilgy); OhjWnCS(type_OhjWnCS);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_SPnilgy = jQuery("#jform_type").val(); var type_OhjWnCS = jQuery("#jform_type").val();
SPnilgy(type_SPnilgy); OhjWnCS(type_OhjWnCS);
}); });
// #jform_type listeners for type_qYufgfp function // #jform_type listeners for type_TfDWyOu function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_qYufgfp = jQuery("#jform_type").val(); var type_TfDWyOu = jQuery("#jform_type").val();
qYufgfp(type_qYufgfp); TfDWyOu(type_TfDWyOu);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_qYufgfp = jQuery("#jform_type").val(); var type_TfDWyOu = jQuery("#jform_type").val();
qYufgfp(type_qYufgfp); TfDWyOu(type_TfDWyOu);
}); });
// #jform_target listeners for target_pMRKFEU function // #jform_target listeners for target_vceyFYE function
jQuery('#jform_target').on('keyup',function() jQuery('#jform_target').on('keyup',function()
{ {
var target_pMRKFEU = jQuery("#jform_target input[type='radio']:checked").val(); var target_vceyFYE = jQuery("#jform_target input[type='radio']:checked").val();
pMRKFEU(target_pMRKFEU); vceyFYE(target_vceyFYE);
}); });
jQuery('#adminForm').on('change', '#jform_target',function (e) jQuery('#adminForm').on('change', '#jform_target',function (e)
{ {
e.preventDefault(); e.preventDefault();
var target_pMRKFEU = jQuery("#jform_target input[type='radio']:checked").val(); var target_vceyFYE = jQuery("#jform_target input[type='radio']:checked").val();
pMRKFEU(target_pMRKFEU); vceyFYE(target_vceyFYE);
}); });

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage view.html.php @subpackage view.html.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default.php @subpackage default.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_batch_body.php @subpackage default_batch_body.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_batch_footer.php @subpackage default_batch_footer.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_body.php @subpackage default_body.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_foot.php @subpackage default_foot.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_head.php @subpackage default_head.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_toolbar.php @subpackage default_toolbar.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage view.html.php @subpackage view.html.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default.php @subpackage default.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage view.html.php @subpackage view.html.php

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage submitbutton.js @subpackage submitbutton.js

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage edit.php @subpackage edit.php
@ -101,33 +101,33 @@ $componentParams = JComponentHelper::getParams('com_demo');
<script type="text/javascript"> <script type="text/javascript">
// #jform_name listeners for name_LPOIjWF function // #jform_name listeners for name_AqrIpkD function
jQuery('#jform_name').on('keyup',function() jQuery('#jform_name').on('keyup',function()
{ {
var name_LPOIjWF = jQuery("#jform_name").val(); var name_AqrIpkD = jQuery("#jform_name").val();
LPOIjWF(name_LPOIjWF); AqrIpkD(name_AqrIpkD);
}); });
jQuery('#adminForm').on('change', '#jform_name',function (e) jQuery('#adminForm').on('change', '#jform_name',function (e)
{ {
e.preventDefault(); e.preventDefault();
var name_LPOIjWF = jQuery("#jform_name").val(); var name_AqrIpkD = jQuery("#jform_name").val();
LPOIjWF(name_LPOIjWF); AqrIpkD(name_AqrIpkD);
}); });
// #jform_add listeners for add_eUNYKfu function // #jform_add listeners for add_VLLamwh function
jQuery('#jform_add').on('keyup',function() jQuery('#jform_add').on('keyup',function()
{ {
var add_eUNYKfu = jQuery("#jform_add input[type='radio']:checked").val(); var add_VLLamwh = jQuery("#jform_add input[type='radio']:checked").val();
eUNYKfu(add_eUNYKfu); VLLamwh(add_VLLamwh);
}); });
jQuery('#adminForm').on('change', '#jform_add',function (e) jQuery('#adminForm').on('change', '#jform_add',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_eUNYKfu = jQuery("#jform_add input[type='radio']:checked").val(); var add_VLLamwh = jQuery("#jform_add input[type='radio']:checked").val();
eUNYKfu(add_eUNYKfu); VLLamwh(add_VLLamwh);
}); });

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage view.html.php @subpackage view.html.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default.php @subpackage default.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_batch_body.php @subpackage default_batch_body.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_batch_footer.php @subpackage default_batch_footer.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_body.php @subpackage default_body.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_foot.php @subpackage default_foot.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_head.php @subpackage default_head.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage default_toolbar.php @subpackage default_toolbar.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage view.html.php @subpackage view.html.php

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade"> <extension type="component" version="3.2" method="upgrade">
<name>COM_DEMO</name> <name>COM_DEMO</name>
<creationDate>29th December, 2015</creationDate> <creationDate>6th January, 2016</creationDate>
<author>Llewellyn van der Merwe</author> <author>Llewellyn van der Merwe</author>
<authorEmail>info@vdm.io</authorEmail> <authorEmail>info@vdm.io</authorEmail>
<authorUrl>https://www.vdm.io/</authorUrl> <authorUrl>https://www.vdm.io/</authorUrl>

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage script.php @subpackage script.php

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage site.css @subpackage site.css

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage controller.php @subpackage controller.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage help.php @subpackage help.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage demo.php @subpackage demo.php
@ -37,7 +37,8 @@ jimport('joomla.application.component.controller');
$controller = JControllerLegacy::getInstance('Demo'); $controller = JControllerLegacy::getInstance('Demo');
// Perform the request task // Perform the request task
$controller->execute(JRequest::getCmd('task')); $jinput = JFactory::getApplication()->input;
$controller->execute($jinput->get('task', null, 'CMD'));
// Redirect if set by the controller // Redirect if set by the controller
$controller->redirect(); $controller->redirect();

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage demo.php @subpackage demo.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage headercheck.php @subpackage headercheck.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage route.php @subpackage route.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.5 @version 1.0.5
@build 29th December, 2015 @build 6th January, 2016
@created 5th August, 2015 @created 5th August, 2015
@package Demo @package Demo
@subpackage router.php @subpackage router.php