Added update server, all other changes are only random variable name and date changes (due to automation sorry)

This commit is contained in:
Llewellyn van der Merwe 2015-12-29 21:39:38 +02:00
parent dac176fa2b
commit bd12ac2db9
87 changed files with 355 additions and 310 deletions

View File

@ -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**,

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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;
}
}
}

View File

@ -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();
}

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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.')');
}
}

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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');
<script type="text/javascript">
// #jform_location listeners for location_gvgNtFm function
// #jform_location listeners for location_qNsMhBK function
jQuery('#jform_location').on('keyup',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);
});
jQuery('#adminForm').on('change', '#jform_location',function (e)
{
e.preventDefault();
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);
});
// #jform_location listeners for location_GxWLKer function
// #jform_location listeners for location_gFpJuTv function
jQuery('#jform_location').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_location',function (e)
{
e.preventDefault();
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);
});
// #jform_type listeners for type_CLxRiyF function
// #jform_type listeners for type_hCmROoy function
jQuery('#jform_type').on('keyup',function()
{
var type_CLxRiyF = jQuery("#jform_type").val();
CLxRiyF(type_CLxRiyF);
var type_hCmROoy = jQuery("#jform_type").val();
hCmROoy(type_hCmROoy);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_CLxRiyF = jQuery("#jform_type").val();
CLxRiyF(type_CLxRiyF);
var type_hCmROoy = jQuery("#jform_type").val();
hCmROoy(type_hCmROoy);
});
// #jform_type listeners for type_zgwHidM function
// #jform_type listeners for type_SPnilgy function
jQuery('#jform_type').on('keyup',function()
{
var type_zgwHidM = jQuery("#jform_type").val();
zgwHidM(type_zgwHidM);
var type_SPnilgy = jQuery("#jform_type").val();
SPnilgy(type_SPnilgy);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_zgwHidM = jQuery("#jform_type").val();
zgwHidM(type_zgwHidM);
var type_SPnilgy = jQuery("#jform_type").val();
SPnilgy(type_SPnilgy);
});
// #jform_type listeners for type_dapwGJs function
// #jform_type listeners for type_qYufgfp function
jQuery('#jform_type').on('keyup',function()
{
var type_dapwGJs = jQuery("#jform_type").val();
dapwGJs(type_dapwGJs);
var type_qYufgfp = jQuery("#jform_type").val();
qYufgfp(type_qYufgfp);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_dapwGJs = jQuery("#jform_type").val();
dapwGJs(type_dapwGJs);
var type_qYufgfp = jQuery("#jform_type").val();
qYufgfp(type_qYufgfp);
});
// #jform_target listeners for target_KfchXiE function
// #jform_target listeners for target_pMRKFEU function
jQuery('#jform_target').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
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);
});

View File

@ -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

View File

@ -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

View File

@ -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_batch_body.php

View File

@ -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_batch_footer.php

View File

@ -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_body.php

View File

@ -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_foot.php

View File

@ -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_head.php

View File

@ -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_toolbar.php

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
@ -101,33 +101,33 @@ $componentParams = JComponentHelper::getParams('com_demo');
<script type="text/javascript">
// #jform_name listeners for name_RJYiubJ function
// #jform_name listeners for name_LPOIjWF function
jQuery('#jform_name').on('keyup',function()
{
var name_RJYiubJ = jQuery("#jform_name").val();
RJYiubJ(name_RJYiubJ);
var name_LPOIjWF = jQuery("#jform_name").val();
LPOIjWF(name_LPOIjWF);
});
jQuery('#adminForm').on('change', '#jform_name',function (e)
{
e.preventDefault();
var name_RJYiubJ = jQuery("#jform_name").val();
RJYiubJ(name_RJYiubJ);
var name_LPOIjWF = jQuery("#jform_name").val();
LPOIjWF(name_LPOIjWF);
});
// #jform_add listeners for add_xEVTobm function
// #jform_add listeners for add_eUNYKfu function
jQuery('#jform_add').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_add',function (e)
{
e.preventDefault();
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);
});

View File

@ -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

View File

@ -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

View File

@ -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_batch_body.php

View File

@ -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_batch_footer.php

View File

@ -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_body.php

View File

@ -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_foot.php

View File

@ -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_head.php

View File

@ -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_toolbar.php

View File

@ -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

View File

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade">
<name>COM_DEMO</name>
<creationDate>5th August, 2015</creationDate>
<creationDate>29th December, 2015</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>info@vdm.io</authorEmail>
<authorUrl>https://www.vdm.io/</authorUrl>
<copyright>Copyright (C) 2015. All Rights Reserved</copyright>
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
<version>1.0.4</version>
<version>1.0.5</version>
<description><![CDATA[
<h1>Demo (v.1.0.4)</h1>
<h1>Demo (v.1.0.5)</h1>
<div style="clear: both;"></div>
<p>Just a basic demo of the most basic implementations of the [Joomla] (http://www.joomla.org) Component Builder's ability.</p>
<p>Created by <a href="https://www.vdm.io/" target="_blank">Llewellyn van der Merwe</a>
<p>Created by <a href="https://www.vdm.io/" target="_blank">Llewellyn van der Merwe</a><br /><small>Development started 5th August, 2015</small></p>
]]></description>
<!-- Runs on install; New in Joomla 1.5 -->
@ -92,5 +92,8 @@
<language tag="en-GB">language/en-GB/en-GB.com_demo.sys.ini</language>
</languages>
</administration>
</administration>
<updateservers>
<server type="extension" enabled="1" element="com_demo" name="Demo">https://www.vdm.io/updates/demo_update_server.xml</server>
</updateservers>
</extension>

View File

@ -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 script.php
@ -350,7 +350,7 @@ class com_demoInstallerScript
echo '<a target="_blank" href="https://www.vdm.io/" title="Demo">
<img src="components/com_demo/assets/images/component-300.jpg"/>
</a>
<h3>Upgrade to Version (1.0.4) Was Successful!</h3>';
<h3>Upgrade to Version 1.0.5 Was Successful! Let us know if anything is not working as expected.</h3>';
}
}
}

View File

@ -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 site.css

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 headercheck.php

View File

@ -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 route.php

View File

@ -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 router.php