3 require_once('include/security.php');
4 require_once('include/bbcode.php');
5 require_once('include/items.php');
8 function filer_content(&$a) {
14 $term = notags(trim($_GET['term']));
15 $item_id = (($a->argc > 1) ? notags(trim($a->argv[1])) : 0);
17 logger('filer: tag ' . $term . ' item ' . $item_id);
19 if($item_id && strlen($term))
20 file_tag_save_file(local_user(),$item_id,$term);