Added the [Run Expansion] button option for faster compile and install option of selected components.
This commit is contained in:
@ -132,6 +132,11 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
|
||||
JToolBarHelper::custom('custom_codes.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true);
|
||||
}
|
||||
}
|
||||
if ($this->user->authorise('custom_code.run_expansion', 'com_componentbuilder'))
|
||||
{
|
||||
// add Run Expansion button.
|
||||
JToolBarHelper::custom('custom_codes.runExpansion', 'expand-2', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
|
||||
}
|
||||
|
||||
if ($this->canDo->get('core.import') && $this->canDo->get('custom_code.import'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user