".htmlentities($msg["cleaning_records_thumbnail"], ENT_QUOTES, $charset)."
";
$v_state .= "
".htmlentities($msg["cleaning_records_thumbnail"], ENT_QUOTES, $charset)." : ";
if(thumbnail::is_valid_folder('record')) {
$query = "select notice_id, thumbnail_url from notices where thumbnail_url like 'data:image%'";
$result = pmb_mysql_query($query);
if (pmb_mysql_num_rows($result)) {
while($row = pmb_mysql_fetch_object($result)) {
$created = thumbnail::create_from_base64($row->notice_id, 'records', $row->thumbnail_url);
if($created) {
$thumbnail_url = $opac_url_base."getimage.php?noticecode=&vigurl=";
$thumbnail_url .= "¬ice_id=".$row->notice_id;
$query = "update notices set thumbnail_url = '".addslashes($thumbnail_url)."', update_date=update_date where notice_id = ".$row->notice_id;
pmb_mysql_query($query);
}
}
}
$v_state.= "OK";
} else {
$v_state.= $msg['notice_img_folder_no_access'];
}
$spec = $spec - CLEAN_RECORDS_THUMBNAIL;
// mise à jour de l'affichage de la jauge
print netbase::get_display_final_progress();
print netbase::get_process_state_form($v_state, $spec, '', '2');