mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-07-02 18:13:43 +00:00
[4.0] Main menu add new shortcuts (#27788)
* [4.0] Main menu add new shortcuts The admin menu module has options to show/hide the "add new" shortcuts on the menu. This option was not working. It is now * Update administrator/modules/mod_menu/tmpl/default_submenu.php Co-Authored-By: Quy <quy@fluxbb.org> Co-authored-by: Quy <quy@fluxbb.org>
This commit is contained in:
parent
53eb4342f1
commit
70d27e6135
|
@ -148,7 +148,7 @@ else
|
|||
echo '<span>' . Text::_($current->title) . '</span>' . $ajax;
|
||||
}
|
||||
|
||||
if ($currentParams->get('menu-quicktask', false))
|
||||
if ($currentParams->get('menu-quicktask', false) && $this->params->get('shownew', 1) === 1)
|
||||
{
|
||||
$params = $current->getParams();
|
||||
$user = $this->application->getIdentity();
|
||||
|
|
Loading…
Reference in New Issue
Block a user