function get_rfid_js_header()
{
    global $pmb_rfid_driver, $pmb_rfid_serveur_url, $pmb_rfid_library_code, $pmb_rfid_afi_security_codes;
    global $rfid_js_header;
    global $base_path;
    $codes_afi = explode(",", $pmb_rfid_afi_security_codes);
    $rfid_js_header = "\n\t<script type='text/javascript'>\n\t\turl_serveur_rfid=\"" . $pmb_rfid_serveur_url . "\";\n\t\tSerialPort=\"" . get_rfid_port() . "\";\n\t\tLibraryCode='{$pmb_rfid_library_code}';\n\t\trfid_afi_security_active='" . $codes_afi[0] . "';\n\t\trfid_afi_security_off='" . $codes_afi[1] . "';\n\t</script>\n\t<script type='text/javascript' src='{$base_path}/javascript/pmbtoolkit.js'></script>\n \t<script src='{$base_path}/javascript/soap.js'></script>\n\t<script src='{$base_path}/javascript/rfid/rfid_pret.js'></script>";
    $driver_path = $base_path . "/javascript/rfid/" . $pmb_rfid_driver;
    if (is_dir($driver_path)) {
        if ($dh = opendir($driver_path)) {
            while (($file = readdir($dh)) !== false) {
                if (filetype($driver_path . "/" . $file) == 'file') {
                    if (substr($file, -3) == ".js") {
                        $rfid_js_header .= "<script src='" . $driver_path . "/" . $file . "'></script>\n";
                    }
                }
            }
            closedir($dh);
        }
    }
}
Example #2
0
// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: cart.tpl.php,v 1.51 2015-11-04 10:08:12 jpermanne Exp $
if (stristr($_SERVER['REQUEST_URI'], ".tpl.php")) {
    die("no access");
}
require_once "{$include_path}/templates/export_param.tpl.php";
// templates pour la gestion des paniers
// template pour le form de création d'un panier
$cart_form = "\n<script type=\"text/javascript\">\nfunction test_form(form)\n{\n\tif(form.cart_name.value.length == 0)\n\t{\n\t\talert(\"{$msg['caddie_name_oblig']}\");\n\t\treturn false;\n\t}\n\treturn true;\n}\n\nfunction show_hide_acces_rapide(selected_value) {\n\tif (selected_value == 'NOTI') {\n\t\tdocument.getElementById('div_acces_rapide').style.visibility='visible';\n\t} else {\n\t\tdocument.getElementById('div_acces_rapide').style.visibility='hidden';\n\t}\n}\n</script>\n\n<form class='form-{$current_module}' name='cart_form' method='post' action='!!formulaire_action!!'>\n<h3>{$msg['new_cart']}</h3>\n<div class='form-contenu'>\n<!--\ttype\t-->\n<!--memo_contexte-->\n<div class='row'>\n\t<label class='etiquette' for='form_type'>{$msg['caddie_name']}</label>\n\t</div>\n<div class='row'>\n\t<input type='text' class='saisie-80em' name='cart_name' value='' />\n\t</div>\n<div class='row'>\n\t<label class='etiquette' for='form_type'>{$msg['caddie_type']}</label>\n\t</div>\n<div class='row'>\n\t!!cart_type_select!!\n\t</div>\n<div class='row'>\n\t<label class='etiquette' for='form_type'>{$msg['caddie_comment']}</label>\n\t</div>\n<div class='row'>\n\t<input type='text' class='saisie-80em' name='cart_comment' value='' />\n\t</div>\n<div class='row'>\n\t<label class='etiquette' for='form_type'>{$msg['caddie_autorisations']}</label>\n\t\t<input type='button' class='bouton_small' value='" . $msg['tout_cocher_checkbox'] . "' onclick='check_checkbox(document.getElementById(\"auto_id_list\").value,1);' align='middle'>\n\t\t<input type='button' class='bouton_small' value='" . $msg['tout_decocher_checkbox'] . "' onclick='check_checkbox(document.getElementById(\"auto_id_list\").value,0);' align='middle'>\n\t</div>\n<div class='row'>\n\t!!autorisations_users!!\n</div>\n<div class='row'>\n\t<label class='etiquette' for='form_type'>" . $msg['caddie_classement_list'] . "</label>\n</div>\n<div class='row'>\n\t<select data-dojo-type='dijit/form/ComboBox' id='classementGen_!!object_type!!' name='classementGen_!!object_type!!'>\n\t\t!!classements_liste!!\n\t</select>\n</div>\n<div id='div_acces_rapide' class='row'>\n\t<label class='etiquette' for='form_type'>" . $msg["caddie_fast_access"] . "</label>&nbsp;<input type='checkbox' name='acces_rapide' >\n</div>\n</div>\n<!--\tboutons\t-->\n<div class='row'>\n\t<input type='button' class='bouton' value='{$msg['76']}' onClick=\"history.go(-1);\">\n\t<input type='submit' value='{$msg['77']}' class='bouton' onClick=\"return test_form(this.form)\" />\n\t<input type='hidden' name='form_actif' value='1'>\n\t</div>\n</form>\n<script type=\"text/javascript\">\n\t\tdocument.forms['cart_form'].elements['cart_name'].focus();\n</script>\n";
$cart_edit_form = "\n<script type=\"text/javascript\">\nfunction test_form(form)\n{\n\tif(form.cart_name.value.length == 0)\n\t{\n\t\talert(\"{$msg['caddie_name_oblig']}\");\n\t\treturn false;\n\t}\n\treturn true;\n}\n</script>\n\n<form class='form-{$current_module}' name='cart_form' method='post' action='!!formulaire_action!!'>\n<h3>{$msg['edit_cart']}</h3>\n<div class='form-contenu'>\n<!--\ttype\t-->\n<div class='row'>\n\t<label class='etiquette' for='form_type'>{$msg['caddie_name']}</label>\n\t</div>\n<div class='row'>\n\t<input type='text' class='saisie-80em' name='cart_name' value='!!name!!' />\n\t</div>\n<div class='row'>\n\t<label class='etiquette' for='form_type'>{$msg['caddie_type']}</label>\n\t</div>\n<div class='row'>\n\t!!cart_type!!\n\t</div>\n<div class='row'>\n\t<label class='etiquette' for='form_type'>{$msg['caddie_comment']}</label>\n\t</div>\n<div class='row'>\n\t<input type='text' class='saisie-80em' name='cart_comment' value='!!comment!!' />\n\t</div>\n<div class='row'>\n\t<label class='etiquette' for='form_type'>{$msg['caddie_autorisations']}</label>\n\t<input type='button' class='bouton_small' value='" . $msg['tout_cocher_checkbox'] . "' onclick='check_checkbox(document.getElementById(\"auto_id_list\").value,1);' align='middle'>\n\t<input type='button' class='bouton_small' value='" . $msg['tout_decocher_checkbox'] . "' onclick='check_checkbox(document.getElementById(\"auto_id_list\").value,0);' align='middle'>\n\t</div>\n<div class='row'>\n\t!!autorisations_users!!\n</div>\n<div class='row'>\n\t<label class='etiquette' for='form_type'>" . $msg['caddie_classement_list'] . "</label>\n</div>\n<div class='row'>\n\t<select data-dojo-type='dijit/form/ComboBox' id='classementGen_!!object_type!!' name='classementGen_!!object_type!!'>\n\t\t!!classements_liste!!\n\t</select>\n</div>\n<div id='acces_rapide' class='row'>\n\t!!acces_rapide!!\n</div>\n</div>\n<!--\tboutons\t-->\n<!-- liaisons --> \n<div class='row'>\n\t<div class='left'>\n\t\t<input type='button' class='bouton' value='{$msg['76']}' onClick=\"document.location='!!formulaire_annuler!!';\">&nbsp;\n\t\t<input type='submit' value='{$msg['77']}' class='bouton' onClick=\"return test_form(this.form)\" />\n\t\t<input type='hidden' name='form_actif' value='1'>\n\t</div>\n\t<div class='right'>\n\t\t<input type='button' class='bouton' value=' {$msg['supprimer']} ' onClick=\"javascript:confirmation_delete(!!idcaddie!!,'!!name_suppr!!')\" />\n\t</div>\n</div>\n<div class='row'></div>\n</form>\n<script type=\"text/javascript\">\n\t\tdocument.forms['cart_form'].elements['cart_name'].focus();\n</script>\n";
$liaison_tpl = "\n<div id='el0Parent' class='parent' >\n<h3>\n<img src='./images/plus.gif' class='img_plus' align='bottom' name='imEx' id='el0Img' title='{$msg['caddie_used_in']}' border='0' onClick=\"expandBase('el0', true); return false;\" />\n{$msg['caddie_used_in']}\n</h3>\n</div>\n<div id='el0Child' class='child'>\n<!-- info_liaisons -->\n</div>\n<div class='row'>&nbsp;</div>";
// $expl_cb_caddie_tmpl : template pour le form de saisie code-barre
if ($pmb_rfid_activate == 1 && $pmb_rfid_serveur_url) {
    if (!$rfid_port) {
        $rfid_port = get_rfid_port();
    }
    $rfid_script = "\n\t\t{$rfid_js_header}\n\t\t<script type='text/javascript'>\n\t\t\tvar cb_lu =new Array();\t\n\t\t\tsetTimeout(\"init_rfid_read_cb(0,f_expl);\",0);;\n\t\t\t\n\t\t\tfunction f_expl(cb) {\n\t\t\t\t// il y a une ou plusieurs étiquette rfid\n\t\t\t\tfor (i=0; i < cb.length; i++) {\t\t\t\t\t\n\t\t\t\t\t//alert ( cb[i]);\n\t\t\t\t\tif(!cb_lu[ cb[i]]) Ajax_add_cb( cb[i]);\n\t\t\t\t\tcb_lu[ cb[i]]=1;\n\t\t\t\t}\n\t\t\t\t//document.getElementById('form_cb_expl').value='';\t\n\t\t\t\t//document.getElementById('form_cb_expl').focus();\n\t\t\t}\n\n\t\t\tfunction Ajax_add_cb(cb_doc) {\n\t\t\t\tvar req_add = new http_request();\t\t\n\t\t\t\t// Construction de la requette \t\t\t\n\t\t\t\tvar url= './ajax.php?module=catalog&categ=caddie&sub={$sub}&moyen=douchette&action=add_item&idcaddie=!!idcaddie!!&form_cb_expl='+cb_doc;\n\n\t\t\t\t// Exécution de la requette POST\n\t\t\t\tif(req_add.request(url,1)){\n\t\t\t\t\t// Il y a une erreur. Afficher le message retourné\n\t\t\t\t\talert ( req_add.get_text() );\t\t\t\n\t\t\t\t}else { \n\t\t\t\t\t// commit\n\t\t\t\t\tvar xml = req_add.get_xml();\t\t\t\t\n\t\t\t\t\tvar param= XMl_to_array(xml, 'param');\n\t\t\t\t\t//alert ('!! '+param['nb_item']);\n\t\t\t\t\tdocument.getElementById('nb_item').innerHTML=param['nb_item'];\n\t\t\t\t\tdocument.getElementById('nb_item_pointe').innerHTML=param['nb_item_pointe'];\n\t\t\t\t\tdocument.getElementById('nb_item_base').innerHTML=param['nb_item_base'];\n\t\t\t\t\tdocument.getElementById('nb_item_base_pointe').innerHTML=param['nb_item_base_pointe'];\n\t\t\t\t\tdocument.getElementById('nb_item_blob').innerHTML=param['nb_item_blob'];\n\t\t\t\t\tdocument.getElementById('nb_item_blob_pointe').innerHTML=param['nb_item_blob_pointe'];\n\t\t\t\t\tone_more_ligne (param);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfunction one_more_ligne (param) {\n\t\t\t\ttr = document.createElement('TR');\n\t\t\t\t\n\t\t\t\t//message\n\t\t\t\tvar td = document.createElement('TD');\n\t\t\t\ttd.setAttribute('class','erreur');\n\t\t\t\ttd.appendChild(document.createTextNode(param['message_ajout_expl']));\t\n\t\t\t\ttr.appendChild(td);\n\n\t\t\t\t//exemplaire\n\t\t\t\tvar td = document.createElement('TD');\n\t\t\t\tvar obj_1 = document.createElement('a');\n\t\t\t\tif(param['expl_id']>0) {\n\t\t\t\t\tobj_1.setAttribute('href', './catalog.php?categ=edit_expl&id='+param['expl_notice']+'&expl_id='+param['expl_id']);\t\t\t\t\t\t\n\t\t\t\t\tobj_1.appendChild(document.createTextNode(param['form_cb_expl'])); \n\t\t\t\t\ttd.appendChild(obj_1);\n\t\t\t\t} else {\n\t\t\t\t\ttd.appendChild(document.createTextNode(param['form_cb_expl']));\t\n\t\t\t\t}\n\t\t\t\ttr.appendChild(td);\n\t\t\t\t\n\t\t\t\t//Notice\n\t\t\t\tvar td = document.createElement('TD');\n\t\t\t\tif(param['expl_id']>0) {\n\t\t\t\t\tvar obj_1 = document.createElement('a');\t\t\t\n\t\t\t\t\tobj_1.setAttribute('href', './catalog.php?categ=isbd&id='+param['expl_notice']);\n\t\t\t\t\tobj_1.appendChild(document.createTextNode(param['titre'])); \n\t\t\t\t\ttd.appendChild(obj_1);\n\t\t\t\t}\n\t\t\t\ttr.appendChild(td);\n\t\t\t\t\n\t\t\t\tdocument.getElementById('table_cb').appendChild(tr);\n\t\t\t}\n\t\t</script>\n";
    $table_cb = "\t\t\n\t\t<div class='row'>\n\t\t\t<table id='table_cb' name='table_cb'>\n\t\t\t</table>\n\t\t</div>\n\t\t";
} else {
    $rfid_script = '';
    $table_cb = '';
}
$expl_cb_caddie_tmpl = "\n{$rfid_script}\n!!script!!\n<h3>!!title!!</h3>\n<form class='form-{$current_module}' name='saisie_cb_ex' method='post' action='!!form_action!!' onSubmit='return test_form(this)'>\n<h3>!!titre_formulaire!!</h3>\n<div class='form-contenu'>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_cb_expl'>!!message!!</label>\n\t\t</div>\n\t<div class='row'>\n\t\t<input class='saisie-20em' type='text' id='form_cb_expl' name='form_cb_expl' value=''  />\n\t\t</div>\n\t</div>\n<div class='row'>\n\t<input type='submit' class='bouton' value='{$msg['502']}' />\n\t</div>\n</form>\n{$table_cb}\n<script type='text/javascript'>\ndocument.forms['saisie_cb_ex'].elements['form_cb_expl'].focus();\n</script>\n";
$begin_result_expl_liste_unique = "\n<script type=\"text/javascript\" src=\"./javascript/tablist.js\"></script>\n";
// $cart_procs_form : template form procédures stockées
$cart_procs_form = "\n<form class='form-{$current_module}' name='maj_proc' method='post' action='!!action!!'>\n<h3>!!form_title!!</h3>\n<!--\tContenu du form\t-->\n<div class='form-contenu'>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_type'>{$msg['caddie_procs_type']}</label>\n\t\t</div>\n\t<div class='row'>\n\t\t<select name='f_proc_type'>\n\t\t<option value='SELECT'>{$msg['caddie_procs_type_SELECT']}</option>\n\t\t<option value='ACTION'>{$msg['caddie_procs_type_ACTION']}</option>\n\t\t</select>\n\t\t</div>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_name'>{$msg['705']}</label>\n\t\t</div>\n\t<div class='row'>\n\t\t<input type='text' name='f_proc_name' value='!!name!!' maxlength='255' class='saisie-50em' />\n\t\t</div>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_code'>{$msg['706']}</label>\n\t\t</div>\n\t<div class='row'>\n\t\t<textarea cols='70' rows='8' name='f_proc_code'>!!code!!</textarea><br />\n\t\t" . $msg['cart_ex_selection'] . " select notice_id as <b>object_id</b>, <b>'NOTI'</b> as object_type from notices where ...<br />\n\t\t'NOTI' / 'EXPL' / 'BULL'<br />\n\t\t" . $msg['cart_ex_action'] . " update exemplaires set expl_statut=!!nouveau_statut!! where expl_id in (CADDIE(<b>EXPL</b>))<br />\n\t\tEXPL / NOTI / BULL\n\t\t</div>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_comment'>{$msg['707']}</label>\n\t\t</div>\n\t<div class='row'>\n\t\t<input type='text' name='f_proc_comment' value='!!comment!!' maxlength='255' class='saisie-50em' />\n\t\t</div>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_comment'>{$msg['procs_autorisations']}</label>\n\t\t<input type='button' class='bouton_small' value='" . $msg['tout_cocher_checkbox'] . "' onclick='check_checkbox(document.getElementById(\"auto_id_list\").value,1);' align='middle'>\n\t\t<input type='button' class='bouton_small' value='" . $msg['tout_decocher_checkbox'] . "' onclick='check_checkbox(document.getElementById(\"auto_id_list\").value,0);' align='middle'>\n\t\t</div>\n\t<div class='row'>\n\t\t!!autorisations_users!!\n\t\t</div>\n\t</div>\n<!-- Boutons -->\n<div class='row'>\n\t<input type='button' class='bouton' value='{$msg['76']}' onClick='document.location=\"./catalog.php?categ=caddie&sub=gestion&quoi=procs\"' />&nbsp;\n\t<input type='submit' class='bouton' value='{$msg['77']}' onClick=\"return test_form(this.form)\" />&nbsp;\n\t</div>\n</form>\n<script type='text/javascript'>document.forms['maj_proc'].elements['f_proc_name'].focus();</script>\n";
$cart_proc_view_remote = "\n<h3><span onclick='menuHide(this,event)'>>!!form_title!!</span></h3>\n<!--    Contenu du form    -->\n<div class='form-contenu'>\n\t<div class='row'>\n\t\t!!additional_information!!\n\t</div>\n\t<div class=colonne2>\n\t\t<div class='row'>\n\t\t<label class='etiquette' for='form_name'>{$msg['remote_procedures_procedure_name']}</label>\n\t\t</div>\n\t\t<div class='row'>\n\t\t<input type='text' readonly name='f_proc_name' value='!!name!!' maxlength='255' class='saisie-50em' />\n\t\t</div>\n\t</div>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_code'>{$msg['caddie_procs_type']}</label>\n\t\t</div>\n\t<div class='row'>\n\t\t!!ptype!!\n\t</div>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_code'>{$msg['remote_procedures_procedure_sql']}</label>\n\t\t</div>\n\t<div class='row'>\n\t\t<textarea cols='80' readonly rows='8' name='f_proc_code'>!!code!!</textarea>\n\t</div>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_comment'>{$msg['remote_procedures_procedure_comment']}</label>\n\t\t</div>\n\t<div class='row'>\n\t\t<input type='text' readonly name='f_proc_comment' value='!!comment!!' maxlength='255' class='saisie-50em' />\n\t</div>\n\t<div class='row'>\n\t\t!!parameters_title!!\n\t</div>\n\t<div class='row'>\n\t\t!!parameters_content!!\n\t</div>\n</div>\n<!-- Boutons -->\n<div class='row'>\n\t<div class='left'>\n\t\t<input type='button' class='bouton' value='" . $msg["remote_procedures_back"] . "' onClick='document.location=\"./catalog.php?categ=caddie&sub=gestion&quoi=remote_procs\"' />&nbsp;\n\t\t<input class='bouton' type='button' value=\"" . $msg["remote_procedures_import"] . "\" onClick=\"document.location='./catalog.php?categ=caddie&sub=gestion&quoi=remote_procs&action=import_remote&id=!!id!!'\" />\n\t\t</div>\n</div>\n<div class='row'></div>\n<script type='text/javascript'>document.forms['maj_proc'].elements['f_proc_name'].focus();</script>";
// template form édition procédures stockées
$cart_procs_edit_form = "\n<hr /><form class='form-{$current_module}' name='maj_proc' method='post' action='!!action!!'>\n<h3>!!form_title!!</h3>\n<!--\tContenu du form\t-->\n<div class='form-contenu'>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_type'>{$msg['caddie_procs_type']}</label>\n\t\t</div>\n\t<div class='row'>\n\t\t!!type!!\n\t\t</div>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_name'>{$msg['705']}</label>\n\t\t</div>\n\t<div class='row'>\n\t\t<input type='text' name='f_proc_name' value='!!name!!' maxlength='256' class='saisie-50em' />\n\t\t</div>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_code'>{$msg['706']}</label>\n\t\t</div>\n\t<div class='row'>\n\t\t<textarea cols='70' rows='8' name='f_proc_code'>!!code!!</textarea><br />\n\t\t" . $msg['cart_ex_selection'] . " select notice_id as <b>object_id</b>, <b>'NOTI'</b> as object_type from notices where ...<br />\n\t\t'NOTI' / 'EXPL' / 'BULL'<br />\n\t\t" . $msg['cart_ex_action'] . " update exemplaires set expl_statut=!!nouveau_statut!! where expl_id in (CADDIE(<b>EXPL</b>))<br />\n\t\tEXPL / NOTI / BULL\n\t\t</div>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_comment'>{$msg['707']}</label>\n\t\t</div>\n\t<div class='row'>\n\t\t<input type='text' name='f_proc_comment' value='!!comment!!' maxlength='256' class='saisie-50em' />\n\t\t</div>\n\t<div class='row'>\n\t\t<label class='etiquette' for='form_comment'>{$msg['procs_autorisations']}</label>\n\t\t<input type='button' class='bouton_small' value='" . $msg['tout_cocher_checkbox'] . "' onclick='check_checkbox(document.getElementById(\"auto_id_list\").value,1);' align='middle'>\n\t\t<input type='button' class='bouton_small' value='" . $msg['tout_decocher_checkbox'] . "' onclick='check_checkbox(document.getElementById(\"auto_id_list\").value,0);' align='middle'>\n\t\t</div>\n\t<div class='row'>\n\t\t!!autorisations_users!!\n\t\t</div>\n\t</div>\n<!-- Boutons -->\n<div class='row'>\n\t<div class='left'>\n\t\t<input type='button' class='bouton' value='{$msg['76']}' onClick='document.location=\"./catalog.php?categ=caddie&sub=gestion&quoi=procs\"' />&nbsp;\n\t\t<input type='submit' class='bouton' value='{$msg['77']}' onClick=\"return test_form(this.form)\" />&nbsp;\n\t\t!!exec_button!!\n\t</div>\n\t<div class='right'>\n\t\t<input type='button' class='bouton' value=' {$msg['supprimer']} ' onClick=\"javascript:confirmation_delete(!!id!!,'!!name_suppr!!')\" />\n\t</div>\n</div>\n<div class='row'></div>\n</form>\n<script type='text/javascript'>document.forms['maj_proc'].elements['f_proc_name'].focus();</script>\n";
$notice_linked_suppr_form = "\n<div class='row'>&nbsp;</div>\n<div class='row'>Notices en g&eacute;n&eacute;ral: </div>\n<div class='row'>\n\t<input type='checkbox' name='supp_notice_linked' value='1'>" . $msg["caddie_supp_notice_linked"] . "\n</div>\n<div class='row'>\n\t<input type='checkbox' name='supp_notice_linked_expl_num' value='1'>" . $msg["caddie_supp_notice_linked_expl_num"] . "\n</div>\n<div class='row'>\n\t<input type='checkbox' name='supp_notice_linked_cascade' value='1'>" . $msg["caddie_supp_notice_linked_cascade"] . "\n</div>\n<div class='row'>&nbsp;</div>\n<div class='row'>Notices de p&eacute;riodiques: </div>\n<div class='row'>\n\t<input type='checkbox' name='supp_notice_perio_abo' value='1'>" . $msg["caddie_supp_notice_perio_abo"] . "\n</div>\n<div class='row'>\n\t<input type='checkbox' name='supp_notice_perio_collstat' value='1'>" . $msg["caddie_supp_notice_perio_collstat"] . "\n</div>\n<div class='row'>\n\t<input type='checkbox' name='supp_notice_perio_modele' value='1'>" . $msg["caddie_supp_notice_perio_modele"] . "\n</div>\n";