22if (!defined(
'ALLOWED'))
23 die(
'Appel direct ne sont pas permis');
33if (
$g_user->check_module (
"CMCARD")==0)
45$cat->set_callback(
"ajax_misc.php");
47$cat->add_json_param(
"op",
"template_cat_card");
54 header(
'Content-type: text/xml; charset=UTF-8');
55 echo
$cat->ajax_input()->saveXML();
59 header(
'Content-type: text/xml; charset=UTF-8');
60 echo
$cat->ajax_save()->saveXML();
61 if (
$p_id == -1 &&
$cat->get_table()->getp(
"frd_id")!=-1)
63 $cat->add_mandatory_attr();
68 header(
'Content-type: text/xml; charset=UTF-8');
69 echo
$cat->ajax_delete()->saveXML();
global $g_user
if no group available , then stop
if( $g_user->check_module("CMCARD")==0) $http
ajax_template_cat_card add security , accessible only for CFGCARDCAT
static id()
return the 'gDossier' value after a check
Manage the template of card category.