[ Index ] |
|
Code source de Dolibarr 2.0.1 |
1 <?php 2 /* Copyright (C) 2004 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.6 2005/12/02 12:49:21 hregis Exp $ 19 * $Source: /cvsroot/dolibarr/dolibarr/htdocs/contact/pre.inc.php,v $ 20 * 21 */ 22 23 require ("../main.inc.php"); 24 25 function llxHeader($head = "", $urlp = "") 26 { 27 global $langs, $user, $conf; 28 29 $langs->load("companies"); 30 $langs->load("commercial"); 31 32 top_menu($head); 33 34 $menu = new Menu(); 35 36 $menu->add(DOL_URL_ROOT."/contact/index.php", $langs->trans("Contacts")); 37 if ($user->rights->societe->contact->creer) 38 { 39 $menu->add_submenu(DOL_URL_ROOT."/contact/fiche.php?action=create", $langs->trans("NewContact")); 40 } 41 42 $menu->add(DOL_URL_ROOT."/contact/index.php?userid=$user->id", $langs->trans("MyContacts")); 43 44 $menu->add(DOL_URL_ROOT."/contact/index.php?view=recent", $langs->trans("LastContacts")); 45 46 $menu->add(DOL_URL_ROOT."/contact/index.php?view=phone", $langs->trans("Phones")); 47 48 $menu->add(DOL_URL_ROOT."/contact/index.php?view=mail", $langs->trans("EMails")); 49 50 left_menu($menu->liste); 51 } 52 53 ?>
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 |
![]() |