Added the calendar lang translations to the home page.

This commit is contained in:
skeeter 2001-11-30 01:22:32 +00:00
parent fb8b5eb877
commit 64b79607cb

View File

@ -24,6 +24,7 @@
if ($GLOBALS['phpgw_info']['user']['preferences']['calendar']['mainscreen_showevents'])
{
$GLOBALS['phpgw']->translation->add_app('calendar');
$time = time() - ((60*60) * intval($GLOBALS['phpgw_info']['user']['preferences']['common']['tz_offset']));
$GLOBALS['date'] = $GLOBALS['phpgw']->common->show_date($time,'Ymd');
$GLOBALS['g_year'] = substr($GLOBALS['date'],0,4);