Ignore:
Timestamp:
Feb 12, 2012, 11:02:59 AM (12 years ago)
Author:
rvelices
Message:

improvement of picture title on picture page, drop boxes on index page ...
sharpening uses a zider scale range

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_default.inc.php

    r12920 r13115  
    3838if (count($selection) > 0)
    3939{
    40   $rank_of = array_flip($page['items']);
     40  $rank_of = array_flip($selection);
    4141
    4242  $query = '
     
    4949  {
    5050    $row['rank'] = $rank_of[ $row['id'] ];
    51 
    52     array_push($pictures, $row);
     51    $pictures[] = $row;
    5352  }
    5453
     
    114113
    115114  $tpl_var = array_merge( $row, array(
    116     'TN_SRC' => DerivativeImage::thumb_url($row),
    117115    'TN_ALT' => htmlspecialchars(strip_tags($name)),
    118116    'TN_TITLE' => get_thumbnail_title($row, $name, $desc),
Note: See TracChangeset for help on using the changeset viewer.