Ignore:
Timestamp:
Dec 9, 2011, 4:25:31 PM (12 years ago)
Author:
patdenice
Message:

Bug corrected with PWG Stuffs.

File:
1 edited

Legend:

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

    r12710 r12712  
    1818$conf['GThumb'] = unserialize($conf['GThumb']);
    1919
     20// RV Thumbnails Scroller
     21if (isset($_GET['rvts']))
     22{
     23  $conf['GThumb']['big_thumb'] = false;
     24  add_event_handler('loc_end_index_thumbnails', 'process_GThumb', 50, 2);
     25}
     26
    2027add_event_handler('loc_begin_index', 'GThumb_init', 60);
    21 add_event_handler('loc_end_index_thumbnails', 'process_GThumb', 50, 2);
    2228add_event_handler('ws_add_methods', 'add_gthumb_thumbnails_method');
    2329add_event_handler('get_admin_plugin_menu_links', 'GThumb_admin_menu');
     
    2834
    2935  $template->set_prefilter('index', 'GThumb_prefilter');
     36
     37  add_event_handler('loc_end_index_thumbnails', 'process_GThumb', 50, 2);
    3038
    3139  $user['nb_image_page'] = $conf['GThumb']['nb_image_page'];
     
    4351{
    4452  global $template, $conf;
    45 
    46   if (isset($_GET['rvts']))
    47   {
    48     $conf['GThumb']['big_thumb'] = false;
    49   }
    5053
    5154  $template->set_filename( 'index_thumbnails', realpath(GTHUMB_PATH.'template/gthumb.tpl'));
Note: See TracChangeset for help on using the changeset viewer.