* * http://www.radix.net/~cknudsen * * Written 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$ */ $d1 = strtolower(substr(PHPGW_APP_INC,0,3)); if($d1 == 'htt' || $d1 == 'ftp' ) { echo 'Failed attempt to break in via an old Security Hole!
'."\n"; $phpgw->common->phpgw_exit(); } unset($d1); global $date; if ($phpgw_info['user']['preferences']['calendar']['mainscreen_showevents']) { $date = $phpgw->common->show_date(time()-((60*60)*intval($phpgw_info['user']['preferences']['common']['tz_offset'])),'Ymd'); $cal = CreateObject('calendar.uicalendar'); echo "\n".'
'."\n" . $cal->mini_calendar( Array( 'day' => $cal->bo->day, 'month' => $cal->bo->month, 'year' => $cal->bo->year, 'link' => 'day' ) ).'' . '' . '
' . lang($phpgw->common->show_date(time()-((60*60)*intval($phpgw_info['user']['preferences']['common']['tz_offset'])),'F')).' '.$cal->bo->day.', '.$cal->bo->year.'
' . $cal->print_day(Array('year'=>$cal->bo->year,'month'=>$cal->bo->month,'day'=>$cal->bo->day)).'
'."\n" . "\n".'
'."\n"; unset($cal); } ?>