Changeset 16690 for extensions/PWG_Stuffs/trunk/modules/Recent/main.inc.php
- Timestamp:
- Jul 13, 2012, 3:12:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PWG_Stuffs/trunk/modules/Recent/main.inc.php
r12453 r16690 3 3 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 4 4 5 global $page, $user, $conf , $template;5 global $page, $user, $conf; 6 6 7 7 $page_save = $page; 8 $tpl_save = $template->get_template_vars('THUMBNAILS');9 8 10 9 if (script_basename() == 'picture' … … 53 52 $page['section'] = 'category'; 54 53 54 $tpl_thumbnails_var = array(); 55 $pwg_stuffs_tpl_thumbnails_var = & $tpl_thumbnails_var; 55 56 include(PHPWG_ROOT_PATH.'include/category_default.inc.php'); 56 57 57 if (!empty($ tpl_thumbnails_var))58 if (!empty($pwg_stuffs_tpl_thumbnails_var)) 58 59 { 59 $block['thumbnails'] = $tpl_thumbnails_var; 60 $block['thumbnails'] = $pwg_stuffs_tpl_thumbnails_var; 61 $block['derivative_params'] = ImageStdParams::get_by_type(IMG_THUMB); 60 62 $block['TEMPLATE'] = 'stuffs_thumbnails.tpl'; 61 63 } 62 64 63 65 $page = $page_save; 64 $template->assign('THUMBNAILS', $tpl_save);65 66 66 67 ?>
Note: See TracChangeset
for help on using the changeset viewer.