2004-10-19 20:58:50 +02:00
|
|
|
<?php
|
2006-12-04 12:39:48 +01:00
|
|
|
/* Copyright (C) 2003-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
2006-03-11 19:45:10 +01:00
|
|
|
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
2005-10-13 17:37:05 +02:00
|
|
|
* Copyright (C) 2005 Simon Tosser <simon@kornog-computing.com>
|
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
|
|
|
|
2005-07-05 01:20:22 +02:00
|
|
|
/**
|
2006-12-04 12:39:48 +01:00
|
|
|
\file htdocs/admin/pre.inc.php
|
|
|
|
|
\brief Fichier gestionnaire du menu de gauche de l'espace configuration
|
|
|
|
|
\version $Revision$
|
2004-08-29 14:01:58 +02:00
|
|
|
*/
|
|
|
|
|
|
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
|
|
|
{
|
2007-06-08 01:07:01 +02:00
|
|
|
global $user, $langs;
|
2003-01-18 18:15:23 +01:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
top_menu($head);
|
2003-01-18 18:15:23 +01:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu = new Menu();
|
|
|
|
|
$langs->load("admin");
|
|
|
|
|
$langs->load("users");
|
2003-06-11 15:15:46 +02:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/company.php", $langs->trans("MenuCompanySetup"));
|
2003-07-22 16:58:41 +02:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/modules.php", $langs->trans("Modules"));
|
2007-04-10 21:21:22 +02:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/menus.php", $langs->trans("Menus"));
|
2006-08-12 17:32:57 +02:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/ihm.php", $langs->trans("GUISetup"));
|
2004-02-12 01:23:11 +01:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/boxes.php", $langs->trans("Boxes"));
|
2005-07-05 01:20:22 +02:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/delais.php",$langs->trans("Alerts"));
|
2005-07-05 01:20:22 +02:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/triggers.php", $langs->trans("Triggers"));
|
2006-12-04 12:39:48 +01:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/perms.php", $langs->trans("Security"));
|
2005-07-05 01:20:22 +02:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/mails.php", $langs->trans("EMails"));
|
2004-07-29 16:34:01 +02:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/user/home.php", $langs->trans("MenuUsersAndGroups"));
|
2003-03-11 15:19:33 +01:00
|
|
|
|
2007-06-08 01:07:01 +02:00
|
|
|
$menu->add(DOL_URL_ROOT."/admin/dict.php", $langs->trans("DictionnarySetup"));
|
|
|
|
|
|
|
|
|
|
$menu->add(DOL_URL_ROOT."/admin/const.php", $langs->trans("OtherSetup"));
|
|
|
|
|
|
|
|
|
|
$menu->add(DOL_URL_ROOT."/admin/system/", $langs->trans("System"));
|
2007-07-30 22:23:46 +02:00
|
|
|
|
|
|
|
|
$menu->add(DOL_URL_ROOT."/admin/tools/", $langs->trans("Tools"));
|
2007-06-08 01:07:01 +02:00
|
|
|
|
|
|
|
|
left_menu($menu->liste, $help_url);
|
2003-01-18 18:15:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|