Merge pull request #9161 from MrPetovan/bug/9140-private-note-self-only
Add a self-only ACL block to personal notes jot
This commit is contained in:
commit
065ab017c7
5 changed files with 27 additions and 27 deletions
|
@ -55,7 +55,7 @@ function notes_content(App $a, $update = false)
|
|||
'default_location' => $a->user['default-location'],
|
||||
'nickname' => $a->user['nickname'],
|
||||
'lockstate' => 'lock',
|
||||
'acl' => '',
|
||||
'acl' => \Friendica\Core\ACL::getSelfOnlyHTML(local_user(), DI::l10n()->t('Personal notes are visible only by yourself.')),
|
||||
'bang' => '',
|
||||
'visitor' => 'block',
|
||||
'profile_uid' => local_user(),
|
||||
|
|
|
@ -987,8 +987,6 @@ function photos_content(App $a)
|
|||
'$uploadurl' => $ret['post_url'],
|
||||
|
||||
// ACL permissions box
|
||||
'$group_perms' => DI::l10n()->t('Show to Groups'),
|
||||
'$contact_perms' => DI::l10n()->t('Show to Contacts'),
|
||||
'$return_path' => DI::args()->getQueryString(),
|
||||
]);
|
||||
|
||||
|
@ -1352,8 +1350,6 @@ function photos_content(App $a)
|
|||
'$delete' => DI::l10n()->t('Delete Photo'),
|
||||
|
||||
// ACL permissions box
|
||||
'$group_perms' => DI::l10n()->t('Show to Groups'),
|
||||
'$contact_perms' => DI::l10n()->t('Show to Contacts'),
|
||||
'$return_path' => DI::args()->getQueryString(),
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue