Changeset 7540 for extensions/PWG_Stuffs/include
- Timestamp:
- Nov 1, 2010, 3:16:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PWG_Stuffs/include/class.inc.php
r7402 r7540 54 54 else return; 55 55 56 if (!$page['is_homepage']) 57 { 58 $query .= ' OR id = 0'; 59 } 60 56 61 $query .= ' 57 62 ORDER BY pos ASC;'; … … 73 78 { 74 79 $this->pos = 'end'; 75 if (!empty($module['datas'])76 and $datas = unserialize($module['datas'])77 and $datas['hide'])78 {79 add_event_handler('loc_end_index', 'hide_main_block');80 }81 80 continue; 82 81 } … … 103 102 $block['TEMPLATE'] = 'stuffs_'.strtolower($module['type']).'.tpl'; 104 103 $this->set_tpl_block($block, $module); 104 } 105 if ($this->pos == 'begin') 106 { 107 add_event_handler('loc_end_index', 'hide_main_block'); 105 108 } 106 109 }
Note: See TracChangeset
for help on using the changeset viewer.