Ignore:
Timestamp:
Sep 21, 2012, 6:36:42 PM (12 years ago)
Author:
mistic100
Message:

new option to display thumbnails caption at mouseover

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GThumb/main.inc.php

    r16318 r18124  
    3333{
    3434  global $conf, $user, $page, $template;
     35 
     36  // new param in 2.4.c
     37  if (!isset($conf['GThumb']['show_thumbnail_caption']))
     38  {
     39    $conf['GThumb']['show_thumbnail_caption'] = true;
     40    conf_update_param('GThumb', serialize($conf['GThumb']));
     41  }
     42 
    3543
    3644  $template->set_prefilter('index', 'GThumb_prefilter');
     
    4048  $user['nb_image_page'] = $conf['GThumb']['nb_image_page'];
    4149  $page['nb_image_page'] = $conf['GThumb']['nb_image_page'];
     50  $conf['show_thumbnail_caption'] = $conf['GThumb']['show_thumbnail_caption'];
    4251}
    4352
Note: See TracChangeset for help on using the changeset viewer.