Ignore:
Timestamp:
08/05/09 18:20:55 (15 years ago)
Author:
eduardoalex
Message:

Ticket #453 - Edição de grupos compartilhados.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/inc/class.ui_data.inc.php

    r962 r1280  
    312312                                 
    313313                                case 'get_group': 
    314                                         return $this->get_group_data($_GET['id']); 
     314                                        return $this->get_group_data($_GET['id'],isset($_GET['shared_from'])?$_GET['shared_from']:null); 
    315315                                         
    316316                                case 'get_contact_full_add_const': 
     
    11601160                                                        $final[3][$i][5] = lang('Shared').": ".$owner_names[$owners[$i]]['cn']; 
    11611161                                                        $final[3][$i][6] = $owner_names[$owners[$i]]['uid']; 
     1162                                                        $final[3][$i][7] = $owners[$i]; //uidNumber 
    11621163                                                }                                                
    11631164                                                $i++;                                                    
     
    13131314                 
    13141315                */               
    1315                 function get_group_data($id) 
     1316                function get_group_data($id,$shared_from=null) 
    13161317                { 
    13171318                        $this->bo->catalog = CreateObject('contactcenter.bo_group_manager'); 
     
    13261327                        $boGroup = CreateObject('contactcenter.bo_group'); 
    13271328                                                 
    1328                         $all_contacts = $boGroup->get_all_contacts('only_email'); 
     1329                        $all_contacts = $boGroup->get_all_contacts('only_email',$shared_from); 
    13291330                         
    13301331                        $contact_options = ""; 
Note: See TracChangeset for help on using the changeset viewer.