Changeset 656 for trunk/expressoCalendar/inc/class.uicalendar.inc.php
- Timestamp:
- 02/02/09 08:07:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoCalendar/inc/class.uicalendar.inc.php
r632 r656 94 94 function getViewDay () { 95 95 $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"]; 96 98 97 99 $retorno = "<today>".date('Ydm',$dayViewTime)."</today>"; … … 125 127 $dayViewTime -= (date('N', $dayViewTime)%7)*86400; 126 128 $retorno = "<today>".date('Ydm', $dayViewTime)."</today>"; 129 if (isset ($_REQUEST["uid"])) 130 $this->db_obj->user_id = $_REQUEST["uid"]; 131 127 132 128 133 $fromBo = $this->db_obj->requestWeekCal($dayViewTime); … … 169 174 function getViewMonth () { 170 175 $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"]; 171 178 172 179 $todayTime = strtotime(date('Y-m', $monthViewTime)."-01");
Note: See TracChangeset
for help on using the changeset viewer.