'COM_OAUTHSERVER_ORDERS', 'icon' => 'icon-copy', ]; $user = $this->getCurrentUser(); if ($user->authorise('core.create', 'com_oauthserver') || count($user->getAuthorisedCategories('com_oauthserver', 'core.create')) > 0 || $user->authorise('product.create', 'com_oauthserver') || count($user->getAuthorisedCategories('com_oauthserver', 'client.create')) > 0 ) { $displayData['createURL'] = 'index.php?option=com_oauthserver&task=client.add'; } echo LayoutHelper::render('joomla.content.emptystate', $displayData);