This commit is contained in:
skeeter 2001-04-21 17:43:25 +00:00
parent 479c0f0721
commit 8ab6337b5a
5 changed files with 8 additions and 11 deletions

View File

@ -62,7 +62,7 @@
}
$now = $phpgw->calendar->makegmttime(0, 0, 0, $thismonth, $thisday, $thisyear);
$now['raw'] += $phpgw->calendar->tz_offset;
$m = mktime(0,0,0,$thismonth,1,$thisyear);
$var = Array(

View File

@ -881,7 +881,7 @@ class calendar extends calendar_
$lr_events = CreateObject('calendar.calendar_item');
$p = CreateObject('phpgwapi.Template',$this->template_dir);
$p->set_unknowns('remove');
$p->set_unknowns('keep');
$templates = Array (
'month_header' => 'month_header.tpl',
@ -1078,7 +1078,7 @@ class calendar extends calendar_
global $phpgw, $phpgw_info;
$p = CreateObject('phpgwapi.Template',$this->template_dir);
$p->set_unknowns('remove');
$p->set_unknowns('keep');
$templates = Array(
'month' => 'month.tpl',
@ -1144,7 +1144,7 @@ class calendar extends calendar_
$this->read_repeated_events($owner);
$p = CreateObject('phpgwapi.Template',$this->template_dir);
$p->set_unknowns('remove');
$p->set_unknowns('keep');
$templates = Array(
'month' => 'month.tpl',
@ -1270,7 +1270,7 @@ class calendar extends calendar_
$this->read_repeated_events($this->owner);
$p = CreateObject('phpgwapi.Template',$this->template_dir);
$p->set_unknowns('remove');
$p->set_unknowns('keep');
$templates = Array(
'day_cal' => 'day_cal.tpl',
@ -1528,6 +1528,7 @@ class calendar extends calendar_
$p = CreateObject('phpgwapi.Template',$phpgw->calendar->template_dir);
$p->set_unknowns('keep');
$templates = Array(
'view_begin' => 'view.tpl',
'list' => 'list.tpl',

View File

@ -874,8 +874,8 @@ class calendar_ extends calendar__
. 'cal_priority='.$event->priority.', '
. "cal_type='".$type."', "
. "cal_access='".$event->access."', "
. "cal_name='".$event->name."', "
. "cal_description='".$event->description."' "
. "cal_name='".addslashes($event->name)."', "
. "cal_description='".addslashes($event->description)."' "
. 'WHERE cal_id='.$event->id;
$this->stream->query($sql,__LINE__,__FILE__);

View File

@ -13,8 +13,6 @@
<!-- BEGIN view_end -->
</table>
<p>
{edit_button}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{delete_button}
</center>
<!-- END view_end -->

View File

@ -13,8 +13,6 @@
<!-- BEGIN view_end -->
</table>
<p>
{edit_button}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{delete_button}
</center>
<!-- END view_end -->