Changeset 29349 for trunk


Ignore:
Timestamp:
Sep 1, 2014, 10:35:09 AM (10 years ago)
Author:
plg
Message:

bug 3074: no more than 50 photos per page on Batch Manager, unit mode (better fix expected with feature 3106)

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_unit.php

    r28587 r29349  
    134134if (!empty($_GET['display']))
    135135{
    136   if ('all' == $_GET['display'])
    137   {
    138     $page['nb_images'] = count($page['cat_elements_id']);
    139   }
    140   else
    141   {
    142     $page['nb_images'] = intval($_GET['display']);
    143   }
     136  $page['nb_images'] = intval($_GET['display']);
    144137}
    145138else
  • trunk/admin/themes/default/template/batch_manager_unit.tpl

    r28765 r29349  
    4444    | <a href="{$U_ELEMENTS_PAGE}&amp;display=10">10</a>
    4545    | <a href="{$U_ELEMENTS_PAGE}&amp;display=50">50</a>
    46     | <a href="{$U_ELEMENTS_PAGE}&amp;display=all">{'all'|@translate}</a>
    4746  </p>
    4847
Note: See TracChangeset for help on using the changeset viewer.