]> git.mxchange.org Git - friendica.git/blobdiff - include/contact_widgets.php
Added global directory link to the find people side panel
[friendica.git] / include / contact_widgets.php
index 5dd3a8bb4b163996d597902adff6f99b741f07a3..b40e5cc4ed84d140b6867f8b01455d663d30cfba 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\App;
+
 function follow_widget($value = "") {
 
        return replace_macros(get_markup_template('follow.tpl'), array(
@@ -35,7 +37,8 @@ function findpeople_widget() {
                '$suggest' => t('Friend Suggestions'),
                '$similar' => t('Similar Interests'),
                '$random' => t('Random Profile'),
-               '$inv' => t('Invite Friends')
+               '$inv' => t('Invite Friends'),
+        'directory' => t('View Global Directory')
        ));
 
 }
@@ -49,7 +52,7 @@ function unavailable_networks() {
                $networks[] = NETWORK_APPNET;
        }
 
-       if (!plugin_enabled("fbpost") AND !plugin_enabled("facebook")) {
+       if (!plugin_enabled("fbpost") && !plugin_enabled("facebook")) {
                $networks[] = NETWORK_FACEBOOK;
        }