Changeset 29834
- Timestamp:
- Sep 29, 2014, 6:20:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PWG_Stuffs/trunk/class.inc.php
r28915 r29834 80 80 function process_modules() 81 81 { 82 global $pwg_loaded_plugins, $conf ;82 global $pwg_loaded_plugins, $conf, $user; 83 83 84 84 foreach ($this->modules as $module) … … 88 88 $this->pos = 'end'; 89 89 $show = unserialize($module['datas']); 90 if (!$show and empty($conf['AP']['homepage']) )90 if (!$show and empty($conf['AP']['homepage']) and strpos($user['theme'], 'simple') !== 0) 91 91 { 92 92 add_event_handler('loc_end_index', 'hide_main_block');
Note: See TracChangeset
for help on using the changeset viewer.