Rename hide friends checkbox field variable
This commit is contained in:
parent
a7a38da62d
commit
40db6baa6b
|
@ -215,7 +215,7 @@ class Index extends BaseSettings
|
|||
|
||||
$opt_tpl = Renderer::getMarkupTemplate('settings/profile/hide-friends.tpl');
|
||||
$hide_friends = Renderer::replaceMacros($opt_tpl, [
|
||||
'$yesno' => [
|
||||
'$hide_friends' => [
|
||||
'hide-friends', //Name
|
||||
DI::l10n()->t('Hide contacts and friends:'), //Label
|
||||
!!$profile['hide-friends'], //Value
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<div id="profile-edit-hide-friends-wrapper">
|
||||
{{include file="field_checkbox.tpl" field=$yesno}}
|
||||
{{include file="field_checkbox.tpl" field=$hide_friends}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue