]> git.mxchange.org Git - friendica.git/blobdiff - mod/newmember.php
added spaces + curly braces
[friendica.git] / mod / newmember.php
index e2c1eb733fef785a629316141e3a6bbc511ae54a..aa55c3a098804f7e77e696e07167ecf35c9c7ad1 100644 (file)
@@ -45,11 +45,6 @@ function newmember_content(&$a) {
 
        $o .= '<ul>';
 
-       if(in_array('facebook', $a->plugins))
-               $o .= '<li>' . '<a target="newmember" href="facebook">' . t('Facebook') . '</a><br />' . t("Authorise the Facebook Connector if you currently have a Facebook account and we will \x28optionally\x29 import all your Facebook friends and conversations.") . '</li>' . EOL;
-       else
-               $o .= '<li>' . '<a target="newmember" href="help/Installing-Connectors">' . t('Facebook') . '</a><br />' . t("<em>If</em> this is your own personal server, installing the Facebook addon may ease your transition to the free social web.") . '</li>' . EOL;
-
     $mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1);
        
        if(! $mail_disabled)
@@ -69,7 +64,7 @@ function newmember_content(&$a) {
 
        $o .= '<li>' . '<a target="newmember" href="contacts">' . t('Group Your Contacts') . '</a><br />' . t('Once you have made some friends, organize them into private conversation groups from the sidebar of your Contacts page and then you can interact with each group privately on your Network page.') . '</li>' . EOL;
 
-       if((! isset($a->config['system']['newuser_public'])) || (! $a->config['system']['newuser_public'])) {
+       if(get_config('system', 'newuser_private')) {
                $o .= '<li>' . '<a target="newmember" href="help/Groups-and-Privacy">' . t("Why Aren't My Posts Public?") . '</a><br />' . t("Friendica respects your privacy. By default, your posts will only show up to people you've added as friends. For more information, see the help section from the link above.") . '</li>' . EOL;
        }