mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes #224, batch manager, ability to configure default number of images per page
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user