28if (!defined(
'ALLOWED'))
29 die(
'Appel direct ne sont pas permis');
40 echo $exc->getMessage();
41 error_log($exc->getTraceAsString());
48 record_log(__FILE__.
"security : access refused");
57$r.=
'<form id="search_card1_frm" method="GET" onsubmit="action_concerned_search_card(this);return false;">';
60$r.=
'<span style="margin-left:50px">';
61$r.=_(
'Fiche contenant').Icon_Action::infobulle(19);
66$select->value=
$cn->make_array(
"select ad_id, ad_text from attr_def where ad_search_followup = 1 order by 2 ",1);
68$r.=_(
"limité aux champs ").$select->input();
71$r.=dossier::hidden().HtmlInput::hidden(
'op2',
'add_concerned_card');
76$sel_Category->value=
$cn->make_array(
"select fd_id,fd_label from fiche_def order by 2",1);
85$r.=_(
"Fiches inactives").$is->input();
109$r.=
'<form id="search_card2_frm" method="POST" onsubmit="action_concerned_save_card(this);return false;" '
110 .
' style="height:45rem">';
112$r.=dossier::hidden().HtmlInput::hidden(
'op2',
'link_concerned_card').HtmlInput::hidden(
"op",
"card");
119 $ic->value=
$a[
$i][
'f_id'];
120 $ic->set_range(
"select_card_ck");
121 $array[
$i][
'checkbox']=$ic->input();
132require_once(NOALYSS_TEMPLATE.
'/card_multiple_result.php');
133echo
'<ul class="aligned-block">';
147if ( !headers_sent() ) { header(
'Content-type: text/xml; charset=UTF-8');}
else {echo
$response;echo
$html;}
149<?xml version=
"1.0" encoding=
"UTF-8"?>
record_log($p_message)
Record an error message into the log file of the server.
global $g_user
if no group available , then stop
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
for($i=0; $i< count($a); $i++) $accvis
h( $row[ 'oa_description'])
in follow-up , add multiple cards to an event, an action
Html Input , create a tag <SELECT> ... </SELECT> if readonly == true then display the label correspon...
escape_xml($p_xml)
When data are transfered thanks ajax in a xml document, the xml can not contains some character,...