Source for file _ajax_actor_autocomplete.php
Documentation is available at _ajax_actor_autocomplete.php
* @package linea21.modules
* @author Simon Georget <simon@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
include_once('../config/define.php');
//////////// Check Droits utilisateur ////////////
if (!$l21auth->hasRight('project')) ReloadIndex('admin');
include_once('../project/'. SQL. '.inc.php');
foreach ($data as $i => $value)
if(!empty($value['actor_name'])) {
$fullname = formatText($value['actor_name'], '2HTML');
$str_id = $user['actor_id'];
$response[] = array($str_id, $fullname, null, $fullname);
header('Content-type: application/json');
|