Next update.
This commit is contained in:
parent
51297f2b7e
commit
361a810744
@ -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*: 20th March, 2016
|
+ *Last Build*: 2nd May, 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,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**,
|
> (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*: **16672**
|
+ *Line count*: **16713**
|
||||||
+ *File count*: **152**
|
+ *File count*: **152**
|
||||||
+ *Folder count*: **50**
|
+ *Folder count*: **50**
|
||||||
|
|
||||||
**30 Hours** or **4 Eight Hour Days** (the actual time the author spent)
|
**31 Hours** or **4 Eight Hour Days** (the actual time the author spent)
|
||||||
|
|
||||||
> (with the following break down:
|
> (with the following break down:
|
||||||
> **debugging @12hours** = codingtime / 4;
|
> **debugging @12hours** = codingtime / 4;
|
||||||
@ -35,7 +35,7 @@ due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builde
|
|||||||
> **mapping @5hours** = codingtime / 10;
|
> **mapping @5hours** = codingtime / 10;
|
||||||
> **office @8hours** = codingtime / 6;)
|
> **office @8hours** = codingtime / 6;)
|
||||||
|
|
||||||
**77 Hours** or **10 Eight Hour Days**
|
**78 Hours** or **10 Eight Hour Days**
|
||||||
(a total of the realistic time frame for this project)
|
(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**,
|
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage admin.css
|
@subpackage admin.css
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage dashboard.css
|
@subpackage dashboard.css
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage help_document.css
|
@subpackage help_document.css
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage help_documents.css
|
@subpackage help_documents.css
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage look.css
|
@subpackage look.css
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage looks.css
|
@subpackage looks.css
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<config>
|
<config>
|
||||||
<fieldset
|
<fieldset
|
||||||
|
addrulepath="/administrator/components/com_demo/models/rules"
|
||||||
|
addfieldpath="/administrator/components/com_demo/models/fields"
|
||||||
name="global_config"
|
name="global_config"
|
||||||
label="COM_DEMO_CONFIG_GLOBAL_LABEL"
|
label="COM_DEMO_CONFIG_GLOBAL_LABEL"
|
||||||
description="COM_DEMO_CONFIG_GLOBAL_DESC">
|
description="COM_DEMO_CONFIG_GLOBAL_DESC">
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage controller.php
|
@subpackage controller.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage demo.php
|
@subpackage demo.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage help.php
|
@subpackage help.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage help_document.php
|
@subpackage help_document.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage help_documents.php
|
@subpackage help_documents.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage import.php
|
@subpackage import.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage look.php
|
@subpackage look.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage looks.php
|
@subpackage looks.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage demo.php
|
@subpackage demo.php
|
||||||
@ -38,7 +38,7 @@ $document->addStyleSheet('components/com_demo/assets/css/admin.css');
|
|||||||
$document->addScript('components/com_demo/assets/js/admin.js');
|
$document->addScript('components/com_demo/assets/js/admin.js');
|
||||||
|
|
||||||
// require helper files
|
// require helper files
|
||||||
JLoader::register('DemoHelper', dirname(__FILE__) . '/helpers/demo.php');
|
JLoader::register('DemoHelper', dirname(__FILE__) . '/helpers/demo.php');
|
||||||
JLoader::register('JHtmlBatch_', dirname(__FILE__) . '/helpers/html/batch_.php');
|
JLoader::register('JHtmlBatch_', dirname(__FILE__) . '/helpers/html/batch_.php');
|
||||||
|
|
||||||
// import joomla controller library
|
// import joomla controller library
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage demo.php
|
@subpackage demo.php
|
||||||
@ -442,7 +442,7 @@ abstract class DemoHelper
|
|||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
$query->select(array('a.published'));
|
$query->select(array('a.published'));
|
||||||
$query->from('#__demo_'.$type.' AS a');
|
$query->from('#__demo_'.$type.' AS a');
|
||||||
$query->where('a.id = '.$id);
|
$query->where('a.id = '. (int) $id);
|
||||||
$query->where('a.published = 1');
|
$query->where('a.published = 1');
|
||||||
$db->setQuery($query);
|
$db->setQuery($query);
|
||||||
$db->execute();
|
$db->execute();
|
||||||
@ -460,7 +460,7 @@ abstract class DemoHelper
|
|||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
$query->select(array('a.title'));
|
$query->select(array('a.title'));
|
||||||
$query->from('#__usergroups AS a');
|
$query->from('#__usergroups AS a');
|
||||||
$query->where('a.id = '.$id);
|
$query->where('a.id = '. (int) $id);
|
||||||
$db->setQuery($query);
|
$db->setQuery($query);
|
||||||
$db->execute();
|
$db->execute();
|
||||||
$found = $db->getNumRows();
|
$found = $db->getNumRows();
|
||||||
@ -1082,7 +1082,7 @@ abstract class DemoHelper
|
|||||||
$w .= ' ';
|
$w .= ' ';
|
||||||
if($r < 100)
|
if($r < 100)
|
||||||
{
|
{
|
||||||
$word .= 'and ';
|
$w .= 'and ';
|
||||||
}
|
}
|
||||||
$w .= self::numberToString($r);
|
$w .= self::numberToString($r);
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage batch_.php
|
@subpackage batch_.php
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
COM_DEMO="Demo"
|
COM_DEMO="Demo Configuration"
|
||||||
COM_DEMO_CONFIGURATION="Demo Configuration"
|
COM_DEMO_CONFIGURATION="Demo Configuration"
|
||||||
COM_DEMO_MENU="» Demo"
|
COM_DEMO_MENU="» Demo"
|
||||||
COM_DEMO_MENU_HELP_DOCUMENTS="Help Documents"
|
COM_DEMO_MENU_HELP_DOCUMENTS="Help Documents"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage batchselection.php
|
@subpackage batchselection.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage details_above.php
|
@subpackage details_above.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage details_fullwidth.php
|
@subpackage details_fullwidth.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage details_left.php
|
@subpackage details_left.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage details_right.php
|
@subpackage details_right.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage details_under.php
|
@subpackage details_under.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage metadata.php
|
@subpackage metadata.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage publishing.php
|
@subpackage publishing.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage details_above.php
|
@subpackage details_above.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage details_left.php
|
@subpackage details_left.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage details_right.php
|
@subpackage details_right.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage details_under.php
|
@subpackage details_under.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage metadata.php
|
@subpackage metadata.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage publishing.php
|
@subpackage publishing.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage repetable_numbers_left.php
|
@subpackage repetable_numbers_left.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage repetable_numbers_right.php
|
@subpackage repetable_numbers_right.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage demo.php
|
@subpackage demo.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage articles.php
|
@subpackage articles.php
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage help_document.js
|
@subpackage help_document.js
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage look.js
|
@subpackage look.js
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage help_document.php
|
@subpackage help_document.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage help_documents.php
|
@subpackage help_documents.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage import.php
|
@subpackage import.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage look.php
|
@subpackage look.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage looks.php
|
@subpackage looks.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage help_document.php
|
@subpackage help_document.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage look.php
|
@subpackage look.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default.php
|
@subpackage default.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_main.php
|
@subpackage default_main.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_vdm.php
|
@subpackage default_vdm.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage view.html.php
|
@subpackage view.html.php
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage submitbutton.js
|
@subpackage submitbutton.js
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage edit.php
|
@subpackage edit.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage view.html.php
|
@subpackage view.html.php
|
||||||
@ -189,7 +189,7 @@ class DemoViewHelp_document extends JViewLegacy
|
|||||||
$document->setTitle(JText::_($isNew ? 'COM_DEMO_HELP_DOCUMENT_NEW' : 'COM_DEMO_HELP_DOCUMENT_EDIT'));
|
$document->setTitle(JText::_($isNew ? 'COM_DEMO_HELP_DOCUMENT_NEW' : 'COM_DEMO_HELP_DOCUMENT_EDIT'));
|
||||||
$document->addStyleSheet(JURI::root() . "administrator/components/com_demo/assets/css/help_document.css");
|
$document->addStyleSheet(JURI::root() . "administrator/components/com_demo/assets/css/help_document.css");
|
||||||
$document->addScript(JURI::root() . $this->script);
|
$document->addScript(JURI::root() . $this->script);
|
||||||
$document->addScript(JURI::root() . "administrator/components/com_demo/views/help_document/submitbutton.js");
|
$document->addScript(JURI::root() . "administrator/components/com_demo/views/help_document/submitbutton.js");
|
||||||
JText::script('view not acceptable. Error');
|
JText::script('view not acceptable. Error');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default.php
|
@subpackage default.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_batch_body.php
|
@subpackage default_batch_body.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_batch_footer.php
|
@subpackage default_batch_footer.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_body.php
|
@subpackage default_body.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_foot.php
|
@subpackage default_foot.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_head.php
|
@subpackage default_head.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_toolbar.php
|
@subpackage default_toolbar.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage view.html.php
|
@subpackage view.html.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default.php
|
@subpackage default.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage view.html.php
|
@subpackage view.html.php
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage submitbutton.js
|
@subpackage submitbutton.js
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage edit.php
|
@subpackage edit.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage view.html.php
|
@subpackage view.html.php
|
||||||
@ -189,7 +189,7 @@ class DemoViewLook extends JViewLegacy
|
|||||||
$document->setTitle(JText::_($isNew ? 'COM_DEMO_LOOK_NEW' : 'COM_DEMO_LOOK_EDIT'));
|
$document->setTitle(JText::_($isNew ? 'COM_DEMO_LOOK_NEW' : 'COM_DEMO_LOOK_EDIT'));
|
||||||
$document->addStyleSheet(JURI::root() . "administrator/components/com_demo/assets/css/look.css");
|
$document->addStyleSheet(JURI::root() . "administrator/components/com_demo/assets/css/look.css");
|
||||||
$document->addScript(JURI::root() . $this->script);
|
$document->addScript(JURI::root() . $this->script);
|
||||||
$document->addScript(JURI::root() . "administrator/components/com_demo/views/look/submitbutton.js");
|
$document->addScript(JURI::root() . "administrator/components/com_demo/views/look/submitbutton.js");
|
||||||
JText::script('view not acceptable. Error');
|
JText::script('view not acceptable. Error');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default.php
|
@subpackage default.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_batch_body.php
|
@subpackage default_batch_body.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_batch_footer.php
|
@subpackage default_batch_footer.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_body.php
|
@subpackage default_body.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_foot.php
|
@subpackage default_foot.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_head.php
|
@subpackage default_head.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default_toolbar.php
|
@subpackage default_toolbar.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage view.html.php
|
@subpackage view.html.php
|
||||||
|
2
demo.xml
2
demo.xml
@ -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>20th March, 2016</creationDate>
|
<creationDate>2nd May, 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>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage script.php
|
@subpackage script.php
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage site.css
|
@subpackage site.css
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage controller.php
|
@subpackage controller.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage help.php
|
@subpackage help.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage demo.php
|
@subpackage demo.php
|
||||||
@ -27,7 +27,7 @@ $document->addStyleSheet('components/com_demo/assets/css/site.css');
|
|||||||
$document->addScript('components/com_demo/assets/js/site.js');
|
$document->addScript('components/com_demo/assets/js/site.js');
|
||||||
|
|
||||||
// Require helper files
|
// Require helper files
|
||||||
JLoader::register('DemoHelper', dirname(__FILE__) . '/helpers/demo.php');
|
JLoader::register('DemoHelper', dirname(__FILE__) . '/helpers/demo.php');
|
||||||
JLoader::register('DemoHelperRoute', dirname(__FILE__) . '/helpers/route.php'); ###SITE_GLOBAL_EVENT###
|
JLoader::register('DemoHelperRoute', dirname(__FILE__) . '/helpers/route.php'); ###SITE_GLOBAL_EVENT###
|
||||||
|
|
||||||
// import joomla controller library
|
// import joomla controller library
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage demo.php
|
@subpackage demo.php
|
||||||
@ -396,6 +396,45 @@ abstract class DemoHelper
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function isPublished($id,$type)
|
||||||
|
{
|
||||||
|
if ($type == 'raw')
|
||||||
|
{
|
||||||
|
$type = 'item';
|
||||||
|
}
|
||||||
|
$db = JFactory::getDbo();
|
||||||
|
$query = $db->getQuery(true);
|
||||||
|
$query->select(array('a.published'));
|
||||||
|
$query->from('#__demo_'.$type.' AS a');
|
||||||
|
$query->where('a.id = '. (int) $id);
|
||||||
|
$query->where('a.published = 1');
|
||||||
|
$db->setQuery($query);
|
||||||
|
$db->execute();
|
||||||
|
$found = $db->getNumRows();
|
||||||
|
if($found)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getGroupName($id)
|
||||||
|
{
|
||||||
|
$db = JFactory::getDBO();
|
||||||
|
$query = $db->getQuery(true);
|
||||||
|
$query->select(array('a.title'));
|
||||||
|
$query->from('#__usergroups AS a');
|
||||||
|
$query->where('a.id = '. (int) $id);
|
||||||
|
$db->setQuery($query);
|
||||||
|
$db->execute();
|
||||||
|
$found = $db->getNumRows();
|
||||||
|
if($found)
|
||||||
|
{
|
||||||
|
return $db->loadResult();
|
||||||
|
}
|
||||||
|
return $id;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the actions permissions
|
* Get the actions permissions
|
||||||
@ -857,7 +896,7 @@ abstract class DemoHelper
|
|||||||
$w .= ' ';
|
$w .= ' ';
|
||||||
if($r < 100)
|
if($r < 100)
|
||||||
{
|
{
|
||||||
$word .= 'and ';
|
$w .= 'and ';
|
||||||
}
|
}
|
||||||
$w .= self::numberToString($r);
|
$w .= self::numberToString($r);
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage headercheck.php
|
@subpackage headercheck.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage route.php
|
@subpackage route.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 20th March, 2016
|
@build 2nd May, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage router.php
|
@subpackage router.php
|
||||||
|
Loading…
x
Reference in New Issue
Block a user