".$msg["visionneuse_admin_update"].""; } $form = "$message
"; print $form; } function update_mimetypeConf() { global $charset; global $mime_in, $mime_sel, $mimetypeConf; foreach ($mime_sel as $k => $value) { $mimetypeConf[$mime_in[$k]] = $value; } $rqt ="UPDATE parametres SET valeur_param = '".htmlspecialchars(addslashes(serialize($mimetypeConf)), ENT_QUOTES, $charset)."' WHERE type_param LIKE 'opac' AND sstype_param LIKE 'visionneuse_params' "; $res = pmb_mysql_query($rqt); }