0) { $thisyear = substr($date, 0, 4); $thismonth = substr($date, 4, 2); $thisday = substr($date, 6, 2); } else { if (!isset($day) || !$day) $thisday = $phpgw->calendar->today["day"]; else $thisday = $day; if (!isset($month) || !$month) $thismonth = $phpgw->calendar->today["month"]; else $thismonth = $month; if (!isset($year) || !$year) $thisyear = $phpgw->calendar->today["year"]; else $thisyear = $year; } // if($filter=="all") $filter_method = "All"; // if($filter=="private") $filter_method = "Private Only"; // if($filter=="public") $filter_method = "Global Public Only"; // if($filter=="group") $filter_method = "Group Public Only"; // if($filter=="private+public") $filter_method = "Private and Global Public"; // if($filter=="private+group") $filter_method = "Private and Group Public"; // if($filter=="public+private") $filter_method = "Global Public and Group Public"; if (!isset($phpgw_info["flags"]["nocalendarheader"]) || !$phpgw_info["flags"]["nocalendarheader"]) { ?>