9if ( !defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
32if (
$op ==
"tag_activate")
34 $tag_id=
$http->get(
"t_id");
37 $id=sprintf(
"tag_onoff%d",$tag_id);
39 if (
$data->getp(
't_actif') ==
'Y')
43 $return[
'code']=
'';
44 $return[
'style']=
'color:red';
48 $return[
'code']=
'';
49 $return[
'style']=
'color:green';
52 header(
"Content-type: text/json; charset: utf8",
true);
53 echo json_encode($return);
static id()
return the 'gDossier' value after a check
Tag operations or actions to linked them together.