3 namespace Friendica\Module\Search;
5 use Friendica\Content\Widget;
6 use Friendica\Core\L10n;
7 use Friendica\Module\BaseSearchModule;
8 use Friendica\Module\Login;
9 use Friendica\Util\Strings;
12 * Directory search module
14 class Directory extends BaseSearchModule
16 public static function content(array $parameters = [])
19 notice(L10n::t('Permission denied.'));
23 $search = Strings::escapeTags(trim(rawurldecode($_REQUEST['search'] ?? '')));
27 if (empty($a->page['aside'])) {
28 $a->page['aside'] = '';
31 $a->page['aside'] .= Widget::findPeople();
32 $a->page['aside'] .= Widget::follow();
34 return self::performSearch($search);