[ Index ] |
|
Code source de Dolibarr 2.0.1 |
1 <?php 2 /* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 * 18 * $Id: pre.inc.php,v 1.5 2004/10/20 20:06:49 opensides Exp $ 19 * $Source: /cvsroot/dolibarr/dolibarr/htdocs/product/categorie/pre.inc.php,v $ 20 * 21 */ 22 require ("../../main.inc.php"); 23 require ("../groupart/groupart.class.php"); 24 require ("../categorie/categorie.class.php"); 25 26 function llxHeader($head = "", $urlp = "") { 27 global $user, $conf; 28 29 /* 30 * 31 * 32 */ 33 top_menu($head); 34 35 $menu = new Menu(); 36 37 if ($conf->boutique->livre->enabled) 38 { 39 $menu->add(DOL_URL_ROOT."/boutique/livre/", "Livres"); 40 41 $menu->add_submenu(DOL_URL_ROOT."/boutique/livre/fiche.php?&action=create","Nouvel ouvrage"); 42 43 $menu->add(DOL_URL_ROOT."/boutique/auteur/", "Auteurs"); 44 45 $menu->add_submenu(DOL_URL_ROOT."/boutique/auteur/fiche.php?&action=create","Nouvel auteur"); 46 47 $menu->add(DOL_URL_ROOT."/boutique/editeur/", "Editeurs"); 48 49 $menu->add_submenu(DOL_URL_ROOT."/boutique/editeur/fiche.php?&action=create","Nouvel éditeur"); 50 51 } 52 53 $menu->add(DOL_URL_ROOT."/product/categorie/", "Catégories"); 54 55 if ($conf->boutique->album->enabled) 56 { 57 $menu->add(DOL_URL_ROOT."/product/album/", "Albums"); 58 59 $menu->add_submenu("../osc-liste.php", "Osc"); 60 $menu->add_submenu("../osc-liste.php?reqstock=epuise", "Produits Epuisés"); 61 62 $menu->add_submenu(DOL_URL_ROOT."/product/album/fiche.php?&action=create","Nouvel album"); 63 64 $menu->add(DOL_URL_ROOT."/product/groupart/", "Artistes/Groupes"); 65 66 $menu->add_submenu(DOL_URL_ROOT."/product/groupart/fiche.php?&action=create","Nouvel Artiste/Groupe"); 67 68 $menu->add(DOL_URL_ROOT."/product/concert/", "Concerts"); 69 70 $menu->add_submenu("/product/concert/fiche.php?&action=create","Nouveau concert"); 71 72 $menu->add("../osc-reviews.php", "Critiques"); 73 74 $menu->add_submenu("../osc-productsbyreviews.php", "Meilleurs produits"); 75 } 76 77 left_menu($menu->liste); 78 /* 79 * 80 * 81 */ 82 83 } 84 ?>
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 |
![]() |