Ignore:
Timestamp:
02/02/09 08:07:49 (15 years ago)
Author:
niltonneto
Message:

Implementações do desenvolvedor. amuller@…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoCalendar/inc/class.uicalendar.inc.php

    r632 r656  
    9494        function getViewDay () { 
    9595                $dayViewTime = isset ($_REQUEST["time"]) ?  strtotime(substr($_REQUEST["time"],0,4)."-".substr($_REQUEST["time"],6,2)."-".substr($_REQUEST["time"],4,2)) : strtotime(date('Y-m-d', time())); 
     96                if (isset ($_REQUEST["uid"])) 
     97                        $this->db_obj->user_id = $_REQUEST["uid"]; 
    9698 
    9799                $retorno = "<today>".date('Ydm',$dayViewTime)."</today>"; 
     
    125127                $dayViewTime -= (date('N', $dayViewTime)%7)*86400; 
    126128                $retorno = "<today>".date('Ydm', $dayViewTime)."</today>"; 
     129                if (isset ($_REQUEST["uid"])) 
     130                        $this->db_obj->user_id = $_REQUEST["uid"]; 
     131 
    127132 
    128133                $fromBo = $this->db_obj->requestWeekCal($dayViewTime); 
     
    169174        function getViewMonth () { 
    170175                $monthViewTime = isset ($_REQUEST["time"]) ?  strtotime(substr($_REQUEST["time"],0,4)."-".substr($_REQUEST["time"],6,2)."-".substr($_REQUEST["time"],4,2)) : strtotime(date('Y-m-d', time())); 
     176                if (isset ($_REQUEST["uid"])) 
     177                        $this->db_obj->user_id = $_REQUEST["uid"]; 
    171178 
    172179                $todayTime = strtotime(date('Y-m', $monthViewTime)."-01"); 
Note: See TracChangeset for help on using the changeset viewer.