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.');
$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>');
'help'=>'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!'
),
'weekdaystarts'=>array(
'type'=>'select',
'label'=>'weekday starts on',
'name'=>'weekdaystarts',
'values'=>$weekdaystarts,
'help'=>'This day is shown as first day in the week or month view.',
'xmlrpc'=>True,
'admin'=>False
),
'workdaystarts'=>array(
'type'=>'select',
'label'=>'work day starts on',
'name'=>'workdaystarts',
'values'=>$times,
'help'=>'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.',
'xmlrpc'=>True,
'admin'=>False
),
'workdayends'=>array(
'type'=>'select',
'label'=>'work day ends on',
'name'=>'workdayends',
'values'=>$times,
'help'=>'This defines the end of your dayview. Events after this time, are shown below the dayview.',
'xmlrpc'=>True,
'admin'=>False
),
'use_time_grid'=>array(
'type'=>'select',
'label'=>'Views with fixed time intervals',
'name'=>'use_time_grid',
'values'=>$grid_views,
'help'=>'For which views should calendar show distinct lines with a fixed time interval.',
'xmlrpc'=>True,
'admin'=>False
),
'interval'=>array(
'type'=>'select',
'label'=>'Length of the time interval',
'name'=>'interval',
'values'=>$intervals,
'help'=>'How many minutes should each interval last?',
'xmlrpc'=>True,
'admin'=>False
),
'defaultlength'=>array(
'type'=>'input',
'label'=>'default appointment length (in minutes)',
'name'=>'defaultlength',
'help'=>'Default length of newly created events. The length is in minutes, eg. 60 for 1 hour.',
'default'=>'',
'size'=>3,
'xmlrpc'=>True,
'admin'=>False
),
'planner_start_with_group'=>array(
'type'=>'select',
'label'=>'Preselected group for entering the planner',
'name'=>'planner_start_with_group',
'values'=>$options,
'help'=>'This group that is preselected when you enter the planner. You can change it in the planner anytime you want.',
'help'=>"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.",
'xmlrpc'=>True,
'admin'=>False
),
'update_format'=>array(
'type'=>'select',
'label'=>'Format of event updates',
'name'=>'update_format',
'values'=>$update_formats,
'help'=>'Extended updates always include the complete event-details. iCal\'s can be imported by certain other calendar-applications.',
'xmlrpc'=>True,
'admin'=>False
),
'notifyAdded'=>array(
'type'=>'notify',
'label'=>'Notification messages for added events ',
'name'=>'notifyAdded',
'rows'=>5,
'cols'=>50,
'help'=>'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.',
'default'=>'',
'values'=>$event_details,
'xmlrpc'=>True,
'admin'=>False
),
'notifyCanceled'=>array(
'type'=>'notify',
'label'=>'Notification messages for canceled events ',
'name'=>'notifyCanceled',
'rows'=>5,
'cols'=>50,
'help'=>'This message is sent for canceled or deleted events.',