NEW list of boxes area

This commit is contained in:
Nicolas ZABOURI 2019-07-26 17:17:59 +02:00
parent 80b47535ff
commit 3bdbbc7147

View File

@ -2,6 +2,7 @@
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2019 Nicolas ZABOURI <info@inovea-conseil.com>
*
* 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');
}
/**