1
0
Fork 0
friendica_2020-09-1_sharedH.../include/acl_selectors.php
2018-03-02 18:40:08 -05:00

21 lines
437 B
PHP

<?php
/**
* @file include/acl_selectors.php
*/
use Friendica\App;
use Friendica\Core\Acl;
use Friendica\Model\Contact;
require_once "mod/proxy.php";
function populate_acl($user = null, $show_jotnets = false) {
return Acl::getFullSelectorHTML($user, $show_jotnets);
}
function navbar_complete(App $a) {
$search = notags(trim($_REQUEST['search']));
$mode = $_REQUEST['smode'];
return Acl::contactAutocomplete($search, $mode);
}