Changeset 9581 for extensions/PWG_Stuffs/modules/Recent/main.inc.php
- Timestamp:
- Mar 9, 2011, 11:47:08 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PWG_Stuffs/modules/Recent/main.inc.php
r9369 r9581 78 78 79 79 // template thumbnail initialization 80 $template->set_filenames( array( 'pwgs_recent' => 'thumbnails.tpl',));81 82 80 trigger_action('loc_begin_index_thumbnails', $pictures); 83 $ tpl_thumbnails_var= array();81 $block['thumbnails'] = array(); 84 82 85 83 foreach ($pictures as $row) … … 143 141 } 144 142 145 $ tpl_thumbnails_var[] = $tpl_var;143 $block['thumbnails'][] = $tpl_var; 146 144 } 147 145 148 $tpl_thumbnails_var = trigger_event('loc_end_index_thumbnails', $tpl_thumbnails_var, $pictures); 149 $template->assign('thumbnails', $tpl_thumbnails_var); 146 $block['thumbnails'] = trigger_event('loc_end_index_thumbnails', $block['thumbnails'], $pictures); 150 147 151 $block['CONTENT'] = $template->parse('pwgs_recent', true); 152 $block['TEMPLATE'] = 'stuffs_recent.tpl'; 148 $block['TEMPLATE'] = 'stuffs_thumbnails.tpl'; 153 149 } 154 150
Note: See TracChangeset
for help on using the changeset viewer.