22if (!defined(
'ALLOWED'))
23 die(
'Appel direct ne sont pas permis');
36 echo
$ex->getMessage();
50 case 'operation_tag_select':
60 $js=sprintf(
"onclick=\"show_tag('%s','%s','%s','j')\"",
Dossier::id(),
'',
'-1');
68 if (headers_sent()&& DEBUGNOALYSS > 0 )
74 header(
'Content-type: text/xml; charset=UTF-8');
78<?xml version=
"1.0" encoding=
"UTF-8"?>
85 case 'operation_tag_add':
91 $pref=
$http->request(
"ctl");
93 if (
$http->request(
"isgroup")==
't')
100 $aTag=
$cn->get_array(
"select t_id,t_tag ,t_color from jnt_tag_group_tag jtgt join tags on (tag_id=t_id) where tag_group_id=$1 order by 2 ",
101 [
$http->request(
"t_id",
"number")]);
117 if (headers_sent()&& DEBUGNOALYSS > 0)
123 header(
'Content-type: text/xml; charset=UTF-8');
127<?xml version=
"1.0" encoding=
"UTF-8"?>
135 case 'operation_tag_remove':
138 $pref=
$http->request(
"ctl");
146 if (headers_sent()&& DEBUGNOALYSS > 0)
152 header(
'Content-type: text/xml; charset=UTF-8');
156<?xml version=
"1.0" encoding=
"UTF-8"?>
record_log($p_message)
Record an error message into the log file of the server.
if(headers_sent() &&DEBUGNOALYSS > 0) $html
catch(Exception $ex) global $g_user
static id()
return the 'gDossier' value after a check
concerns the tags linked to an accountancy writing
escape_xml($p_xml)
When data are transfered thanks ajax in a xml document, the xml can not contains some character,...