From a53bdb153be972871abd1c3b1ce75e9fe9c0f0b1 Mon Sep 17 00:00:00 2001 From: jlb Date: Mon, 13 Jan 2003 17:36:24 +0000 Subject: [PATCH] bug fix dans le path de pre.inc.php --- htdocs/adherents/public/new.php | 2 +- htdocs/adherents/public/pre.inc.php | 61 +++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 htdocs/adherents/public/pre.inc.php diff --git a/htdocs/adherents/public/new.php b/htdocs/adherents/public/new.php index 6e4066693fd..3ff99dd3479 100644 --- a/htdocs/adherents/public/new.php +++ b/htdocs/adherents/public/new.php @@ -19,7 +19,7 @@ * $Source$ * */ -require("../pre.inc.php"); +require("./pre.inc.php"); require("../../adherent.class.php"); require("../../adherent_type.class.php"); require("../../cotisation.class.php"); diff --git a/htdocs/adherents/public/pre.inc.php b/htdocs/adherents/public/pre.inc.php new file mode 100644 index 00000000000..f23c858485d --- /dev/null +++ b/htdocs/adherents/public/pre.inc.php @@ -0,0 +1,61 @@ + + * + * 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. + * + * $Id$ + * $Source$ + * + */ +require("../../main.inc.php3"); + +function llxHeader($head = "") { + global $user, $conf; + + + /* + * + * + */ + top_menu($head); + + $menu = new Menu(); + + /* + $menu->add("index.php","Adherents"); + $menu->add_submenu("liste.php?statut=1","Adhérents à ce jour"); + $menu->add_submenu("liste.php?statut=-1","Adhésions à valider"); + + $menu->add_submenu("liste.php?statut=0","Adhésions résiliées"); + + if ($user->admin) + { + $menu->add("fiche.php?action=create","Nouvel adhérent"); + } + + + + $menu->add("cotisations.php","Cotisations"); + + if ($user->admin) + { + $menu->add("type.php","Configuration"); + } + + left_menu($menu->liste); + */ +} + +?>