dolibarr/htdocs/admin/pre.inc.php

68 lines
1.7 KiB
PHP
Raw Normal View History

2003-01-18 18:15:23 +01:00
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
*
* 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$
*/
require("../main.inc.php3");
function llxHeader($head = "", $urlp = "") {
global $user, $conf;
/*
*
*
*/
top_menu($head);
$menu = new Menu();
$menu->add("index.php", "Dolibarr");
2003-03-11 17:18:54 +01:00
$menu->add_submenu("modules.php", "Modules");
$menu->add_submenu("facture.php", "Factures");
2003-02-10 17:16:40 +01:00
2003-02-13 17:06:48 +01:00
$menu->add("boxes.php", "Boites");
2003-02-10 17:16:40 +01:00
$menu->add("const.php", "Constantes");
2003-01-18 18:15:23 +01:00
$menu->add("mysql.php", "Mysql");
2003-03-10 15:25:45 +01:00
$menu->add_submenu("sqltables.php", "Tables");
2003-03-13 19:27:26 +01:00
if ($conf->boutique->enabled)
{
$menu->add("boutique.php", "Boutique");
if (defined("DB_NAME_OSC"))
{
$menu->add_submenu("osc-languages.php", "OSC Languages $toto");
}
2003-03-13 19:27:26 +01:00
}
2003-03-11 15:19:33 +01:00
$menu->add("phpinfo.php", "phpinfo");
$menu->add_submenu("phpinfo.php?what=conf", "Conf");
$menu->add_submenu("phpinfo.php?what=env", "Env");
$menu->add_submenu("phpinfo.php?what=modules", "Modules");
2003-01-18 18:15:23 +01:00
left_menu($menu->liste);
}
?>