1 |
<?php |
<?php |
2 |
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> |
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> |
3 |
|
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net> |
4 |
* |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
* 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 |
* it under the terms of the GNU General Public License as published by |
19 |
* $Id$ |
* $Id$ |
20 |
* $Source$ |
* $Source$ |
21 |
*/ |
*/ |
22 |
|
|
23 |
|
/** |
24 |
|
\file htdocs/admin/update/pre.inc.php |
25 |
|
\brief Fichier gestionnaire du menu de gauche de l'espace mise a jour données |
26 |
|
\version $Revision$ |
27 |
|
*/ |
28 |
|
|
29 |
require("../../main.inc.php"); |
require("../../main.inc.php"); |
30 |
|
|
31 |
function llxHeader($head = "", $urlp = "") { |
$langs->load("admin"); |
32 |
global $user, $conf; |
|
33 |
|
|
34 |
|
function llxHeader($head = "", $title="", $help_url='') |
35 |
|
{ |
36 |
|
global $user, $langs; |
37 |
|
|
38 |
|
top_menu($head); |
39 |
|
|
40 |
|
$menu = new Menu(); |
41 |
|
$langs->load("admin"); |
42 |
|
$langs->load("users"); |
43 |
|
|
44 |
|
$menu->add(DOL_URL_ROOT."/admin/index.php", $langs->trans("GlobalSetup")); |
45 |
|
|
46 |
|
$menu->add(DOL_URL_ROOT."/admin/ihm.php", $langs->trans("GUISetup")); |
47 |
|
|
48 |
|
$menu->add(DOL_URL_ROOT."/admin/modules.php", $langs->trans("Modules")); |
49 |
|
|
50 |
|
$menu->add(DOL_URL_ROOT."/admin/boxes.php", $langs->trans("Boxes")); |
51 |
|
|
52 |
|
$menu->add(DOL_URL_ROOT."/admin/triggers.php", $langs->trans("Triggers")); |
53 |
|
|
54 |
/* |
$menu->add(DOL_URL_ROOT."/admin/perms.php", $langs->trans("DefaultRights")); |
|
* |
|
|
* |
|
|
*/ |
|
|
top_menu($head); |
|
55 |
|
|
56 |
$menu = new Menu(); |
$menu->add(DOL_URL_ROOT."/admin/dict.php", $langs->trans("DictionnarySetup")); |
57 |
|
|
58 |
$menu->add("index.php", "Configuration"); |
$menu->add(DOL_URL_ROOT."/admin/const.php", $langs->trans("OtherSetup")); |
59 |
|
|
60 |
|
$menu->add(DOL_URL_ROOT."/admin/system/", $langs->trans("System")); |
61 |
|
|
62 |
left_menu($menu->liste); |
left_menu($menu->liste, $help_url); |
63 |
} |
} |
64 |
|
|
65 |
?> |
?> |