Changeset 29943
- Timestamp:
- Oct 9, 2014, 11:18:58 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Fotorama/main.inc.php
r29928 r29943 25 25 else 26 26 { 27 add_event_handler('loc_end_picture', 'Fotorama_end_picture'); 28 add_event_handler('loc_end_page_header', 'Fotorama_end_page_header'); 27 if ($conf['light_slideshow']) 28 { 29 add_event_handler('loc_end_picture', 'Fotorama_end_picture'); 30 add_event_handler('loc_end_page_header', 'Fotorama_end_page_header'); 31 } 29 32 } 30 33 … … 88 91 } 89 92 90 if ($page['slideshow'] and $conf['light_slideshow'])93 if ($page['slideshow']) 91 94 { 92 95 $query = ' … … 100 103 101 104 $current = $template->get_template_vars('current'); 105 print_r($current); 102 106 $type = $current['selected_derivative']->get_type(); 103 107 $defined = ImageStdParams::get_defined_type_map(); … … 198 202 } 199 203 200 if (isset($page['slideshow']) and $page['slideshow'] and $conf['light_slideshow'])204 if (isset($page['slideshow']) and $page['slideshow']) 201 205 { 202 206 $template->clear_assign('page_refresh');
Note: See TracChangeset
for help on using the changeset viewer.