diff --git a/htdocs/core/class/infobox.class.php b/htdocs/core/class/infobox.class.php index 1138e3a69ad..c73d32c8301 100644 --- a/htdocs/core/class/infobox.class.php +++ b/htdocs/core/class/infobox.class.php @@ -2,6 +2,7 @@ /* Copyright (C) 2003 Rodolphe Quiedeville * Copyright (C) 2004-2012 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin + * Copyright (C) 2019 Nicolas ZABOURI * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +35,33 @@ class InfoBox */ public static function getListOfPagesForBoxes() { - return array(0=>'Home'); + return array(0 => 'Home', + 1 => 'userhome', + 2 => 'membersindex', + 3 => 'thirdpartiesindex', + 4 => 'productindex', + 5 => 'productindex', + 6 => 'mrpindex', + 7 => 'commercialindex', + 8 => 'projectsindex', + 9 => 'invoiceindex', + 10 => 'hrmindex', + 11 => 'ticketsindex', + 12 => 'stockindex', + 13 => 'sendingindex', + 14 => 'receptionindex', + 15 => 'activityindex', + 16 => 'proposalindex', + 17 => 'ordersindex', + 18 => 'orderssuppliersindex', + 19 => 'contractindex', + 20 => 'interventionindex', + 21 => 'suppliersproposalsindex', + 22 => 'donationindex', + 23 => 'specialexpensesindex', + 24 => 'expensereportindex', + 25 => 'mailingindex', + 26 => 'opensurveyindex'); } /**