[ Index ] |
|
Code source de Dolibarr 2.0.1 |
1 <?php 2 /* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net> 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.2 2005/09/11 01:31:37 eldy Exp $ 19 * $Source: /cvsroot/dolibarr/dolibarr/htdocs/bookmarks/pre.inc.php,v $ 20 * 21 */ 22 23 /** 24 \file htdocs/bookmarks/pre.inc.php 25 \ingroup bookmark 26 \brief Fichier de gestion du menu gauche des bookmarks 27 \version $Revision: 1.2 $ 28 */ 29 30 require ("../main.inc.php"); 31 32 33 function llxHeader($head = "", $title = "") 34 { 35 global $user, $conf, $langs; 36 $langs->load("other"); 37 38 top_menu($head, $title); 39 40 $menu = new Menu(); 41 42 // Bookmarks 43 if ($conf->bookmark->enabled) 44 { 45 if ($user->rights->bookmark->lire) $menu->add(DOL_URL_ROOT."/bookmarks/liste.php", $langs->trans("Bookmarks")); 46 if ($user->rights->bookmark->creer) $menu->add_submenu(DOL_URL_ROOT."/bookmarks/fiche.php?action=create", $langs->trans("NewBookmark")); 47 if ($user->rights->bookmark->lire) $menu->add_submenu(DOL_URL_ROOT."/bookmarks/liste.php", $langs->trans("List")); 48 } 49 50 left_menu($menu->liste); 51 } 52 ?>
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 |
![]() |