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

   1  <?php
   2  /* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> 
   3   * Copyright (C) 2004-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.14.2.1 2006/01/14 13:48:11 eldy Exp $
  20   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/compta/dons/pre.inc.php,v $
  21   */
  22  
  23  /**
  24          \file       htdocs/compta/dons/pre.inc.php
  25          \ingroup    don
  26          \brief      Fichier gestionnaire du menu de gauche de l'espace dons
  27          \version    $Revision: 1.14.2.1 $
  28  */
  29  
  30  require ("../../main.inc.php");
  31  require(DOL_DOCUMENT_ROOT."/projetdon.class.php");
  32  
  33  $langs->load("donations");
  34  $langs->load("propal");
  35  
  36  $libelle[0] = $langs->trans("PromisesNotValid");
  37  $libelle[1] = $langs->trans("PromisesValid");
  38  $libelle[2] = $langs->trans("DonationsPayed");
  39  $libelle[3] = $langs->trans("DonationsReceived");
  40  
  41  
  42  function llxHeader($head = "") {
  43    global $user, $conf, $langs;
  44  
  45    $langs->load("donations");
  46  
  47    top_menu($head);
  48  
  49    $menu = new Menu();
  50  
  51    $menu->add(DOL_URL_ROOT."/compta/dons/",$langs->trans("Donations"));
  52    $menu->add_submenu(DOL_URL_ROOT."/compta/dons/fiche.php?action=create",$langs->trans("NewDonation"));
  53    $menu->add_submenu(DOL_URL_ROOT."/compta/dons/liste.php",$langs->trans("List"));
  54    $menu->add_submenu(DOL_URL_ROOT."/compta/dons/stats.php",$langs->trans("Statistics"));
  55  
  56    if ($conf->banque->enabled) {
  57      $langs->load("banks");
  58      $menu->add(DOL_URL_ROOT."/compta/bank/index.php",$langs->trans("Bank"));
  59    }
  60    
  61    left_menu($menu->liste);
  62  
  63  }
  64  
  65  ?>


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