28if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
40 echo
$act->Display(
'READ',
false,
"ajax",
"");
42 $action=
"do.php?".http_build_query(array(
"gDossier"=>Dossier::id(),
"ag_id"=>
$ag_id,
"ac"=>
$menu->get(
'code_follow'),
"sa"=>
"detail"));
45<a href=
"<?php echo $action?>" target=
"_blank" class=
"smallbutton"><?php echo
_(
"Modifier")?> </a>
50 $forbidden =
_(
"Ce document n'est pas accessible");
52 <div
style=
"margin:0px;padding:0px;background-color:red;text-align:center;">
53 <
h2 class=
"error"><?php echo $forbidden ?></
h2>;
60header(
'Content-type: text/xml; charset=UTF-8');
62<?xml version=
"1.0" encoding=
"UTF-8"?>
h2($p_string, $p_class="", $raw="")
global $g_user
if no group available , then stop
if(headers_sent() &&DEBUGNOALYSS > 0) $html
_("actif, passif,charge,...")
class_action for manipulating actions action can be :
for($e=0; $e< count($afiche); $e++) exit
escape_xml($p_xml)
When data are transfered thanks ajax in a xml document, the xml can not contains some character,...