forked from extern/egroupware
Was keeping any previous owner/date stored from earlier access to the calendar as today's date and last selected owner.
This commit is contained in:
parent
86e8f527d7
commit
b1007c337b
@ -26,6 +26,7 @@
|
|||||||
{
|
{
|
||||||
$time = time() - ((60*60) * intval($GLOBALS['phpgw_info']['user']['preferences']['common']['tz_offset']));
|
$time = time() - ((60*60) * intval($GLOBALS['phpgw_info']['user']['preferences']['common']['tz_offset']));
|
||||||
$GLOBALS['date'] = $GLOBALS['phpgw']->common->show_date($time,'Ymd');
|
$GLOBALS['date'] = $GLOBALS['phpgw']->common->show_date($time,'Ymd');
|
||||||
|
$GLOBALS['owner'] = $GLOBALS['phpgw_info']['user']['account_id'];
|
||||||
$cal = CreateObject('calendar.uicalendar');
|
$cal = CreateObject('calendar.uicalendar');
|
||||||
$extra_data = "\n".'<td>'."\n".'<table border="0" cols="3"><tr><td align="center" width="35%" valign="top">'
|
$extra_data = "\n".'<td>'."\n".'<table border="0" cols="3"><tr><td align="center" width="35%" valign="top">'
|
||||||
. $cal->mini_calendar(
|
. $cal->mini_calendar(
|
||||||
|
Loading…
Reference in New Issue
Block a user