1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-turba-3.2.0/createlinks mezzanine_patched_e-smith-turba-3.2.0/createlinks |
2 |
--- e-smith-turba-3.2.0/createlinks 2010-04-24 21:08:15.000000000 -0500 |
3 |
+++ mezzanine_patched_e-smith-turba-3.2.0/createlinks 2010-04-24 21:07:56.000000000 -0500 |
4 |
@@ -8,13 +8,13 @@ |
5 |
# We only need to do this once. |
6 |
# |
7 |
|
8 |
-foreach (qw(sources.php conf.php prefs.php)) |
9 |
+foreach (qw(conf.php prefs.php sources.php attributes.php)) |
10 |
{ |
11 |
templates2events("/home/httpd/html/horde/turba/config/$_", |
12 |
qw(email-update bootstrap-console-save)); |
13 |
} |
14 |
|
15 |
-foreach (qw(conf.php prefs.php sources.php)) |
16 |
+foreach (qw(conf.php prefs.php sources.php attributes.php)) |
17 |
{ |
18 |
safe_symlink("/etc/e-smith/templates-default/template-begin-php", |
19 |
"root/etc/e-smith/templates/home/httpd/html/horde/turba/config/$_/template-begin"); |
20 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/attributes.php/10Attributes mezzanine_patched_e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/attributes.php/10Attributes |
21 |
--- e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/attributes.php/10Attributes 1969-12-31 18:00:00.000000000 -0600 |
22 |
+++ mezzanine_patched_e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/attributes.php/10Attributes 2010-04-24 21:03:53.000000000 -0500 |
23 |
@@ -0,0 +1,611 @@ |
24 |
+/** |
25 |
+ * Turba Attributes File. |
26 |
+ * |
27 |
+ * This file contains examples of attributes that Turba understands, and their |
28 |
+ * types. It may be safely edited by hand. Use attributes.php.dist as a |
29 |
+ * reference. |
30 |
+ * |
31 |
+ * The syntax of this array is as follows:<pre> |
32 |
+ * label - The text that the user will see attached to this |
33 |
+ * field. |
34 |
+ * type - One of the following: |
35 |
+ * - spacer - header |
36 |
+ * - description - html |
37 |
+ * - number - int |
38 |
+ * - intlist - text |
39 |
+ * - longtext - countedtext |
40 |
+ * - address - file |
41 |
+ * - boolean - link |
42 |
+ * - email - emailconfirm |
43 |
+ * - password - passwordconfirm |
44 |
+ * - enum - multienum |
45 |
+ * - radio - set |
46 |
+ * - date - time |
47 |
+ * - monthyear - monthdayyear |
48 |
+ * - colorpicker - sorter |
49 |
+ * - creditcard - invalid |
50 |
+ * - stringlist - addresslink (requires Horde-3.2) |
51 |
+ * required - Boolean whether this field is mandatory. |
52 |
+ * readonly - Boolean whether this field is editable. |
53 |
+ * desc - Any help text attached to the field. |
54 |
+ * time_object_label - The text to describe the time object category. |
55 |
+ * Only valid for monthdayyear types and removing this |
56 |
+ * from a monthdayyear type will hide it from the |
57 |
+ * listTimeObjects api. |
58 |
+ * params - Any other parameters that need to be passed to the |
59 |
+ * field. For a documentation of available field |
60 |
+ * paramaters see |
61 |
+ * http://wiki.horde.org/Doc/Dev/FormTypes. |
62 |
+ * </pre> |
63 |
+ * |
64 |
+ * $Horde: turba/config/attributes.php.dist,v 1.36.6.18 2008-11-12 06:29:26 wrobel Exp $ |
65 |
+ */ |
66 |
+ |
67 |
+/* Personal stuff. */ |
68 |
+$attributes['name'] = array( |
69 |
+ 'label' => _("Name"), |
70 |
+ 'type' => 'text', |
71 |
+ 'required' => true, |
72 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
73 |
+); |
74 |
+$attributes['firstname'] = array( |
75 |
+ 'label' => _("First Name"), |
76 |
+ 'type' => 'text', |
77 |
+ 'required' => false, |
78 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
79 |
+); |
80 |
+$attributes['lastname'] = array( |
81 |
+ 'label' => _("Last Name"), |
82 |
+ 'type' => 'text', |
83 |
+ 'required' => true, |
84 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
85 |
+); |
86 |
+$attributes['middlenames'] = array( |
87 |
+ 'label' => _("Middle Names"), |
88 |
+ 'type' => 'text', |
89 |
+ 'required' => false, |
90 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
91 |
+); |
92 |
+$attributes['namePrefix'] = array( |
93 |
+ 'label' => _("Name Prefixes"), |
94 |
+ 'type' => 'text', |
95 |
+ 'required' => false, |
96 |
+ 'params' => array('regex' => '', 'size' => 32, 'maxlength' => 32) |
97 |
+); |
98 |
+$attributes['nameSuffix'] = array( |
99 |
+ 'label' => _("Name Suffixes"), |
100 |
+ 'type' => 'text', |
101 |
+ 'required' => false, |
102 |
+ 'params' => array('regex' => '', 'size' => 32, 'maxlength' => 32) |
103 |
+); |
104 |
+$attributes['alias'] = array( |
105 |
+ 'label' => _("Alias"), |
106 |
+ 'type' => 'text', |
107 |
+ 'required' => false, |
108 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 32) |
109 |
+); |
110 |
+$attributes['nickname'] = array( |
111 |
+ 'label' => _("Nickname"), |
112 |
+ 'type' => 'text', |
113 |
+ 'required' => false, |
114 |
+ 'params' => array('regex' => '', 'size' => 32, 'maxlength' => 32) |
115 |
+); |
116 |
+$attributes['birthday'] = array( |
117 |
+ 'label' => _("Birthday"), |
118 |
+ 'type' => 'monthdayyear', |
119 |
+ 'required' => false, |
120 |
+ 'params' => array('start_year' => 1900, 'end_year' => null, 'picker' => true, 'format_in' => '%Y-%m-%d', 'format_out' => $GLOBALS['prefs']->getValue('date_format')), |
121 |
+ 'time_object_label' => _("Birthdays"), |
122 |
+); |
123 |
+$attributes['anniversary'] = array( |
124 |
+ 'label' => _("Anniversary"), |
125 |
+ 'type' => 'monthdayyear', |
126 |
+ 'params' => array('start_year' => 1900, 'end_year' => null, 'picker' => true, 'format_in' => '%Y-%m-%d', 'format_out' => $GLOBALS['prefs']->getValue('date_format')), |
127 |
+ 'required' => false, |
128 |
+ 'time_object_label' => _("Anniversaries"), |
129 |
+); |
130 |
+$attributes['spouse'] = array( |
131 |
+ 'label' => _("Spouse"), |
132 |
+ 'type' => 'text', |
133 |
+ 'required' => false, |
134 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
135 |
+); |
136 |
+$attributes['children'] = array( |
137 |
+ 'label' => _("Children"), |
138 |
+ 'type' => 'text', |
139 |
+ 'required' => false, |
140 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
141 |
+); |
142 |
+$attributes['photo'] = array( |
143 |
+ 'label' => _("Photo"), |
144 |
+ 'type' => 'image', |
145 |
+ 'required' => false, |
146 |
+ 'params' => array('show_upload' => true, 'show_keeporig' => true, 'max_filesize' => null), |
147 |
+); |
148 |
+$attributes['phototype'] = array( |
149 |
+ 'label' => _("Photo MIME Type"), |
150 |
+ 'type' => 'text', |
151 |
+ 'required' => false, |
152 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
153 |
+); |
154 |
+ |
155 |
+/* Locations, addresses. */ |
156 |
+$attributes['homeAddress'] = array( |
157 |
+ 'label' => _("Home Address"), |
158 |
+ 'type' => 'address', |
159 |
+ 'required' => false, |
160 |
+ 'params' => array('rows' => 3, 'cols' => 40) |
161 |
+); |
162 |
+$attributes['homeStreet'] = array( |
163 |
+ 'label' => _("Home Street Address"), |
164 |
+ 'type' => 'text', |
165 |
+ 'required' => false, |
166 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
167 |
+); |
168 |
+$attributes['homePOBox'] = array( |
169 |
+ 'label' => _("Home Post Office Box"), |
170 |
+ 'type' => 'text', |
171 |
+ 'required' => false, |
172 |
+ 'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10) |
173 |
+); |
174 |
+$attributes['homeCity'] = array( |
175 |
+ 'label' => _("Home City"), |
176 |
+ 'type' => 'text', |
177 |
+ 'required' => false, |
178 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
179 |
+); |
180 |
+$attributes['homeProvince'] = array( |
181 |
+ 'label' => _("Home State/Province"), |
182 |
+ 'type' => 'text', |
183 |
+ 'required' => false, |
184 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
185 |
+); |
186 |
+$attributes['homePostalCode'] = array( |
187 |
+ 'label' => _("Home Postal Code"), |
188 |
+ 'type' => 'text', |
189 |
+ 'required' => false, |
190 |
+ 'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10) |
191 |
+); |
192 |
+$attributes['homeCountry'] = array( |
193 |
+ 'label' => _("Home Country"), |
194 |
+ 'type' => 'text', |
195 |
+ 'required' => false, |
196 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
197 |
+); |
198 |
+/* If using Horde 3.2 or higher, you can display a drop down with a country |
199 |
+ * list. */ |
200 |
+// $attributes['homeCountry'] = array( |
201 |
+// 'label' => _("Home Country"), |
202 |
+// 'type' => 'country', |
203 |
+// 'required' => false, |
204 |
+// 'params' => array('prompt' => true) |
205 |
+// ); |
206 |
+$attributes['workAddress'] = array( |
207 |
+ 'label' => _("Work Address"), |
208 |
+ 'type' => 'address', |
209 |
+ 'required' => false, |
210 |
+ 'params' => array('rows' => 3, 'cols' => 40) |
211 |
+); |
212 |
+$attributes['workStreet'] = array( |
213 |
+ 'label' => _("Work Street Address"), |
214 |
+ 'type' => 'text', |
215 |
+ 'required' => false, |
216 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
217 |
+); |
218 |
+$attributes['workPOBox'] = array( |
219 |
+ 'label' => _("Work Post Office Box"), |
220 |
+ 'type' => 'text', |
221 |
+ 'required' => false, |
222 |
+ 'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10) |
223 |
+); |
224 |
+$attributes['workCity'] = array( |
225 |
+ 'label' => _("Work City"), |
226 |
+ 'type' => 'text', |
227 |
+ 'required' => false, |
228 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
229 |
+); |
230 |
+$attributes['workProvince'] = array( |
231 |
+ 'label' => _("Work State/Province"), |
232 |
+ 'type' => 'text', |
233 |
+ 'required' => false, |
234 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
235 |
+); |
236 |
+$attributes['workPostalCode'] = array( |
237 |
+ 'label' => _("Work Postal Code"), |
238 |
+ 'type' => 'text', |
239 |
+ 'required' => false, |
240 |
+ 'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10) |
241 |
+); |
242 |
+$attributes['workCountry'] = array( |
243 |
+ 'label' => _("Work Country"), |
244 |
+ 'type' => 'text', |
245 |
+ 'required' => false, |
246 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
247 |
+); |
248 |
+/* If using Horde 3.2 or higher, you can display a drop down with a country |
249 |
+ * list. */ |
250 |
+// $attributes['workCountry'] = array( |
251 |
+// 'label' => _("Work Country"), |
252 |
+// 'type' => 'country', |
253 |
+// 'required' => false, |
254 |
+// 'params' => array('prompt' => true) |
255 |
+// ); |
256 |
+$attributes['companyAddress'] = array( |
257 |
+ 'label' => _("Company Address"), |
258 |
+ 'type' => 'address', |
259 |
+ 'required' => false, |
260 |
+ 'params' => array('rows' => 3, 'cols' => 40) |
261 |
+); |
262 |
+$attributes['timezone'] = array( |
263 |
+ 'label' => _("Time Zone"), |
264 |
+ 'type' => 'enum', |
265 |
+ 'params' => array('values' => $GLOBALS['tz'], 'prompt' => true), |
266 |
+ 'required' => false |
267 |
+); |
268 |
+ |
269 |
+/* Communication. */ |
270 |
+$attributes['email'] = array( |
271 |
+ 'label' => _("Email"), |
272 |
+ 'type' => 'email', |
273 |
+ 'required' => false, |
274 |
+ 'params' => array('allow_multi' => true, 'strip_domain' => false, 'link_compose' => true) |
275 |
+); |
276 |
+$attributes['emails'] = array( |
277 |
+ 'label' => _("Emails"), |
278 |
+ 'type' => 'email', |
279 |
+ 'required' => false, |
280 |
+ 'params' => array('allow_multi' => true, 'strip_domain' => false, 'link_compose' => true) |
281 |
+); |
282 |
+$attributes['homePhone'] = array( |
283 |
+ 'label' => _("Home Phone"), |
284 |
+ 'type' => 'phone', |
285 |
+ 'required' => false |
286 |
+); |
287 |
+$attributes['workPhone'] = array( |
288 |
+ 'label' => _("Work Phone"), |
289 |
+ 'type' => 'phone', |
290 |
+ 'required' => false |
291 |
+); |
292 |
+$attributes['cellPhone'] = array( |
293 |
+ 'label' => _("Mobile Phone"), |
294 |
+ 'type' => 'cellphone', |
295 |
+ 'required' => false |
296 |
+); |
297 |
+$attributes['fax'] = array( |
298 |
+ 'label' => _("Fax"), |
299 |
+ 'type' => 'phone', |
300 |
+ 'required' => false |
301 |
+); |
302 |
+$attributes['pager'] = array( |
303 |
+ 'label' => _("Pager"), |
304 |
+ 'type' => 'phone', |
305 |
+ 'required' => false |
306 |
+); |
307 |
+ |
308 |
+/* Job, company, organization. */ |
309 |
+$attributes['title'] = array( |
310 |
+ 'label' => _("Job Title"), |
311 |
+ 'type' => 'text', |
312 |
+ 'required' => false, |
313 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
314 |
+); |
315 |
+$attributes['role'] = array( |
316 |
+ 'label' => _("Occupation"), |
317 |
+ 'type' => 'text', |
318 |
+ 'required' => false, |
319 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
320 |
+); |
321 |
+$attributes['businessCategory'] = array( |
322 |
+ 'label' => _("Business Category"), |
323 |
+ 'type' => 'text', |
324 |
+ 'required' => false, |
325 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
326 |
+); |
327 |
+$attributes['company'] = array( |
328 |
+ 'label' => _("Company"), |
329 |
+ 'type' => 'text', |
330 |
+ 'required' => false, |
331 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
332 |
+); |
333 |
+$attributes['department'] = array( |
334 |
+ 'label' => _("Department"), |
335 |
+ 'type' => 'text', |
336 |
+ 'required' => false, |
337 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
338 |
+); |
339 |
+$attributes['office'] = array( |
340 |
+ 'label' => _("Office"), |
341 |
+ 'type' => 'text', |
342 |
+ 'required' => false, |
343 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
344 |
+); |
345 |
+$attributes['logo'] = array( |
346 |
+ 'label' => _("Logo"), |
347 |
+ 'type' => 'image', |
348 |
+ 'required' => false, |
349 |
+ 'params' => array('show_upload' => true, 'show_keeporig' => true, 'max_filesize' => null), |
350 |
+); |
351 |
+$attributes['logotype'] = array( |
352 |
+ 'label' => _("Logo MIME Type"), |
353 |
+ 'type' => 'text', |
354 |
+ 'required' => false, |
355 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
356 |
+); |
357 |
+ |
358 |
+/* Other */ |
359 |
+$attributes['notes'] = array( |
360 |
+ 'label' => _("Notes"), |
361 |
+ 'type' => 'longtext', |
362 |
+ 'required' => false, |
363 |
+ 'params' => array('rows' => 3, 'cols' => 40) |
364 |
+); |
365 |
+$attributes['website'] = array( |
366 |
+ 'label' => _("Website URL"), |
367 |
+ 'type' => 'text', |
368 |
+ 'required' => false, |
369 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
370 |
+); |
371 |
+$attributes['freebusyUrl'] = array( |
372 |
+ 'label' => _("Freebusy URL"), |
373 |
+ 'type' => 'text', |
374 |
+ 'required' => false, |
375 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
376 |
+); |
377 |
+$attributes['pgpPublicKey'] = array( |
378 |
+ 'label' => _("PGP Public Key"), |
379 |
+ 'type' => 'longtext', |
380 |
+ 'required' => false, |
381 |
+ 'params' => array('rows' => 3, 'cols' => 40) |
382 |
+); |
383 |
+$attributes['smimePublicKey'] = array( |
384 |
+ 'label' => _("S/MIME Public Certificate"), |
385 |
+ 'type' => 'longtext', |
386 |
+ 'required' => false, |
387 |
+ 'params' => array('rows' => 3, 'cols' => 40) |
388 |
+); |
389 |
+/* If using Horde 3.3 or later, you can enable the following attributes to |
390 |
+ * enable pretty rendering of PGP and S/MIME keys. */ |
391 |
+// $attributes['pgpPublicKey'] = array( |
392 |
+// 'label' => _("PGP Public Key"), |
393 |
+// 'type' => 'pgp', |
394 |
+// 'required' => false, |
395 |
+// 'params' => array('gpg' => '/usr/bin/gpg', 'temp_dir' => Horde::getTempDir(), 'rows' => 3, 'cols' => 40) |
396 |
+// ); |
397 |
+// $attributes['smimePublicKey'] = array( |
398 |
+// 'label' => _("S/MIME Public Certificate"), |
399 |
+// 'type' => 'smime', |
400 |
+// 'required' => false, |
401 |
+// 'params' => array('temp_dir' => Horde::getTempDir(), 'rows' => 3, 'cols' => 40) |
402 |
+// ); |
403 |
+/* This attribute uses Horde's categories and is an example how to use an enum |
404 |
+ * field. Don't forget to add a 'map' entry to config/sources.php if you want |
405 |
+ * to use this attribute. */ |
406 |
+require_once 'Horde/Prefs/CategoryManager.php'; |
407 |
+require_once 'Horde/Array.php'; |
408 |
+$cManager = new Prefs_CategoryManager(); |
409 |
+$attributes['category'] = array( |
410 |
+ 'label' => _("Category"), |
411 |
+ 'type' => 'enum', |
412 |
+ 'params' => array( |
413 |
+ 'values' => array_merge(array('' => _("Unfiled")), Horde_Array::valuesToKeys($cManager->get())), |
414 |
+ 'prompt' => false), |
415 |
+ 'required' => false |
416 |
+); |
417 |
+/* If using Horde 3.2 or later, you can use the following category attribute |
418 |
+ * instead which shows category colors and allows to add new categories. */ |
419 |
+// $attributes['category'] = array( |
420 |
+// 'label' => _("Category"), |
421 |
+// 'type' => 'category', |
422 |
+// 'params' => array(), |
423 |
+// 'required' => false |
424 |
+// ); |
425 |
+ |
426 |
+/* Additional attributes supported by Kolab */ |
427 |
+$attributes['kolabHomeServer'] = array( |
428 |
+ 'label' => _("Kolab Home Server"), |
429 |
+ 'type' => 'text', |
430 |
+ 'required' => false, |
431 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
432 |
+); |
433 |
+$attributes['initials'] = array( |
434 |
+ 'label' => _("Initials"), |
435 |
+ 'type' => 'text', |
436 |
+ 'required' => false, |
437 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
438 |
+); |
439 |
+$attributes['instantMessenger'] = array( |
440 |
+ 'label' => _("Instant Messenger"), |
441 |
+ 'type' => 'text', |
442 |
+ 'required' => false, |
443 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
444 |
+); |
445 |
+$attributes['manager'] = array( |
446 |
+ 'label' => _("Manager"), |
447 |
+ 'type' => 'text', |
448 |
+ 'required' => false, |
449 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
450 |
+); |
451 |
+$attributes['assistant'] = array( |
452 |
+ 'label' => _("Assistant"), |
453 |
+ 'type' => 'text', |
454 |
+ 'required' => false, |
455 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
456 |
+); |
457 |
+$attributes['gender'] = array( |
458 |
+ 'label' => _("Gender"), |
459 |
+ 'type' => 'enum', |
460 |
+ 'required' => false, |
461 |
+ 'params' => array('values' => array(_("male"), _("female")), 'prompt' => true), |
462 |
+); |
463 |
+$attributes['language'] = array( |
464 |
+ 'label' => _("Language"), |
465 |
+ 'type' => 'text', |
466 |
+ 'required' => false, |
467 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
468 |
+); |
469 |
+$attributes['latitude'] = array( |
470 |
+ 'label' => _("Latitude"), |
471 |
+ 'type' => 'number', |
472 |
+ 'required' => false, |
473 |
+); |
474 |
+$attributes['longitude'] = array( |
475 |
+ 'label' => _("Longitude"), |
476 |
+ 'type' => 'number', |
477 |
+ 'required' => false, |
478 |
+); |
479 |
+ |
480 |
+/* Additional attributes supported by some SyncML clients */ |
481 |
+$attributes['workEmail'] = array( |
482 |
+ 'label' => _("Work Email"), |
483 |
+ 'type' => 'email', |
484 |
+ 'required' => false, |
485 |
+ 'params' => array('allow_multi' => false, 'strip_domain' => false, 'link_compose' => true) |
486 |
+); |
487 |
+$attributes['homeEmail'] = array( |
488 |
+ 'label' => _("Home Email"), |
489 |
+ 'type' => 'email', |
490 |
+ 'required' => false, |
491 |
+ 'params' => array('allow_multi' => false, 'strip_domain' => false, 'link_compose' => true) |
492 |
+); |
493 |
+$attributes['phone'] = array( |
494 |
+ 'label' => _("Common Phone"), |
495 |
+ 'type' => 'phone', |
496 |
+ 'required' => false |
497 |
+); |
498 |
+$attributes['workFax'] = array( |
499 |
+ 'label' => _("Work Fax"), |
500 |
+ 'type' => 'phone', |
501 |
+ 'required' => false |
502 |
+); |
503 |
+$attributes['homeFax'] = array( |
504 |
+ 'label' => _("Home Fax"), |
505 |
+ 'type' => 'phone', |
506 |
+ 'required' => false |
507 |
+); |
508 |
+$attributes['workCellPhone'] = array( |
509 |
+ 'label' => _("Work Mobile Phone"), |
510 |
+ 'type' => 'cellphone', |
511 |
+ 'required' => false |
512 |
+); |
513 |
+$attributes['homeCellPhone'] = array( |
514 |
+ 'label' => _("Home Mobile Phone"), |
515 |
+ 'type' => 'cellphone', |
516 |
+ 'required' => false |
517 |
+); |
518 |
+$attributes['videoCall'] = array( |
519 |
+ 'label' => _("Common Video Call"), |
520 |
+ 'type' => 'phone', |
521 |
+ 'required' => false |
522 |
+); |
523 |
+$attributes['workVideoCall'] = array( |
524 |
+ 'label' => _("Work Video Call"), |
525 |
+ 'type' => 'phone', |
526 |
+ 'required' => false |
527 |
+); |
528 |
+$attributes['homeVideoCall'] = array( |
529 |
+ 'label' => _("Home Video Call"), |
530 |
+ 'type' => 'phone', |
531 |
+ 'required' => false |
532 |
+); |
533 |
+$attributes['voip'] = array( |
534 |
+ 'label' => _("VoIP"), |
535 |
+ 'type' => 'phone', |
536 |
+ 'required' => false |
537 |
+); |
538 |
+$attributes['sip'] = array( |
539 |
+ 'label' => _("SIP"), |
540 |
+ 'type' => 'email', |
541 |
+ 'required' => false, |
542 |
+ 'params' => array('allow_multi' => true, 'strip_domain' => false, 'link_compose' => true) |
543 |
+); |
544 |
+$attributes['ptt'] = array( |
545 |
+ 'label' => _("PTT"), |
546 |
+ 'type' => 'phone', |
547 |
+ 'required' => false |
548 |
+); |
549 |
+$attributes['commonExtended'] = array( |
550 |
+ 'label' => _("Common Address Extended"), |
551 |
+ 'type' => 'text', |
552 |
+ 'required' => false, |
553 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
554 |
+); |
555 |
+$attributes['commonStreet'] = array( |
556 |
+ 'label' => _("Common Street"), |
557 |
+ 'type' => 'address', |
558 |
+ 'required' => false, |
559 |
+ 'params' => array('rows' => 3, 'cols' => 40) |
560 |
+); |
561 |
+$attributes['commonPOBox'] = array( |
562 |
+ 'label' => _("Common Post Office Box"), |
563 |
+ 'type' => 'text', |
564 |
+ 'required' => false, |
565 |
+ 'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10) |
566 |
+); |
567 |
+$attributes['commonCity'] = array( |
568 |
+ 'label' => _("Common City"), |
569 |
+ 'type' => 'text', |
570 |
+ 'required' => false, |
571 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
572 |
+); |
573 |
+$attributes['commonProvince'] = array( |
574 |
+ 'label' => _("Common State/Province"), |
575 |
+ 'type' => 'text', |
576 |
+ 'required' => false, |
577 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
578 |
+); |
579 |
+$attributes['commonPostalCode'] = array( |
580 |
+ 'label' => _("Common Postal Code"), |
581 |
+ 'type' => 'text', |
582 |
+ 'required' => false, |
583 |
+ 'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10) |
584 |
+); |
585 |
+$attributes['commonCountry'] = array( |
586 |
+ 'label' => _("Common Country"), |
587 |
+ 'type' => 'text', |
588 |
+ 'required' => false, |
589 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
590 |
+); |
591 |
+$attributes['workWebsite'] = array( |
592 |
+ 'label' => _("Work Website URL"), |
593 |
+ 'type' => 'text', |
594 |
+ 'required' => false, |
595 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
596 |
+); |
597 |
+$attributes['workExtended'] = array( |
598 |
+ 'label' => _("Work Address Extended"), |
599 |
+ 'type' => 'text', |
600 |
+ 'required' => false, |
601 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
602 |
+); |
603 |
+$attributes['workLatitude'] = array( |
604 |
+ 'label' => _("Work Latitude"), |
605 |
+ 'type' => 'number', |
606 |
+ 'required' => false, |
607 |
+); |
608 |
+$attributes['workLongitude'] = array( |
609 |
+ 'label' => _("Work Longitude"), |
610 |
+ 'type' => 'number', |
611 |
+ 'required' => false, |
612 |
+); |
613 |
+$attributes['homeWebsite'] = array( |
614 |
+ 'label' => _("Home Website URL"), |
615 |
+ 'type' => 'text', |
616 |
+ 'required' => false, |
617 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
618 |
+); |
619 |
+$attributes['homeExtended'] = array( |
620 |
+ 'label' => _("Home Address Extended"), |
621 |
+ 'type' => 'text', |
622 |
+ 'required' => false, |
623 |
+ 'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255) |
624 |
+); |
625 |
+$attributes['homeLatitude'] = array( |
626 |
+ 'label' => _("Home Latitude"), |
627 |
+ 'type' => 'number', |
628 |
+ 'required' => false, |
629 |
+); |
630 |
+$attributes['homeLongitude'] = array( |
631 |
+ 'label' => _("Home Longitude"), |
632 |
+ 'type' => 'number', |
633 |
+ 'required' => false, |
634 |
+); |
635 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-turba-3.2.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/turba/config/attributes.php mezzanine_patched_e-smith-turba-3.2.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/turba/config/attributes.php |
636 |
--- e-smith-turba-3.2.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/turba/config/attributes.php 1969-12-31 18:00:00.000000000 -0600 |
637 |
+++ mezzanine_patched_e-smith-turba-3.2.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/turba/config/attributes.php 2010-04-24 21:01:10.000000000 -0500 |
638 |
@@ -0,0 +1,2 @@ |
639 |
+PERMS=0640 |
640 |
+GID="www" |