Changeset 358 for trunk/expressoMail1_2/index.php
- Timestamp:
- 07/18/08 11:40:21 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/index.php
r336 r358 39 39 <script type="text/javascript" src="../phpgwapi/js/dJSWin/dJSWin.js?'.$update_version.'"></script>'; 40 40 41 //Enable/Disable VoIP Service 42 $voip_enabled = true; 41 //Enable/Disable VoIP Service -> Voip Server Config 42 $voip_enabled = false; 43 if($GLOBALS['phpgw_info']['server']['voip_groups']) { 44 $voip_groups = explode(",",$GLOBALS['phpgw_info']['server']['voip_groups']); 45 foreach($GLOBALS['phpgw']->accounts->membership() as $idx => $group){ 46 if(array_search($group['account_name'],$voip_groups) !== FALSE){ 47 $voip_enabled = true; 48 break; 49 } 50 } 51 } 43 52 44 53 // Get Data from ldap_manager and emailadmin.
Note: See TracChangeset
for help on using the changeset viewer.