Changeset 752 for trunk/contactcenter/inc/class.bo_contactcenter.inc.php
- Timestamp:
- 04/17/09 16:34:36 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/inc/class.bo_contactcenter.inc.php
r498 r752 350 350 if($_SESSION['phpgw_info']['user']['preferences']['contactcenter']['shared_contacts']){ 351 351 $this->tree[2] = array('type' => 'sql'); 352 $this->tree['branches'][2] = array('name' => lang('Shared'), 353 'type' => 'catalog', 354 'class' => 'bo_shared_catalog_manager', 352 $this->tree['branches'][2] = array( 353 'name' => lang('Shared'), 354 'type' => 'mixed_catalog_group', 355 'class' => 'bo_shared_people_manager', 355 356 'icon' => 'people-mini.png', 356 'sub_branch' => false); 357 'sub_branch' => array( 358 0 => array( 359 'name' => lang('People'), 360 'type' => 'catalog', 361 'class' => 'bo_shared_people_manager', 362 'icon' => 'people-mini.png', 363 'sub_branch' => False 364 ), 365 1 => array( 366 'name' => lang('Groups'), 367 'type' => 'catalog', 368 'class' => 'bo_shared_group_manager', 369 'icon' => 'people-mini.png', 370 'sub_branch' => False 371 ) 372 ) 373 ); 357 374 unset($_SESSION['phpgw_info']['user']['preferences']['contactcenter']['shared_contacts']); 358 375 } … … 419 436 $i++; 420 437 } 421 } 422 438 } 423 439 $GLOBALS['phpgw']->session->appsession('bo_contactcenter.tree','contactcenter',$this->tree); 424 440 return $this->tree['branches']; … … 599 615 $level = $this->get_level_by_branch($catalog, $this->tree['branches']); 600 616 $catalog =& $this->get_catalog_tree($level); 601 617 602 618 case 'catalog': 603 619 case 'catalog_group':
Note: See TracChangeset
for help on using the changeset viewer.