Made general improvements.
This commit is contained in:
parent
b18917e93d
commit
853222c5b8
@ -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*: 24th June, 2016
|
+ *Last Build*: 13th July, 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
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage looks.css
|
@subpackage looks.css
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage demo.php
|
@subpackage demo.php
|
||||||
@ -24,7 +24,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
// Access check.
|
// Access check.
|
||||||
if (!JFactory::getUser()->authorise('core.manage', 'com_demo'))
|
if (!JFactory::getUser()->authorise('core.manage', 'com_demo'))
|
||||||
{
|
{
|
||||||
return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
|
return JError::raiseWaring(404, JText::_('JERROR_ALERTNOAUTHOR'));
|
||||||
};
|
};
|
||||||
|
|
||||||
// Load cms libraries
|
// Load cms libraries
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 24th June, 2016
|
@build 13th July, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage demo.php
|
@subpackage demo.php
|
||||||
@ -736,7 +736,7 @@ abstract class DemoHelper
|
|||||||
|
|
||||||
if (!$asset->check() || !$asset->store())
|
if (!$asset->check() || !$asset->store())
|
||||||
{
|
{
|
||||||
JError::raiseWarning(500, $asset->getError());
|
JFactory::getApplication()->enqueueMessage($asset->getError(), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 24th June, 2016
|
@build 13th July, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage batch_.php
|
@subpackage batch_.php
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage articles.php
|
@subpackage articles.php
|
||||||
@ -126,16 +126,11 @@ class JFormFieldArticles extends JFormFieldList
|
|||||||
// check if button was created for article field.
|
// check if button was created for article field.
|
||||||
if (is_array($button) && count($button) > 0)
|
if (is_array($button) && count($button) > 0)
|
||||||
{
|
{
|
||||||
// Add some final script
|
|
||||||
$script[] = "
|
|
||||||
jQuery(document).ready(function() {
|
|
||||||
jQuery('#jform_".$buttonName."').closest('.control-group').addClass('input-append');
|
|
||||||
});";
|
|
||||||
// Load the needed script.
|
// Load the needed script.
|
||||||
$document = JFactory::getDocument();
|
$document = JFactory::getDocument();
|
||||||
$document->addScriptDeclaration(implode(' ',$script));
|
$document->addScriptDeclaration(implode(' ',$script));
|
||||||
// return the button attached to input field.
|
// return the button attached to input field.
|
||||||
return $html . implode('',$button);
|
return '<div class="input-append">' .$html . implode('',$button).'</div>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $html;
|
return $html;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage import.php
|
@subpackage import.php
|
||||||
@ -193,7 +193,8 @@ class DemoModelImport extends JModelLegacy
|
|||||||
protected function _getPackageFromUpload()
|
protected function _getPackageFromUpload()
|
||||||
{
|
{
|
||||||
// Get the uploaded file information
|
// Get the uploaded file information
|
||||||
$input = JFactory::getApplication()->input;
|
$app = JFactory::getApplication();
|
||||||
|
$input = $app->input;
|
||||||
|
|
||||||
// Do not change the filter type 'raw'. We need this to let files containing PHP code to upload. See JInputFiles::get.
|
// Do not change the filter type 'raw'. We need this to let files containing PHP code to upload. See JInputFiles::get.
|
||||||
$userfile = $input->files->get('import_package', null, 'raw');
|
$userfile = $input->files->get('import_package', null, 'raw');
|
||||||
@ -201,21 +202,21 @@ class DemoModelImport extends JModelLegacy
|
|||||||
// Make sure that file uploads are enabled in php
|
// Make sure that file uploads are enabled in php
|
||||||
if (!(bool) ini_get('file_uploads'))
|
if (!(bool) ini_get('file_uploads'))
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_DEMO_IMPORT_MSG_WARNIMPORTFILE'));
|
$app->enqueueMessage(JText::_('COM_DEMO_IMPORT_MSG_WARNIMPORTFILE'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If there is no uploaded file, we have a problem...
|
// If there is no uploaded file, we have a problem...
|
||||||
if (!is_array($userfile))
|
if (!is_array($userfile))
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_DEMO_IMPORT_MSG_NO_FILE_SELECTED'));
|
$app->enqueueMessage(JText::_('COM_DEMO_IMPORT_MSG_NO_FILE_SELECTED'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if there was a problem uploading the file.
|
// Check if there was a problem uploading the file.
|
||||||
if ($userfile['error'] || $userfile['size'] < 1)
|
if ($userfile['error'] || $userfile['size'] < 1)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_DEMO_IMPORT_MSG_WARNIMPORTUPLOADERROR'));
|
$app->enqueueMessage(JText::_('COM_DEMO_IMPORT_MSG_WARNIMPORTUPLOADERROR'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -253,7 +254,8 @@ class DemoModelImport extends JModelLegacy
|
|||||||
*/
|
*/
|
||||||
protected function _getPackageFromFolder()
|
protected function _getPackageFromFolder()
|
||||||
{
|
{
|
||||||
$input = JFactory::getApplication()->input;
|
$app = JFactory::getApplication();
|
||||||
|
$input = $app->input;
|
||||||
|
|
||||||
// Get the path to the package to import
|
// Get the path to the package to import
|
||||||
$p_dir = $input->getString('import_directory');
|
$p_dir = $input->getString('import_directory');
|
||||||
@ -261,7 +263,7 @@ class DemoModelImport extends JModelLegacy
|
|||||||
// Did you give us a valid path?
|
// Did you give us a valid path?
|
||||||
if (!file_exists($p_dir))
|
if (!file_exists($p_dir))
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_DEMO_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY'));
|
$app->enqueueMessage(JText::_('COM_DEMO_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -271,7 +273,7 @@ class DemoModelImport extends JModelLegacy
|
|||||||
// Did you give us a valid package?
|
// Did you give us a valid package?
|
||||||
if (!$type)
|
if (!$type)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_DEMO_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE'));
|
$app->enqueueMessage(JText::_('COM_DEMO_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE'), 'warning');
|
||||||
}
|
}
|
||||||
|
|
||||||
// check the extention
|
// check the extention
|
||||||
@ -282,7 +284,7 @@ class DemoModelImport extends JModelLegacy
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
JError::raiseWarning('', JText::_('COM_DEMO_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'));
|
$app->enqueueMessage(JText::_('COM_DEMO_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -302,7 +304,8 @@ class DemoModelImport extends JModelLegacy
|
|||||||
*/
|
*/
|
||||||
protected function _getPackageFromUrl()
|
protected function _getPackageFromUrl()
|
||||||
{
|
{
|
||||||
$input = JFactory::getApplication()->input;
|
$app = JFactory::getApplication();
|
||||||
|
$input = $app->input;
|
||||||
|
|
||||||
// Get the URL of the package to import
|
// Get the URL of the package to import
|
||||||
$url = $input->getString('import_url');
|
$url = $input->getString('import_url');
|
||||||
@ -310,7 +313,7 @@ class DemoModelImport extends JModelLegacy
|
|||||||
// Did you give us a URL?
|
// Did you give us a URL?
|
||||||
if (!$url)
|
if (!$url)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_DEMO_IMPORT_MSG_ENTER_A_URL'));
|
$app->enqueueMessage(JText::_('COM_DEMO_IMPORT_MSG_ENTER_A_URL'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -320,7 +323,7 @@ class DemoModelImport extends JModelLegacy
|
|||||||
// Was the package downloaded?
|
// Was the package downloaded?
|
||||||
if (!$p_file)
|
if (!$p_file)
|
||||||
{
|
{
|
||||||
JError::raiseWarning('', JText::_('COM_DEMO_IMPORT_MSG_INVALID_URL'));
|
$app->enqueueMessage(JText::_('COM_DEMO_IMPORT_MSG_INVALID_URL'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -341,6 +344,7 @@ class DemoModelImport extends JModelLegacy
|
|||||||
*/
|
*/
|
||||||
protected function check($archivename)
|
protected function check($archivename)
|
||||||
{
|
{
|
||||||
|
$app = JFactory::getApplication();
|
||||||
// Clean the name
|
// Clean the name
|
||||||
$archivename = JPath::clean($archivename);
|
$archivename = JPath::clean($archivename);
|
||||||
|
|
||||||
@ -354,7 +358,7 @@ class DemoModelImport extends JModelLegacy
|
|||||||
default:
|
default:
|
||||||
// Cleanup the import files
|
// Cleanup the import files
|
||||||
$this->remove($archivename);
|
$this->remove($archivename);
|
||||||
JError::raiseWarning('', JText::_('COM_DEMO_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'));
|
$app->enqueueMessage(JText::_('COM_DEMO_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning');
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage default.php
|
@subpackage default.php
|
||||||
@ -24,6 +24,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
JHtml::_('jquery.framework');
|
JHtml::_('jquery.framework');
|
||||||
JHtml::_('bootstrap.tooltip');
|
JHtml::_('bootstrap.tooltip');
|
||||||
JHtml::_('script', 'system/core.js', false, true);
|
JHtml::_('script', 'system/core.js', false, true);
|
||||||
|
JHtml::_('behavior.keepalive');
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<?php if ($this->hasPackage && DemoHelper::checkArray($this->headerList)) : ?>
|
<?php if ($this->hasPackage && DemoHelper::checkArray($this->headerList)) : ?>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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>24th June, 2016</creationDate>
|
<creationDate>13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage demo.php
|
@subpackage demo.php
|
||||||
@ -235,7 +235,7 @@ abstract class DemoHelper
|
|||||||
|
|
||||||
if (!$asset->check() || !$asset->store())
|
if (!$asset->check() || !$asset->store())
|
||||||
{
|
{
|
||||||
JError::raiseWarning(500, $asset->getError());
|
JFactory::getApplication()->enqueueMessage($asset->getError(), 'warning');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/-------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 1.0.5
|
||||||
@build 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 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 24th June, 2016
|
@build 13th July, 2016
|
||||||
@created 5th August, 2015
|
@created 5th August, 2015
|
||||||
@package Demo
|
@package Demo
|
||||||
@subpackage router.php
|
@subpackage router.php
|
||||||
|
Loading…
Reference in New Issue
Block a user