dolibarr  7.0.0-beta
multicurrency.lib.php
Go to the documentation of this file.
1 <?php
2 /* <one line to give the program's name and a brief idea of what it does.>
3  * Copyright (C) 2015 ATM Consulting <support@atm-consulting.fr>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
32 {
33  global $langs, $conf;
34 
35  $h = 0;
36  $head = array();
37 
38  $head[$h][0] = dol_buildpath("/admin/multicurrency.php", 1);
39  $head[$h][1] = $langs->trans("Parameters");
40  $head[$h][2] = 'settings';
41  $h++;
42 
43  complete_head_from_modules($conf, $langs, $object, $head, $h, 'multicurrency');
44 
45  return $head;
46 }
complete_head_from_modules($conf, $langs, $object, &$head, &$h, $type, $mode='add')
Complete or removed entries into a head array (used to build tabs).
dol_buildpath($path, $type=0, $returnemptyifnotfound=0)
Return path of url or filesystem.
multicurrencyAdminPrepareHead()
Prepare array with list of tabs.