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)
|
||||
+ *Name*: [Demo] (https://www.vdm.io/)
|
||||
+ *First Build*: 5th August, 2015
|
||||
+ *Last Build*: 24th June, 2016
|
||||
+ *Last Build*: 13th July, 2016
|
||||
+ *Version*: 1.0.5
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage admin.css
|
||||
|
@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage dashboard.css
|
||||
|
@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage help_document.css
|
||||
|
@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage help_documents.css
|
||||
|
@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage look.css
|
||||
|
@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage looks.css
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage controller.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage demo.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage help.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage help_document.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage help_documents.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage import.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage look.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage looks.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage demo.php
|
||||
@ -24,7 +24,7 @@ defined('_JEXEC') or die('Restricted access');
|
||||
// Access check.
|
||||
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
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage demo.php
|
||||
@ -736,7 +736,7 @@ abstract class DemoHelper
|
||||
|
||||
if (!$asset->check() || !$asset->store())
|
||||
{
|
||||
JError::raiseWarning(500, $asset->getError());
|
||||
JFactory::getApplication()->enqueueMessage($asset->getError(), 'warning');
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage batch_.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage batchselection.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage details_above.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage details_fullwidth.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage details_left.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage details_right.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage details_under.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage metadata.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage publishing.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage details_above.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage details_left.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage details_right.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage details_under.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage metadata.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage publishing.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage repetable_numbers_left.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage repetable_numbers_right.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage demo.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage articles.php
|
||||
@ -126,16 +126,11 @@ class JFormFieldArticles extends JFormFieldList
|
||||
// check if button was created for article field.
|
||||
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.
|
||||
$document = JFactory::getDocument();
|
||||
$document->addScriptDeclaration(implode(' ',$script));
|
||||
// return the button attached to input field.
|
||||
return $html . implode('',$button);
|
||||
return '<div class="input-append">' .$html . implode('',$button).'</div>';
|
||||
}
|
||||
}
|
||||
return $html;
|
||||
|
@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage help_document.js
|
||||
|
@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage look.js
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage help_document.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage help_documents.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage import.php
|
||||
@ -193,7 +193,8 @@ class DemoModelImport extends JModelLegacy
|
||||
protected function _getPackageFromUpload()
|
||||
{
|
||||
// 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.
|
||||
$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
|
||||
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;
|
||||
}
|
||||
|
||||
// If there is no uploaded file, we have a problem...
|
||||
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;
|
||||
}
|
||||
|
||||
// Check if there was a problem uploading the file.
|
||||
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;
|
||||
}
|
||||
|
||||
@ -253,7 +254,8 @@ class DemoModelImport extends JModelLegacy
|
||||
*/
|
||||
protected function _getPackageFromFolder()
|
||||
{
|
||||
$input = JFactory::getApplication()->input;
|
||||
$app = JFactory::getApplication();
|
||||
$input = $app->input;
|
||||
|
||||
// Get the path to the package to import
|
||||
$p_dir = $input->getString('import_directory');
|
||||
@ -261,7 +263,7 @@ class DemoModelImport extends JModelLegacy
|
||||
// Did you give us a valid path?
|
||||
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;
|
||||
}
|
||||
|
||||
@ -271,7 +273,7 @@ class DemoModelImport extends JModelLegacy
|
||||
// Did you give us a valid package?
|
||||
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
|
||||
@ -282,7 +284,7 @@ class DemoModelImport extends JModelLegacy
|
||||
break;
|
||||
|
||||
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;
|
||||
break;
|
||||
}
|
||||
@ -302,15 +304,16 @@ class DemoModelImport extends JModelLegacy
|
||||
*/
|
||||
protected function _getPackageFromUrl()
|
||||
{
|
||||
$input = JFactory::getApplication()->input;
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$input = $app->input;
|
||||
|
||||
// Get the URL of the package to import
|
||||
$url = $input->getString('import_url');
|
||||
|
||||
// Did you give us a 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;
|
||||
}
|
||||
|
||||
@ -320,7 +323,7 @@ class DemoModelImport extends JModelLegacy
|
||||
// Was the package downloaded?
|
||||
if (!$p_file)
|
||||
{
|
||||
JError::raiseWarning('', JText::_('COM_DEMO_IMPORT_MSG_INVALID_URL'));
|
||||
$app->enqueueMessage(JText::_('COM_DEMO_IMPORT_MSG_INVALID_URL'), 'warning');
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -341,6 +344,7 @@ class DemoModelImport extends JModelLegacy
|
||||
*/
|
||||
protected function check($archivename)
|
||||
{
|
||||
$app = JFactory::getApplication();
|
||||
// Clean the name
|
||||
$archivename = JPath::clean($archivename);
|
||||
|
||||
@ -354,7 +358,7 @@ class DemoModelImport extends JModelLegacy
|
||||
default:
|
||||
// Cleanup the import files
|
||||
$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;
|
||||
break;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage look.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage looks.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage help_document.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage look.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_main.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_vdm.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage view.html.php
|
||||
|
@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage submitbutton.js
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage edit.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage view.html.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_batch_body.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_batch_footer.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_body.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_foot.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_head.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_toolbar.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage view.html.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default.php
|
||||
@ -24,6 +24,7 @@ defined('_JEXEC') or die('Restricted access');
|
||||
JHtml::_('jquery.framework');
|
||||
JHtml::_('bootstrap.tooltip');
|
||||
JHtml::_('script', 'system/core.js', false, true);
|
||||
JHtml::_('behavior.keepalive');
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
<?php if ($this->hasPackage && DemoHelper::checkArray($this->headerList)) : ?>
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage view.html.php
|
||||
|
@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage submitbutton.js
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage edit.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage view.html.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_batch_body.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_batch_footer.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_body.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_foot.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_head.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage default_toolbar.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage view.html.php
|
||||
|
2
demo.xml
2
demo.xml
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="component" version="3.2" method="upgrade">
|
||||
<name>COM_DEMO</name>
|
||||
<creationDate>24th June, 2016</creationDate>
|
||||
<creationDate>13th July, 2016</creationDate>
|
||||
<author>Llewellyn van der Merwe</author>
|
||||
<authorEmail>info@vdm.io</authorEmail>
|
||||
<authorUrl>https://www.vdm.io/</authorUrl>
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage script.php
|
||||
|
@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage site.css
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage controller.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage help.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage demo.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage demo.php
|
||||
@ -235,7 +235,7 @@ abstract class DemoHelper
|
||||
|
||||
if (!$asset->check() || !$asset->store())
|
||||
{
|
||||
JError::raiseWarning(500, $asset->getError());
|
||||
JFactory::getApplication()->enqueueMessage($asset->getError(), 'warning');
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage headercheck.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage route.php
|
||||
|
@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.5
|
||||
@build 24th June, 2016
|
||||
@build 13th July, 2016
|
||||
@created 5th August, 2015
|
||||
@package Demo
|
||||
@subpackage router.php
|
||||
|
Loading…
Reference in New Issue
Block a user