* * http://www.radix.net/~cknudsen * * Modified by Mark Peters * * -------------------------------------------- * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * \**************************************************************************/ /* $Id$ */ if (floor($PHP_VERSION ) == 4) { global $date, $year, $month, $day, $thisyear, $thismonth, $thisday, $filter, $keywords; global $matrixtype, $participants; } if(!isset($phpgw_info["user"]["preferences"]["calendar"]["weekdaystarts"])) $phpgw_info["user"]["preferences"]["calendar"]["weekdaystarts"] = "Sunday"; if(!isset($filter) || !$filter) $filter = $phpgw_info["user"]["preferences"]["calendar"]["defaultfilter"]; if (isset($date) && strlen($date) > 0) { $thisyear = intval(substr($date, 0, 4)); $thismonth = intval(substr($date, 4, 2)); $thisday = intval(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; } $phpgw->calendar->tempyear = $thisyear; $phpgw->calendar->tempmonth = $thismonth; $phpgw->calendar->tempday = $thisday; ?> " method="POST" name="filtermethod"> " method="POST">
  "> /today.gif" alt="" border="0"> "> /week.gif" alt="" border="0"> "> /month.gif" alt="" border="0"> "> /year.gif" alt="" border="0"> "> /view.gif" alt="" border="0">
: "; } } ?>
> ">