Changeset 3707 for branches/2.2/contactcenter
- Timestamp:
- 01/19/11 11:49:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/contactcenter/inc/class.ui_preferences.inc.php
r1600 r3707 134 134 { 135 135 $GLOBALS['phpgw']->preferences->read(); 136 /*136 137 137 $GLOBALS['phpgw']->preferences->delete('contactcenter', 'personCardEmail'); 138 138 $GLOBALS['phpgw']->preferences->delete('contactcenter', 'personCardPhone'); 139 */ 139 140 140 $GLOBALS['phpgw']->preferences->delete('contactcenter', 'displayConnector'); 141 141 $GLOBALS['phpgw']->preferences->delete('contactcenter', 'displayConnectorDefault'); 142 142 143 /* 144 $GLOBALS['phpgw']->preferences->add('contactcenter', 'personCardEmail', $_POST['personCardEmail'], 'forced'); 145 $GLOBALS['phpgw']->preferences->add('contactcenter', 'personCardPhone', $_POST['personCardPhone'], 'forced'); 146 */ 143 $GLOBALS['phpgw']->preferences->add('contactcenter', 'personCardEmail', $_POST['personCardEmail']); 144 $GLOBALS['phpgw']->preferences->add('contactcenter', 'personCardPhone', $_POST['personCardPhone']); 147 145 148 146 $GLOBALS['phpgw']->preferences->add('contactcenter', 'displayConnectorDefault', '1'); … … 183 181 $GLOBALS['phpgw']->preferences->add('contactcenter', 'department', '0'); 184 182 } 185 183 186 184 $GLOBALS['phpgw']->preferences->save_repository(); 187 185 } … … 198 196 $prefs['contactcenter']['displayConnector'] = true; 199 197 } 200 201 $prefs['contactcenter']['personCardEmail'] = 1;202 $prefs['contactcenter']['personCardPhone'] = 2;203 198 204 199 return $prefs['contactcenter'];
Note: See TracChangeset
for help on using the changeset viewer.