dolibarr/htdocs/user/pre.inc.php

46 lines
1.1 KiB
PHP
Raw Normal View History

2002-05-06 21:10:48 +02:00
<?PHP
/* Copyright (C) 2002 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.
*
2002-12-18 19:02:06 +01:00
* $Id$
* $Source$
2002-05-06 21:10:48 +02:00
*/
2003-09-11 22:18:51 +02:00
require("../main.inc.php");
2002-05-06 21:10:48 +02:00
2003-06-29 13:49:56 +02:00
function llxHeader($head = "", $urlp = "")
{
global $user;
2002-05-06 21:10:48 +02:00
/*
*
*
*/
top_menu($head);
2002-05-09 16:57:48 +02:00
$menu = new Menu();
2002-05-06 21:10:48 +02:00
2003-06-29 13:49:56 +02:00
$menu->add(DOL_URL_ROOT."/user/", "Utilisateurs");
2002-12-23 00:06:25 +01:00
if($user->admin)
{
2003-10-24 12:05:38 +02:00
$menu->add_submenu("fiche.php?&amp;action=create","Nouvel utilisateur");
2002-12-23 00:06:25 +01:00
}
2002-05-06 21:10:48 +02:00
2002-05-09 16:57:48 +02:00
left_menu($menu->liste);
2002-05-06 21:10:48 +02:00
}
?>