diff --git a/htdocs/langs/en_US/members.lang b/htdocs/langs/en_US/members.lang index 78cc1d43820..1d6704b2858 100644 --- a/htdocs/langs/en_US/members.lang +++ b/htdocs/langs/en_US/members.lang @@ -201,7 +201,7 @@ LastMemberDate=Latest membership date LatestSubscriptionDate=Latest contribution date MemberNature=Nature of the member MembersNature=Nature of the members -Public=Information is public +Public=%s can publish my membership in the public register NewMemberbyWeb=New member added. Awaiting approval NewMemberForm=New member form SubscriptionsStatistics=Contributions statistics diff --git a/htdocs/public/members/new.php b/htdocs/public/members/new.php index ce6eb58d02e..2655af04012 100644 --- a/htdocs/public/members/new.php +++ b/htdocs/public/members/new.php @@ -692,7 +692,9 @@ if (!empty($conf->global->MEMBER_SKIP_TABLE) || !empty($conf->global->MEMBER_NEW print ''.$langs->trans("URLPhoto").''."\n"; // Public - print ''.$langs->trans("Public").''."\n"; + $linkofpubliclist = DOL_MAIN_URL_ROOT.'/public/members/public_list.php'.((isModEnabled('multicompany')) ? '?entity='.$conf->entity : ''); + $publiclabel = $langs->trans("Public", $conf->global->MAIN_INFO_SOCIETE_NOM, $linkofpubliclist); + print ''.$publiclabel.''."\n"; // Other attributes $parameters['tpl_context']='public'; // define template context to public