diff --git a/README.md b/README.md index 5cf72f7..f5f1b16 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Demo (1.0.4) +# Demo (1.0.5) ![Demo image] (https://raw.githubusercontent.com/namibia/demo-joomla-3-component/master/admin/assets/images/component-300.jpg "The Demo") @@ -10,8 +10,8 @@ Just a basic demo of the most basic implementations of the [Joomla] (http://www. + *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io) + *Name*: [Demo] (https://www.vdm.io/) + *First Build*: 5th August, 2015 -+ *Last Build*: 3rd December, 2015 -+ *Version*: 1.0.4 ++ *Last Build*: 29th December, 2015 ++ *Version*: 1.0.5 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html @@ -23,11 +23,11 @@ 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**, > never making one mistake or taking any coffee break.) -+ *Line count*: **15263** -+ *File count*: **147** ++ *Line count*: **15411** ++ *File count*: **152** + *Folder count*: **50** -**28 Hours** or **4 Eight Hour Days** (the actual time the author spent) +**29 Hours** or **4 Eight Hour Days** (the actual time the author spent) > (with the following break down: > **debugging @11hours** = codingtime / 4; @@ -35,7 +35,7 @@ due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builde > **mapping @4hours** = codingtime / 10; > **office @7hours** = codingtime / 6;) -**71 Hours** or **9 Eight Hour Days** +**72 Hours** or **9 Eight Hour Days** (a total of the realistic time frame for this project) > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, diff --git a/admin/assets/css/admin.css b/admin/assets/css/admin.css index c304aa1..e3f5ab3 100644 --- a/admin/assets/css/admin.css +++ b/admin/assets/css/admin.css @@ -2,8 +2,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage admin.css diff --git a/admin/assets/css/dashboard.css b/admin/assets/css/dashboard.css index ca827d7..40329eb 100644 --- a/admin/assets/css/dashboard.css +++ b/admin/assets/css/dashboard.css @@ -2,8 +2,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage dashboard.css diff --git a/admin/assets/css/help_document.css b/admin/assets/css/help_document.css index 3c5b48f..47514e2 100644 --- a/admin/assets/css/help_document.css +++ b/admin/assets/css/help_document.css @@ -2,8 +2,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage help_document.css diff --git a/admin/assets/css/help_documents.css b/admin/assets/css/help_documents.css index 4e879d6..4072fc4 100644 --- a/admin/assets/css/help_documents.css +++ b/admin/assets/css/help_documents.css @@ -2,8 +2,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage help_documents.css diff --git a/admin/assets/css/look.css b/admin/assets/css/look.css index 769afc6..2057f8f 100644 --- a/admin/assets/css/look.css +++ b/admin/assets/css/look.css @@ -2,8 +2,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage look.css diff --git a/admin/assets/css/looks.css b/admin/assets/css/looks.css index ab86bf8..e4e971a 100644 --- a/admin/assets/css/looks.css +++ b/admin/assets/css/looks.css @@ -2,8 +2,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage looks.css diff --git a/admin/controller.php b/admin/controller.php index ebfb6c0..6e216fa 100644 --- a/admin/controller.php +++ b/admin/controller.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage controller.php diff --git a/admin/controllers/demo.php b/admin/controllers/demo.php index 7515faf..db699b4 100644 --- a/admin/controllers/demo.php +++ b/admin/controllers/demo.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage demo.php diff --git a/admin/controllers/help.php b/admin/controllers/help.php index 561ba6f..10c2a47 100644 --- a/admin/controllers/help.php +++ b/admin/controllers/help.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage help.php diff --git a/admin/controllers/help_document.php b/admin/controllers/help_document.php index 04dada8..11be6f1 100644 --- a/admin/controllers/help_document.php +++ b/admin/controllers/help_document.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage help_document.php diff --git a/admin/controllers/help_documents.php b/admin/controllers/help_documents.php index 4da6fff..6ff46f7 100644 --- a/admin/controllers/help_documents.php +++ b/admin/controllers/help_documents.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage help_documents.php diff --git a/admin/controllers/import.php b/admin/controllers/import.php index 7866402..2f7832d 100644 --- a/admin/controllers/import.php +++ b/admin/controllers/import.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage import.php diff --git a/admin/controllers/look.php b/admin/controllers/look.php index 20094f9..82816ea 100644 --- a/admin/controllers/look.php +++ b/admin/controllers/look.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage look.php diff --git a/admin/controllers/looks.php b/admin/controllers/looks.php index b99bf67..5f45326 100644 --- a/admin/controllers/looks.php +++ b/admin/controllers/looks.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage looks.php diff --git a/admin/demo.php b/admin/demo.php index dd70533..5261128 100644 --- a/admin/demo.php +++ b/admin/demo.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage demo.php diff --git a/admin/helpers/demo.php b/admin/helpers/demo.php index e5dde36..8e03e0a 100644 --- a/admin/helpers/demo.php +++ b/admin/helpers/demo.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage demo.php @@ -299,7 +299,7 @@ abstract class DemoHelper // make sure the file is loaded JLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers'); // get session object -$session = JFactory::getSession(); + $session = JFactory::getSession(); $package = $session->get('package', null); $package = json_decode($package, true); // set the headers @@ -309,7 +309,7 @@ $session = JFactory::getSession(); $excelReader = PHPExcel_IOFactory::createReader($inputFileType); $excelReader->setReadDataOnly(true); $excelObj = $excelReader->load($package['dir']); -$headers = array(); + $headers = array(); foreach ($excelObj->getActiveSheet()->getRowIterator() as $row) { if($row->getRowIndex() == 1) diff --git a/admin/helpers/html/batch_.php b/admin/helpers/html/batch_.php index cd8a6cf..38ca2d0 100644 --- a/admin/helpers/html/batch_.php +++ b/admin/helpers/html/batch_.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage batch_.php diff --git a/admin/layouts/batchselection.php b/admin/layouts/batchselection.php index d11e5dc..bc611b7 100644 --- a/admin/layouts/batchselection.php +++ b/admin/layouts/batchselection.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage batchselection.php diff --git a/admin/layouts/help_document/details_above.php b/admin/layouts/help_document/details_above.php index d0f442f..69b741c 100644 --- a/admin/layouts/help_document/details_above.php +++ b/admin/layouts/help_document/details_above.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage details_above.php diff --git a/admin/layouts/help_document/details_fullwidth.php b/admin/layouts/help_document/details_fullwidth.php index f2a0606..22964fc 100644 --- a/admin/layouts/help_document/details_fullwidth.php +++ b/admin/layouts/help_document/details_fullwidth.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage details_fullwidth.php diff --git a/admin/layouts/help_document/details_left.php b/admin/layouts/help_document/details_left.php index 3867f7d..d12b74d 100644 --- a/admin/layouts/help_document/details_left.php +++ b/admin/layouts/help_document/details_left.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage details_left.php diff --git a/admin/layouts/help_document/details_right.php b/admin/layouts/help_document/details_right.php index a2a5b76..aa1dc39 100644 --- a/admin/layouts/help_document/details_right.php +++ b/admin/layouts/help_document/details_right.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage details_right.php diff --git a/admin/layouts/help_document/details_under.php b/admin/layouts/help_document/details_under.php index 74f32a3..51358db 100644 --- a/admin/layouts/help_document/details_under.php +++ b/admin/layouts/help_document/details_under.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage details_under.php diff --git a/admin/layouts/help_document/metadata.php b/admin/layouts/help_document/metadata.php index 0126927..97803a2 100644 --- a/admin/layouts/help_document/metadata.php +++ b/admin/layouts/help_document/metadata.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage metadata.php diff --git a/admin/layouts/help_document/publishing.php b/admin/layouts/help_document/publishing.php index 0d207b3..864937b 100644 --- a/admin/layouts/help_document/publishing.php +++ b/admin/layouts/help_document/publishing.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage publishing.php diff --git a/admin/layouts/look/details_above.php b/admin/layouts/look/details_above.php index 472323e..774e9bb 100644 --- a/admin/layouts/look/details_above.php +++ b/admin/layouts/look/details_above.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage details_above.php diff --git a/admin/layouts/look/details_left.php b/admin/layouts/look/details_left.php index e4f6e70..88ed629 100644 --- a/admin/layouts/look/details_left.php +++ b/admin/layouts/look/details_left.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage details_left.php diff --git a/admin/layouts/look/details_right.php b/admin/layouts/look/details_right.php index 23b1d30..8bbdbe8 100644 --- a/admin/layouts/look/details_right.php +++ b/admin/layouts/look/details_right.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage details_right.php diff --git a/admin/layouts/look/details_under.php b/admin/layouts/look/details_under.php index 74f32a3..51358db 100644 --- a/admin/layouts/look/details_under.php +++ b/admin/layouts/look/details_under.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage details_under.php diff --git a/admin/layouts/look/metadata.php b/admin/layouts/look/metadata.php index 0126927..97803a2 100644 --- a/admin/layouts/look/metadata.php +++ b/admin/layouts/look/metadata.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage metadata.php diff --git a/admin/layouts/look/publishing.php b/admin/layouts/look/publishing.php index 0d207b3..864937b 100644 --- a/admin/layouts/look/publishing.php +++ b/admin/layouts/look/publishing.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage publishing.php diff --git a/admin/layouts/look/repetable_numbers_left.php b/admin/layouts/look/repetable_numbers_left.php index 734ee46..f30930e 100644 --- a/admin/layouts/look/repetable_numbers_left.php +++ b/admin/layouts/look/repetable_numbers_left.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage repetable_numbers_left.php diff --git a/admin/layouts/look/repetable_numbers_right.php b/admin/layouts/look/repetable_numbers_right.php index 6c79583..9062a17 100644 --- a/admin/layouts/look/repetable_numbers_right.php +++ b/admin/layouts/look/repetable_numbers_right.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage repetable_numbers_right.php diff --git a/admin/models/demo.php b/admin/models/demo.php index 3cda95c..d32be7b 100644 --- a/admin/models/demo.php +++ b/admin/models/demo.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage demo.php diff --git a/admin/models/fields/articles.php b/admin/models/fields/articles.php index 07b56ef..c39847a 100644 --- a/admin/models/fields/articles.php +++ b/admin/models/fields/articles.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage articles.php diff --git a/admin/models/forms/help_document.js b/admin/models/forms/help_document.js index 16fe320..b9512d4 100644 --- a/admin/models/forms/help_document.js +++ b/admin/models/forms/help_document.js @@ -2,8 +2,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage help_document.js @@ -18,38 +18,38 @@ /------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_CLxRiyFDWv_required = false; -jform_zgwHidMmGR_required = false; -jform_dapwGJswww_required = false; -jform_KfchXiEDHv_required = false; +jform_hCmROoyRik_required = false; +jform_SPnilgyKTR_required = false; +jform_qYufgfpRHo_required = false; +jform_pMRKFEUXwb_required = false; // Initial Script jQuery(document).ready(function() { - var location_gvgNtFm = jQuery("#jform_location input[type='radio']:checked").val(); - gvgNtFm(location_gvgNtFm); + var location_qNsMhBK = jQuery("#jform_location input[type='radio']:checked").val(); + qNsMhBK(location_qNsMhBK); - var location_GxWLKer = jQuery("#jform_location input[type='radio']:checked").val(); - GxWLKer(location_GxWLKer); + var location_gFpJuTv = jQuery("#jform_location input[type='radio']:checked").val(); + gFpJuTv(location_gFpJuTv); - var type_CLxRiyF = jQuery("#jform_type").val(); - CLxRiyF(type_CLxRiyF); + var type_hCmROoy = jQuery("#jform_type").val(); + hCmROoy(type_hCmROoy); - var type_zgwHidM = jQuery("#jform_type").val(); - zgwHidM(type_zgwHidM); + var type_SPnilgy = jQuery("#jform_type").val(); + SPnilgy(type_SPnilgy); - var type_dapwGJs = jQuery("#jform_type").val(); - dapwGJs(type_dapwGJs); + var type_qYufgfp = jQuery("#jform_type").val(); + qYufgfp(type_qYufgfp); - var target_KfchXiE = jQuery("#jform_target input[type='radio']:checked").val(); - KfchXiE(target_KfchXiE); + var target_pMRKFEU = jQuery("#jform_target input[type='radio']:checked").val(); + pMRKFEU(target_pMRKFEU); }); -// the gvgNtFm function -function gvgNtFm(location_gvgNtFm) +// the qNsMhBK function +function qNsMhBK(location_qNsMhBK) { // set the function logic - if (location_gvgNtFm == 1) + if (location_qNsMhBK == 1) { jQuery('#jform_admin_view').closest('.control-group').show(); } @@ -59,11 +59,11 @@ function gvgNtFm(location_gvgNtFm) } } -// the GxWLKer function -function GxWLKer(location_GxWLKer) +// the gFpJuTv function +function gFpJuTv(location_gFpJuTv) { // set the function logic - if (location_GxWLKer == 2) + if (location_gFpJuTv == 2) { jQuery('#jform_site_view').closest('.control-group').show(); } @@ -73,198 +73,198 @@ function GxWLKer(location_GxWLKer) } } -// the CLxRiyF function -function CLxRiyF(type_CLxRiyF) +// the hCmROoy function +function hCmROoy(type_hCmROoy) { - if (isSet(type_CLxRiyF) && type_CLxRiyF.constructor !== Array) + if (isSet(type_hCmROoy) && type_hCmROoy.constructor !== Array) { - var temp_CLxRiyF = type_CLxRiyF; - var type_CLxRiyF = []; - type_CLxRiyF.push(temp_CLxRiyF); + var temp_hCmROoy = type_hCmROoy; + var type_hCmROoy = []; + type_hCmROoy.push(temp_hCmROoy); } - else if (!isSet(type_CLxRiyF)) + else if (!isSet(type_hCmROoy)) { - var type_CLxRiyF = []; + var type_hCmROoy = []; } - var type = type_CLxRiyF.some(type_CLxRiyF_SomeFunc); + var type = type_hCmROoy.some(type_hCmROoy_SomeFunc); // set this function logic if (type) { jQuery('#jform_url').closest('.control-group').show(); - if (jform_CLxRiyFDWv_required) + if (jform_hCmROoyRik_required) { updateFieldRequired('url',0); jQuery('#jform_url').prop('required','required'); jQuery('#jform_url').attr('aria-required',true); jQuery('#jform_url').addClass('required'); - jform_CLxRiyFDWv_required = false; + jform_hCmROoyRik_required = false; } } else { jQuery('#jform_url').closest('.control-group').hide(); - if (!jform_CLxRiyFDWv_required) + if (!jform_hCmROoyRik_required) { updateFieldRequired('url',1); jQuery('#jform_url').removeAttr('required'); jQuery('#jform_url').removeAttr('aria-required'); jQuery('#jform_url').removeClass('required'); - jform_CLxRiyFDWv_required = true; + jform_hCmROoyRik_required = true; } } } -// the CLxRiyF Some function -function type_CLxRiyF_SomeFunc(type_CLxRiyF) +// the hCmROoy Some function +function type_hCmROoy_SomeFunc(type_hCmROoy) { // set the function logic - if (type_CLxRiyF == 3) + if (type_hCmROoy == 3) { return true; } return false; } -// the zgwHidM function -function zgwHidM(type_zgwHidM) +// the SPnilgy function +function SPnilgy(type_SPnilgy) { - if (isSet(type_zgwHidM) && type_zgwHidM.constructor !== Array) + if (isSet(type_SPnilgy) && type_SPnilgy.constructor !== Array) { - var temp_zgwHidM = type_zgwHidM; - var type_zgwHidM = []; - type_zgwHidM.push(temp_zgwHidM); + var temp_SPnilgy = type_SPnilgy; + var type_SPnilgy = []; + type_SPnilgy.push(temp_SPnilgy); } - else if (!isSet(type_zgwHidM)) + else if (!isSet(type_SPnilgy)) { - var type_zgwHidM = []; + var type_SPnilgy = []; } - var type = type_zgwHidM.some(type_zgwHidM_SomeFunc); + var type = type_SPnilgy.some(type_SPnilgy_SomeFunc); // set this function logic if (type) { jQuery('#jform_article').closest('.control-group').show(); - if (jform_zgwHidMmGR_required) + if (jform_SPnilgyKTR_required) { updateFieldRequired('article',0); jQuery('#jform_article').prop('required','required'); jQuery('#jform_article').attr('aria-required',true); jQuery('#jform_article').addClass('required'); - jform_zgwHidMmGR_required = false; + jform_SPnilgyKTR_required = false; } } else { jQuery('#jform_article').closest('.control-group').hide(); - if (!jform_zgwHidMmGR_required) + if (!jform_SPnilgyKTR_required) { updateFieldRequired('article',1); jQuery('#jform_article').removeAttr('required'); jQuery('#jform_article').removeAttr('aria-required'); jQuery('#jform_article').removeClass('required'); - jform_zgwHidMmGR_required = true; + jform_SPnilgyKTR_required = true; } } } -// the zgwHidM Some function -function type_zgwHidM_SomeFunc(type_zgwHidM) +// the SPnilgy Some function +function type_SPnilgy_SomeFunc(type_SPnilgy) { // set the function logic - if (type_zgwHidM == 1) + if (type_SPnilgy == 1) { return true; } return false; } -// the dapwGJs function -function dapwGJs(type_dapwGJs) +// the qYufgfp function +function qYufgfp(type_qYufgfp) { - if (isSet(type_dapwGJs) && type_dapwGJs.constructor !== Array) + if (isSet(type_qYufgfp) && type_qYufgfp.constructor !== Array) { - var temp_dapwGJs = type_dapwGJs; - var type_dapwGJs = []; - type_dapwGJs.push(temp_dapwGJs); + var temp_qYufgfp = type_qYufgfp; + var type_qYufgfp = []; + type_qYufgfp.push(temp_qYufgfp); } - else if (!isSet(type_dapwGJs)) + else if (!isSet(type_qYufgfp)) { - var type_dapwGJs = []; + var type_qYufgfp = []; } - var type = type_dapwGJs.some(type_dapwGJs_SomeFunc); + var type = type_qYufgfp.some(type_qYufgfp_SomeFunc); // set this function logic if (type) { jQuery('#jform_content-lbl').closest('.control-group').show(); - if (jform_dapwGJswww_required) + if (jform_qYufgfpRHo_required) { updateFieldRequired('content',0); jQuery('#jform_content').prop('required','required'); jQuery('#jform_content').attr('aria-required',true); jQuery('#jform_content').addClass('required'); - jform_dapwGJswww_required = false; + jform_qYufgfpRHo_required = false; } } else { jQuery('#jform_content-lbl').closest('.control-group').hide(); - if (!jform_dapwGJswww_required) + if (!jform_qYufgfpRHo_required) { updateFieldRequired('content',1); jQuery('#jform_content').removeAttr('required'); jQuery('#jform_content').removeAttr('aria-required'); jQuery('#jform_content').removeClass('required'); - jform_dapwGJswww_required = true; + jform_qYufgfpRHo_required = true; } } } -// the dapwGJs Some function -function type_dapwGJs_SomeFunc(type_dapwGJs) +// the qYufgfp Some function +function type_qYufgfp_SomeFunc(type_qYufgfp) { // set the function logic - if (type_dapwGJs == 2) + if (type_qYufgfp == 2) { return true; } return false; } -// the KfchXiE function -function KfchXiE(target_KfchXiE) +// the pMRKFEU function +function pMRKFEU(target_pMRKFEU) { // set the function logic - if (target_KfchXiE == 1) + if (target_pMRKFEU == 1) { jQuery('#jform_groups').closest('.control-group').show(); - if (jform_KfchXiEDHv_required) + if (jform_pMRKFEUXwb_required) { updateFieldRequired('groups',0); jQuery('#jform_groups').prop('required','required'); jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_groups').addClass('required'); - jform_KfchXiEDHv_required = false; + jform_pMRKFEUXwb_required = false; } } else { jQuery('#jform_groups').closest('.control-group').hide(); - if (!jform_KfchXiEDHv_required) + if (!jform_pMRKFEUXwb_required) { updateFieldRequired('groups',1); jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeClass('required'); - jform_KfchXiEDHv_required = true; + jform_pMRKFEUXwb_required = true; } } } diff --git a/admin/models/forms/look.js b/admin/models/forms/look.js index aa54c72..45ce71a 100644 --- a/admin/models/forms/look.js +++ b/admin/models/forms/look.js @@ -2,8 +2,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage look.js @@ -18,23 +18,23 @@ /------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_xEVTobmbza_required = false; +jform_eUNYKfuCQx_required = false; // Initial Script jQuery(document).ready(function() { - var name_RJYiubJ = jQuery("#jform_name").val(); - RJYiubJ(name_RJYiubJ); + var name_LPOIjWF = jQuery("#jform_name").val(); + LPOIjWF(name_LPOIjWF); - var add_xEVTobm = jQuery("#jform_add input[type='radio']:checked").val(); - xEVTobm(add_xEVTobm); + var add_eUNYKfu = jQuery("#jform_add input[type='radio']:checked").val(); + eUNYKfu(add_eUNYKfu); }); -// the RJYiubJ function -function RJYiubJ(name_RJYiubJ) +// the LPOIjWF function +function LPOIjWF(name_LPOIjWF) { // set the function logic - if (isSet(name_RJYiubJ)) + if (isSet(name_LPOIjWF)) { jQuery('#jform_alias').closest('.control-group').show(); jQuery('#jform_description').closest('.control-group').show(); @@ -46,20 +46,20 @@ function RJYiubJ(name_RJYiubJ) } } -// the xEVTobm function -function xEVTobm(add_xEVTobm) +// the eUNYKfu function +function eUNYKfu(add_eUNYKfu) { // set the function logic - if (add_xEVTobm == 1) + if (add_eUNYKfu == 1) { jQuery('#jform_acronym').closest('.control-group').show(); - if (jform_xEVTobmbza_required) + if (jform_eUNYKfuCQx_required) { updateFieldRequired('acronym',0); jQuery('#jform_acronym').prop('required','required'); jQuery('#jform_acronym').attr('aria-required',true); jQuery('#jform_acronym').addClass('required'); - jform_xEVTobmbza_required = false; + jform_eUNYKfuCQx_required = false; } jQuery('#jform_website').closest('.control-group').show(); @@ -67,13 +67,13 @@ function xEVTobm(add_xEVTobm) else { jQuery('#jform_acronym').closest('.control-group').hide(); - if (!jform_xEVTobmbza_required) + if (!jform_eUNYKfuCQx_required) { updateFieldRequired('acronym',1); jQuery('#jform_acronym').removeAttr('required'); jQuery('#jform_acronym').removeAttr('aria-required'); jQuery('#jform_acronym').removeClass('required'); - jform_xEVTobmbza_required = true; + jform_eUNYKfuCQx_required = true; } jQuery('#jform_website').closest('.control-group').hide(); } diff --git a/admin/models/help_document.php b/admin/models/help_document.php index d4f142a..d943be7 100644 --- a/admin/models/help_document.php +++ b/admin/models/help_document.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage help_document.php @@ -378,6 +378,25 @@ class DemoModelHelp_document extends JModelAdmin { return false; } + + /** + * Method to delete one or more records. + * + * @param array &$pks An array of record primary keys. + * + * @return boolean True if successful, false if an error occurs. + * + * @since 12.2 + */ + public function delete(&$pks) + { + if (!parent::delete($pks)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/help_documents.php b/admin/models/help_documents.php index ae1060f..3ebf18e 100644 --- a/admin/models/help_documents.php +++ b/admin/models/help_documents.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage help_documents.php diff --git a/admin/models/import.php b/admin/models/import.php index 3ca7613..8efd40d 100644 --- a/admin/models/import.php +++ b/admin/models/import.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage import.php diff --git a/admin/models/look.php b/admin/models/look.php index c683a33..98f1891 100644 --- a/admin/models/look.php +++ b/admin/models/look.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage look.php @@ -425,6 +425,25 @@ class DemoModelLook extends JModelAdmin { return array('acronym'); } + + /** + * Method to delete one or more records. + * + * @param array &$pks An array of record primary keys. + * + * @return boolean True if successful, false if an error occurs. + * + * @since 12.2 + */ + public function delete(&$pks) + { + if (!parent::delete($pks)) + { + return false; + } + + return true; + } /** * Method to perform batch operations on an item or a set of items. diff --git a/admin/models/looks.php b/admin/models/looks.php index f75ceca..68a2a18 100644 --- a/admin/models/looks.php +++ b/admin/models/looks.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage looks.php @@ -224,7 +224,7 @@ class DemoModelLooks extends JModelList else { $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.name LIKE '.$search.' OR a.description LIKE '.$search.' OR a.add LIKE '.$search.' OR a.acronym LIKE '.$search.' OR a.website LIKE '.$search.')'); + $query->where('(a.name LIKE '.$search.' OR a.description LIKE '.$search.' OR a.add LIKE '.$search.' OR a.acronym LIKE '.$search.' OR a.website LIKE '.$search.' OR a.alias LIKE '.$search.')'); } } diff --git a/admin/sql/updates/mysql/1.0.1.sql b/admin/sql/updates/mysql/1.0.1.sql new file mode 100644 index 0000000..d3f5a12 --- /dev/null +++ b/admin/sql/updates/mysql/1.0.1.sql @@ -0,0 +1 @@ + diff --git a/admin/sql/updates/mysql/1.0.2.sql b/admin/sql/updates/mysql/1.0.2.sql new file mode 100644 index 0000000..d3f5a12 --- /dev/null +++ b/admin/sql/updates/mysql/1.0.2.sql @@ -0,0 +1 @@ + diff --git a/admin/sql/updates/mysql/1.0.3.sql b/admin/sql/updates/mysql/1.0.3.sql new file mode 100644 index 0000000..d3f5a12 --- /dev/null +++ b/admin/sql/updates/mysql/1.0.3.sql @@ -0,0 +1 @@ + diff --git a/admin/sql/updates/mysql/1.0.4.sql b/admin/sql/updates/mysql/1.0.4.sql new file mode 100644 index 0000000..d3f5a12 --- /dev/null +++ b/admin/sql/updates/mysql/1.0.4.sql @@ -0,0 +1 @@ + diff --git a/admin/tables/help_document.php b/admin/tables/help_document.php index 2650d2c..98034ff 100644 --- a/admin/tables/help_document.php +++ b/admin/tables/help_document.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage help_document.php diff --git a/admin/tables/look.php b/admin/tables/look.php index 54c9da4..ca23ff6 100644 --- a/admin/tables/look.php +++ b/admin/tables/look.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage look.php diff --git a/admin/views/demo/tmpl/default.php b/admin/views/demo/tmpl/default.php index ed0c74c..23a2e8c 100644 --- a/admin/views/demo/tmpl/default.php +++ b/admin/views/demo/tmpl/default.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage default.php diff --git a/admin/views/demo/tmpl/default_main.php b/admin/views/demo/tmpl/default_main.php index adecba4..8c90ab7 100644 --- a/admin/views/demo/tmpl/default_main.php +++ b/admin/views/demo/tmpl/default_main.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage default_main.php diff --git a/admin/views/demo/tmpl/default_vdm.php b/admin/views/demo/tmpl/default_vdm.php index 630f29c..19ac92d 100644 --- a/admin/views/demo/tmpl/default_vdm.php +++ b/admin/views/demo/tmpl/default_vdm.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage default_vdm.php diff --git a/admin/views/demo/view.html.php b/admin/views/demo/view.html.php index c8af81d..5d61321 100644 --- a/admin/views/demo/view.html.php +++ b/admin/views/demo/view.html.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage view.html.php diff --git a/admin/views/help_document/submitbutton.js b/admin/views/help_document/submitbutton.js index b357e3d..b88abb6 100644 --- a/admin/views/help_document/submitbutton.js +++ b/admin/views/help_document/submitbutton.js @@ -2,8 +2,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage submitbutton.js diff --git a/admin/views/help_document/tmpl/edit.php b/admin/views/help_document/tmpl/edit.php index 921f9f6..1587b2e 100644 --- a/admin/views/help_document/tmpl/edit.php +++ b/admin/views/help_document/tmpl/edit.php @@ -3,8 +3,8 @@ Vast Development Method /-------------------------------------------------------------------------------------------------------/ - @version 1.0.4 - @build 3rd December, 2015 + @version 1.0.5 + @build 29th December, 2015 @created 5th August, 2015 @package Demo @subpackage edit.php @@ -95,93 +95,93 @@ $componentParams = JComponentHelper::getParams('com_demo');