Changeset 12712 for extensions/GThumb/main.inc.php
- Timestamp:
- Dec 9, 2011, 4:25:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GThumb/main.inc.php
r12710 r12712 18 18 $conf['GThumb'] = unserialize($conf['GThumb']); 19 19 20 // RV Thumbnails Scroller 21 if (isset($_GET['rvts'])) 22 { 23 $conf['GThumb']['big_thumb'] = false; 24 add_event_handler('loc_end_index_thumbnails', 'process_GThumb', 50, 2); 25 } 26 20 27 add_event_handler('loc_begin_index', 'GThumb_init', 60); 21 add_event_handler('loc_end_index_thumbnails', 'process_GThumb', 50, 2);22 28 add_event_handler('ws_add_methods', 'add_gthumb_thumbnails_method'); 23 29 add_event_handler('get_admin_plugin_menu_links', 'GThumb_admin_menu'); … … 28 34 29 35 $template->set_prefilter('index', 'GThumb_prefilter'); 36 37 add_event_handler('loc_end_index_thumbnails', 'process_GThumb', 50, 2); 30 38 31 39 $user['nb_image_page'] = $conf['GThumb']['nb_image_page']; … … 43 51 { 44 52 global $template, $conf; 45 46 if (isset($_GET['rvts']))47 {48 $conf['GThumb']['big_thumb'] = false;49 }50 53 51 54 $template->set_filename( 'index_thumbnails', realpath(GTHUMB_PATH.'template/gthumb.tpl'));
Note: See TracChangeset
for help on using the changeset viewer.