You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
445 B
22 lines
445 B
![]()
16 years ago
|
<?php
|
||
|
/**
|
||
|
* This class response to the Ajax calls
|
||
|
*
|
||
|
*/
|
||
|
require_once '../global.inc.php';
|
||
|
$action = $_GET['a'];
|
||
|
require_once api_get_path(LIBRARY_PATH).'usermanager.lib.php';
|
||
|
|
||
|
switch ($action) {
|
||
|
case 'search_tags':
|
||
|
|
||
|
/* For licensing terms, see /dokeos_license.txt */
|
||
|
$field_id = intval($_GET['field_id']);
|
||
|
$tag = $_GET['tag'];
|
||
|
echo UserManager::get_tags($tag, $field_id,'json','10');
|
||
|
break;
|
||
|
default:
|
||
|
echo '';
|
||
|
}
|
||
|
exit;
|
||
|
?>
|