diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-30 05:10:25 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-30 05:10:25 -0700 |
commit | 948061e2410ad85d795d462a4bee5715ee849788 (patch) | |
tree | ef84e146133b4d2e497e645b122f8a5c3f94c5e6 /mod/settings.php | |
parent | b0c81b025eed7d6404e55bcc569fe679c822bdf4 (diff) | |
download | volse-hubzilla-948061e2410ad85d795d462a4bee5715ee849788.tar.gz volse-hubzilla-948061e2410ad85d795d462a4bee5715ee849788.tar.bz2 volse-hubzilla-948061e2410ad85d795d462a4bee5715ee849788.zip |
notify people when they are invisible
Diffstat (limited to 'mod/settings.php')
-rw-r--r-- | mod/settings.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/settings.php b/mod/settings.php index 7ba2f177f..e5b66f8df 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -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 = ''; |