https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f5b97d
)
Add a self-only ACL block to personal notes jot
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Mon, 7 Sep 2020 23:27:51 +0000
(19:27 -0400)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Mon, 7 Sep 2020 23:27:51 +0000
(19:27 -0400)
mod/notes.php
patch
|
blob
|
history
diff --git
a/mod/notes.php
b/mod/notes.php
index
f1cf6cf
..
d3ce0fa
100644
(file)
--- a/
mod/notes.php
+++ b/
mod/notes.php
@@
-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(),