mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 11:49:56 +03:00
bug 3074: no more than 50 photos per page on Batch Manager, unit mode (better fix expected with feature 3106)
git-svn-id: http://piwigo.org/svn/trunk@29349 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
f29a7f698c
commit
27e5977d85
2 changed files with 1 additions and 9 deletions
|
@ -132,16 +132,9 @@ $template->assign(
|
||||||
|
|
||||||
// how many items to display on this page
|
// how many items to display on this page
|
||||||
if (!empty($_GET['display']))
|
if (!empty($_GET['display']))
|
||||||
{
|
|
||||||
if ('all' == $_GET['display'])
|
|
||||||
{
|
|
||||||
$page['nb_images'] = count($page['cat_elements_id']);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
$page['nb_images'] = intval($_GET['display']);
|
$page['nb_images'] = intval($_GET['display']);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$page['nb_images'] = 5;
|
$page['nb_images'] = 5;
|
||||||
|
|
|
@ -43,7 +43,6 @@ jQuery("a.preview-box").colorbox();
|
||||||
<a href="{$U_ELEMENTS_PAGE}&display=5">5</a>
|
<a href="{$U_ELEMENTS_PAGE}&display=5">5</a>
|
||||||
| <a href="{$U_ELEMENTS_PAGE}&display=10">10</a>
|
| <a href="{$U_ELEMENTS_PAGE}&display=10">10</a>
|
||||||
| <a href="{$U_ELEMENTS_PAGE}&display=50">50</a>
|
| <a href="{$U_ELEMENTS_PAGE}&display=50">50</a>
|
||||||
| <a href="{$U_ELEMENTS_PAGE}&display=all">{'all'|@translate}</a>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue