dolibarr/htdocs/adherents/pre.inc.php

70 lines
2.3 KiB
PHP
Raw Normal View History

<?php
2002-12-28 19:12:22 +01:00
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
2005-01-12 21:53:29 +01:00
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
2002-12-19 19:59:23 +01:00
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
2002-12-28 19:12:22 +01:00
* $Id$
* $Source$
*
2002-12-19 19:59:23 +01:00
*/
2005-01-12 21:53:29 +01:00
/** \file htdocs/adherents/pre.inc.php
\ingroup adherent
\brief Fichier de gestion du menu gauche du module adherent
\version $Revision$
*/
2003-09-11 22:18:51 +02:00
require("../main.inc.php");
2002-12-19 19:59:23 +01:00
2002-12-28 19:12:22 +01:00
function llxHeader($head = "") {
2004-11-12 15:37:38 +01:00
global $user, $conf, $langs;
2002-12-19 19:59:23 +01:00
$langs->load("members");
2002-12-19 19:59:23 +01:00
top_menu($head);
$menu = new Menu();
2004-11-12 15:37:38 +01:00
$menu->add("index.php",$langs->trans("Members"));
$menu->add_submenu("fiche.php?action=create",$langs->trans("NewMember"));
2002-12-30 22:05:46 +01:00
$menu->add_submenu("liste.php?statut=-1","Adh<EFBFBD>sions <20> valider");
$menu->add_submenu("liste.php?statut=1","Adh<EFBFBD>rents <20> ce jour");
2002-12-30 22:05:46 +01:00
$menu->add_submenu("liste.php?statut=0","Adh<EFBFBD>sions r<>sili<6C>es");
$menu->add(DOL_URL_ROOT."/public/adherents/","Espace adherents public");
2002-12-30 22:05:46 +01:00
2003-09-03 18:03:34 +02:00
$menu->add("index.php","Export");
$menu->add_submenu("htpasswd.php","Format htpasswd");
$menu->add_submenu("cartes/carte.php","Cartes d'adh<64>rents");
$menu->add_submenu("cartes/etiquette.php","Etiquettes d'adh<64>rents");
2003-09-03 18:03:34 +02:00
2004-11-12 15:37:38 +01:00
$langs->load("compta");
$menu->add("index.php",$langs->trans("Accountancy"));
$menu->add_submenu("cotisations.php","Cotisations");
$langs->load("banks");
$menu->add_submenu(DOL_URL_ROOT."/compta/bank/",$langs->trans("Banks"));
2002-12-28 19:12:22 +01:00
2004-11-12 15:37:38 +01:00
$menu->add("index.php",$langs->trans("Setup"));
$menu->add_submenu("type.php",$langs->trans("MembersTypes"));
$menu->add_submenu("options.php",$langs->trans("MembersAttributes"));
2002-12-19 19:59:23 +01:00
left_menu($menu->liste);
2002-12-28 19:12:22 +01:00
}
2002-12-19 19:59:23 +01:00
?>