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

   1  <?php
   2  /* Copyright (C) 2001-2002 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.6 2005/10/30 14:16:28 eldy Exp $
  20   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/adherents/cartes/pre.inc.php,v $
  21   *
  22   */
  23  
  24  /**
  25          \file       htdocs/adherents/cartes/pre.inc.php
  26          \ingroup    adherent
  27          \brief      Fichier de gestion du menu gauche du module adherent
  28          \version    $Revision: 1.6 $
  29  */
  30  
  31  require ("../../main.inc.php");
  32  
  33  function llxHeader($head = "") {
  34    global $user, $conf, $langs;
  35  
  36    top_menu($head);
  37  
  38    $menu = new Menu();
  39  
  40    $menu->add(DOL_URL_ROOT."/adherents/index.php",$langs->trans("Members"));
  41    $menu->add_submenu(DOL_URL_ROOT."/adherents/fiche.php?action=create",$langs->trans("NewMember"));
  42    $menu->add_submenu(DOL_URL_ROOT."/adherents/liste.php",$langs->trans("List"));
  43    $menu->add_submenu(DOL_URL_ROOT."/adherents/liste.php?statut=-1",$langs->trans("MenuMembersToValidate"));
  44    $menu->add_submenu(DOL_URL_ROOT."/adherents/liste.php?statut=1",$langs->trans("MenuMembersValidated"));
  45    $menu->add_submenu(DOL_URL_ROOT."/adherents/liste.php?statut=1&amp;filter=uptodate",$langs->trans("MenuMembersUpToDate"));
  46    $menu->add_submenu(DOL_URL_ROOT."/adherents/liste.php?statut=0",$langs->trans("MenuMembersResiliated"));
  47  
  48    $menu->add(DOL_URL_ROOT."/public/adherents/","Espace adherents public");
  49  
  50    $menu->add(DOL_URL_ROOT."/adherents/index.php",$langs->trans("Exports"));
  51    $menu->add_submenu(DOL_URL_ROOT."/exports/index.php?leftmenu=export",$langs->trans("Datas"));
  52    $menu->add_submenu(DOL_URL_ROOT."/adherents/htpasswd.php",$langs->trans("Filehtpasswd"));
  53    $menu->add_submenu(DOL_URL_ROOT."/adherents/cartes/carte.php",$langs->trans("MembersCards"));
  54    $menu->add_submenu(DOL_URL_ROOT."/adherents/cartes/etiquette.php","Etiquettes d'adhérents");
  55  
  56    $langs->load("compta");
  57    $menu->add(DOL_URL_ROOT."/adherents/index.php",$langs->trans("Accountancy"));
  58    $menu->add_submenu(DOL_URL_ROOT."/adherents/cotisations.php",$langs->trans("Subscriptions"));
  59    $langs->load("banks");
  60    $menu->add_submenu(DOL_URL_ROOT."/compta/bank/",$langs->trans("Bank"));
  61  
  62    $menu->add(DOL_URL_ROOT."/adherents/index.php",$langs->trans("Setup"));
  63    $menu->add_submenu(DOL_URL_ROOT."/adherents/type.php",$langs->trans("MembersTypes"));
  64    $menu->add_submenu(DOL_URL_ROOT."/adherents/options.php",$langs->trans("MembersAttributes"));
  65  
  66    left_menu($menu->liste);
  67  
  68  }
  69  
  70  ?>


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