[ 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/projet/tasks/ -> pre.inc.php (source)

   1  <?php
   2  /* Copyright (C) 2005 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 2005/12/02 17:00:31 hregis Exp $
  19   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/projet/tasks/pre.inc.php,v $
  20   *
  21   */
  22  
  23  /*!
  24    \file htdocs/projet/pre.inc.php
  25    \ingroup    projet
  26    \brief      Fichier de gestion du menu gauche du module projet
  27    \version    $Revision: 1.5 $
  28  */
  29  
  30  require  ("../../main.inc.php");
  31  require_once(DOL_DOCUMENT_ROOT."/project.class.php");
  32  require_once(DOL_DOCUMENT_ROOT."/task.class.php");
  33  
  34  $langs->load("projects");
  35  $langs->load("companies");
  36  
  37  $user->getrights('projet');
  38  
  39  function llxHeader($head = "", $title="", $help_url='')
  40  {
  41    global $langs;
  42    
  43    top_menu($head, $title);
  44  
  45    $menu = new Menu();
  46  
  47    $menu->add(DOL_URL_ROOT."/comm/clients.php", $langs->trans("Customers"));
  48  
  49    $menu->add(DOL_URL_ROOT."/projet/", $langs->trans("Projects"));
  50    $menu->add_submenu(DOL_URL_ROOT."/projet/liste.php", $langs->trans("List"));
  51  
  52    $menu->add(DOL_URL_ROOT."/projet/tasks/", $langs->trans("Tasks"));
  53    $menu->add_submenu(DOL_URL_ROOT."/projet/tasks/mytasks.php", $langs->trans("Mytasks"));
  54  
  55    $menu->add(DOL_URL_ROOT."/projet/activity/", $langs->trans("Activity"));
  56    $menu->add_submenu(DOL_URL_ROOT."/projet/activity/myactivity.php", $langs->trans("MyActivity"));
  57  
  58    left_menu($menu->liste, $help_url);
  59  }
  60  
  61  ?>


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