Changeset 1235 for branches/2.0/preferences/index.php
- Timestamp:
- 07/31/09 15:35:33 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/preferences/index.php
r35 r1235 23 23 'pref' => 'index.tpl' 24 24 ); 25 26 //Check preferences that influences the hooks 27 $c = CreateObject('phpgwapi.config','expressoMail1_2'); 28 $c->read_repository(); 29 $current_config = $c->config_data; 30 $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['enable_expresso_offline'] = $current_config['enable_expresso_offline']; 25 31 26 32 $pref_tpl->set_file($templates); … … 136 142 $url = 'https://' . $_SERVER['HTTP_HOST'] . $GLOBALS['phpgw_info']['server']['webserver_url'] . '/preferences/changepassword.php'; 137 143 } 144 145 if($text == 'Expresso Offline' && 146 $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['enable_expresso_offline']!='True') 147 continue; 138 148 section_item($url,lang($text)); 139 149 }
Note: See TracChangeset
for help on using the changeset viewer.