diff --git a/htdocs/adherents/public.php b/htdocs/adherents/public.php index 45c31c6fb2f..d9f0ba8d2c4 100644 --- a/htdocs/adherents/public.php +++ b/htdocs/adherents/public.php @@ -49,7 +49,10 @@ print ''; print ''; print ''; print ''; -print ''; +$firstpart=$dolibarr_main_url_root; +$regex=DOL_URL_ROOT.'$'; +$firstpart=eregi_replace($regex,'',$firstpart); +print ''; print '
'.$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'.'
'.$langs->trans("PublicMemberCard").''.DOL_URL_ROOT.'/public/adherents/public_card.php?id=xxx'.'
'.$langs->trans("PublicMemberCard").''.$firstpart.DOL_URL_ROOT.'/public/adherents/public_card.php?id=xxx'.'
';