create_select_box('Receive summary of appointments','summary',$summary,
'Do you want to receive a regulary summary of your appointsments via email?<br>The summary is sent to your standard email-address on the morning of that day or on Monday for weekly summarys.<br>It is only sent when you have any appointments on that day or week.');
"Do you want to be notified about new or changed appointments? You be notified about changes you make yourself.<br>You can limit the notifications to certain changes only. Each item includes all the notification listed above it. All modifications include changes of title, description, participants, but no participant responses. If the owner of an event requested any notifcations, he will always get the participant responses like acceptions and rejections too.");
$update_formats=array(
'none'=>lang('None'),
'extended'=>lang('Extended'),
'ical'=>lang('iCal / rfc2445')
);
create_select_box('Format of event updates','update_format',$update_formats,
'Extended updates always include the complete event-details. iCal\'s can be imported by certain other calendar-applications.');
$event_details=array(
'to-fullname'=>lang('Fullname of person to notify'),
'to-firstname'=>lang('Firstname of person to notify'),
'to-lastname'=>lang('Lastname of person to notify'),
create_notify('Notification messages for added events ','notifyAdded',5,50,
'This message is sent to every participant of events you own, who has requested notifcations about new events.<br>You can use certain variables which get substituted with the data of the event. The first line is the subject of the email.',
'',$event_details);
create_notify('Notification messages for canceled events ','notifyCanceled',5,50,
'This message is sent for canceled or deleted events.','',$event_details,False);
create_notify('Notification messages for modified events ','notifyModified',5,50,
'This message is sent for modified or moved events.','',$event_details,False);
create_notify('Notification messages for your responses ','notifyResponse',5,50,
'This message is sent when you accept, tentative accept or reject an event.',
'',$event_details,False);
create_notify('Notification messages for your alarms','notifyAlarm',5,50,
'This message is sent when you set an Alarm for a certain event. Include all information you might need.',
'',$event_details,False);
create_check_box('Show invitations you rejected','show_rejected',
'Should invitations you rejected still be shown in your calendar ?<br>You can only accept them later (eg. when your scheduling conflict is removed), if they are still shown in your calendar!');
create_check_box('Display status of events','display_status',
'Should the status of the event-participants (accept, reject, ...) be shown in brakets after each participants name ?');
create_select_box('work day starts on','workdaystarts',$options,
'This defines the start of your dayview. Events before this time, are shown above the dayview.<br>This time is also used as a default starttime for new events.');
create_select_box('work day ends on','workdayends',$options,
'This defines the end of your dayview. Events after this time, are shown below the dayview.');
$freebusy_help=lang('Should not loged in persons be able to see your freebusy information? You can set an extra password, different from your normal password, to protect this informations. The freebusy information is in iCal format and only include the times when you are busy. It does not include the event-name, description or locations. The URL to your freebusy information is %1.','<a href="'.$freebusy_url.'" target="_blank">'.$freebusy_url.'</a>');
create_check_box('Make freebusy information availible to not loged in persons?','freebusy',
$freebusy_help,'',False);
create_input_box('Password for not loged in users to your freebusy information?','freebusy_pw',
'If you dont set a password here, the information is availible to everyone, who knows the URL!!!');