3
|
1 <?php
|
|
2 /*
|
|
3 +-------------------------------------------------------------------------+
|
|
4 | Configuration for the Calendar plugin |
|
|
5 | |
|
|
6 | Copyright (C) 2010, Lazlo Westerhof - Netherlands |
|
|
7 | Copyright (C) 2011-2014, Kolab Systems AG |
|
|
8 | |
|
|
9 | This program is free software: you can redistribute it and/or modify |
|
|
10 | it under the terms of the GNU Affero General Public License as |
|
|
11 | published by the Free Software Foundation, either version 3 of the |
|
|
12 | License, or (at your option) any later version. |
|
|
13 | |
|
|
14 | This program is distributed in the hope that it will be useful, |
|
|
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
17 | GNU Affero General Public License for more details. |
|
|
18 | |
|
|
19 | You should have received a copy of the GNU Affero General Public License|
|
|
20 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
21 | |
|
|
22 +-------------------------------------------------------------------------+
|
|
23 | Author: Lazlo Westerhof <hello@lazlo.me> |
|
|
24 | Thomas Bruederli <bruederli@kolabsys.com> |
|
|
25 +-------------------------------------------------------------------------+
|
|
26 */
|
|
27
|
|
28 // backend type (database, google, kolab)
|
|
29 $config['calendar_driver'] = "database";
|
|
30
|
|
31 // default calendar view (agendaDay, agendaWeek, month)
|
|
32 $config['calendar_default_view'] = "agendaWeek";
|
|
33
|
|
34 // show a birthdays calendar from the user's address book(s)
|
|
35 $config['calendar_contact_birthdays'] = false;
|
|
36
|
|
37 // mapping of Roundcube date formats to calendar formats (long/short/agenda)
|
|
38 // should be in sync with 'date_formats' in main config
|
|
39 $config['calendar_date_format_sets'] = array(
|
|
40 'yyyy-MM-dd' => array('MMM d yyyy', 'M-d', 'ddd MM-dd'),
|
|
41 'dd-MM-yyyy' => array('d MMM yyyy', 'd-M', 'ddd dd-MM'),
|
|
42 'yyyy/MM/dd' => array('MMM d yyyy', 'M/d', 'ddd MM/dd'),
|
|
43 'MM/dd/yyyy' => array('MMM d yyyy', 'M/d', 'ddd MM/dd'),
|
|
44 'dd/MM/yyyy' => array('d MMM yyyy', 'd/M', 'ddd dd/MM'),
|
|
45 'dd.MM.yyyy' => array('dd. MMM yyyy', 'd.M', 'ddd dd.MM.'),
|
|
46 'd.M.yyyy' => array('d. MMM yyyy', 'd.M', 'ddd d.MM.'),
|
|
47 );
|
|
48
|
|
49 // general date format (only set if different from default date format and not user configurable)
|
|
50 // $config['calendar_date_format'] = "yyyy-MM-dd";
|
|
51
|
|
52 // time format (only set if different from default date format)
|
|
53 // $config['calendar_time_format'] = "HH:mm";
|
|
54
|
|
55 // short date format (used for column titles)
|
|
56 // $config['calendar_date_short'] = 'M-d';
|
|
57
|
|
58 // long date format (used for calendar title)
|
|
59 // $config['calendar_date_long'] = 'MMM d yyyy';
|
|
60
|
|
61 // date format used for agenda view
|
|
62 // $config['calendar_date_agenda'] = 'ddd MM-dd';
|
|
63
|
|
64 // timeslots per hour (1, 2, 3, 4, 6)
|
|
65 $config['calendar_timeslots'] = 2;
|
|
66
|
|
67 // show this number of days in agenda view
|
|
68 $config['calendar_agenda_range'] = 60;
|
|
69
|
|
70 // first day of the week (0-6)
|
|
71 $config['calendar_first_day'] = 1;
|
|
72
|
|
73 // first hour of the calendar (0-23)
|
|
74 $config['calendar_first_hour'] = 6;
|
|
75
|
|
76 // working hours begin
|
|
77 $config['calendar_work_start'] = 6;
|
|
78
|
|
79 // working hours end
|
|
80 $config['calendar_work_end'] = 18;
|
|
81
|
|
82 // show line at current time of the day
|
|
83 $config['calendar_time_indicator'] = true;
|
|
84
|
|
85 // default alarm settings for new events.
|
|
86 // this is only a preset when a new event dialog opens
|
|
87 // possible values are <empty>, DISPLAY, EMAIL
|
|
88 $config['calendar_default_alarm_type'] = '';
|
|
89
|
|
90 // default alarm offset for new events.
|
|
91 // use ical-style offset values like "-1H" (one hour before) or "+30M" (30 minutes after)
|
|
92 $config['calendar_default_alarm_offset'] = '-15M';
|
|
93
|
|
94 // how to colorize events:
|
|
95 // 0: according to calendar color
|
|
96 // 1: according to category color
|
|
97 // 2: calendar for outer, category for inner color
|
|
98 // 3: category for outer, calendar for inner color
|
|
99 $config['calendar_event_coloring'] = 0;
|
|
100
|
|
101 // event categories
|
|
102 $config['calendar_categories'] = array(
|
|
103 'Personal' => 'c0c0c0',
|
|
104 'Work' => 'ff0000',
|
|
105 'Family' => '00ff00',
|
|
106 'Holiday' => 'ff6600',
|
|
107 );
|
|
108
|
|
109 // enable users to invite/edit attendees for shared events organized by others
|
|
110 $config['calendar_allow_invite_shared'] = false;
|
|
111
|
|
112 // allow users to accecpt iTip invitations who are no explicitly listed as attendee.
|
|
113 // this can be the case if invitations are sent to mailing lists or alias email addresses.
|
|
114 $config['calendar_allow_itip_uninvited'] = true;
|
|
115
|
|
116 // controls the visibility/default of the checkbox controlling the sending of iTip invitations
|
|
117 // 0 = hidden + disabled
|
|
118 // 1 = hidden + active
|
|
119 // 2 = visible + unchecked
|
|
120 // 3 = visible + active
|
|
121 $config['calendar_itip_send_option'] = 3;
|
|
122
|
|
123 // Action taken after iTip request is handled. Possible values:
|
|
124 // 0 - no action
|
|
125 // 1 - move to Trash
|
|
126 // 2 - delete the message
|
|
127 // 3 - flag as deleted
|
|
128 // folder_name - move the message to the specified folder
|
|
129 $config['calendar_itip_after_action'] = 0;
|
|
130
|
|
131 // enable asynchronous free-busy triggering after data changed
|
|
132 $config['calendar_freebusy_trigger'] = false;
|
|
133
|
|
134 // free-busy information will be displayed for user calendars if available
|
|
135 // 0 - no free-busy information
|
|
136 // 1 - enabled in all views
|
|
137 // 2 - only in quickview
|
|
138 $config['calendar_include_freebusy_data'] = 1;
|
|
139
|
|
140 // SMTP server host used to send (anonymous) itip messages.
|
|
141 // Set to '' in order to use PHP's mail() function for email delivery.
|
|
142 // To override the SMTP port or connection method, provide a full URL like 'tls://somehost:587'
|
|
143 $config['calendar_itip_smtp_server'] = null;
|
|
144
|
|
145 // SMTP username used to send (anonymous) itip messages
|
|
146 $config['calendar_itip_smtp_user'] = 'smtpauth';
|
|
147
|
|
148 // SMTP password used to send (anonymous) itip messages
|
|
149 $config['calendar_itip_smtp_pass'] = '123456';
|
|
150
|
|
151 // show virtual invitation calendars (Kolab driver only)
|
|
152 $config['kolab_invitation_calendars'] = false;
|
|
153
|
|
154 // Base URL to build fully qualified URIs to access calendars via CALDAV
|
|
155 // The following replacement variables are supported:
|
|
156 // %h - Current HTTP host
|
|
157 // %u - Current webmail user name
|
|
158 // %n - Calendar name
|
|
159 // %i - Calendar UUID
|
|
160 // $config['calendar_caldav_url'] = 'http://%h/iRony/calendars/%u/%i';
|
|
161
|
|
162 // Driver to provide a resource directory ('ldap' is the only implementation yet).
|
|
163 // Leave empty or commented to disable resources support.
|
|
164 // $config['calendar_resources_driver'] = 'ldap';
|
|
165
|
|
166 // LDAP directory configuration to find avilable resources for events
|
|
167 // $config['calendar_resources_directory'] = array(/* ldap_public-like address book configuration */);
|
|
168
|
|
169 ?>
|