Merge pull request #24227 from ymollard/membership-rephrase-public
Make the "public" setting clearer in the UI
This commit is contained in:
commit
515aef0bea
@ -201,7 +201,7 @@ LastMemberDate=Latest membership date
|
|||||||
LatestSubscriptionDate=Latest contribution date
|
LatestSubscriptionDate=Latest contribution date
|
||||||
MemberNature=Nature of the member
|
MemberNature=Nature of the member
|
||||||
MembersNature=Nature of the members
|
MembersNature=Nature of the members
|
||||||
Public=Information is public
|
Public=%s can publish my membership in <a target="_blank" href="%s">the public register</a>
|
||||||
NewMemberbyWeb=New member added. Awaiting approval
|
NewMemberbyWeb=New member added. Awaiting approval
|
||||||
NewMemberForm=New member form
|
NewMemberForm=New member form
|
||||||
SubscriptionsStatistics=Contributions statistics
|
SubscriptionsStatistics=Contributions statistics
|
||||||
|
|||||||
@ -692,7 +692,9 @@ if (!empty($conf->global->MEMBER_SKIP_TABLE) || !empty($conf->global->MEMBER_NEW
|
|||||||
print '<tr><td>'.$langs->trans("URLPhoto").'</td><td><input type="text" name="photo" class="minwidth150" value="'.dol_escape_htmltag(GETPOST('photo')).'"></td></tr>'."\n";
|
print '<tr><td>'.$langs->trans("URLPhoto").'</td><td><input type="text" name="photo" class="minwidth150" value="'.dol_escape_htmltag(GETPOST('photo')).'"></td></tr>'."\n";
|
||||||
|
|
||||||
// Public
|
// Public
|
||||||
print '<tr><td>'.$langs->trans("Public").'</td><td><input type="checkbox" name="public"></td></tr>'."\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 '<tr><td>'.$publiclabel.'</td><td><input type="checkbox" name="public"></td></tr>'."\n";
|
||||||
|
|
||||||
// Other attributes
|
// Other attributes
|
||||||
$parameters['tpl_context']='public'; // define template context to public
|
$parameters['tpl_context']='public'; // define template context to public
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user