dolibarr/htdocs/admin/pre.inc.php

66 lines
1.9 KiB
PHP
Raw Normal View History

<?php
2004-02-16 11:11:48 +01:00
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* 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$
*/
/*! \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
$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();
$langs->load("admin");
$menu->add(DOL_URL_ROOT."/admin/index.php", $langs->trans("GlobalSetup"));
2003-01-18 18:15:23 +01:00
$menu->add(DOL_URL_ROOT."/admin/ihm.php", $langs->trans("GUISetup"));
2003-06-11 15:15:46 +02:00
$menu->add(DOL_URL_ROOT."/admin/dict.php", $langs->trans("DictionnarySetup"));
$menu->add(DOL_URL_ROOT."/admin/modules.php", $langs->trans("Modules"));
$menu->add(DOL_URL_ROOT."/admin/perms.php", $langs->trans("Rights"));
$menu->add(DOL_URL_ROOT."/admin/boxes.php", $langs->trans("Boxes"));
$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
}
?>