".$msg["visionneuse_admin_update"].""; $form = " $message

".$msg["visionneuse_admin_mimetype"]."

"; $i=0; foreach($class_param->mimetypeClasses as $mimetype => $classes){ $form.=" "; $i++; } $form.="
".$msg["visionneuse_param_mimetype"]." ".$msg["visionneuse_param_class_dispo"]."
$mimetype


"; 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 = mysql_query($rqt); }