egroupware/calendar/inc/header.inc.php

35 lines
1.5 KiB
PHP
Raw Normal View History

<?php
2001-01-17 13:35:43 +01:00
/**************************************************************************\
* phpGroupWare - Calendar *
* http://www.phpgroupware.org *
* Based on Webcalendar by Craig Knudsen <cknudsen@radix.net> *
* http://www.radix.net/~cknudsen *
* Modified by Mark Peters <skeeter@phpgroupware.org> *
* -------------------------------------------- *
* 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. *
\**************************************************************************/
2000-12-24 04:37:10 +01:00
/* $Id$ */
2000-11-10 23:49:48 +01:00
if (floor(phpversion()) == 4)
{
global $date, $year, $month, $day, $thisyear, $thismonth, $thisday, $filter, $keywords;
global $matrixtype, $participants, $owner, $phpgw, $grants, $rights, $SCRIPT_FILENAME, $remainder, $tpl;
}
$cols = 8;
if($phpgw->calendar->check_perms(PHPGW_ACL_PRIVATE) == True)
{
$cols++;
}
$tpl = CreateObject('phpgwapi.Template',$phpgw->common->get_tpl_dir('calendar'));
$tpl->set_unknowns('remove');
include($phpgw->common->get_tpl_dir('calendar').'/header.inc.php');
flush();
?>