mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-04 08:52:20 +02:00
Fixes #272 missing md5sum
* dashboard: add warning if missing checksums * add a "compute all missing md5sum" option in batch manager (inspired by delete orphans) * progress bar when computing md5sums
This commit is contained in:
@@ -251,6 +251,18 @@ if ($nb_photos_in_caddie > 0)
|
||||
);
|
||||
}
|
||||
|
||||
// any photos with no md5sum ?
|
||||
$nb_no_md5sum = count(get_photos_no_md5sum());
|
||||
if ($nb_no_md5sum > 0)
|
||||
{
|
||||
$template->assign(
|
||||
array(
|
||||
'NB_NO_MD5SUM' => $nb_no_md5sum,
|
||||
'U_NO_MD5SUM' => $link_start.'batch_manager&filter=prefilter-no_sync_md5sum',
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
// any orphan photo?
|
||||
$nb_orphans = count(get_orphans());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user