diff options
author | friendica <info@friendica.com> | 2014-08-06 19:24:46 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-08-06 19:24:46 -0700 |
commit | 86bccf35a24019830fc54ac781f985d9add6eddf (patch) | |
tree | 026acd374d9de16fdcec4a75d6f86adb1d52cb5a /mod/lockview.php | |
parent | afac37917761d726a4c046d2f42bb4e427574895 (diff) | |
download | volse-hubzilla-86bccf35a24019830fc54ac781f985d9add6eddf.tar.gz volse-hubzilla-86bccf35a24019830fc54ac781f985d9add6eddf.tar.bz2 volse-hubzilla-86bccf35a24019830fc54ac781f985d9add6eddf.zip |
basic 'notpublic' bits working
Diffstat (limited to 'mod/lockview.php')
-rw-r--r-- | mod/lockview.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/lockview.php b/mod/lockview.php index 0ea708c80..8903bdec6 100644 --- a/mod/lockview.php +++ b/mod/lockview.php @@ -26,6 +26,11 @@ function lockview_content(&$a) { $item = $r[0]; + if(array_key_exists('public_policy',$item) && $item['public_policy']) { + echo '<li>' . translate_scope($item['public_policy']) . '</li>'; + killme(); + } + if($item['uid'] != local_user()) { echo '<li>' . t('Remote privacy information not available.') . '</li>'; killme(); |