[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/htdocs/comm/action/rapport/ -> pre.inc.php (source)

   1  <?php
   2  /* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
   3   * Copyright (C) 2005      Laurent Destailleur  <eldy@users.sourceforge.net>
   4   *
   5   * This program is free software; you can redistribute it and/or modify
   6   * it under the terms of the GNU General Public License as published by
   7   * the Free Software Foundation; either version 2 of the License, or
   8   * (at your option) any later version.
   9   *
  10   * This program is distributed in the hope that it will be useful,
  11   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13   * GNU General Public License for more details.
  14   *
  15   * You should have received a copy of the GNU General Public License
  16   * along with this program; if not, write to the Free Software
  17   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  18   *
  19   * $Id: pre.inc.php,v 1.9 2005/09/05 19:31:07 eldy Exp $
  20   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/comm/action/rapport/pre.inc.php,v $
  21   */
  22  
  23  /**
  24          \file       htdocs/comm/action/rapport/pre.inc.php
  25          \brief      Fichier gestionnaire du menu de gauche de la zone rapport des actions
  26          \version    $Revision: 1.9 $
  27  */
  28  
  29  require ("../../../main.inc.php");
  30  require ("./rapport.pdf.php");
  31  
  32  function llxHeader($head = "", $urlp = "")
  33  {
  34      global $conf,$user,$langs;
  35      
  36      top_menu($head);
  37      
  38      $menu = new Menu();
  39      
  40      
  41      $langs->load("commercial");
  42      $menu->add(DOL_URL_ROOT."/comm/action/", $langs->trans("Actions"));
  43      
  44      $menu->add_submenu(DOL_URL_ROOT."/comm/action/index.php?time=today", $langs->trans("Today"));
  45      $menu->add_submenu(DOL_URL_ROOT."/comm/action/index.php?status=todo", $langs->trans("MenuToDoActions"), 1);
  46      $menu->add_submenu(DOL_URL_ROOT."/comm/action/rapport/index.php", $langs->trans("Reportings"));
  47      
  48      if ($conf->societe->enabled) {
  49          $langs->load("companies");
  50          $menu->add(DOL_URL_ROOT."/comm/clients.php", $langs->trans("Customers"));
  51          $menu->add_submenu(DOL_URL_ROOT."/comm/contact.php?type=c", $langs->trans("Contacts"));
  52      }
  53      
  54      if ($conf->commercial->enabled) {
  55          $langs->load("commercial");
  56          $menu->add(DOL_URL_ROOT."/comm/prospect/prospects.php", $langs->trans("Prospects"));
  57          $menu->add_submenu(DOL_URL_ROOT."/comm/contact.php?type=p", $langs->trans("Contacts"));
  58      }
  59      
  60      if ($conf->propal->enabled) {
  61          $langs->load("propal");
  62          $menu->add(DOL_URL_ROOT."/comm/propal.php", $langs->trans("Prop"));
  63      }
  64      
  65      if ($conf->projet->enabled) {
  66          $langs->load("projects");
  67          $menu->add(DOL_URL_ROOT."/projet/index.php", $langs->trans("Projects"));
  68      }
  69      
  70      left_menu($menu->liste);
  71  }
  72  
  73  ?>


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics