23 if (!defined(
'ALLOWED'))
24 die(
'Appel direct ne sont pas permis');
29 if ($g_user->check_module(
'CFGPCMN')==0)
31 $html=
h2(_(
'Action interdite'),
' class="notice"');
34 header(
'Content-type: text/xml; charset=UTF-8');
36 <?xml version=
"1.0" encoding=
"UTF-8"?>
40 <status>NOTALLOWED</status>
51 $pcmn_val=
$http->get(
'value',
"string");
68 $account->set_parameter(
'value', $pcmn_val);
71 $val->value=$account->get_parameter(
'value');
72 $parent->value=$account->get_parameter(
'parent');
73 $lib->value=$account->get_parameter(
'libelle');
74 $type->selected=$account->get_parameter(
'type');
77 require NOALYSS_TEMPLATE.
'/pcmn_update.php';
87 header(
'Content-type: text/xml; charset=UTF-8');
89 <?xml version=
"1.0" encoding=
"UTF-8"?>
98 catch (Exception $exc)
100 $html=$exc->getMessage();
102 header(
'Content-type: text/xml; charset=UTF-8');
104 <?xml version=
"1.0" encoding=
"UTF-8"?>
108 <status>NOTALLOWED</status>
if($g_user->check_module('CFGPCMN')==0) $http
Manage the account from the table tmp_pcmn.
h2($p_string, $p_class="", $raw="")
escape_xml($p_xml)
When data are transfered thanks ajax in a xml document, the xml can not contains some character...
function pcmn_update(p_dossier, p_val)
Display a box with accounting detail for update, delete or add, update the table account_tbl_id.