P.S. I do not attach a file, I will put the code in the comments<!--plugin.php--><?phpreturn array( 'id' => 'nav', # notrans 'version' => '1', 'name' => /* trans */ 'Navigation plugin', 'author' => '', 'description' => /* trans */ 'Navigation', 'url' => '', 'plugin' => 'config.php');?><!--config.php--><?phpclass NavigationPlugin extends Plugin { function bootstrap() { $this->createStaffMenu (); } function createStaffMenu() { Application: ( 'allReports', 'reports.php', array ( iconclass => 'logs' ) ); }}?>