Added more header options and renamed the header method in the compiler.

This commit is contained in:
2020-12-26 22:28:36 +02:00
parent a28c5cf746
commit d36410281d
16 changed files with 132 additions and 102 deletions

View File

@ -16,7 +16,8 @@ defined('_JEXEC') or die('Restricted access');
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tabstate');
###ADMIN_COMPONENT_HEADER###
// Access check.
if (!JFactory::getUser()->authorise('core.manage', 'com_###component###'))