[ Index ] |
|
Code source de Dolibarr 2.0.1 |
1 <?php 2 /* Copyright (C) 2005 Matthieu Valleton <mv@seeschloss.org> 3 * Copyright (C) 2005 Davoleau Brice <brice.davoleau@gmail.com> 4 * Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 * 20 * $Id: pre.inc.php,v 1.3 2005/04/14 07:43:21 rodolphe Exp $ 21 * $Source: /cvsroot/dolibarr/dolibarr/htdocs/categories/pre.inc.php,v $ 22 * 23 */ 24 25 /*! 26 \file htdocs/categories/pre.inc.php 27 \ingroup product,service 28 \brief Fichier gestionnaire du menu gauche des produits et services 29 \version $Revision: 1.3 $ 30 */ 31 32 require "../main.inc.php"; 33 require_once DOL_DOCUMENT_ROOT."/categories/categorie.class.php"; 34 35 $langs->load("categories"); 36 $user->getrights("categorie"); 37 38 function llxHeader ($head = "", $urlp = "", $title="") 39 { 40 global $user, $conf, $langs; 41 42 43 top_menu($head, $title); 44 45 $menu = new Menu(); 46 47 if ($conf->categorie->enabled) 48 { 49 $menu->add(DOL_URL_ROOT."/categories/index.php", $langs->trans("Categories")); 50 $menu->add_submenu(DOL_URL_ROOT."/categories/liste.php", $langs->trans("List")); 51 52 if ($user->rights->categorie->creer) 53 { 54 $menu->add_submenu(DOL_URL_ROOT."/categories/create.php", $langs->trans("NewCat")); 55 } 56 } 57 58 left_menu($menu->liste); 59 } 60 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 12:29:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |