Changeset 13115 for trunk/include


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

Location:
trunk/include
Files:
2 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),
  • trunk/include/config_default.inc.php

    r12908 r13115  
    193193// show_thumbnail_caption : on thumbnails page, show thumbnail captions ?
    194194$conf['show_thumbnail_caption'] = true;
    195 
    196 // show_picture_name_on_title : on picture presentation page, show picture
    197 // name ?
    198 $conf['show_picture_name_on_title'] = true;
    199195
    200196// display_fromto: display the date creation bounds of a
Note: See TracChangeset for help on using the changeset viewer.