diff --git a/htdocs/adherents/public.php b/htdocs/adherents/public.php index d9f0ba8d2c4..730b335ad23 100644 --- a/htdocs/adherents/public.php +++ b/htdocs/adherents/public.php @@ -49,6 +49,7 @@ 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);
'.$langs->trans("Description").''.$langs->trans("URL").'
'.$langs->trans("BlankSubscriptionForm").''.$dolibarr_main_url_root.DOL_URL_ROOT.'/public/adherents/new.php'.'
'.$langs->trans("PublicMemberList").''.$dolibarr_main_url_root.DOL_URL_ROOT.'/public/adherents/public_list.php'.'