Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
00021
00022 require_once 'class_tag.php';
00023 ob_start();
00024 $tag=new Tag($cn);
00025 $tag->select();
00026
00027
00028
00029 $js=sprintf("onclick=\"show_tag('%s','%s','%s','j')\"",Dossier::id(),'','-1');
00030 echo HtmlInput::button("tag_add", _("Ajout d'un tag"), $js);
00031
00032 $response= ob_get_clean();
00033 $html=escape_xml($response);
00034 header('Content-type: text/xml; charset=UTF-8');
00035 echo <<<EOF
00036 <?xml version="1.0" encoding="UTF-8"?>
00037 <data>
00038 <ctl></ctl>
00039 <code>$html</code>
00040 </data>
00041 EOF;
00042 exit();
00043
00044
00045 ?>