diff --git a/README.md b/README.md index 6d7725439..de33008d8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Component Builder (2.1.14) +# Component Builder (2.1.16) This is a [Joomla 3.x] (http://www.joomla.org/) component. @@ -32,12 +32,12 @@ Would you require more help please open and issue here on [gitHub today](https:/ + *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io) + *Name*: [Component Builder] (https://www.vdm.io/joomla-component-builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 28th June, 2016 -+ *Version*: 2.1.14 ++ *Last Build*: 12th July, 2016 ++ *Version*: 2.1.16 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -+ *Line count*: **83201** -+ *File count*: **507** ++ *Line count*: **83187** ++ *File count*: **509** + *Folder count*: **98** > This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder). diff --git a/admin/assets/css/admin.css b/admin/assets/css/admin.css index 6da1e0497..bed8f8e5d 100644 --- a/admin/assets/css/admin.css +++ b/admin/assets/css/admin.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin.css diff --git a/admin/assets/css/admin_view.css b/admin/assets/css/admin_view.css index d0e6ce5a9..1e0c0d291 100644 --- a/admin/assets/css/admin_view.css +++ b/admin/assets/css/admin_view.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_view.css diff --git a/admin/assets/css/admin_views.css b/admin/assets/css/admin_views.css index d3323720c..9fbe8879b 100644 --- a/admin/assets/css/admin_views.css +++ b/admin/assets/css/admin_views.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_views.css diff --git a/admin/assets/css/component.css b/admin/assets/css/component.css index 7a7b35577..f592d57e8 100644 --- a/admin/assets/css/component.css +++ b/admin/assets/css/component.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage component.css diff --git a/admin/assets/css/components.css b/admin/assets/css/components.css index 8baab5d70..6cbb3f092 100644 --- a/admin/assets/css/components.css +++ b/admin/assets/css/components.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage components.css diff --git a/admin/assets/css/custom_admin_view.css b/admin/assets/css/custom_admin_view.css index 710842eb3..2500222ba 100644 --- a/admin/assets/css/custom_admin_view.css +++ b/admin/assets/css/custom_admin_view.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_view.css diff --git a/admin/assets/css/custom_admin_views.css b/admin/assets/css/custom_admin_views.css index 064216d98..f29d889ce 100644 --- a/admin/assets/css/custom_admin_views.css +++ b/admin/assets/css/custom_admin_views.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_views.css diff --git a/admin/assets/css/dashboard.css b/admin/assets/css/dashboard.css index c9c202f99..52499ef0b 100644 --- a/admin/assets/css/dashboard.css +++ b/admin/assets/css/dashboard.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage dashboard.css diff --git a/admin/assets/css/dynamic_get.css b/admin/assets/css/dynamic_get.css index 9be590d73..0655cc185 100644 --- a/admin/assets/css/dynamic_get.css +++ b/admin/assets/css/dynamic_get.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamic_get.css diff --git a/admin/assets/css/dynamic_gets.css b/admin/assets/css/dynamic_gets.css index 327357cdb..5d06b67bd 100644 --- a/admin/assets/css/dynamic_gets.css +++ b/admin/assets/css/dynamic_gets.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamic_gets.css diff --git a/admin/assets/css/field.css b/admin/assets/css/field.css index 2f7443cca..884e5dca7 100644 --- a/admin/assets/css/field.css +++ b/admin/assets/css/field.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage field.css diff --git a/admin/assets/css/fields.css b/admin/assets/css/fields.css index b163cf3a7..c84cf6617 100644 --- a/admin/assets/css/fields.css +++ b/admin/assets/css/fields.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fields.css diff --git a/admin/assets/css/fieldtype.css b/admin/assets/css/fieldtype.css index a9f408881..a2600a685 100644 --- a/admin/assets/css/fieldtype.css +++ b/admin/assets/css/fieldtype.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtype.css diff --git a/admin/assets/css/fieldtypes.css b/admin/assets/css/fieldtypes.css index a91839840..03c0ca9f7 100644 --- a/admin/assets/css/fieldtypes.css +++ b/admin/assets/css/fieldtypes.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtypes.css diff --git a/admin/assets/css/help_document.css b/admin/assets/css/help_document.css index a4486519b..b80931c95 100644 --- a/admin/assets/css/help_document.css +++ b/admin/assets/css/help_document.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage help_document.css diff --git a/admin/assets/css/help_documents.css b/admin/assets/css/help_documents.css index d9458829f..419500cc8 100644 --- a/admin/assets/css/help_documents.css +++ b/admin/assets/css/help_documents.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage help_documents.css diff --git a/admin/assets/css/layout.css b/admin/assets/css/layout.css index b3b3e8a9b..b73f73e4b 100644 --- a/admin/assets/css/layout.css +++ b/admin/assets/css/layout.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage layout.css diff --git a/admin/assets/css/layouts.css b/admin/assets/css/layouts.css index d6724cf19..725882bbd 100644 --- a/admin/assets/css/layouts.css +++ b/admin/assets/css/layouts.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage layouts.css diff --git a/admin/assets/css/site_view.css b/admin/assets/css/site_view.css index 306c0945c..092498f6c 100644 --- a/admin/assets/css/site_view.css +++ b/admin/assets/css/site_view.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_view.css diff --git a/admin/assets/css/site_views.css b/admin/assets/css/site_views.css index 74d55b03e..5352ef9c2 100644 --- a/admin/assets/css/site_views.css +++ b/admin/assets/css/site_views.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_views.css diff --git a/admin/assets/css/snippet.css b/admin/assets/css/snippet.css index 51cecd1a9..e82d5ac4d 100644 --- a/admin/assets/css/snippet.css +++ b/admin/assets/css/snippet.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippet.css diff --git a/admin/assets/css/snippets.css b/admin/assets/css/snippets.css index 9edb98a1a..403944f0a 100644 --- a/admin/assets/css/snippets.css +++ b/admin/assets/css/snippets.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippets.css diff --git a/admin/assets/css/template.css b/admin/assets/css/template.css index 6015b5fb2..ead1cf6f7 100644 --- a/admin/assets/css/template.css +++ b/admin/assets/css/template.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage template.css diff --git a/admin/assets/css/templates.css b/admin/assets/css/templates.css index bd4882f8c..cf3db75b2 100644 --- a/admin/assets/css/templates.css +++ b/admin/assets/css/templates.css @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage templates.css diff --git a/admin/compiler/joomla_3/Helper.php b/admin/compiler/joomla_3/Helper.php index 4cc60ac42..9c5e763c4 100644 --- a/admin/compiler/joomla_3/Helper.php +++ b/admin/compiler/joomla_3/Helper.php @@ -486,7 +486,7 @@ abstract class ###Component###Helper if (!$asset->check() || !$asset->store()) { - JError::raiseWarning(500, $asset->getError()); + JFactory::getApplication()->enqueueMessage($asset->getError(), 'warning'); return false; } else diff --git a/admin/compiler/joomla_3/Helper_site.php b/admin/compiler/joomla_3/Helper_site.php index 8b912c779..3cb87307f 100644 --- a/admin/compiler/joomla_3/Helper_site.php +++ b/admin/compiler/joomla_3/Helper_site.php @@ -171,7 +171,7 @@ abstract class ###Component###Helper if (!$asset->check() || !$asset->store()) { - JError::raiseWarning(500, $asset->getError()); + JFactory::getApplication()->enqueueMessage($asset->getError(), 'warning'); return false; } else diff --git a/admin/compiler/joomla_3/JControllerLegacyAjaxSite.php b/admin/compiler/joomla_3/JControllerLegacyAjaxSite.php index 810f56404..ddea7efad 100644 --- a/admin/compiler/joomla_3/JControllerLegacyAjaxSite.php +++ b/admin/compiler/joomla_3/JControllerLegacyAjaxSite.php @@ -63,7 +63,7 @@ class ###Component###ControllerAjax extends JControllerLegacy } else { - if($callback = $jinput->get('callback', null, 'CMD') + if($callback = $jinput->get('callback', null, 'CMD')) { echo $callback."(".json_encode(false).");"; } diff --git a/admin/compiler/joomla_3/JModelItem_custom_admin.php b/admin/compiler/joomla_3/JModelItem_custom_admin.php index 5a38162de..df4c942f9 100644 --- a/admin/compiler/joomla_3/JModelItem_custom_admin.php +++ b/admin/compiler/joomla_3/JModelItem_custom_admin.php @@ -97,9 +97,10 @@ class ###Component###Model###SView### extends JModelItem // check if this user has permission to access item if (!$this->user->authorise('###sview###.access', 'com_###component###')) { - JError::raiseWarning(500, JText::_('Not authorised!')); + $app = JFactory::getApplication(); + $app->enqueueMessage(JText::_('Not authorised!'), 'error'); // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect('index.php?option=com_###component###'); + $app->redirect('index.php?option=com_###component###'); return false; } $this->userId = $this->user->get('id'); @@ -126,7 +127,7 @@ class ###Component###Model###SView### extends JModelItem if ($e->getCode() == 404) { // Need to go thru the error handler to allow Redirect to work. - JError::raiseError(404, $e->getMessage()); + JError::raiseWaring(404, $e->getMessage()); } else { diff --git a/admin/compiler/joomla_3/JModelItem_site.php b/admin/compiler/joomla_3/JModelItem_site.php index 1a35c99cd..2207c9955 100644 --- a/admin/compiler/joomla_3/JModelItem_site.php +++ b/admin/compiler/joomla_3/JModelItem_site.php @@ -99,9 +99,10 @@ class ###Component###Model###SView### extends JModelItem // check if this user has permission to access item if (!$this->user->authorise('site.###sview###.access', 'com_###component###')) { - JError::raiseWarning(500, JText::_('Not authorised!')); + $app = JFactory::getApplication(); + $app->enqueueMessage(JText::_('Not authorised!'), 'error'); // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###')); + $app->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###')); return false; } $this->userId = $this->user->get('id'); @@ -128,7 +129,7 @@ class ###Component###Model###SView### extends JModelItem if ($e->getCode() == 404) { // Need to go thru the error handler to allow Redirect to work. - JError::raiseError(404, $e->getMessage()); + JError::raiseWaring(404, $e->getMessage()); } else { diff --git a/admin/compiler/joomla_3/JModelLegacy_import.php b/admin/compiler/joomla_3/JModelLegacy_import.php index 2422a1840..28f496992 100644 --- a/admin/compiler/joomla_3/JModelLegacy_import.php +++ b/admin/compiler/joomla_3/JModelLegacy_import.php @@ -201,7 +201,8 @@ class ###Component###ModelImport 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'); @@ -209,21 +210,21 @@ class ###Component###ModelImport extends JModelLegacy // Make sure that file uploads are enabled in php if (!(bool) ini_get('file_uploads')) { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTFILE')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTFILE'), 'warning'); return false; } // If there is no uploaded file, we have a problem... if (!is_array($userfile)) { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_NO_FILE_SELECTED')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_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_###COMPONENT###_IMPORT_MSG_WARNIMPORTUPLOADERROR')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTUPLOADERROR'), 'warning'); return false; } @@ -261,7 +262,8 @@ class ###Component###ModelImport 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'); @@ -269,7 +271,7 @@ class ###Component###ModelImport extends JModelLegacy // Did you give us a valid path? if (!file_exists($p_dir)) { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY'), 'warning'); return false; } @@ -279,7 +281,7 @@ class ###Component###ModelImport extends JModelLegacy // Did you give us a valid package? if (!$type) { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE'), 'warning'); } // check the extention @@ -290,7 +292,7 @@ class ###Component###ModelImport extends JModelLegacy break; default: - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning'); return false; break; } @@ -310,15 +312,16 @@ class ###Component###ModelImport 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_###COMPONENT###_IMPORT_MSG_ENTER_A_URL')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_ENTER_A_URL'), 'warning'); return false; } @@ -328,7 +331,7 @@ class ###Component###ModelImport extends JModelLegacy // Was the package downloaded? if (!$p_file) { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_INVALID_URL')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_INVALID_URL'), 'warning'); return false; } @@ -349,6 +352,7 @@ class ###Component###ModelImport extends JModelLegacy */ protected function check($archivename) { + $app = JFactory::getApplication(); // Clean the name $archivename = JPath::clean($archivename); @@ -362,7 +366,7 @@ class ###Component###ModelImport extends JModelLegacy default: // Cleanup the import files $this->remove($archivename); - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning'); return false; break; } diff --git a/admin/compiler/joomla_3/JModelLegacy_import_custom.php b/admin/compiler/joomla_3/JModelLegacy_import_custom.php index 5825f9083..3dfedbe16 100644 --- a/admin/compiler/joomla_3/JModelLegacy_import_custom.php +++ b/admin/compiler/joomla_3/JModelLegacy_import_custom.php @@ -91,7 +91,8 @@ class ###Component###Model###View### 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'); @@ -99,21 +100,21 @@ class ###Component###Model###View### extends JModelLegacy // Make sure that file uploads are enabled in php if (!(bool) ini_get('file_uploads')) { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTFILE')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTFILE'), 'warning'); return false; } // If there is no uploaded file, we have a problem... if (!is_array($userfile)) { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_NO_FILE_SELECTED')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_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_###COMPONENT###_IMPORT_MSG_WARNIMPORTUPLOADERROR')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTUPLOADERROR'), 'warning'); return false; } @@ -151,7 +152,8 @@ class ###Component###Model###View### 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'); @@ -159,7 +161,7 @@ class ###Component###Model###View### extends JModelLegacy // Did you give us a valid path? if (!file_exists($p_dir)) { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY'), 'warning'); return false; } @@ -169,7 +171,7 @@ class ###Component###Model###View### extends JModelLegacy // Did you give us a valid package? if (!$type) { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE'), 'warning'); } // check the extention @@ -180,7 +182,7 @@ class ###Component###Model###View### extends JModelLegacy break; default: - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning'); return false; break; } @@ -200,7 +202,8 @@ class ###Component###Model###View### 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'); @@ -208,7 +211,7 @@ class ###Component###Model###View### extends JModelLegacy // Did you give us a URL? if (!$url) { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_ENTER_A_URL')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_ENTER_A_URL'), 'warning'); return false; } @@ -218,7 +221,7 @@ class ###Component###Model###View### extends JModelLegacy // Was the package downloaded? if (!$p_file) { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_INVALID_URL')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_INVALID_URL'), 'warning'); return false; } @@ -239,6 +242,7 @@ class ###Component###Model###View### extends JModelLegacy */ protected function check($archivename) { + $app = JFactory::getApplication(); // Clean the name $archivename = JPath::clean($archivename); @@ -252,7 +256,7 @@ class ###Component###Model###View### extends JModelLegacy default: // Cleanup the import files $this->remove($archivename); - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); + $app->enqueueMessage(JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning'); return false; break; } diff --git a/admin/compiler/joomla_3/JModelList_custom_admin.php b/admin/compiler/joomla_3/JModelList_custom_admin.php index 3ec564aad..df3d0241b 100644 --- a/admin/compiler/joomla_3/JModelList_custom_admin.php +++ b/admin/compiler/joomla_3/JModelList_custom_admin.php @@ -81,9 +81,10 @@ class ###Component###Model###SViews### extends JModelList // check if this user has permission to access items if (!$user->authorise('###sviews###.access', 'com_###component###')) { - JError::raiseWarning(500, JText::_('Not authorised!')); + $app = JFactory::getApplication(); + $app->enqueueMessage(JText::_('Not authorised!'), 'error'); // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect('index.php?option=com_###component###'); + $app->redirect('index.php?option=com_###component###'); return false; }###LICENSE_LOCKED_CHECK### ###CUSTOM_ADMIN_BEFORE_GET_ITEMS### // load parent items diff --git a/admin/compiler/joomla_3/JModelList_site.php b/admin/compiler/joomla_3/JModelList_site.php index 622377c2c..50878cf6e 100644 --- a/admin/compiler/joomla_3/JModelList_site.php +++ b/admin/compiler/joomla_3/JModelList_site.php @@ -81,9 +81,10 @@ class ###Component###Model###SViews### extends JModelList // check if this user has permission to access items if (!$user->authorise('site.###sview###.access', 'com_###component###')) { - JError::raiseWarning(500, JText::_('Not authorised!')); + $app = JFactory::getApplication(); + $app->enqueueMessage(JText::_('Not authorised!'), 'error'); // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###')); + $app->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###')); return false; }###LICENSE_LOCKED_CHECK### ###SITE_BEFORE_GET_ITEMS### // load parent items diff --git a/admin/compiler/joomla_3/component_admin.php b/admin/compiler/joomla_3/component_admin.php index 6283be0a6..9fb7c0db8 100644 --- a/admin/compiler/joomla_3/component_admin.php +++ b/admin/compiler/joomla_3/component_admin.php @@ -32,7 +32,7 @@ defined('_JEXEC') or die('Restricted access'); // Access check. if (!JFactory::getUser()->authorise('core.manage', 'com_###component###')) { - return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR')); + return JError::raiseWaring(404, JText::_('JERROR_ALERTNOAUTHOR')); }; // Load cms libraries diff --git a/admin/compiler/joomla_3/default_custom_admin.php b/admin/compiler/joomla_3/default_custom_admin.php index 7874b3f6c..5bcfc66a7 100644 --- a/admin/compiler/joomla_3/default_custom_admin.php +++ b/admin/compiler/joomla_3/default_custom_admin.php @@ -35,20 +35,9 @@ JHtml::_('behavior.formvalidation'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('behavior.keepalive'); ?> -canDo->get('###sview###.access')): ?> - -
+canDo->get('###sview###.access')): ?>###CUSTOM_ADMIN_SUBMITBUTTON_SCRIPT### +item->id)) ? '&id='. (int) $this->item->id : ''; ?> +
###CUSTOM_ADMIN_BODY### diff --git a/admin/compiler/joomla_3/default_import.php b/admin/compiler/joomla_3/default_import.php index e888680ae..3c5462882 100644 --- a/admin/compiler/joomla_3/default_import.php +++ b/admin/compiler/joomla_3/default_import.php @@ -32,6 +32,7 @@ defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### JHtml::_('jquery.framework'); JHtml::_('bootstrap.tooltip'); JHtml::_('script', 'system/core.js', false, true); +JHtml::_('behavior.keepalive'); ?> +canDo->get('###sview###.access')): ?>###CUSTOM_ADMIN_SUBMITBUTTON_SCRIPT###
###HIDDEN_INPUT_VALUES### diff --git a/admin/componentbuilder.php b/admin/componentbuilder.php index b5049eb24..7696af9da 100644 --- a/admin/componentbuilder.php +++ b/admin/componentbuilder.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage componentbuilder.php @@ -30,7 +30,7 @@ defined('_JEXEC') or die('Restricted access'); // Access check. if (!JFactory::getUser()->authorise('core.manage', 'com_componentbuilder')) { - return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR')); + return JError::raiseWaring(404, JText::_('JERROR_ALERTNOAUTHOR')); }; // Load cms libraries diff --git a/admin/controller.php b/admin/controller.php index 950bfe2f6..510e4b7a0 100644 --- a/admin/controller.php +++ b/admin/controller.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage controller.php diff --git a/admin/controllers/admin_view.php b/admin/controllers/admin_view.php index ddcffbe04..7bda639d9 100644 --- a/admin/controllers/admin_view.php +++ b/admin/controllers/admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_view.php diff --git a/admin/controllers/admin_views.php b/admin/controllers/admin_views.php index 8bef61425..2225db30c 100644 --- a/admin/controllers/admin_views.php +++ b/admin/controllers/admin_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_views.php diff --git a/admin/controllers/ajax.json.php b/admin/controllers/ajax.json.php index 0e59962fb..86a6129f6 100644 --- a/admin/controllers/ajax.json.php +++ b/admin/controllers/ajax.json.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage ajax.json.php diff --git a/admin/controllers/compiler.php b/admin/controllers/compiler.php index 83042a701..00363027a 100644 --- a/admin/controllers/compiler.php +++ b/admin/controllers/compiler.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage compiler.php diff --git a/admin/controllers/component.php b/admin/controllers/component.php index 27f8c4ba5..32893259d 100644 --- a/admin/controllers/component.php +++ b/admin/controllers/component.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage component.php diff --git a/admin/controllers/componentbuilder.php b/admin/controllers/componentbuilder.php index 04906706f..38f28ca86 100644 --- a/admin/controllers/componentbuilder.php +++ b/admin/controllers/componentbuilder.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage componentbuilder.php diff --git a/admin/controllers/components.php b/admin/controllers/components.php index cc610d23a..df4e96fd7 100644 --- a/admin/controllers/components.php +++ b/admin/controllers/components.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage components.php diff --git a/admin/controllers/custom_admin_view.php b/admin/controllers/custom_admin_view.php index e8db8a1ed..e974208d6 100644 --- a/admin/controllers/custom_admin_view.php +++ b/admin/controllers/custom_admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_view.php diff --git a/admin/controllers/custom_admin_views.php b/admin/controllers/custom_admin_views.php index bc94b6d33..3766024a2 100644 --- a/admin/controllers/custom_admin_views.php +++ b/admin/controllers/custom_admin_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_views.php diff --git a/admin/controllers/dynamic_get.php b/admin/controllers/dynamic_get.php index b1843404e..35bcfe01c 100644 --- a/admin/controllers/dynamic_get.php +++ b/admin/controllers/dynamic_get.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamic_get.php diff --git a/admin/controllers/dynamic_gets.php b/admin/controllers/dynamic_gets.php index 5cb3f6b00..1bc149c9b 100644 --- a/admin/controllers/dynamic_gets.php +++ b/admin/controllers/dynamic_gets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamic_gets.php diff --git a/admin/controllers/field.php b/admin/controllers/field.php index d396b84c6..343528394 100644 --- a/admin/controllers/field.php +++ b/admin/controllers/field.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage field.php diff --git a/admin/controllers/fields.php b/admin/controllers/fields.php index d763a73eb..ef8fa03b0 100644 --- a/admin/controllers/fields.php +++ b/admin/controllers/fields.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fields.php diff --git a/admin/controllers/fieldtype.php b/admin/controllers/fieldtype.php index 95825f670..ea622ffe5 100644 --- a/admin/controllers/fieldtype.php +++ b/admin/controllers/fieldtype.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtype.php diff --git a/admin/controllers/fieldtypes.php b/admin/controllers/fieldtypes.php index 06c1ab029..87e6321a7 100644 --- a/admin/controllers/fieldtypes.php +++ b/admin/controllers/fieldtypes.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtypes.php diff --git a/admin/controllers/help.php b/admin/controllers/help.php index f8b8f534e..677829b09 100644 --- a/admin/controllers/help.php +++ b/admin/controllers/help.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage help.php diff --git a/admin/controllers/help_document.php b/admin/controllers/help_document.php index 6a1858b32..f4e178c4e 100644 --- a/admin/controllers/help_document.php +++ b/admin/controllers/help_document.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage help_document.php diff --git a/admin/controllers/help_documents.php b/admin/controllers/help_documents.php index 043fb89d7..d6b0a8df5 100644 --- a/admin/controllers/help_documents.php +++ b/admin/controllers/help_documents.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage help_documents.php diff --git a/admin/controllers/import.php b/admin/controllers/import.php index 4c10199a6..ce2ac2006 100644 --- a/admin/controllers/import.php +++ b/admin/controllers/import.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage import.php diff --git a/admin/controllers/layout.php b/admin/controllers/layout.php index 9edf98de3..cefc25609 100644 --- a/admin/controllers/layout.php +++ b/admin/controllers/layout.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage layout.php diff --git a/admin/controllers/layouts.php b/admin/controllers/layouts.php index 7ba447b26..36e783977 100644 --- a/admin/controllers/layouts.php +++ b/admin/controllers/layouts.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage layouts.php diff --git a/admin/controllers/site_view.php b/admin/controllers/site_view.php index b135a1ee6..ffd07a406 100644 --- a/admin/controllers/site_view.php +++ b/admin/controllers/site_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_view.php diff --git a/admin/controllers/site_views.php b/admin/controllers/site_views.php index cbc705920..ac340c527 100644 --- a/admin/controllers/site_views.php +++ b/admin/controllers/site_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_views.php diff --git a/admin/controllers/snippet.php b/admin/controllers/snippet.php index ec5b0c95f..b0aa8ae9d 100644 --- a/admin/controllers/snippet.php +++ b/admin/controllers/snippet.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippet.php diff --git a/admin/controllers/snippets.php b/admin/controllers/snippets.php index 3573c1418..77d99cb30 100644 --- a/admin/controllers/snippets.php +++ b/admin/controllers/snippets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippets.php diff --git a/admin/controllers/template.php b/admin/controllers/template.php index 76a683ecf..3a30f00d8 100644 --- a/admin/controllers/template.php +++ b/admin/controllers/template.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage template.php diff --git a/admin/controllers/templates.php b/admin/controllers/templates.php index 1bcb6c05e..5af1701c5 100644 --- a/admin/controllers/templates.php +++ b/admin/controllers/templates.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage templates.php diff --git a/admin/helpers/compiler/e_Interpretation.php b/admin/helpers/compiler/e_Interpretation.php index 7808bed4a..0fd80a23b 100644 --- a/admin/helpers/compiler/e_Interpretation.php +++ b/admin/helpers/compiler/e_Interpretation.php @@ -161,8 +161,9 @@ class Interpretation extends Fields { $statment[] = "\n\t\tif (!\$this->isHonest())"; $statment[] = "\t\t{"; - $statment[] = "\t\t\tJError::raiseWarning(500, JText::_('NIE_REG_NIE'));"; - $statment[] = "\t\t\tJFactory::getApplication()->redirect('index.php');"; + $statment[] = "\t\t\t\$app = JFactory::getApplication();"; + $statment[] = "\t\t\t\$app->enqueueMessage(JText::_('NIE_REG_NIE'), 'error');"; + $statment[] = "\t\t\t\$app->redirect('index.php');"; $statment[] = "\t\t\treturn false;"; $statment[] = "\t\t}"; // return the genuine mentod statement @@ -1732,20 +1733,21 @@ class Interpretation extends Fields $getItem .= "\n\t".$tab."\t{"; if ($type == 'main') { + $getItem .= "\n\t".$tab."\t\t\$app = JFactory::getApplication();"; $langKeyWord = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Not found or access denied','U'); if (!isset($this->langContent[$this->lang][$langKeyWord])) { $this->langContent[$this->lang][$langKeyWord] = 'Not found, or access denied.'; } $getItem .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." If no data is found redirect to default page and show warning."; - $getItem .= "\n\t".$tab."\t\tJError::raiseWarning(500, JText::_('".$langKeyWord."'));"; + $getItem .= "\n\t".$tab."\t\t\$app->enqueueMessage(JText::_('".$langKeyWord."'), 'warning');"; if ('site' == $this->target) { - $getItem .= "\n\t".$tab."\t\tJFactory::getApplication()->redirect('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$this->fileContentStatic['###SITE_DEFAULT_VIEW###']."');"; + $getItem .= "\n\t".$tab."\t\t\$app->redirect('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$this->fileContentStatic['###SITE_DEFAULT_VIEW###']."');"; } else { - $getItem .= "\n\t".$tab."\t\tJFactory::getApplication()->redirect('index.php?option=com_".$this->fileContentStatic['###component###']."');"; + $getItem .= "\n\t".$tab."\t\t\$app->redirect('index.php?option=com_".$this->fileContentStatic['###component###']."');"; } $getItem .= "\n\t".$tab."\t\treturn false;"; } @@ -2469,7 +2471,7 @@ class Interpretation extends Fields $method .= "\n\n\t\t//".$this->setLine(__LINE__)." Check for errors."; $method .= "\n\t\tif (count(\$errors = \$this->get('Errors')))"; $method .= "\n\t\t{"; - $method .= "\n\t\t\tJError::raiseWarning(500, ".'implode("\n", $errors));'; + $method .= "\n\t\t\tJError::raiseError(500, ".'implode("\n", $errors));'; $method .= "\n\t\t\treturn false;"; $method .= "\n\t\t}"; // add custom script @@ -3089,6 +3091,34 @@ class Interpretation extends Fields return ''; } + public function setCustomViewSubmitButtonScript(&$view) + { + if (ComponentbuilderHelper::checkString($view['settings']->default)) + { + // add the script only if there is none set + if (strpos($view['settings']->default, 'Joomla.submitbutton = function(task)') === false) + { + $script = array(); + $script[] = "\n"; + + return implode("\n", $script); + } + + } + return ''; + } + public function setCustomViewCodeBody(&$view) { if ($view['settings']->add_php_view == 1) @@ -7471,16 +7501,11 @@ class Interpretation extends Fields $addButton[] = "\t\t\t//".$this->setLine(__LINE__)." check if button was created for " . $targetView ." field."; $addButton[] = "\t\t\tif (is_array(\$button) && count(\$button) > 0)"; $addButton[] = "\t\t\t{"; - $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." Add some final script"; - $addButton[] = "\t\t\t\t\$script[] = \""; - $addButton[] = "\t\t\t\t\tjQuery(document).ready(function() {"; - $addButton[] = "\t\t\t\t\t\tjQuery('#jform_\".\$buttonName.\"').closest('.control-group').addClass('input-append');"; - $addButton[] = "\t\t\t\t\t});\";"; $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." Load the needed script."; $addButton[] = "\t\t\t\t\$document = JFactory::getDocument();"; $addButton[] = "\t\t\t\t\$document->addScriptDeclaration(implode(' ',\$script));"; $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." return the button attached to input field."; - $addButton[] = "\t\t\t\treturn \$html . implode('',\$button);"; + $addButton[] = "\t\t\t\treturn '
' .\$html . implode('',\$button).'
';"; $addButton[] = "\t\t\t}"; $addButton[] = "\t\t}"; $addButton[] = "\t\treturn \$html;"; @@ -11080,11 +11105,70 @@ class Interpretation extends Fields public function addCustomDashboardIcons(&$view,&$counter) { + $icon = ''; + if (isset($this->componentData->custom_admin_views) && ComponentbuilderHelper::checkArray($this->componentData->custom_admin_views)) + { + foreach ($this->componentData->custom_admin_views as $nr => $menu) + { + if (!isset($this->customAdminAdded[$menu['settings']->code]) && $menu['dashboard_list'] == 1 && $menu['before'] == $view['adminview']) + { + $type = ComponentbuilderHelper::imageInfo($menu['settings']->icon); + if ($type) + { + $type = $type."."; + // icon builder loader + $this->iconBuilder[$type.$menu['settings']->code] = $menu['settings']->icon; + } + else + { + $type = 'png.'; + } + // build lang + $langName = $menu['settings']->name.'

'; + $langKey = $this->langPrefix.'_DASHBOARD_'.$menu['settings']->CODE; + // add to lang + $this->langContent[$this->lang][$langKey] = $langName; + // set icon + if ($counter == 0) + { + $counter++; + $icon .= "'".$type.$menu['settings']->code."'"; + } + else + { + $counter++; + $icon .= ", '".$type.$menu['settings']->code."'"; + } + } + elseif(!isset($this->customAdminAdded[$menu['settings']->code]) && $menu['dashboard_list'] == 1 && empty($menu['before'])) + { + $type = ComponentbuilderHelper::imageInfo($menu['settings']->icon); + if ($type) + { + $type = $type."."; + // icon builder loader + $this->iconBuilder[$type.$menu['settings']->code] = $menu['settings']->icon; + } + else + { + $type = 'png.'; + } + // build lang + $langName = $menu['settings']->name.'

'; + $langKey = $this->langPrefix.'_DASHBOARD_'.$menu['settings']->CODE; + // add to lang + $this->langContent[$this->lang][$langKey] = $langName; + // set icon + $this->lastCustomDashboardIcon[$nr] = ", '".$type.$menu['settings']->code."'"; + } + } + } // see if we should have custom menus if (isset($this->componentData->custommenus) && ComponentbuilderHelper::checkArray($this->componentData->custommenus)) { foreach ($this->componentData->custommenus as $nr => $menu) { + $nr = $nr + 100; $nameList = ComponentbuilderHelper::safeString($menu['name_code']); $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); if ($menu['dashboard_list'] == 1 && $view['adminview'] == $menu['before']) @@ -11116,12 +11200,12 @@ class Interpretation extends Fields if ($counter == 0) { $counter++; - return "'".$type.$nameList."'"; + $icon .= "'".$type.$nameList."'"; } else { $counter++; - return ", '".$type.$nameList."'"; + $icon .= ", '".$type.$nameList."'"; } } } @@ -11156,7 +11240,7 @@ class Interpretation extends Fields } } } - return ''; + return $icon; } public function setSubMenus() @@ -11413,11 +11497,35 @@ class Interpretation extends Fields public function addCustomMainMenu(&$view,&$codeName,&$lang) { + $customMenu = ''; + // see if we should have custom admin views + if (isset($this->componentData->custom_admin_views) && ComponentbuilderHelper::checkArray($this->componentData->custom_admin_views)) + { + foreach ($this->componentData->custom_admin_views as $nr => $menu) + { + if (!isset($this->customAdminAdded[$menu['settings']->code])) + { + if ($menu['mainmenu'] == 1 && $view['adminview'] == $menu['before']) + { + $this->langContent['adminsys'][$lang.'_'.$menu['settings']->CODE] = $menu['settings']->name; + // add custom menu + $customMenu .= "\n\t\t\t".''.$lang.'_'.$menu['settings']->CODE.''; + } + elseif($menu['mainmenu'] == 1 && empty($menu['before'])) + { + $this->langContent['adminsys'][$lang.'_'.$menu['settings']->CODE] = $menu['settings']->name; + // add custom menu + $this->lastCustomMainMenu[$nr] = "\n\t\t\t".''.$lang.'_'.$menu['settings']->CODE.''; + } + } + } + } // see if we should have custom menus if (isset($this->componentData->custommenus) && ComponentbuilderHelper::checkArray($this->componentData->custommenus)) { foreach ($this->componentData->custommenus as $nr => $menu) { + $nr = $nr + 100; if ($menu['mainmenu'] == 1 && $view['adminview'] == $menu['before']) { if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) @@ -11426,7 +11534,7 @@ class Interpretation extends Fields $nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U'); $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; // add custom menu - return "\n\t\t\t".''.$lang.'_'.$nameUpper.''; + $customMenu .= "\n\t\t\t".''.$lang.'_'.$nameUpper.''; } else { @@ -11434,7 +11542,7 @@ class Interpretation extends Fields $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; // add custom menu - return "\n\t\t\t".''.$lang.'_'.$nameUpper.''; + $customMenu .= "\n\t\t\t".''.$lang.'_'.$nameUpper.''; } } elseif($menu['mainmenu'] == 1 && empty($menu['before'])) @@ -11458,7 +11566,7 @@ class Interpretation extends Fields } } } - return ''; + return $customMenu; } diff --git a/admin/helpers/compiler/f_Infusion.php b/admin/helpers/compiler/f_Infusion.php index a73c9e93c..9e05b9dd8 100644 --- a/admin/helpers/compiler/f_Infusion.php +++ b/admin/helpers/compiler/f_Infusion.php @@ -678,6 +678,8 @@ class Infusion extends Interpretation $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CODE_BODY###'] = $this->setCustomViewCodeBody($view); // ###CUSTOM_ADMIN_BODY### <<>> $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BODY###'] = $this->setCustomViewBody($view); + // ###CUSTOM_ADMIN_SUBMITBUTTON_SCRIPT### <<>> + $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_SUBMITBUTTON_SCRIPT###'] = $this->setCustomViewSubmitButtonScript($view); // setup the templates $this->setCustomViewTemplateBody($view); diff --git a/admin/helpers/componentbuilder.php b/admin/helpers/componentbuilder.php index 781ecb412..6c376edde 100644 --- a/admin/helpers/componentbuilder.php +++ b/admin/helpers/componentbuilder.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage componentbuilder.php @@ -1041,7 +1041,7 @@ abstract class ComponentbuilderHelper if (!$asset->check() || !$asset->store()) { - JError::raiseWarning(500, $asset->getError()); + JFactory::getApplication()->enqueueMessage($asset->getError(), 'warning'); return false; } else diff --git a/admin/helpers/html/batch_.php b/admin/helpers/html/batch_.php index ef8776435..8c171b5af 100644 --- a/admin/helpers/html/batch_.php +++ b/admin/helpers/html/batch_.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage batch_.php diff --git a/admin/helpers/indenter.php b/admin/helpers/indenter.php index 3c90942e7..72ff3b460 100644 --- a/admin/helpers/indenter.php +++ b/admin/helpers/indenter.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage indenter.php diff --git a/admin/helpers/js.php b/admin/helpers/js.php index 1d565413d..e6955d680 100644 --- a/admin/helpers/js.php +++ b/admin/helpers/js.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage js.php diff --git a/admin/helpers/minify.php b/admin/helpers/minify.php index 1e1fda99a..6098efb46 100644 --- a/admin/helpers/minify.php +++ b/admin/helpers/minify.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage minify.php diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini index 83fa50f67..de42982bd 100644 --- a/admin/language/en-GB/en-GB.com_componentbuilder.ini +++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini @@ -1321,6 +1321,9 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HOME="Home" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HOME_TWO="Home 2" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_DESCRIPTION="Joomla Standard Icomoon Fonts" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_LABEL="Icon" +COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICON="Icon" +COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICON_DESCRIPTION="Must be 128px x 128px and a png format." +COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICON_LABEL="Icon" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ID="Id" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_IMAGE="Image" COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_IMAGES="Images" diff --git a/admin/layouts/admin_view/css_fullwidth.php b/admin/layouts/admin_view/css_fullwidth.php index b7002a75c..906b46d86 100644 --- a/admin/layouts/admin_view/css_fullwidth.php +++ b/admin/layouts/admin_view/css_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage css_fullwidth.php diff --git a/admin/layouts/admin_view/custom_import_fullwidth.php b/admin/layouts/admin_view/custom_import_fullwidth.php index 05d78c575..4556d0f84 100644 --- a/admin/layouts/admin_view/custom_import_fullwidth.php +++ b/admin/layouts/admin_view/custom_import_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_import_fullwidth.php diff --git a/admin/layouts/admin_view/fields_fullwidth.php b/admin/layouts/admin_view/fields_fullwidth.php index 308700500..0575176b4 100644 --- a/admin/layouts/admin_view/fields_fullwidth.php +++ b/admin/layouts/admin_view/fields_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fields_fullwidth.php diff --git a/admin/layouts/admin_view/javascript_fullwidth.php b/admin/layouts/admin_view/javascript_fullwidth.php index 0fb6d58f4..01742f828 100644 --- a/admin/layouts/admin_view/javascript_fullwidth.php +++ b/admin/layouts/admin_view/javascript_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage javascript_fullwidth.php diff --git a/admin/layouts/admin_view/mysql_fullwidth.php b/admin/layouts/admin_view/mysql_fullwidth.php index b607ab1cc..0c5ac459f 100644 --- a/admin/layouts/admin_view/mysql_fullwidth.php +++ b/admin/layouts/admin_view/mysql_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage mysql_fullwidth.php diff --git a/admin/layouts/admin_view/mysql_left.php b/admin/layouts/admin_view/mysql_left.php index 14d5258ff..97d4dc252 100644 --- a/admin/layouts/admin_view/mysql_left.php +++ b/admin/layouts/admin_view/mysql_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage mysql_left.php diff --git a/admin/layouts/admin_view/php_fullwidth.php b/admin/layouts/admin_view/php_fullwidth.php index afe01389c..aeb51a434 100644 --- a/admin/layouts/admin_view/php_fullwidth.php +++ b/admin/layouts/admin_view/php_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage php_fullwidth.php diff --git a/admin/layouts/admin_view/publishing.php b/admin/layouts/admin_view/publishing.php index 103f26223..5269c1ee4 100644 --- a/admin/layouts/admin_view/publishing.php +++ b/admin/layouts/admin_view/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/admin_view/publlshing.php b/admin/layouts/admin_view/publlshing.php index fb353ffa8..33328f64f 100644 --- a/admin/layouts/admin_view/publlshing.php +++ b/admin/layouts/admin_view/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/admin_view/settings_above.php b/admin/layouts/admin_view/settings_above.php index 1ffc421cc..7a47f525e 100644 --- a/admin/layouts/admin_view/settings_above.php +++ b/admin/layouts/admin_view/settings_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_above.php diff --git a/admin/layouts/admin_view/settings_left.php b/admin/layouts/admin_view/settings_left.php index 7ff0a51fa..3b23c0b7e 100644 --- a/admin/layouts/admin_view/settings_left.php +++ b/admin/layouts/admin_view/settings_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_left.php diff --git a/admin/layouts/admin_view/settings_right.php b/admin/layouts/admin_view/settings_right.php index 364a76f52..9acc7d3f5 100644 --- a/admin/layouts/admin_view/settings_right.php +++ b/admin/layouts/admin_view/settings_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_right.php diff --git a/admin/layouts/admin_view/settings_under.php b/admin/layouts/admin_view/settings_under.php index 8932db47e..e7ca098b1 100644 --- a/admin/layouts/admin_view/settings_under.php +++ b/admin/layouts/admin_view/settings_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_under.php diff --git a/admin/layouts/batchselection.php b/admin/layouts/batchselection.php index 2618deeba..a52fa6d27 100644 --- a/admin/layouts/batchselection.php +++ b/admin/layouts/batchselection.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage batchselection.php diff --git a/admin/layouts/component/admin_views_fullwidth.php b/admin/layouts/component/admin_views_fullwidth.php index a85d92b62..22fb3ccbd 100644 --- a/admin/layouts/component/admin_views_fullwidth.php +++ b/admin/layouts/component/admin_views_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_views_fullwidth.php diff --git a/admin/layouts/component/details_above.php b/admin/layouts/component/details_above.php index eab0034f6..5c26f850e 100644 --- a/admin/layouts/component/details_above.php +++ b/admin/layouts/component/details_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_above.php diff --git a/admin/layouts/component/details_left.php b/admin/layouts/component/details_left.php index 952bdc6b5..73bec0f7d 100644 --- a/admin/layouts/component/details_left.php +++ b/admin/layouts/component/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/component/details_right.php b/admin/layouts/component/details_right.php index 87f4dffad..035152e9f 100644 --- a/admin/layouts/component/details_right.php +++ b/admin/layouts/component/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/component/details_under.php b/admin/layouts/component/details_under.php index 30492c80a..2f03dba56 100644 --- a/admin/layouts/component/details_under.php +++ b/admin/layouts/component/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/component/ftp_servers_fullwidth.php b/admin/layouts/component/ftp_servers_fullwidth.php index a70ab299d..5eaede990 100644 --- a/admin/layouts/component/ftp_servers_fullwidth.php +++ b/admin/layouts/component/ftp_servers_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage ftp_servers_fullwidth.php diff --git a/admin/layouts/component/publishing.php b/admin/layouts/component/publishing.php index 103f26223..5269c1ee4 100644 --- a/admin/layouts/component/publishing.php +++ b/admin/layouts/component/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/component/publlshing.php b/admin/layouts/component/publlshing.php index fb353ffa8..33328f64f 100644 --- a/admin/layouts/component/publlshing.php +++ b/admin/layouts/component/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/component/readme_left.php b/admin/layouts/component/readme_left.php index 04c7c87b4..a7df7e276 100644 --- a/admin/layouts/component/readme_left.php +++ b/admin/layouts/component/readme_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage readme_left.php diff --git a/admin/layouts/component/readme_right.php b/admin/layouts/component/readme_right.php index 2d5ec0f38..e90ef417b 100644 --- a/admin/layouts/component/readme_right.php +++ b/admin/layouts/component/readme_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage readme_right.php diff --git a/admin/layouts/component/scripts_fullwidth.php b/admin/layouts/component/scripts_fullwidth.php index 234a025a6..37f34e836 100644 --- a/admin/layouts/component/scripts_fullwidth.php +++ b/admin/layouts/component/scripts_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage scripts_fullwidth.php diff --git a/admin/layouts/component/settings_left.php b/admin/layouts/component/settings_left.php index 9587501ba..acdd980ed 100644 --- a/admin/layouts/component/settings_left.php +++ b/admin/layouts/component/settings_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_left.php diff --git a/admin/layouts/component/settings_right.php b/admin/layouts/component/settings_right.php index de002e38e..48d19c0d2 100644 --- a/admin/layouts/component/settings_right.php +++ b/admin/layouts/component/settings_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage settings_right.php diff --git a/admin/layouts/component/site_views_fullwidth.php b/admin/layouts/component/site_views_fullwidth.php index 86c2f4630..95e0edcef 100644 --- a/admin/layouts/component/site_views_fullwidth.php +++ b/admin/layouts/component/site_views_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_views_fullwidth.php diff --git a/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php b/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php index a90733a3c..a1083eab8 100644 --- a/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php +++ b/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_buttons_fullwidth.php diff --git a/admin/layouts/custom_admin_view/custom_buttons_left.php b/admin/layouts/custom_admin_view/custom_buttons_left.php index cf8918460..24859792b 100644 --- a/admin/layouts/custom_admin_view/custom_buttons_left.php +++ b/admin/layouts/custom_admin_view/custom_buttons_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_buttons_left.php diff --git a/admin/layouts/custom_admin_view/custom_script_fullwidth.php b/admin/layouts/custom_admin_view/custom_script_fullwidth.php index 1226dfcbd..83e418d1f 100644 --- a/admin/layouts/custom_admin_view/custom_script_fullwidth.php +++ b/admin/layouts/custom_admin_view/custom_script_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_script_fullwidth.php diff --git a/admin/layouts/custom_admin_view/details_above.php b/admin/layouts/custom_admin_view/details_above.php index eab0034f6..5c26f850e 100644 --- a/admin/layouts/custom_admin_view/details_above.php +++ b/admin/layouts/custom_admin_view/details_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_above.php diff --git a/admin/layouts/custom_admin_view/details_fullwidth.php b/admin/layouts/custom_admin_view/details_fullwidth.php index 66614b60b..f5a815714 100644 --- a/admin/layouts/custom_admin_view/details_fullwidth.php +++ b/admin/layouts/custom_admin_view/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/custom_admin_view/details_left.php b/admin/layouts/custom_admin_view/details_left.php index 3d22d122f..660e24072 100644 --- a/admin/layouts/custom_admin_view/details_left.php +++ b/admin/layouts/custom_admin_view/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/custom_admin_view/details_right.php b/admin/layouts/custom_admin_view/details_right.php index 224c1d2a8..4b1b12d37 100644 --- a/admin/layouts/custom_admin_view/details_right.php +++ b/admin/layouts/custom_admin_view/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php @@ -31,6 +31,7 @@ defined('_JEXEC') or die('Restricted access'); $form = $displayData->getForm(); $fields = $displayData->get('fields') ?: array( + 'icon', 'note_uikit_snippet' ); diff --git a/admin/layouts/custom_admin_view/details_rightside.php b/admin/layouts/custom_admin_view/details_rightside.php index 643e7bf20..22e00903c 100644 --- a/admin/layouts/custom_admin_view/details_rightside.php +++ b/admin/layouts/custom_admin_view/details_rightside.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_rightside.php diff --git a/admin/layouts/custom_admin_view/details_under.php b/admin/layouts/custom_admin_view/details_under.php index 30492c80a..2f03dba56 100644 --- a/admin/layouts/custom_admin_view/details_under.php +++ b/admin/layouts/custom_admin_view/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/custom_admin_view/publishing.php b/admin/layouts/custom_admin_view/publishing.php index 103f26223..5269c1ee4 100644 --- a/admin/layouts/custom_admin_view/publishing.php +++ b/admin/layouts/custom_admin_view/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/custom_admin_view/publlshing.php b/admin/layouts/custom_admin_view/publlshing.php index fb353ffa8..33328f64f 100644 --- a/admin/layouts/custom_admin_view/publlshing.php +++ b/admin/layouts/custom_admin_view/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/dynamic_get/abacus_fullwidth.php b/admin/layouts/dynamic_get/abacus_fullwidth.php index fc25ab698..26596107b 100644 --- a/admin/layouts/dynamic_get/abacus_fullwidth.php +++ b/admin/layouts/dynamic_get/abacus_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage abacus_fullwidth.php diff --git a/admin/layouts/dynamic_get/abacus_left.php b/admin/layouts/dynamic_get/abacus_left.php index d65c5fc6e..6dd2ca73d 100644 --- a/admin/layouts/dynamic_get/abacus_left.php +++ b/admin/layouts/dynamic_get/abacus_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage abacus_left.php diff --git a/admin/layouts/dynamic_get/custom_script_fullwidth.php b/admin/layouts/dynamic_get/custom_script_fullwidth.php index 5041f9d0b..144ac267b 100644 --- a/admin/layouts/dynamic_get/custom_script_fullwidth.php +++ b/admin/layouts/dynamic_get/custom_script_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_script_fullwidth.php diff --git a/admin/layouts/dynamic_get/gettable_above.php b/admin/layouts/dynamic_get/gettable_above.php index c527ec4ab..b17ec0478 100644 --- a/admin/layouts/dynamic_get/gettable_above.php +++ b/admin/layouts/dynamic_get/gettable_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage gettable_above.php diff --git a/admin/layouts/dynamic_get/gettable_fullwidth.php b/admin/layouts/dynamic_get/gettable_fullwidth.php index 8848ece42..235afc614 100644 --- a/admin/layouts/dynamic_get/gettable_fullwidth.php +++ b/admin/layouts/dynamic_get/gettable_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage gettable_fullwidth.php diff --git a/admin/layouts/dynamic_get/gettable_left.php b/admin/layouts/dynamic_get/gettable_left.php index 10c229680..0050edcb5 100644 --- a/admin/layouts/dynamic_get/gettable_left.php +++ b/admin/layouts/dynamic_get/gettable_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage gettable_left.php diff --git a/admin/layouts/dynamic_get/gettable_right.php b/admin/layouts/dynamic_get/gettable_right.php index e9826823e..c19c64d33 100644 --- a/admin/layouts/dynamic_get/gettable_right.php +++ b/admin/layouts/dynamic_get/gettable_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage gettable_right.php diff --git a/admin/layouts/dynamic_get/gettable_under.php b/admin/layouts/dynamic_get/gettable_under.php index 4de121d0e..26b58c0cb 100644 --- a/admin/layouts/dynamic_get/gettable_under.php +++ b/admin/layouts/dynamic_get/gettable_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage gettable_under.php diff --git a/admin/layouts/dynamic_get/publishing.php b/admin/layouts/dynamic_get/publishing.php index 103f26223..5269c1ee4 100644 --- a/admin/layouts/dynamic_get/publishing.php +++ b/admin/layouts/dynamic_get/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/dynamic_get/publlshing.php b/admin/layouts/dynamic_get/publlshing.php index fb353ffa8..33328f64f 100644 --- a/admin/layouts/dynamic_get/publlshing.php +++ b/admin/layouts/dynamic_get/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/field/details_fullwidth.php b/admin/layouts/field/details_fullwidth.php index 3768a8534..de16dd880 100644 --- a/admin/layouts/field/details_fullwidth.php +++ b/admin/layouts/field/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/field/details_left.php b/admin/layouts/field/details_left.php index 107cdd523..eaac318c5 100644 --- a/admin/layouts/field/details_left.php +++ b/admin/layouts/field/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/field/details_right.php b/admin/layouts/field/details_right.php index 9f558d6c6..41ad30a3a 100644 --- a/admin/layouts/field/details_right.php +++ b/admin/layouts/field/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/field/details_under.php b/admin/layouts/field/details_under.php index 30492c80a..2f03dba56 100644 --- a/admin/layouts/field/details_under.php +++ b/admin/layouts/field/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/field/publishing.php b/admin/layouts/field/publishing.php index 103f26223..5269c1ee4 100644 --- a/admin/layouts/field/publishing.php +++ b/admin/layouts/field/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/field/publlshing.php b/admin/layouts/field/publlshing.php index fb353ffa8..33328f64f 100644 --- a/admin/layouts/field/publlshing.php +++ b/admin/layouts/field/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/field/scripts_left.php b/admin/layouts/field/scripts_left.php index 45b1efcd5..034c4334f 100644 --- a/admin/layouts/field/scripts_left.php +++ b/admin/layouts/field/scripts_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage scripts_left.php diff --git a/admin/layouts/field/scripts_right.php b/admin/layouts/field/scripts_right.php index 58a5aeba9..8f63c4ea5 100644 --- a/admin/layouts/field/scripts_right.php +++ b/admin/layouts/field/scripts_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage scripts_right.php diff --git a/admin/layouts/fieldtype/details_left.php b/admin/layouts/fieldtype/details_left.php index 61fa30dc8..885fc9c78 100644 --- a/admin/layouts/fieldtype/details_left.php +++ b/admin/layouts/fieldtype/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/fieldtype/details_right.php b/admin/layouts/fieldtype/details_right.php index 1e8a104b9..b6599d51d 100644 --- a/admin/layouts/fieldtype/details_right.php +++ b/admin/layouts/fieldtype/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/fieldtype/fields_fullwidth.php b/admin/layouts/fieldtype/fields_fullwidth.php index af380aae5..de4ded5f8 100644 --- a/admin/layouts/fieldtype/fields_fullwidth.php +++ b/admin/layouts/fieldtype/fields_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fields_fullwidth.php diff --git a/admin/layouts/fieldtype/publishing.php b/admin/layouts/fieldtype/publishing.php index 103f26223..5269c1ee4 100644 --- a/admin/layouts/fieldtype/publishing.php +++ b/admin/layouts/fieldtype/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/fieldtype/publlshing.php b/admin/layouts/fieldtype/publlshing.php index fb353ffa8..33328f64f 100644 --- a/admin/layouts/fieldtype/publlshing.php +++ b/admin/layouts/fieldtype/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/help_document/details_above.php b/admin/layouts/help_document/details_above.php index 8b85c05df..12e2ca2ec 100644 --- a/admin/layouts/help_document/details_above.php +++ b/admin/layouts/help_document/details_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_above.php diff --git a/admin/layouts/help_document/details_fullwidth.php b/admin/layouts/help_document/details_fullwidth.php index b88c31604..5944dbe35 100644 --- a/admin/layouts/help_document/details_fullwidth.php +++ b/admin/layouts/help_document/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/help_document/details_left.php b/admin/layouts/help_document/details_left.php index e1729bf73..8f407dc9a 100644 --- a/admin/layouts/help_document/details_left.php +++ b/admin/layouts/help_document/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/help_document/details_right.php b/admin/layouts/help_document/details_right.php index fa18d8e47..313ac0f09 100644 --- a/admin/layouts/help_document/details_right.php +++ b/admin/layouts/help_document/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/help_document/details_under.php b/admin/layouts/help_document/details_under.php index 30492c80a..2f03dba56 100644 --- a/admin/layouts/help_document/details_under.php +++ b/admin/layouts/help_document/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/help_document/publishing.php b/admin/layouts/help_document/publishing.php index 103f26223..5269c1ee4 100644 --- a/admin/layouts/help_document/publishing.php +++ b/admin/layouts/help_document/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/help_document/publlshing.php b/admin/layouts/help_document/publlshing.php index 8ec40bb41..57c6d6497 100644 --- a/admin/layouts/help_document/publlshing.php +++ b/admin/layouts/help_document/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/layout/custom_script_fullwidth.php b/admin/layouts/layout/custom_script_fullwidth.php index cfd1edc93..efd61c3d3 100644 --- a/admin/layouts/layout/custom_script_fullwidth.php +++ b/admin/layouts/layout/custom_script_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_script_fullwidth.php diff --git a/admin/layouts/layout/details_fullwidth.php b/admin/layouts/layout/details_fullwidth.php index 2b0e5aa3b..f65d90099 100644 --- a/admin/layouts/layout/details_fullwidth.php +++ b/admin/layouts/layout/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/layout/details_left.php b/admin/layouts/layout/details_left.php index 3d22d122f..660e24072 100644 --- a/admin/layouts/layout/details_left.php +++ b/admin/layouts/layout/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/layout/details_right.php b/admin/layouts/layout/details_right.php index 224c1d2a8..b9079590a 100644 --- a/admin/layouts/layout/details_right.php +++ b/admin/layouts/layout/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/layout/details_rightside.php b/admin/layouts/layout/details_rightside.php index 3faee936d..f58f9a64f 100644 --- a/admin/layouts/layout/details_rightside.php +++ b/admin/layouts/layout/details_rightside.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_rightside.php diff --git a/admin/layouts/layout/details_under.php b/admin/layouts/layout/details_under.php index 30492c80a..2f03dba56 100644 --- a/admin/layouts/layout/details_under.php +++ b/admin/layouts/layout/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/layout/publishing.php b/admin/layouts/layout/publishing.php index 103f26223..5269c1ee4 100644 --- a/admin/layouts/layout/publishing.php +++ b/admin/layouts/layout/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/layout/publlshing.php b/admin/layouts/layout/publlshing.php index fb353ffa8..33328f64f 100644 --- a/admin/layouts/layout/publlshing.php +++ b/admin/layouts/layout/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/site_view/custom_buttons_fullwidth.php b/admin/layouts/site_view/custom_buttons_fullwidth.php index d4a263a04..9755ba5a4 100644 --- a/admin/layouts/site_view/custom_buttons_fullwidth.php +++ b/admin/layouts/site_view/custom_buttons_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_buttons_fullwidth.php diff --git a/admin/layouts/site_view/details_above.php b/admin/layouts/site_view/details_above.php index eab0034f6..5c26f850e 100644 --- a/admin/layouts/site_view/details_above.php +++ b/admin/layouts/site_view/details_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_above.php diff --git a/admin/layouts/site_view/details_fullwidth.php b/admin/layouts/site_view/details_fullwidth.php index 66614b60b..f5a815714 100644 --- a/admin/layouts/site_view/details_fullwidth.php +++ b/admin/layouts/site_view/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/site_view/details_left.php b/admin/layouts/site_view/details_left.php index 3d22d122f..660e24072 100644 --- a/admin/layouts/site_view/details_left.php +++ b/admin/layouts/site_view/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/site_view/details_right.php b/admin/layouts/site_view/details_right.php index 224c1d2a8..b9079590a 100644 --- a/admin/layouts/site_view/details_right.php +++ b/admin/layouts/site_view/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/site_view/details_rightside.php b/admin/layouts/site_view/details_rightside.php index 643e7bf20..22e00903c 100644 --- a/admin/layouts/site_view/details_rightside.php +++ b/admin/layouts/site_view/details_rightside.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_rightside.php diff --git a/admin/layouts/site_view/details_under.php b/admin/layouts/site_view/details_under.php index 30492c80a..2f03dba56 100644 --- a/admin/layouts/site_view/details_under.php +++ b/admin/layouts/site_view/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/site_view/javascript_css_fullwidth.php b/admin/layouts/site_view/javascript_css_fullwidth.php index 8da1a8c21..2b2518638 100644 --- a/admin/layouts/site_view/javascript_css_fullwidth.php +++ b/admin/layouts/site_view/javascript_css_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage javascript_css_fullwidth.php diff --git a/admin/layouts/site_view/php_fullwidth.php b/admin/layouts/site_view/php_fullwidth.php index b614811fb..4e9260c01 100644 --- a/admin/layouts/site_view/php_fullwidth.php +++ b/admin/layouts/site_view/php_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage php_fullwidth.php diff --git a/admin/layouts/site_view/publishing.php b/admin/layouts/site_view/publishing.php index 103f26223..5269c1ee4 100644 --- a/admin/layouts/site_view/publishing.php +++ b/admin/layouts/site_view/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/site_view/publlshing.php b/admin/layouts/site_view/publlshing.php index fb353ffa8..33328f64f 100644 --- a/admin/layouts/site_view/publlshing.php +++ b/admin/layouts/site_view/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/snippet/details_above.php b/admin/layouts/snippet/details_above.php index 2601e7f26..90d50ab8b 100644 --- a/admin/layouts/snippet/details_above.php +++ b/admin/layouts/snippet/details_above.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_above.php diff --git a/admin/layouts/snippet/details_left.php b/admin/layouts/snippet/details_left.php index 913771df1..b7d7feb88 100644 --- a/admin/layouts/snippet/details_left.php +++ b/admin/layouts/snippet/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/snippet/details_right.php b/admin/layouts/snippet/details_right.php index 4f4615387..84f7031c3 100644 --- a/admin/layouts/snippet/details_right.php +++ b/admin/layouts/snippet/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/snippet/publishing.php b/admin/layouts/snippet/publishing.php index 103f26223..5269c1ee4 100644 --- a/admin/layouts/snippet/publishing.php +++ b/admin/layouts/snippet/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/snippet/publlshing.php b/admin/layouts/snippet/publlshing.php index fb353ffa8..33328f64f 100644 --- a/admin/layouts/snippet/publlshing.php +++ b/admin/layouts/snippet/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/layouts/template/custom_script_fullwidth.php b/admin/layouts/template/custom_script_fullwidth.php index cfd1edc93..efd61c3d3 100644 --- a/admin/layouts/template/custom_script_fullwidth.php +++ b/admin/layouts/template/custom_script_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_script_fullwidth.php diff --git a/admin/layouts/template/details_fullwidth.php b/admin/layouts/template/details_fullwidth.php index dcedbf004..b8e7f453a 100644 --- a/admin/layouts/template/details_fullwidth.php +++ b/admin/layouts/template/details_fullwidth.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_fullwidth.php diff --git a/admin/layouts/template/details_left.php b/admin/layouts/template/details_left.php index 3d22d122f..660e24072 100644 --- a/admin/layouts/template/details_left.php +++ b/admin/layouts/template/details_left.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_left.php diff --git a/admin/layouts/template/details_right.php b/admin/layouts/template/details_right.php index 224c1d2a8..b9079590a 100644 --- a/admin/layouts/template/details_right.php +++ b/admin/layouts/template/details_right.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_right.php diff --git a/admin/layouts/template/details_rightside.php b/admin/layouts/template/details_rightside.php index 3faee936d..f58f9a64f 100644 --- a/admin/layouts/template/details_rightside.php +++ b/admin/layouts/template/details_rightside.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_rightside.php diff --git a/admin/layouts/template/details_under.php b/admin/layouts/template/details_under.php index 30492c80a..2f03dba56 100644 --- a/admin/layouts/template/details_under.php +++ b/admin/layouts/template/details_under.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage details_under.php diff --git a/admin/layouts/template/publishing.php b/admin/layouts/template/publishing.php index 103f26223..5269c1ee4 100644 --- a/admin/layouts/template/publishing.php +++ b/admin/layouts/template/publishing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publishing.php diff --git a/admin/layouts/template/publlshing.php b/admin/layouts/template/publlshing.php index fb353ffa8..33328f64f 100644 --- a/admin/layouts/template/publlshing.php +++ b/admin/layouts/template/publlshing.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage publlshing.php diff --git a/admin/models/admin_view.php b/admin/models/admin_view.php index 9af3ae75a..5999d44ce 100644 --- a/admin/models/admin_view.php +++ b/admin/models/admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_view.php diff --git a/admin/models/admin_views.php b/admin/models/admin_views.php index 9eee7b2c1..8e9003184 100644 --- a/admin/models/admin_views.php +++ b/admin/models/admin_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_views.php diff --git a/admin/models/ajax.php b/admin/models/ajax.php index 7b33859bd..c4b1f8cce 100644 --- a/admin/models/ajax.php +++ b/admin/models/ajax.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage ajax.php diff --git a/admin/models/compiler.php b/admin/models/compiler.php index e8e4603ef..326659233 100644 --- a/admin/models/compiler.php +++ b/admin/models/compiler.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage compiler.php diff --git a/admin/models/component.php b/admin/models/component.php index ac6d7518f..d0b455967 100644 --- a/admin/models/component.php +++ b/admin/models/component.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage component.php diff --git a/admin/models/componentbuilder.php b/admin/models/componentbuilder.php index 6e8ed689b..8ce60c3ac 100644 --- a/admin/models/componentbuilder.php +++ b/admin/models/componentbuilder.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage componentbuilder.php diff --git a/admin/models/components.php b/admin/models/components.php index 7e9adc584..6f857726c 100644 --- a/admin/models/components.php +++ b/admin/models/components.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage components.php diff --git a/admin/models/custom_admin_view.php b/admin/models/custom_admin_view.php index c0e3a40ce..87f0e7bce 100644 --- a/admin/models/custom_admin_view.php +++ b/admin/models/custom_admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_view.php @@ -104,10 +104,16 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin $item->custom_get = $custom_get->toArray(); } - if (!empty($item->php_view)) + if (!empty($item->php_model)) { - // base64 Decode php_view. - $item->php_view = base64_decode($item->php_view); + // base64 Decode php_model. + $item->php_model = base64_decode($item->php_model); + } + + if (!empty($item->css_document)) + { + // base64 Decode css_document. + $item->css_document = base64_decode($item->css_document); } if (!empty($item->php_jview)) @@ -116,10 +122,10 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin $item->php_jview = base64_decode($item->php_jview); } - if (!empty($item->css_document)) + if (!empty($item->php_view)) { - // base64 Decode css_document. - $item->css_document = base64_decode($item->css_document); + // base64 Decode php_view. + $item->php_view = base64_decode($item->php_view); } if (!empty($item->php_document)) @@ -140,12 +146,6 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin $item->js_document = base64_decode($item->js_document); } - if (!empty($item->php_model)) - { - // base64 Decode php_model. - $item->php_model = base64_decode($item->php_model); - } - if (!empty($item->css)) { // base64 Decode css. @@ -879,10 +879,16 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin $data['custom_get'] = ''; } - // Set the php_view string to base64 string. - if (isset($data['php_view'])) + // Set the php_model string to base64 string. + if (isset($data['php_model'])) { - $data['php_view'] = base64_encode($data['php_view']); + $data['php_model'] = base64_encode($data['php_model']); + } + + // Set the css_document string to base64 string. + if (isset($data['css_document'])) + { + $data['css_document'] = base64_encode($data['css_document']); } // Set the php_jview string to base64 string. @@ -891,10 +897,10 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin $data['php_jview'] = base64_encode($data['php_jview']); } - // Set the css_document string to base64 string. - if (isset($data['css_document'])) + // Set the php_view string to base64 string. + if (isset($data['php_view'])) { - $data['css_document'] = base64_encode($data['css_document']); + $data['php_view'] = base64_encode($data['php_view']); } // Set the php_document string to base64 string. @@ -915,12 +921,6 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin $data['js_document'] = base64_encode($data['js_document']); } - // Set the php_model string to base64 string. - if (isset($data['php_model'])) - { - $data['php_model'] = base64_encode($data['php_model']); - } - // Set the css string to base64 string. if (isset($data['css'])) { diff --git a/admin/models/custom_admin_views.php b/admin/models/custom_admin_views.php index 0736ee75c..36159aa34 100644 --- a/admin/models/custom_admin_views.php +++ b/admin/models/custom_admin_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_views.php @@ -267,20 +267,20 @@ class ComponentbuilderModelCustom_admin_views extends JModelList continue; } - // decode php_view - $item->php_view = base64_decode($item->php_view); - // decode php_jview - $item->php_jview = base64_decode($item->php_jview); + // decode php_model + $item->php_model = base64_decode($item->php_model); // decode css_document $item->css_document = base64_decode($item->css_document); + // decode php_jview + $item->php_jview = base64_decode($item->php_jview); + // decode php_view + $item->php_view = base64_decode($item->php_view); // decode php_document $item->php_document = base64_decode($item->php_document); // decode php_jview_display $item->php_jview_display = base64_decode($item->php_jview_display); // decode js_document $item->js_document = base64_decode($item->js_document); - // decode php_model - $item->php_model = base64_decode($item->php_model); // decode css $item->css = base64_decode($item->css); // decode default diff --git a/admin/models/dynamic_get.php b/admin/models/dynamic_get.php index a283bac61..32c8c0367 100644 --- a/admin/models/dynamic_get.php +++ b/admin/models/dynamic_get.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamic_get.php diff --git a/admin/models/dynamic_gets.php b/admin/models/dynamic_gets.php index 4eed85ced..580fc63bd 100644 --- a/admin/models/dynamic_gets.php +++ b/admin/models/dynamic_gets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamic_gets.php diff --git a/admin/models/field.php b/admin/models/field.php index ab2af5b21..5071877f6 100644 --- a/admin/models/field.php +++ b/admin/models/field.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage field.php diff --git a/admin/models/fields.php b/admin/models/fields.php index 9dd904d85..c3a80b247 100644 --- a/admin/models/fields.php +++ b/admin/models/fields.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fields.php diff --git a/admin/models/fields/adminviews.php b/admin/models/fields/adminviews.php index 35b0a09b7..0e9d1f8ff 100644 --- a/admin/models/fields/adminviews.php +++ b/admin/models/fields/adminviews.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage adminviews.php @@ -132,16 +132,11 @@ class JFormFieldAdminviews extends JFormFieldList // check if button was created for admin_view 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/articles.php b/admin/models/fields/articles.php index 4c2cfe80b..fd3871edf 100644 --- a/admin/models/fields/articles.php +++ b/admin/models/fields/articles.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage articles.php @@ -132,16 +132,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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/customadminviews.php b/admin/models/fields/customadminviews.php index 1e111ddc5..44862b0a1 100644 --- a/admin/models/fields/customadminviews.php +++ b/admin/models/fields/customadminviews.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage customadminviews.php @@ -132,16 +132,11 @@ class JFormFieldCustomadminviews extends JFormFieldList // check if button was created for custom_admin_view 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/customfilelist.php b/admin/models/fields/customfilelist.php index d42f7358d..cd90faafe 100644 --- a/admin/models/fields/customfilelist.php +++ b/admin/models/fields/customfilelist.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage customfilelist.php @@ -132,16 +132,11 @@ class JFormFieldCustomfilelist extends JFormFieldList // check if button was created for 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/customfolderlist.php b/admin/models/fields/customfolderlist.php index fa20f6d0c..7830bf26d 100644 --- a/admin/models/fields/customfolderlist.php +++ b/admin/models/fields/customfolderlist.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage customfolderlist.php @@ -132,16 +132,11 @@ class JFormFieldCustomfolderlist extends JFormFieldList // check if button was created for 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/customgets.php b/admin/models/fields/customgets.php index b4c15d297..11fb50f5a 100644 --- a/admin/models/fields/customgets.php +++ b/admin/models/fields/customgets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage customgets.php @@ -132,16 +132,11 @@ class JFormFieldCustomgets extends JFormFieldList // check if button was created for dynamic_get 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/dbtables.php b/admin/models/fields/dbtables.php index 749c0ebfa..7c98435e0 100644 --- a/admin/models/fields/dbtables.php +++ b/admin/models/fields/dbtables.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage dbtables.php @@ -132,16 +132,11 @@ class JFormFieldDbtables extends JFormFieldList // check if button was created for 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/dynamicgets.php b/admin/models/fields/dynamicgets.php index daa7a9a4f..3972f17a3 100644 --- a/admin/models/fields/dynamicgets.php +++ b/admin/models/fields/dynamicgets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamicgets.php @@ -132,16 +132,11 @@ class JFormFieldDynamicgets extends JFormFieldList // check if button was created for dynamic_get 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/fields.php b/admin/models/fields/fields.php index 827be478d..50a769845 100644 --- a/admin/models/fields/fields.php +++ b/admin/models/fields/fields.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fields.php @@ -132,16 +132,11 @@ class JFormFieldFields extends JFormFieldList // check if button was created for field 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/fieldsmulti.php b/admin/models/fields/fieldsmulti.php index e2dfbfaac..cffee2c14 100644 --- a/admin/models/fields/fieldsmulti.php +++ b/admin/models/fields/fieldsmulti.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldsmulti.php @@ -132,16 +132,11 @@ class JFormFieldFieldsmulti extends JFormFieldList // check if button was created for field 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/fieldtypes.php b/admin/models/fields/fieldtypes.php index cacd1c942..95400591c 100644 --- a/admin/models/fields/fieldtypes.php +++ b/admin/models/fields/fieldtypes.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtypes.php @@ -132,16 +132,11 @@ class JFormFieldFieldtypes extends JFormFieldList // check if button was created for fieldtype 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/maingets.php b/admin/models/fields/maingets.php index 58842a530..934aea415 100644 --- a/admin/models/fields/maingets.php +++ b/admin/models/fields/maingets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage maingets.php @@ -132,16 +132,11 @@ class JFormFieldMaingets extends JFormFieldList // check if button was created for dynamic_get 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/siteviews.php b/admin/models/fields/siteviews.php index ce3e352af..3199f59f4 100644 --- a/admin/models/fields/siteviews.php +++ b/admin/models/fields/siteviews.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage siteviews.php @@ -132,16 +132,11 @@ class JFormFieldSiteviews extends JFormFieldList // check if button was created for site_view 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fields/snippets.php b/admin/models/fields/snippets.php index 68c9db243..cb9a91937 100644 --- a/admin/models/fields/snippets.php +++ b/admin/models/fields/snippets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippets.php @@ -132,16 +132,11 @@ class JFormFieldSnippets extends JFormFieldList // check if button was created for snippet 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 '
' .$html . implode('',$button).'
'; } } return $html; diff --git a/admin/models/fieldtype.php b/admin/models/fieldtype.php index b6f39a47a..f825a8d91 100644 --- a/admin/models/fieldtype.php +++ b/admin/models/fieldtype.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtype.php diff --git a/admin/models/fieldtypes.php b/admin/models/fieldtypes.php index e80292c57..f47567014 100644 --- a/admin/models/fieldtypes.php +++ b/admin/models/fieldtypes.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtypes.php diff --git a/admin/models/forms/admin_view.js b/admin/models/forms/admin_view.js index c51483895..f1179b416 100644 --- a/admin/models/forms/admin_view.js +++ b/admin/models/forms/admin_view.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_view.js diff --git a/admin/models/forms/component.js b/admin/models/forms/component.js index 41e95e026..891558c54 100644 --- a/admin/models/forms/component.js +++ b/admin/models/forms/component.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage component.js diff --git a/admin/models/forms/custom_admin_view.js b/admin/models/forms/custom_admin_view.js index 7153b0a92..6ab1afee9 100644 --- a/admin/models/forms/custom_admin_view.js +++ b/admin/models/forms/custom_admin_view.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_view.js diff --git a/admin/models/forms/custom_admin_view.xml b/admin/models/forms/custom_admin_view.xml index 1583d30c7..5ab81d6ea 100644 --- a/admin/models/forms/custom_admin_view.xml +++ b/admin/models/forms/custom_admin_view.xml @@ -157,17 +157,30 @@ required="false" button="true" /> - + + + @@ -183,17 +196,17 @@ hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_HINT" required="true" /> - + @@ -224,8 +237,14 @@ hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_HINT" required="true" /> - - + + - - + + 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'); @@ -207,21 +208,21 @@ class ComponentbuilderModelImport extends JModelLegacy // Make sure that file uploads are enabled in php if (!(bool) ini_get('file_uploads')) { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_WARNIMPORTFILE')); + $app->enqueueMessage(JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_WARNIMPORTFILE'), 'warning'); return false; } // If there is no uploaded file, we have a problem... if (!is_array($userfile)) { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_NO_FILE_SELECTED')); + $app->enqueueMessage(JText::_('COM_COMPONENTBUILDER_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_COMPONENTBUILDER_IMPORT_MSG_WARNIMPORTUPLOADERROR')); + $app->enqueueMessage(JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_WARNIMPORTUPLOADERROR'), 'warning'); return false; } @@ -259,7 +260,8 @@ class ComponentbuilderModelImport 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'); @@ -267,7 +269,7 @@ class ComponentbuilderModelImport extends JModelLegacy // Did you give us a valid path? if (!file_exists($p_dir)) { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY')); + $app->enqueueMessage(JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY'), 'warning'); return false; } @@ -277,7 +279,7 @@ class ComponentbuilderModelImport extends JModelLegacy // Did you give us a valid package? if (!$type) { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE')); + $app->enqueueMessage(JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE'), 'warning'); } // check the extention @@ -288,7 +290,7 @@ class ComponentbuilderModelImport extends JModelLegacy break; default: - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); + $app->enqueueMessage(JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning'); return false; break; } @@ -308,15 +310,16 @@ class ComponentbuilderModelImport 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_COMPONENTBUILDER_IMPORT_MSG_ENTER_A_URL')); + $app->enqueueMessage(JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_ENTER_A_URL'), 'warning'); return false; } @@ -326,7 +329,7 @@ class ComponentbuilderModelImport extends JModelLegacy // Was the package downloaded? if (!$p_file) { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_INVALID_URL')); + $app->enqueueMessage(JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_INVALID_URL'), 'warning'); return false; } @@ -347,6 +350,7 @@ class ComponentbuilderModelImport extends JModelLegacy */ protected function check($archivename) { + $app = JFactory::getApplication(); // Clean the name $archivename = JPath::clean($archivename); @@ -360,7 +364,7 @@ class ComponentbuilderModelImport extends JModelLegacy default: // Cleanup the import files $this->remove($archivename); - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); + $app->enqueueMessage(JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'), 'warning'); return false; break; } diff --git a/admin/models/layout.php b/admin/models/layout.php index b55238da4..1739bc0c8 100644 --- a/admin/models/layout.php +++ b/admin/models/layout.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage layout.php diff --git a/admin/models/layouts.php b/admin/models/layouts.php index bbf170ea0..c12c78193 100644 --- a/admin/models/layouts.php +++ b/admin/models/layouts.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage layouts.php diff --git a/admin/models/site_view.php b/admin/models/site_view.php index 0d3aaacf1..e60ae2e53 100644 --- a/admin/models/site_view.php +++ b/admin/models/site_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_view.php diff --git a/admin/models/site_views.php b/admin/models/site_views.php index 880b75f23..b0412ec99 100644 --- a/admin/models/site_views.php +++ b/admin/models/site_views.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_views.php diff --git a/admin/models/snippet.php b/admin/models/snippet.php index d2f71fb3a..07951ff03 100644 --- a/admin/models/snippet.php +++ b/admin/models/snippet.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippet.php diff --git a/admin/models/snippets.php b/admin/models/snippets.php index b967fcb62..632688eff 100644 --- a/admin/models/snippets.php +++ b/admin/models/snippets.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippets.php diff --git a/admin/models/template.php b/admin/models/template.php index 5c0cc3cbd..238b20faa 100644 --- a/admin/models/template.php +++ b/admin/models/template.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage template.php diff --git a/admin/models/templates.php b/admin/models/templates.php index 92cdbefd1..0db7e89b2 100644 --- a/admin/models/templates.php +++ b/admin/models/templates.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage templates.php diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql index c01a64b26..eced38d62 100644 --- a/admin/sql/install.mysql.utf8.sql +++ b/admin/sql/install.mysql.utf8.sql @@ -229,6 +229,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` ( `default` TEXT NOT NULL DEFAULT '', `description` VARCHAR(255) NOT NULL DEFAULT '', `dynamic_get` INT(11) NOT NULL DEFAULT '0', + `icon` CHAR(64) NOT NULL DEFAULT '', `js_document` TEXT NOT NULL DEFAULT '', `main_get` INT(11) NOT NULL DEFAULT '0', `name` VARCHAR(255) NOT NULL DEFAULT '', diff --git a/admin/sql/updates/mysql/2.1.14.sql b/admin/sql/updates/mysql/2.1.14.sql new file mode 100644 index 000000000..9a833b6dc --- /dev/null +++ b/admin/sql/updates/mysql/2.1.14.sql @@ -0,0 +1,3 @@ +ALTER TABLE `#__componentbuilder_custom_admin_view` ADD `icon` CHAR(64) NOT NULL DEFAULT '' AFTER `dynamic_get`; +ALTER TABLE `#__componentbuilder_component` CHANGE `version_update` `version_update` MEDIUMTEXT NOT NULL; + diff --git a/admin/sql/updates/mysql/2.1.15.sql b/admin/sql/updates/mysql/2.1.15.sql new file mode 100644 index 000000000..d3f5a12fa --- /dev/null +++ b/admin/sql/updates/mysql/2.1.15.sql @@ -0,0 +1 @@ + diff --git a/admin/tables/admin_view.php b/admin/tables/admin_view.php index 8e2a24b7f..59ed47fe0 100644 --- a/admin/tables/admin_view.php +++ b/admin/tables/admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage admin_view.php diff --git a/admin/tables/component.php b/admin/tables/component.php index dee0cbad7..e7d63b435 100644 --- a/admin/tables/component.php +++ b/admin/tables/component.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage component.php diff --git a/admin/tables/custom_admin_view.php b/admin/tables/custom_admin_view.php index 06bde23a0..7202698d6 100644 --- a/admin/tables/custom_admin_view.php +++ b/admin/tables/custom_admin_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage custom_admin_view.php diff --git a/admin/tables/dynamic_get.php b/admin/tables/dynamic_get.php index 601e2ab4d..e7c5f1543 100644 --- a/admin/tables/dynamic_get.php +++ b/admin/tables/dynamic_get.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage dynamic_get.php diff --git a/admin/tables/field.php b/admin/tables/field.php index b38e2d3a3..bf4e32fb1 100644 --- a/admin/tables/field.php +++ b/admin/tables/field.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage field.php diff --git a/admin/tables/fieldtype.php b/admin/tables/fieldtype.php index 1079d2e28..5a7793da4 100644 --- a/admin/tables/fieldtype.php +++ b/admin/tables/fieldtype.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage fieldtype.php diff --git a/admin/tables/help_document.php b/admin/tables/help_document.php index bd60c8a77..e95dc25bb 100644 --- a/admin/tables/help_document.php +++ b/admin/tables/help_document.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage help_document.php diff --git a/admin/tables/layout.php b/admin/tables/layout.php index 4ef3ed8a6..2758f509e 100644 --- a/admin/tables/layout.php +++ b/admin/tables/layout.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage layout.php diff --git a/admin/tables/site_view.php b/admin/tables/site_view.php index 89b6c45d9..0cf2f8f3e 100644 --- a/admin/tables/site_view.php +++ b/admin/tables/site_view.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage site_view.php diff --git a/admin/tables/snippet.php b/admin/tables/snippet.php index 6da04d37a..aa1644c13 100644 --- a/admin/tables/snippet.php +++ b/admin/tables/snippet.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage snippet.php diff --git a/admin/tables/template.php b/admin/tables/template.php index bf59d0ae3..5fce74d88 100644 --- a/admin/tables/template.php +++ b/admin/tables/template.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage template.php diff --git a/admin/views/admin_view/submitbutton.js b/admin/views/admin_view/submitbutton.js index f443f7fda..e21598e21 100644 --- a/admin/views/admin_view/submitbutton.js +++ b/admin/views/admin_view/submitbutton.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage submitbutton.js diff --git a/admin/views/admin_view/tmpl/edit.php b/admin/views/admin_view/tmpl/edit.php index 0e8c16f13..2f881b2c4 100644 --- a/admin/views/admin_view/tmpl/edit.php +++ b/admin/views/admin_view/tmpl/edit.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage edit.php diff --git a/admin/views/admin_view/view.html.php b/admin/views/admin_view/view.html.php index af4bf16cf..bdcc45056 100644 --- a/admin/views/admin_view/view.html.php +++ b/admin/views/admin_view/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/admin_views/tmpl/default.php b/admin/views/admin_views/tmpl/default.php index e4e72ae10..06b85d8a1 100644 --- a/admin/views/admin_views/tmpl/default.php +++ b/admin/views/admin_views/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/admin_views/tmpl/default_batch_body.php b/admin/views/admin_views/tmpl/default_batch_body.php index 36f3f0518..bf92a66f0 100644 --- a/admin/views/admin_views/tmpl/default_batch_body.php +++ b/admin/views/admin_views/tmpl/default_batch_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_body.php diff --git a/admin/views/admin_views/tmpl/default_batch_footer.php b/admin/views/admin_views/tmpl/default_batch_footer.php index 5e392f905..d77fbb8ec 100644 --- a/admin/views/admin_views/tmpl/default_batch_footer.php +++ b/admin/views/admin_views/tmpl/default_batch_footer.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_footer.php diff --git a/admin/views/admin_views/tmpl/default_body.php b/admin/views/admin_views/tmpl/default_body.php index fa35ebc2b..f43c47bae 100644 --- a/admin/views/admin_views/tmpl/default_body.php +++ b/admin/views/admin_views/tmpl/default_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_body.php diff --git a/admin/views/admin_views/tmpl/default_foot.php b/admin/views/admin_views/tmpl/default_foot.php index 33305d3ea..483593ce7 100644 --- a/admin/views/admin_views/tmpl/default_foot.php +++ b/admin/views/admin_views/tmpl/default_foot.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_foot.php diff --git a/admin/views/admin_views/tmpl/default_head.php b/admin/views/admin_views/tmpl/default_head.php index 169ac18d2..fc774916b 100644 --- a/admin/views/admin_views/tmpl/default_head.php +++ b/admin/views/admin_views/tmpl/default_head.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_head.php diff --git a/admin/views/admin_views/tmpl/default_toolbar.php b/admin/views/admin_views/tmpl/default_toolbar.php index ad3e7c87f..4e16e8ede 100644 --- a/admin/views/admin_views/tmpl/default_toolbar.php +++ b/admin/views/admin_views/tmpl/default_toolbar.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_toolbar.php diff --git a/admin/views/admin_views/view.html.php b/admin/views/admin_views/view.html.php index 94ff8cb0b..1aee96a4d 100644 --- a/admin/views/admin_views/view.html.php +++ b/admin/views/admin_views/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/compiler/tmpl/default.php b/admin/views/compiler/tmpl/default.php index da715b180..4e7e4609f 100644 --- a/admin/views/compiler/tmpl/default.php +++ b/admin/views/compiler/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/compiler/view.html.php b/admin/views/compiler/view.html.php index 9857cd13f..e55fa74f5 100644 --- a/admin/views/compiler/view.html.php +++ b/admin/views/compiler/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/component/submitbutton.js b/admin/views/component/submitbutton.js index 075257273..eeeeeced6 100644 --- a/admin/views/component/submitbutton.js +++ b/admin/views/component/submitbutton.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage submitbutton.js diff --git a/admin/views/component/tmpl/edit.php b/admin/views/component/tmpl/edit.php index d96641a6b..ade230de9 100644 --- a/admin/views/component/tmpl/edit.php +++ b/admin/views/component/tmpl/edit.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage edit.php diff --git a/admin/views/component/view.html.php b/admin/views/component/view.html.php index 3110098dc..bb32300a1 100644 --- a/admin/views/component/view.html.php +++ b/admin/views/component/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/componentbuilder/tmpl/default.php b/admin/views/componentbuilder/tmpl/default.php index 4f15e22e2..1597e8ba7 100644 --- a/admin/views/componentbuilder/tmpl/default.php +++ b/admin/views/componentbuilder/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/componentbuilder/tmpl/default_main.php b/admin/views/componentbuilder/tmpl/default_main.php index dddb23a4a..5dc7f8d96 100644 --- a/admin/views/componentbuilder/tmpl/default_main.php +++ b/admin/views/componentbuilder/tmpl/default_main.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_main.php diff --git a/admin/views/componentbuilder/tmpl/default_vdm.php b/admin/views/componentbuilder/tmpl/default_vdm.php index cd58d0ea6..67fb8ed9e 100644 --- a/admin/views/componentbuilder/tmpl/default_vdm.php +++ b/admin/views/componentbuilder/tmpl/default_vdm.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_vdm.php diff --git a/admin/views/componentbuilder/view.html.php b/admin/views/componentbuilder/view.html.php index 973f165a5..62bed1c2e 100644 --- a/admin/views/componentbuilder/view.html.php +++ b/admin/views/componentbuilder/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/components/tmpl/default.php b/admin/views/components/tmpl/default.php index 7d5b2b04d..58d8e3650 100644 --- a/admin/views/components/tmpl/default.php +++ b/admin/views/components/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/components/tmpl/default_batch_body.php b/admin/views/components/tmpl/default_batch_body.php index 8cf7cedfd..78f177482 100644 --- a/admin/views/components/tmpl/default_batch_body.php +++ b/admin/views/components/tmpl/default_batch_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_body.php diff --git a/admin/views/components/tmpl/default_batch_footer.php b/admin/views/components/tmpl/default_batch_footer.php index fc3233b23..a4f6556f5 100644 --- a/admin/views/components/tmpl/default_batch_footer.php +++ b/admin/views/components/tmpl/default_batch_footer.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_footer.php diff --git a/admin/views/components/tmpl/default_body.php b/admin/views/components/tmpl/default_body.php index 50df734ff..e38dc4cc4 100644 --- a/admin/views/components/tmpl/default_body.php +++ b/admin/views/components/tmpl/default_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_body.php diff --git a/admin/views/components/tmpl/default_foot.php b/admin/views/components/tmpl/default_foot.php index 751e56ce6..6e96bc758 100644 --- a/admin/views/components/tmpl/default_foot.php +++ b/admin/views/components/tmpl/default_foot.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_foot.php diff --git a/admin/views/components/tmpl/default_head.php b/admin/views/components/tmpl/default_head.php index b16c4140c..6d9524ff3 100644 --- a/admin/views/components/tmpl/default_head.php +++ b/admin/views/components/tmpl/default_head.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_head.php diff --git a/admin/views/components/tmpl/default_toolbar.php b/admin/views/components/tmpl/default_toolbar.php index 8e79ac737..a7d07204d 100644 --- a/admin/views/components/tmpl/default_toolbar.php +++ b/admin/views/components/tmpl/default_toolbar.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_toolbar.php diff --git a/admin/views/components/view.html.php b/admin/views/components/view.html.php index 5ef26cbdd..bf64833c4 100644 --- a/admin/views/components/view.html.php +++ b/admin/views/components/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/custom_admin_view/submitbutton.js b/admin/views/custom_admin_view/submitbutton.js index 3bfb384db..a40e83c52 100644 --- a/admin/views/custom_admin_view/submitbutton.js +++ b/admin/views/custom_admin_view/submitbutton.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage submitbutton.js diff --git a/admin/views/custom_admin_view/tmpl/edit.php b/admin/views/custom_admin_view/tmpl/edit.php index dc1b7fbf6..cabf2abad 100644 --- a/admin/views/custom_admin_view/tmpl/edit.php +++ b/admin/views/custom_admin_view/tmpl/edit.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage edit.php diff --git a/admin/views/custom_admin_view/view.html.php b/admin/views/custom_admin_view/view.html.php index 1dfc4ff15..3acee98e1 100644 --- a/admin/views/custom_admin_view/view.html.php +++ b/admin/views/custom_admin_view/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/custom_admin_views/tmpl/default.php b/admin/views/custom_admin_views/tmpl/default.php index 8d8dbdaa5..fb5125f56 100644 --- a/admin/views/custom_admin_views/tmpl/default.php +++ b/admin/views/custom_admin_views/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/custom_admin_views/tmpl/default_batch_body.php b/admin/views/custom_admin_views/tmpl/default_batch_body.php index be8986873..94975c438 100644 --- a/admin/views/custom_admin_views/tmpl/default_batch_body.php +++ b/admin/views/custom_admin_views/tmpl/default_batch_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_body.php diff --git a/admin/views/custom_admin_views/tmpl/default_batch_footer.php b/admin/views/custom_admin_views/tmpl/default_batch_footer.php index 914264ae9..dea572abd 100644 --- a/admin/views/custom_admin_views/tmpl/default_batch_footer.php +++ b/admin/views/custom_admin_views/tmpl/default_batch_footer.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_footer.php diff --git a/admin/views/custom_admin_views/tmpl/default_body.php b/admin/views/custom_admin_views/tmpl/default_body.php index b2a87960c..3ec988453 100644 --- a/admin/views/custom_admin_views/tmpl/default_body.php +++ b/admin/views/custom_admin_views/tmpl/default_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_body.php diff --git a/admin/views/custom_admin_views/tmpl/default_foot.php b/admin/views/custom_admin_views/tmpl/default_foot.php index 985793700..e76369168 100644 --- a/admin/views/custom_admin_views/tmpl/default_foot.php +++ b/admin/views/custom_admin_views/tmpl/default_foot.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_foot.php diff --git a/admin/views/custom_admin_views/tmpl/default_head.php b/admin/views/custom_admin_views/tmpl/default_head.php index dcb2a4201..4a745dc53 100644 --- a/admin/views/custom_admin_views/tmpl/default_head.php +++ b/admin/views/custom_admin_views/tmpl/default_head.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_head.php diff --git a/admin/views/custom_admin_views/tmpl/default_toolbar.php b/admin/views/custom_admin_views/tmpl/default_toolbar.php index 54c23f9d5..28464a0fc 100644 --- a/admin/views/custom_admin_views/tmpl/default_toolbar.php +++ b/admin/views/custom_admin_views/tmpl/default_toolbar.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_toolbar.php diff --git a/admin/views/custom_admin_views/view.html.php b/admin/views/custom_admin_views/view.html.php index 73037afa7..7e9e3a8df 100644 --- a/admin/views/custom_admin_views/view.html.php +++ b/admin/views/custom_admin_views/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/dynamic_get/submitbutton.js b/admin/views/dynamic_get/submitbutton.js index 0ac9e1b4b..975ae87bc 100644 --- a/admin/views/dynamic_get/submitbutton.js +++ b/admin/views/dynamic_get/submitbutton.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage submitbutton.js diff --git a/admin/views/dynamic_get/tmpl/edit.php b/admin/views/dynamic_get/tmpl/edit.php index ff7463377..1f6a779be 100644 --- a/admin/views/dynamic_get/tmpl/edit.php +++ b/admin/views/dynamic_get/tmpl/edit.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage edit.php diff --git a/admin/views/dynamic_get/view.html.php b/admin/views/dynamic_get/view.html.php index 07c6a0db3..cb2bdff2e 100644 --- a/admin/views/dynamic_get/view.html.php +++ b/admin/views/dynamic_get/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/dynamic_gets/tmpl/default.php b/admin/views/dynamic_gets/tmpl/default.php index 5c8d1b076..83b928e39 100644 --- a/admin/views/dynamic_gets/tmpl/default.php +++ b/admin/views/dynamic_gets/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/dynamic_gets/tmpl/default_batch_body.php b/admin/views/dynamic_gets/tmpl/default_batch_body.php index 2b6573a2f..a8cf67ccf 100644 --- a/admin/views/dynamic_gets/tmpl/default_batch_body.php +++ b/admin/views/dynamic_gets/tmpl/default_batch_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_body.php diff --git a/admin/views/dynamic_gets/tmpl/default_batch_footer.php b/admin/views/dynamic_gets/tmpl/default_batch_footer.php index 5f1199c1e..06ea795a4 100644 --- a/admin/views/dynamic_gets/tmpl/default_batch_footer.php +++ b/admin/views/dynamic_gets/tmpl/default_batch_footer.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_footer.php diff --git a/admin/views/dynamic_gets/tmpl/default_body.php b/admin/views/dynamic_gets/tmpl/default_body.php index 1ac8716e3..fea009421 100644 --- a/admin/views/dynamic_gets/tmpl/default_body.php +++ b/admin/views/dynamic_gets/tmpl/default_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_body.php diff --git a/admin/views/dynamic_gets/tmpl/default_foot.php b/admin/views/dynamic_gets/tmpl/default_foot.php index a65887c4b..d66b46e2e 100644 --- a/admin/views/dynamic_gets/tmpl/default_foot.php +++ b/admin/views/dynamic_gets/tmpl/default_foot.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_foot.php diff --git a/admin/views/dynamic_gets/tmpl/default_head.php b/admin/views/dynamic_gets/tmpl/default_head.php index cdf90b78d..9b18d3815 100644 --- a/admin/views/dynamic_gets/tmpl/default_head.php +++ b/admin/views/dynamic_gets/tmpl/default_head.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_head.php diff --git a/admin/views/dynamic_gets/tmpl/default_toolbar.php b/admin/views/dynamic_gets/tmpl/default_toolbar.php index 4b6af40bf..75d6c1972 100644 --- a/admin/views/dynamic_gets/tmpl/default_toolbar.php +++ b/admin/views/dynamic_gets/tmpl/default_toolbar.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_toolbar.php diff --git a/admin/views/dynamic_gets/view.html.php b/admin/views/dynamic_gets/view.html.php index 1494780f1..444607970 100644 --- a/admin/views/dynamic_gets/view.html.php +++ b/admin/views/dynamic_gets/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/field/submitbutton.js b/admin/views/field/submitbutton.js index a8e2db970..55ba5cb79 100644 --- a/admin/views/field/submitbutton.js +++ b/admin/views/field/submitbutton.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage submitbutton.js diff --git a/admin/views/field/tmpl/edit.php b/admin/views/field/tmpl/edit.php index 7953c1e15..ef14e08f6 100644 --- a/admin/views/field/tmpl/edit.php +++ b/admin/views/field/tmpl/edit.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage edit.php diff --git a/admin/views/field/view.html.php b/admin/views/field/view.html.php index efacb3b9a..8bcd22e02 100644 --- a/admin/views/field/view.html.php +++ b/admin/views/field/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/fields/tmpl/default.php b/admin/views/fields/tmpl/default.php index 9a9041df9..9cd32003b 100644 --- a/admin/views/fields/tmpl/default.php +++ b/admin/views/fields/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/fields/tmpl/default_batch_body.php b/admin/views/fields/tmpl/default_batch_body.php index 1a702caa2..d7ea4a578 100644 --- a/admin/views/fields/tmpl/default_batch_body.php +++ b/admin/views/fields/tmpl/default_batch_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_body.php diff --git a/admin/views/fields/tmpl/default_batch_footer.php b/admin/views/fields/tmpl/default_batch_footer.php index 756c46de3..327f731f7 100644 --- a/admin/views/fields/tmpl/default_batch_footer.php +++ b/admin/views/fields/tmpl/default_batch_footer.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_footer.php diff --git a/admin/views/fields/tmpl/default_body.php b/admin/views/fields/tmpl/default_body.php index 51d705806..b25627314 100644 --- a/admin/views/fields/tmpl/default_body.php +++ b/admin/views/fields/tmpl/default_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_body.php diff --git a/admin/views/fields/tmpl/default_foot.php b/admin/views/fields/tmpl/default_foot.php index b72094537..c48ce5543 100644 --- a/admin/views/fields/tmpl/default_foot.php +++ b/admin/views/fields/tmpl/default_foot.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_foot.php diff --git a/admin/views/fields/tmpl/default_head.php b/admin/views/fields/tmpl/default_head.php index 9736bfc65..48ec91190 100644 --- a/admin/views/fields/tmpl/default_head.php +++ b/admin/views/fields/tmpl/default_head.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_head.php diff --git a/admin/views/fields/tmpl/default_toolbar.php b/admin/views/fields/tmpl/default_toolbar.php index 131202e98..5997634ea 100644 --- a/admin/views/fields/tmpl/default_toolbar.php +++ b/admin/views/fields/tmpl/default_toolbar.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_toolbar.php diff --git a/admin/views/fields/view.html.php b/admin/views/fields/view.html.php index b7e3674e0..d4e858ea2 100644 --- a/admin/views/fields/view.html.php +++ b/admin/views/fields/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/fieldtype/submitbutton.js b/admin/views/fieldtype/submitbutton.js index 4f758a4d0..d54b85572 100644 --- a/admin/views/fieldtype/submitbutton.js +++ b/admin/views/fieldtype/submitbutton.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage submitbutton.js diff --git a/admin/views/fieldtype/tmpl/edit.php b/admin/views/fieldtype/tmpl/edit.php index 08d71eafc..e3be827db 100644 --- a/admin/views/fieldtype/tmpl/edit.php +++ b/admin/views/fieldtype/tmpl/edit.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage edit.php diff --git a/admin/views/fieldtype/view.html.php b/admin/views/fieldtype/view.html.php index fe04b2c35..00e9920ff 100644 --- a/admin/views/fieldtype/view.html.php +++ b/admin/views/fieldtype/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/fieldtypes/tmpl/default.php b/admin/views/fieldtypes/tmpl/default.php index 7102da38e..694fee726 100644 --- a/admin/views/fieldtypes/tmpl/default.php +++ b/admin/views/fieldtypes/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/fieldtypes/tmpl/default_batch_body.php b/admin/views/fieldtypes/tmpl/default_batch_body.php index 8f5044a10..53ffd49e8 100644 --- a/admin/views/fieldtypes/tmpl/default_batch_body.php +++ b/admin/views/fieldtypes/tmpl/default_batch_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_body.php diff --git a/admin/views/fieldtypes/tmpl/default_batch_footer.php b/admin/views/fieldtypes/tmpl/default_batch_footer.php index eefb12916..bb4beccf1 100644 --- a/admin/views/fieldtypes/tmpl/default_batch_footer.php +++ b/admin/views/fieldtypes/tmpl/default_batch_footer.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_footer.php diff --git a/admin/views/fieldtypes/tmpl/default_body.php b/admin/views/fieldtypes/tmpl/default_body.php index f6032ac5b..7dd4ca0c3 100644 --- a/admin/views/fieldtypes/tmpl/default_body.php +++ b/admin/views/fieldtypes/tmpl/default_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_body.php diff --git a/admin/views/fieldtypes/tmpl/default_foot.php b/admin/views/fieldtypes/tmpl/default_foot.php index a65887c4b..d66b46e2e 100644 --- a/admin/views/fieldtypes/tmpl/default_foot.php +++ b/admin/views/fieldtypes/tmpl/default_foot.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_foot.php diff --git a/admin/views/fieldtypes/tmpl/default_head.php b/admin/views/fieldtypes/tmpl/default_head.php index 27056aaf2..b2bc9c1be 100644 --- a/admin/views/fieldtypes/tmpl/default_head.php +++ b/admin/views/fieldtypes/tmpl/default_head.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_head.php diff --git a/admin/views/fieldtypes/tmpl/default_toolbar.php b/admin/views/fieldtypes/tmpl/default_toolbar.php index 958117c60..7d55245cb 100644 --- a/admin/views/fieldtypes/tmpl/default_toolbar.php +++ b/admin/views/fieldtypes/tmpl/default_toolbar.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_toolbar.php diff --git a/admin/views/fieldtypes/view.html.php b/admin/views/fieldtypes/view.html.php index 1a9578d6e..b1b062664 100644 --- a/admin/views/fieldtypes/view.html.php +++ b/admin/views/fieldtypes/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/help_document/submitbutton.js b/admin/views/help_document/submitbutton.js index 54cc17f27..b863c08ca 100644 --- a/admin/views/help_document/submitbutton.js +++ b/admin/views/help_document/submitbutton.js @@ -9,8 +9,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage submitbutton.js diff --git a/admin/views/help_document/tmpl/edit.php b/admin/views/help_document/tmpl/edit.php index 9114a7be1..bf2664298 100644 --- a/admin/views/help_document/tmpl/edit.php +++ b/admin/views/help_document/tmpl/edit.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage edit.php diff --git a/admin/views/help_document/view.html.php b/admin/views/help_document/view.html.php index 64f068411..fd6eb0c80 100644 --- a/admin/views/help_document/view.html.php +++ b/admin/views/help_document/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/help_documents/tmpl/default.php b/admin/views/help_documents/tmpl/default.php index 5693d3d91..3c700528e 100644 --- a/admin/views/help_documents/tmpl/default.php +++ b/admin/views/help_documents/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php diff --git a/admin/views/help_documents/tmpl/default_batch_body.php b/admin/views/help_documents/tmpl/default_batch_body.php index d768375fa..dc5651e09 100644 --- a/admin/views/help_documents/tmpl/default_batch_body.php +++ b/admin/views/help_documents/tmpl/default_batch_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_body.php diff --git a/admin/views/help_documents/tmpl/default_batch_footer.php b/admin/views/help_documents/tmpl/default_batch_footer.php index 70b8257d4..5a68645cd 100644 --- a/admin/views/help_documents/tmpl/default_batch_footer.php +++ b/admin/views/help_documents/tmpl/default_batch_footer.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_batch_footer.php diff --git a/admin/views/help_documents/tmpl/default_body.php b/admin/views/help_documents/tmpl/default_body.php index 762b1468b..75750bb73 100644 --- a/admin/views/help_documents/tmpl/default_body.php +++ b/admin/views/help_documents/tmpl/default_body.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_body.php diff --git a/admin/views/help_documents/tmpl/default_foot.php b/admin/views/help_documents/tmpl/default_foot.php index 751e56ce6..6e96bc758 100644 --- a/admin/views/help_documents/tmpl/default_foot.php +++ b/admin/views/help_documents/tmpl/default_foot.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_foot.php diff --git a/admin/views/help_documents/tmpl/default_head.php b/admin/views/help_documents/tmpl/default_head.php index 45011a5a2..9c7066aa5 100644 --- a/admin/views/help_documents/tmpl/default_head.php +++ b/admin/views/help_documents/tmpl/default_head.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_head.php diff --git a/admin/views/help_documents/tmpl/default_toolbar.php b/admin/views/help_documents/tmpl/default_toolbar.php index 7e72dfc7c..0ebabd156 100644 --- a/admin/views/help_documents/tmpl/default_toolbar.php +++ b/admin/views/help_documents/tmpl/default_toolbar.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default_toolbar.php diff --git a/admin/views/help_documents/view.html.php b/admin/views/help_documents/view.html.php index a94d98139..b1a17c7e6 100644 --- a/admin/views/help_documents/view.html.php +++ b/admin/views/help_documents/view.html.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage view.html.php diff --git a/admin/views/import/tmpl/default.php b/admin/views/import/tmpl/default.php index 58cdf71b8..18be8b551 100644 --- a/admin/views/import/tmpl/default.php +++ b/admin/views/import/tmpl/default.php @@ -10,8 +10,8 @@ |_| /-------------------------------------------------------------------------------------------------------------------------------/ - @version 2.1.14 - @build 28th June, 2016 + @version 2.1.16 + @build 12th July, 2016 @created 30th April, 2015 @package Component Builder @subpackage default.php @@ -30,6 +30,7 @@ defined('_JEXEC') or die('Restricted access'); JHtml::_('jquery.framework'); JHtml::_('bootstrap.tooltip'); JHtml::_('script', 'system/core.js', false, true); +JHtml::_('behavior.keepalive'); ?>