Changeset 20274

Show
Ignore:
Timestamp:
09/30/08 14:47:08 (5 years ago)
Author:
kenji
Message:

Add friends icons in side

Location:
events/phpframework/codeigniter/trunk/system/application/controllers
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/codeigniter/trunk/system/application/controllers/account.php

    r20268 r20274  
    290290                $this->load->model('User_model'); 
    291291                $data->last_comment    = $this->Status_model->get_last_comment($id); 
    292                 $data->friends_count   = $this->User_model->get_friends_count($id); 
     292                list($data->friends_list, $data->friends_count) = 
     293                                                                        $this->User_model->get_friends_list($id); 
    293294                $data->followers_count = $this->User_model->get_followers_count($id); 
    294295 
  • events/phpframework/codeigniter/trunk/system/application/controllers/public_timeline.php

    r20268 r20274  
    3131                        $this->load->model('User_model'); 
    3232                        $data->last_comment    = $this->Status_model->get_last_comment($id); 
    33                         $data->friends_count   = $this->User_model->get_friends_count($id); 
     33                        list($data->friends_list, $data->friends_count) = 
     34                                                                                $this->User_model->get_friends_list($id); 
    3435                        $data->followers_count = $this->User_model->get_followers_count($id); 
    3536 
  • events/phpframework/codeigniter/trunk/system/application/controllers/replies.php

    r20268 r20274  
    4242                $this->load->model('User_model'); 
    4343                $data->last_comment    = $this->Status_model->get_last_comment($id); 
    44                 $data->friends_count   = $this->User_model->get_friends_count($id); 
     44                list($data->friends_list, $data->friends_count) = 
     45                                                                        $this->User_model->get_friends_list($id); 
    4546                $data->followers_count = $this->User_model->get_followers_count($id); 
    4647