]> git.mxchange.org Git - friendica.git/blobdiff - include/contact_widgets.php
Merge branch 'pull'
[friendica.git] / include / contact_widgets.php
index 605a3eb78e64c46bcf4691774a8f1a0a8995fbc5..1f70e536f2461b6872634e2894b5da5d1a4bd462 100755 (executable)
@@ -15,8 +15,6 @@ function findpeople_widget() {
 
        $a = get_app();
 
-       $inv = (($a->config['register_policy'] != REGISTER_CLOSED) ? t('Invite Friends') : '');
-
        if(get_config('system','invitation_only')) {
                $x = get_pconfig(local_user(),'system','invites_remaining');
                if($x || is_site_admin()) {
@@ -34,7 +32,7 @@ function findpeople_widget() {
                '$findthem' => t('Find'),
                '$suggest' => t('Friend Suggestions'),
                '$similar' => t('Similar Interests'),
-               '$inv' => $inv
+               '$inv' => t('Invite Friends')
        ));
 
 }
@@ -48,7 +46,7 @@ function networks_widget($baseurl,$selected = '') {
                return '';
 
        
-       $r = q("select distinct(network) from contact where uid = %d",
+       $r = q("select distinct(network) from contact where uid = %d and self = 0",
                intval(local_user())
        );
 
@@ -95,7 +93,7 @@ function fileas_widget($baseurl,$selected = '') {
        }
 
        return replace_macros(get_markup_template('fileas_widget.tpl'),array(
-               '$title' => t('File Selections'),
+               '$title' => t('Saved Folders'),
                '$desc' => '',
                '$sel_all' => (($selected == '') ? 'selected' : ''),
                '$all' => t('Everything'),