* @license GPL 2 (http://www.gnu.org/licenses/gpl.html) */ global $ID, $INPUT, $auth, $TPL; if ($TPL->getConf('showAdminMenu')): $admin_plugins = plugin_list('admin'); $administrative_tasks = array('usermanager', 'acl', 'extension', 'config', 'styling', 'revert', 'popularity'); $additional_plugins = array_diff($admin_plugins, $administrative_tasks); $admin = array( 'administrative_tasks' => array( 'label' => tpl_getLang('administrative_tasks'), 'icon' => 'mdi:settings', 'plugins' => $administrative_tasks ), 'additional_plugins' => array( 'label' => tpl_getLang('additional_plugins'), 'icon' => 'mdi:puzzle', 'plugins' => $additional_plugins ), ); ?>