<?php
+use Friendica\App;
+
function follow_widget($value = "") {
return replace_macros(get_markup_template('follow.tpl'), array(
'$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')
));
}
$networks[] = NETWORK_APPNET;
}
- if (!plugin_enabled("fbpost") AND !plugin_enabled("facebook")) {
+ if (!plugin_enabled("fbpost") && !plugin_enabled("facebook")) {
$networks[] = NETWORK_FACEBOOK;
}