Changeset 1231
- Timestamp:
- 07/31/09 11:01:35 (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/templates/default/config.tpl
r689 r1231 12 12 <tr bgcolor="{row_off}"> 13 13 <td colspan="2"><b>{lang_ExpressoMail_settings}</b></td> 14 </tr> 15 <tr class="{row_on}"> 16 <td>{lang_Would_you_like_to_use_expresso_offline?}:</td> 17 <td> 18 <select name="newsettings[enable_expresso_offline]"> 19 <option value="">{lang_No}</option> 20 <option value="True"{selected_enable_expresso_offline_True}>{lang_Yes}</option> 21 </select> 22 </td> 14 23 </tr> 15 24 <tr class="{row_off}"> -
trunk/preferences/index.php
r35 r1231 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.