mirror of
https://github.com/friendica/friendica
synced 2024-11-10 04:22:54 +00:00
notify people when they are invisible
This commit is contained in:
parent
b0c81b025e
commit
948061e241
1 changed files with 6 additions and 0 deletions
|
@ -198,6 +198,12 @@ function settings_content(&$a) {
|
|||
else
|
||||
$profile_in_net_dir = '';
|
||||
|
||||
$invisible = (((! $profile['publish']) && (! $profile['net-publish']))
|
||||
? true : false);
|
||||
|
||||
if($invisible)
|
||||
notice( t('Profile is not published.'));
|
||||
|
||||
$nickname_block = load_view_file("view/settings_nick_set.tpl");
|
||||
|
||||
$nickname_subdir = '';
|
||||
|
|
Loading…
Reference in a new issue