* * http://www.radix.net/~cknudsen * * -------------------------------------------- * * 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 ($friendly) { $phpgw_flags["noheader"] = True; } $phpgw_flags["currentapp"] = "calendar"; include("../header.inc.php"); if (strlen($date) > 0) { $thisyear = substr($date, 0, 4); $thismonth = substr($date, 4, 2); $thisday = substr($date, 6, 2); } else { if ($day == 0) $thisday = date("d"); else $thisday = $day; if ($month == 0) $thismonth = date("m"); else $thismonth = $month; if ($year == 0) $thisyear = date("Y"); else $thisyear = $year; } $next = mktime(2,0,0,$thismonth + 1,1,$thisyear); $nextyear = date("Y", $next); $nextmonth = date("m", $next); $nextdate = date("Ymd"); $prev = mktime(2,0,0,$thismonth - 1,1,$thisyear); $prevyear = date("Y",$prev); $prevmonth = date("m",$prev); $prevdate = date("Ymd"); if ($friendly) { echo "
"; $view = "month"; } ?>
common->display_fullname($phpgw_info["user"]["userid"],$phpgw_info["user"]["firstname"],$phpgw_info["user"]["lastname"]); ?> |
';
display_small_month($nextmonth,$nextyear,True);
}
?>
">"> | ">"> | ">"> | ">"> | ">"> | ">"> | ">"> |
---|---|---|---|---|---|---|
"; } else { echo " BGCOLOR=\"$CELLBG\">"; } print_date_entries($date,$friendly,$phpgw_info["user"]["sessionid"]); echo " | \n"; } else { echo "\n"; } } print " |
link($PHP_SELF,$param)."\">"; echo "[". lang_calendar("Printer Friendly") . "]"; include($phpgw_info["server"]["api_dir"] . "/footer.inc.php"); }