egroupware_official/calendar/inc/class.calendar.inc.php

29 lines
1.3 KiB
PHP
Raw Normal View History

2001-01-13 04:37:22 +01:00
<?php
/**************************************************************************\
2001-01-17 13:35:43 +01:00
* phpGroupWare - Calendar *
2001-01-13 04:37:22 +01:00
* http://www.phpgroupware.org *
2001-01-17 13:35:43 +01:00
* Based on Webcalendar by Craig Knudsen <cknudsen@radix.net> *
* http://www.radix.net/~cknudsen *
* Modified by Mark Peters <skeeter@phpgroupware.org> *
2001-01-13 04:37:22 +01:00
* -------------------------------------------- *
* 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$ */
2001-02-11 14:30:09 +01:00
$phpgw_info['server']['calendar_type'] = 'sql';
include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.calendar_'.$phpgw_info['server']['calendar_type'].'.inc.php');
2001-01-13 04:37:22 +01:00
2001-02-11 14:30:09 +01:00
class calendar extends calendar_
{
2001-02-11 20:11:35 +01:00
function calendar($p_friendly=False)
{
2001-02-12 05:58:36 +01:00
$this->printer_friendly = $p_friendly;
$this->today = $this->localdates(time());
}
2001-01-13 04:37:22 +01:00
}
?>