]> git.mxchange.org Git - friendica.git/commitdiff
notify people when they are invisible
authorMike Macgirvin <mike@macgirvin.com>
Thu, 30 Sep 2010 12:10:25 +0000 (05:10 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Thu, 30 Sep 2010 12:10:25 +0000 (05:10 -0700)
mod/settings.php

index 7ba2f177f48c4aa60769061070ecabc825354b1a..e5b66f8df2f8f94ff02546688e0019e01bc8f30e 100644 (file)
@@ -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 = '';