Source for file _ajax_user_autocomplete.php
Documentation is available at _ajax_user_autocomplete.php
* @package linea21.modules
* @author Simon Georget <simon@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
include_once('../lib/functions_auth.php');
//////////// Check Droits utilisateur ////////////
include_once('../config/define.php');
include_once('../workshop/'. SQL. '.inc.php');
include_once("../class/system/class.". SQL. ".php");
$sql_object = new $sql_entity;
$sql_object -> DBInitialise();
$sql_object -> DBConnexion();
foreach ($data as $i => $user)
$str_id = $user['user_login'];
$html_str = $user['user_login'] . ' ('. $user['profile_email']. ')';
$response[] = array($str_id, $str_id, null, $html_str);
header('Content-type: application/json');
|