fixes #224, batch manager, ability to configure default number of images per page

This commit is contained in:
plegall
2017-04-10 13:38:47 +02:00
parent 9f7363f12c
commit 1a348ab30b
3 changed files with 17 additions and 1 deletions
+4
View File
@@ -622,6 +622,10 @@ if (!empty($_GET['display']))
$page['nb_images'] = intval($_GET['display']);
}
}
elseif (in_array($conf['batch_manager_images_per_page_global'], array(20, 50, 100)))
{
$page['nb_images'] = $conf['batch_manager_images_per_page_global'];
}
else
{
$page['nb_images'] = 20;