diff --git a/htdocs/adherents/public.php b/htdocs/adherents/public.php index 13bedf6adba..c2967ee53c9 100644 --- a/htdocs/adherents/public.php +++ b/htdocs/adherents/public.php @@ -1,6 +1,6 @@ - * Copyright (C) 2006-2008 Laurent Destailleur + * Copyright (C) 2006-2009 Laurent Destailleur * * 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 @@ -18,12 +18,12 @@ */ /** - \file htdocs/adherents/public.php - \ingroup member - \brief Fichier de la page de l'espace publique adherent - \author Laurent Destailleur - \version $Id$ -*/ + * \file htdocs/adherents/public.php + * \ingroup member + * \brief Fichier de la page de l'espace publique adherent + * \author Laurent Destailleur + * \version $Id$ + */ require("./pre.inc.php"); @@ -47,12 +47,12 @@ print '
'; print ''; print ''; -print ''; -print ''; // Should work with DOL_URL_ROOT='' or DOL_URL_ROOT='/dolibarr' $firstpart=$dolibarr_main_url_root; $regex=DOL_URL_ROOT.'$'; $firstpart=eregi_replace($regex,'',$firstpart); +print ''; +print ''; print ''; print '
'.$langs->trans("Description").''.$langs->trans("URL").'
'.$langs->trans("BlankSubscriptionForm").''.$dolibarr_main_url_root.DOL_URL_ROOT.'/public/members/new.php'.'
'.$langs->trans("PublicMemberList").''.$dolibarr_main_url_root.DOL_URL_ROOT.'/public/members/public_list.php'.'
'.$langs->trans("BlankSubscriptionForm").''.$firstpart.DOL_URL_ROOT.'/public/members/new.php'.'
'.$langs->trans("PublicMemberList").''.$firstpart.DOL_URL_ROOT.'/public/members/public_list.php'.'
'.$langs->trans("PublicMemberCard").''.$firstpart.DOL_URL_ROOT.'/public/members/public_card.php?id=xxx'.'
';