Improve help to allow the help url to be global in all the views. Fixed the zip wrapper to include .htaccess files for library folders.

This commit is contained in:
2022-02-13 00:28:17 +02:00
parent 94c934c436
commit dd3335771c
67 changed files with 193 additions and 193 deletions

View File

@ -63,10 +63,10 @@ class ComponentbuilderViewComponentbuilder extends JViewLegacy
JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_DASHBOARD'), 'grid-2');
// set help url for this view if found
$help_url = ComponentbuilderHelper::getHelpUrl('componentbuilder');
if (ComponentbuilderHelper::checkString($help_url))
$this->help_url = ComponentbuilderHelper::getHelpUrl('componentbuilder');
if (ComponentbuilderHelper::checkString($this->help_url))
{
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
}
if ($canDo->get('core.admin') || $canDo->get('core.options'))