1<?php
2/**
3 * Turba Attributes File.
4 *
5 * This file contains examples of attributes that Turba understands, and their
6 * types.
7 *
8 * IMPORTANT: DO NOT EDIT THIS FILE!
9 * Local overrides MUST be placed in attributes.local.php or attributes.d/.
10 * If the 'vhosts' setting has been enabled in Horde's configuration, you can
11 * use attributes-servername.php.
12 *
13 * The syntax of this array is as follows:
14 * <pre>
15 * label - The text that the user will see attached to this field.
16 * type - One of the following:
17 *   - spacer            - header
18 *   - description       - html
19 *   - number            - int
20 *   - intlist           - text
21 *   - longtext          - countedtext
22 *   - address           - file
23 *   - boolean           - link
24 *   - email             - emailconfirm
25 *   - password          - passwordconfirm
26 *   - enum              - multienum
27 *   - radio             - set
28 *   - date              - time
29 *   - monthyear         - monthdayyear
30 *   - colorpicker       - sorter
31 *   - creditcard        - invalid
32 *   - stringlist        - addresslink
33 * required - Boolean whether this field is mandatory.
34 * readonly - Boolean whether this field is editable.
35 * desc - Any help text attached to this field.
36 * default - The default value for this field.
37 * time_object_label - The text to describe the time object category.
38 *                     Only valid for monthdayyear types and removing this
39 *                     from a monthdayyear type will hide it from the
40 *                     listTimeObjects api.
41 * params - Any other parameters that need to be passed to the
42 *          field. For a documentation of available field
43 *          parameters see: http://wiki.horde.org/Doc/Dev/FormTypes.
44 * </pre>
45 */
46
47/* Personal stuff. */
48$attributes['name'] = array(
49    'label' => _("Name"),
50    'type' => 'text',
51    'required' => true,
52    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
53);
54$attributes['firstname'] = array(
55    'label' => _("First Name"),
56    'type' => 'text',
57    'required' => false,
58    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
59);
60$attributes['lastname'] = array(
61    'label' => _("Last Name"),
62    'type' => 'text',
63    'required' => true,
64    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
65);
66$attributes['middlenames'] = array(
67    'label' => _("Middle Names"),
68    'type' => 'text',
69    'required' => false,
70    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
71);
72$attributes['namePrefix'] = array(
73    'label' => _("Name Prefixes"),
74    'type' => 'text',
75    'required' => false,
76    'params' => array('regex' => '', 'size' => 32, 'maxlength' => 32)
77);
78$attributes['nameSuffix'] = array(
79    'label' => _("Name Suffixes"),
80    'type' => 'text',
81    'required' => false,
82    'params' => array('regex' => '', 'size' => 32, 'maxlength' => 32)
83);
84$attributes['alias'] = array(
85    'label' => _("Alias"),
86    'type' => 'text',
87    'required' => false,
88    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 32)
89);
90$attributes['nickname'] = array(
91    'label' => _("Nickname"),
92    'type' => 'text',
93    'required' => false,
94    'params' => array('regex' => '', 'size' => 32, 'maxlength' => 32)
95);
96$attributes['yomifirstname'] = array(
97    'label' => _("Phonetic First Name"),
98    'type' => 'text',
99    'required' => false,
100    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
101);
102$attributes['yomilastname'] = array(
103    'label' => _("Phonetic Last Name"),
104    'type' => 'text',
105    'required' => false,
106    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
107);
108$attributes['birthday'] = array(
109    'label' => _("Birthday"),
110    'type' => 'monthdayyear',
111    'required' => false,
112    'params' => array('start_year' => 1900, 'end_year' => null, 'picker' => true, 'format_in' => '%Y-%m-%d', 'format_out' => $GLOBALS['prefs']->getValue('date_format')),
113    'time_object_label' => _("Birthdays"),
114);
115$attributes['anniversary'] = array(
116    'label' => _("Anniversary"),
117    'type' => 'monthdayyear',
118    'params' => array('start_year' => 1900, 'end_year' => null, 'picker' => true, 'format_in' => '%Y-%m-%d', 'format_out' => $GLOBALS['prefs']->getValue('date_format')),
119    'required' => false,
120    'time_object_label' => _("Anniversaries"),
121);
122$attributes['spouse'] = array(
123    'label' => _("Spouse"),
124    'type' => 'text',
125    'required' => false,
126    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
127);
128$attributes['children'] = array(
129    'label' => _("Children"),
130    'type' => 'text',
131    'required' => false,
132    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
133);
134$attributes['photo'] = array(
135    'label' => _("Photo"),
136    'type' => 'image',
137    'required' => false,
138    'params' => array('show_upload' => true, 'show_keeporig' => true, 'max_filesize'  => null),
139);
140$attributes['phototype'] = array(
141    'label' => _("Photo MIME Type"),
142    'type' => 'text',
143    'required' => false,
144    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
145);
146
147/* Locations, addresses. */
148$attributes['homeAddress'] = array(
149    'label' => _("Home Address"),
150    'type' => 'address',
151    'required' => false,
152    'params' => array('rows' => 3, 'cols' => 40)
153);
154$attributes['homeStreet'] = array(
155    'label' => _("Home Street Address"),
156    'type' => 'text',
157    'required' => false,
158    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
159);
160$attributes['homePOBox'] = array(
161    'label' => _("Home Post Office Box"),
162    'type' => 'text',
163    'required' => false,
164    'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10)
165);
166$attributes['homeCity'] = array(
167    'label' => _("Home City"),
168    'type' => 'text',
169    'required' => false,
170    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
171);
172$attributes['homeProvince'] = array(
173    'label' => _("Home State/Province"),
174    'type' => 'text',
175    'required' => false,
176    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
177);
178$attributes['homePostalCode'] = array(
179    'label' => _("Home Postal Code"),
180    'type' => 'text',
181    'required' => false,
182    'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10)
183);
184$attributes['homeCountry'] = array(
185    'label' => _("Home Country"),
186    'type' => 'country',
187    'required' => false,
188    'params' => array('prompt' => true)
189);
190$attributes['homeCountryFree'] = array(
191    'label' => _("Home Country"),
192    'type' => 'text',
193    'required' => false,
194    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
195);
196$attributes['workAddress'] = array(
197    'label' => _("Work Address"),
198    'type' => 'address',
199    'required' => false,
200    'params' => array('rows' => 3, 'cols' => 40)
201);
202$attributes['workStreet'] = array(
203    'label' => _("Work Street Address"),
204    'type' => 'text',
205    'required' => false,
206    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
207);
208$attributes['workPOBox'] = array(
209    'label' => _("Work Post Office Box"),
210    'type' => 'text',
211    'required' => false,
212    'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10)
213);
214$attributes['workCity'] = array(
215    'label' => _("Work City"),
216    'type' => 'text',
217    'required' => false,
218    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
219);
220$attributes['workProvince'] = array(
221    'label' => _("Work State/Province"),
222    'type' => 'text',
223    'required' => false,
224    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
225);
226$attributes['workPostalCode'] = array(
227    'label' => _("Work Postal Code"),
228    'type' => 'text',
229    'required' => false,
230    'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10)
231);
232$attributes['workCountry'] = array(
233    'label' => _("Work Country"),
234    'type' => 'country',
235    'required' => false,
236    'params' => array('prompt' => true)
237);
238$attributes['workCountryFree'] = array(
239    'label' => _("Work Country"),
240    'type' => 'text',
241    'required' => false,
242    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
243);
244$attributes['companyAddress'] = array(
245    'label' => _("Company Address"),
246    'type' => 'address',
247    'required' => false,
248    'params' => array('rows' => 3, 'cols' => 40)
249);
250$attributes['otherAddress'] = array(
251    'label' => _("Other Address"),
252    'type' => 'address',
253    'required' => false,
254    'params' => array('rows' => 3, 'cols' => 40)
255);
256$attributes['otherStreet'] = array(
257    'label' => _("Other Street Address"),
258    'type' => 'text',
259    'required' => false,
260    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
261);
262$attributes['otherCity'] = array(
263    'label' => _("Other City"),
264    'type' => 'text',
265    'required' => false,
266    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
267);
268$attributes['otherProvince'] = array(
269    'label' => _("Other State/Province"),
270    'type' => 'text',
271    'required' => false,
272    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
273);
274$attributes['otherPostalCode'] = array(
275    'label' => _("Other Postal Code"),
276    'type' => 'text',
277    'required' => false,
278    'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10)
279);
280$attributes['otherCountry'] = array(
281    'label' => _("Other Country"),
282    'type' => 'country',
283    'required' => false,
284    'params' => array('prompt' => true)
285);
286$attributes['otherCountryFree'] = array(
287    'label' => _("Other Country"),
288    'type' => 'text',
289    'required' => false,
290    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
291);
292$attributes['otherPOBox'] = array(
293    'label' => _("Other Post Office Box"),
294    'type' => 'text',
295    'required' => false,
296    'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10)
297);
298$attributes['timezone'] = array(
299    'label' => _("Time Zone"),
300    'type' => 'enum',
301    'params' => array('values' => Horde_Nls::getTimezones(), 'prompt' => true),
302    'required' => false
303);
304
305/* Communication. */
306$attributes['email'] = array(
307    'label' => _("Email"),
308    'type' => 'email',
309    'required' => false,
310    'params' => array('allow_multi' => false, 'strip_domain' => false, 'link_compose' => true, 'link_name' => null, 'delimiters' => ',', 'size' => null)
311);
312$attributes['emails'] = array(
313    'label' => _("Emails"),
314    'type' => 'email',
315    'required' => false,
316    'params' => array('allow_multi' => true, 'strip_domain' => false, 'link_compose' => true, 'link_name' => null, 'delimiters' => ',', 'size' => null)
317);
318$attributes['homePhone'] = array(
319    'label' => _("Home Phone"),
320    'type' => 'phone',
321    'required' => false,
322    'params' => array('size' => 15)
323);
324$attributes['homePhone2'] = array(
325    'label' => _("Home Phone"),
326    'type' => 'phone',
327    'required' => false,
328    'params' => array('size' => 15)
329);
330$attributes['workPhone'] = array(
331    'label' => _("Work Phone"),
332    'type' => 'phone',
333    'required' => false,
334    'params' => array('size' => 15)
335);
336$attributes['workPhone2'] = array(
337    'label' => _("Work Phone"),
338    'type' => 'phone',
339    'required' => false,
340    'params' => array('size' => 15)
341);
342$attributes['assistPhone'] = array(
343    'label' => _("Assistant Phone"),
344    'type' => 'phone',
345    'required' => false,
346    'params' => array('size' => 15)
347);
348$attributes['companyPhone'] = array(
349    'label' => _("Company Phone"),
350    'type' => 'phone',
351    'required' => false,
352    'params' => array('size' => 15)
353);
354$attributes['cellPhone'] = array(
355    'label' => _("Mobile Phone"),
356    'type' => 'cellphone',
357    'required' => false
358);
359$attributes['carPhone'] = array(
360    'label' => _("Car Phone"),
361    'type' => 'phone',
362    'required' => false,
363    'params' => array('size' => 15)
364);
365$attributes['radioPhone'] = array(
366    'label' => _("Radio Phone"),
367    'type' => 'phone',
368    'required' => false,
369    'params' => array('size' => 15)
370);
371$attributes['fax'] = array(
372    'label' => _("Fax"),
373    'type' => 'phone',
374    'required' => false,
375    'params' => array('size' => 15)
376);
377$attributes['homeFax'] = array(
378    'label' => _("Home Fax"),
379    'type' => 'phone',
380    'required' => false,
381    'params' => array('size' => 15)
382);
383$attributes['pager'] = array(
384    'label' => _("Pager"),
385    'type' => 'phone',
386    'required' => false,
387    'params' => array('size' => 15)
388);
389$attributes['imaddress'] = array(
390    'label' => _("Instant Messenger"),
391    'type' => 'text',
392    'required' => false,
393    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
394);
395$attributes['imaddress2'] = array(
396    'label' => _("Instant Messenger"),
397    'type' => 'text',
398    'required' => false,
399    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
400);
401$attributes['imaddress3'] = array(
402    'label' => _("Instant Messenger"),
403    'type' => 'text',
404    'required' => false,
405    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
406);
407
408/* Job, company, organization. */
409$attributes['title'] = array(
410    'label' => _("Job Title"),
411    'type' => 'text',
412    'required' => false,
413    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
414);
415$attributes['role'] = array(
416    'label' => _("Occupation"),
417    'type' => 'text',
418    'required' => false,
419    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
420);
421$attributes['businessCategory'] = array(
422    'label' => _("Business Category"),
423    'type' => 'text',
424    'required' => false,
425    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
426);
427$attributes['company'] = array(
428    'label' => _("Company"),
429    'type' => 'text',
430    'required' => false,
431    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
432);
433$attributes['department'] = array(
434    'label' => _("Department"),
435    'type' => 'text',
436    'required' => false,
437    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
438);
439$attributes['office'] = array(
440    'label' => _("Office"),
441    'type' => 'text',
442    'required' => false,
443    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
444);
445$attributes['logo'] = array(
446    'label' => _("Logo"),
447    'type' => 'image',
448    'required' => false,
449    'params' => array('show_upload' => true, 'show_keeporig' => true, 'max_filesize'  => null),
450);
451$attributes['logotype'] = array(
452    'label' => _("Logo MIME Type"),
453    'type' => 'text',
454    'required' => false,
455    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
456);
457
458/* Other */
459$attributes['notes'] = array(
460    'label' => _("Notes"),
461    'type' => 'longtext',
462    'required' => false,
463    'params' => array('rows' => 3, 'cols' => 40)
464);
465$attributes['website'] = array(
466    'label' => _("Website URL"),
467    'type' => 'text',
468    'required' => false,
469    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
470);
471$attributes['freebusyUrl'] = array(
472    'label' => _("Freebusy URL"),
473    'type' => 'text',
474    'required' => false,
475    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
476);
477if (!empty($GLOBALS['conf']['gnupg']['path'])) {
478    $attributes['pgpPublicKey'] = array(
479        'label' => _("PGP Public Key"),
480        'type' => 'pgp',
481        'required' => false,
482        'params' => array('gpg' => $GLOBALS['conf']['gnupg']['path'], 'temp_dir' => Horde::getTempDir(), 'rows' => 3, 'cols' => 40)
483    );
484} else {
485    $attributes['pgpPublicKey'] = array(
486        'label' => _("PGP Public Key"),
487        'type' => 'longtext',
488        'required' => false,
489        'params' => array('rows' => 3, 'cols' => 40)
490    );
491}
492$attributes['smimePublicKey'] = array(
493    'label' => _("S/MIME Public Certificate"),
494    'type' => 'smime',
495    'required' => false,
496    'params' => array('temp_dir' => Horde::getTempDir(), 'rows' => 3, 'cols' => 40)
497);
498$attributes['category'] = array(
499    'label' => _("Category"),
500    'type' => 'category',
501    'params' => array(),
502    'required' => false
503);
504
505/* Additional attributes supported by Kolab */
506$attributes['kolabHomeServer'] = array(
507    'label' => _("Kolab Home Server"),
508    'type' => 'text',
509    'required' => false,
510    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
511);
512$attributes['initials'] = array(
513    'label' => _("Initials"),
514    'type' => 'text',
515    'required' => false,
516    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
517);
518$attributes['manager'] = array(
519    'label' => _("Manager"),
520    'type' => 'text',
521    'required' => false,
522    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
523);
524$attributes['assistant'] = array(
525    'label' => _("Assistant"),
526    'type' => 'text',
527    'required' => false,
528    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
529);
530$attributes['gender'] = array(
531    'label' => _("Gender"),
532    'type' => 'enum',
533    'required' => false,
534    'params' => array('values' => array('male' => _("male"), 'female' => _("female")), 'prompt' => true),
535);
536$attributes['language'] = array(
537    'label' => _("Language"),
538    'type' => 'text',
539    'required' => false,
540    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
541);
542$attributes['latitude'] = array(
543    'label' => _("Latitude"),
544    'type' => 'number',
545    'required' => false,
546);
547$attributes['longitude'] = array(
548    'label' => _("Longitude"),
549    'type' => 'number',
550    'required' => false,
551);
552
553/* Additional attributes supported by some SyncML clients */
554$attributes['workEmail'] = array(
555    'label' => _("Work Email"),
556    'type' => 'email',
557    'required' => false,
558    'params' => array('allow_multi' => false, 'strip_domain' => false, 'link_compose' => true, 'link_name' => null, 'delimiters' => ',', 'size' => null)
559);
560$attributes['homeEmail'] = array(
561    'label' => _("Home Email"),
562    'type' => 'email',
563    'required' => false,
564    'params' => array('allow_multi' => false, 'strip_domain' => false, 'link_compose' => true, 'link_name' => null, 'delimiters' => ',', 'size' => null)
565);
566$attributes['phone'] = array(
567    'label' => _("Common Phone"),
568    'type' => 'phone',
569    'required' => false,
570    'params' => array('size' => 15)
571);
572$attributes['workFax'] = array(
573    'label' => _("Work Fax"),
574    'type' => 'phone',
575    'required' => false,
576    'params' => array('size' => 15)
577);
578$attributes['workCellPhone'] = array(
579    'label' => _("Work Mobile Phone"),
580    'type' => 'cellphone',
581    'required' => false
582);
583$attributes['homeCellPhone'] = array(
584    'label' => _("Home Mobile Phone"),
585    'type' => 'cellphone',
586    'required' => false
587);
588$attributes['videoCall'] = array(
589    'label' => _("Common Video Call"),
590    'type' => 'phone',
591    'required' => false,
592    'params' => array('size' => 15)
593);
594$attributes['workVideoCall'] = array(
595    'label' => _("Work Video Call"),
596    'type' => 'phone',
597    'required' => false,
598    'params' => array('size' => 15)
599);
600$attributes['homeVideoCall'] = array(
601    'label' => _("Home Video Call"),
602    'type' => 'phone',
603    'required' => false,
604    'params' => array('size' => 15)
605);
606$attributes['voip'] = array(
607    'label' => _("VoIP"),
608    'type' => 'phone',
609    'required' => false,
610    'params' => array('size' => 15)
611);
612$attributes['sip'] = array(
613    'label' => _("SIP"),
614    'type' => 'email',
615    'required' => false,
616    'params' => array('allow_multi' => true, 'strip_domain' => false, 'link_compose' => true, 'link_name' => null, 'delimiters' => ',', 'size' => null)
617);
618$attributes['ptt'] = array(
619    'label' => _("PTT"),
620    'type' => 'phone',
621    'required' => false,
622    'params' => array('size' => 15)
623);
624$attributes['commonExtended'] = array(
625    'label' => _("Common Address Extended"),
626    'type' => 'text',
627    'required' => false,
628    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
629);
630$attributes['commonStreet'] = array(
631    'label' => _("Common Street"),
632    'type' => 'address',
633    'required' => false,
634    'params' => array('rows' => 3, 'cols' => 40)
635);
636$attributes['commonPOBox'] = array(
637    'label' => _("Common Post Office Box"),
638    'type' => 'text',
639    'required' => false,
640    'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10)
641);
642$attributes['commonCity'] = array(
643    'label' => _("Common City"),
644    'type' => 'text',
645    'required' => false,
646    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
647);
648$attributes['commonProvince'] = array(
649    'label' => _("Common State/Province"),
650    'type' => 'text',
651    'required' => false,
652    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
653);
654$attributes['commonPostalCode'] = array(
655    'label' => _("Common Postal Code"),
656    'type' => 'text',
657    'required' => false,
658    'params' => array('regex' => '', 'size' => 10, 'maxlength' => 10)
659);
660$attributes['commonCountry'] = array(
661    'label' => _("Common Country"),
662    'type' => 'text',
663    'required' => false,
664    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
665);
666$attributes['commonCountryFree'] = array(
667    'label' => _("Common Country"),
668    'type' => 'text',
669    'required' => false,
670    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
671);
672$attributes['workWebsite'] = array(
673    'label' => _("Work Website URL"),
674    'type' => 'text',
675    'required' => false,
676    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
677);
678$attributes['workExtended'] = array(
679    'label' => _("Work Address Extended"),
680    'type' => 'text',
681    'required' => false,
682    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
683);
684$attributes['workLatitude'] = array(
685    'label' => _("Work Latitude"),
686    'type' => 'number',
687    'required' => false,
688);
689$attributes['workLongitude'] = array(
690    'label' => _("Work Longitude"),
691    'type' => 'number',
692    'required' => false,
693);
694$attributes['homeWebsite'] = array(
695    'label' => _("Home Website URL"),
696    'type' => 'text',
697    'required' => false,
698    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
699);
700$attributes['homeExtended'] = array(
701    'label' => _("Home Address Extended"),
702    'type' => 'text',
703    'required' => false,
704    'params' => array('regex' => '', 'size' => 40, 'maxlength' => 255)
705);
706$attributes['homeLatitude'] = array(
707    'label' => _("Home Latitude"),
708    'type' => 'number',
709    'required' => false,
710);
711$attributes['homeLongitude'] = array(
712    'label' => _("Home Longitude"),
713    'type' => 'number',
714    'required' => false,
715);
716$attributes['__tags'] = array(
717    'label' => _("Tags"),
718    'type' => 'Turba:TurbaTags',
719    'required' => false,
720);
721