Added the basic code for controller and model for gh-53

This commit is contained in:
dev
2017-03-18 13:16:07 +02:00
parent 7534aed01d
commit b0ad2ddffc
29 changed files with 1452 additions and 1354 deletions

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 97 of this MVC
@build 3rd March, 2017
@version @update number 101 of this MVC
@build 18th March, 2017
@created 6th May, 2015
@package Component Builder
@subpackage view.html.php
@@ -134,7 +134,12 @@ class ComponentbuilderViewJoomla_components extends JViewLegacy
// add the button to the page
$dhtml = $layout->render(array('title' => $title));
$bar->appendButton('Custom', $dhtml, 'batch');
}
}
if ($this->user->authorise('joomla_component.export_component'))
{
// add Export Component button.
JToolBarHelper::custom('joomla_components.exportComponent', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_COMPONENT', false);
}
if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete))
{