2004-10-19 20:58:50 +02:00
|
|
|
<?php
|
2004-02-16 11:11:48 +01:00
|
|
|
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
2004-02-12 01:23:11 +01:00
|
|
|
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
2003-01-18 18:15:23 +01:00
|
|
|
*
|
|
|
|
|
* 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
|
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
*
|
|
|
|
|
* $Id$
|
|
|
|
|
* $Source$
|
|
|
|
|
*/
|
2004-08-29 14:01:58 +02:00
|
|
|
|
|
|
|
|
/*! \file htdocs/admin/pre.inc.php
|
|
|
|
|
\brief Fichier gestionnaire du menu de gauche de l'espace configuration
|
|
|
|
|
\version $Revision$
|
|
|
|
|
*/
|
|
|
|
|
|
2003-09-11 22:18:51 +02:00
|
|
|
require("../main.inc.php");
|
2003-01-18 18:15:23 +01:00
|
|
|
|
2004-08-29 14:01:58 +02:00
|
|
|
$langs->load("admin");
|
|
|
|
|
|
|
|
|
|
|
2004-07-26 15:10:42 +02:00
|
|
|
function llxHeader($head = "", $title="", $help_url='')
|
2004-07-26 15:11:32 +02:00
|
|
|
{
|
|
|
|
|
global $user, $langs;
|
2003-01-18 18:15:23 +01:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
top_menu($head);
|
|
|
|
|
|
|
|
|
|
$menu = new Menu();
|
2004-07-25 19:43:23 +02:00
|
|
|
$langs->load("admin");
|
|
|
|
|
|
|
|
|
|
$menu->add(DOL_URL_ROOT."/admin/index.php", $langs->trans("GlobalSetup"));
|
2003-01-18 18:15:23 +01:00
|
|
|
|
2004-07-25 19:43:23 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/ihm.php", $langs->trans("GUISetup"));
|
2003-06-11 15:15:46 +02:00
|
|
|
|
2004-07-25 19:43:23 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/dict.php", $langs->trans("DictionnarySetup"));
|
2004-06-26 19:15:28 +02:00
|
|
|
|
2004-07-25 19:43:23 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/modules.php", $langs->trans("Modules"));
|
2003-07-22 16:58:41 +02:00
|
|
|
|
2004-07-29 16:34:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/perms.php", $langs->trans("Rights"));
|
|
|
|
|
|
2004-07-25 19:43:23 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/boxes.php", $langs->trans("Boxes"));
|
2004-02-12 01:23:11 +01:00
|
|
|
|
2004-07-29 16:34:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/const.php", $langs->trans("OtherSetup"));
|
|
|
|
|
|
2005-01-02 16:08:19 +01:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/system/", $langs->trans("System"));
|
2003-03-11 15:19:33 +01:00
|
|
|
|
2004-07-26 15:10:42 +02:00
|
|
|
left_menu($menu->liste, $help_url);
|
2003-01-18 18:15:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|