source: documentation/trunk/packages/dokuwiki-2011-05-25a/conf/mediameta.php@ 25027

Last change on this file since 25027 was 25027, checked in by jmt12, 12 years ago

Adding the packages directory, and within it a configured version of dokuwiki all ready to run

File size: 1.7 KB
Line 
1<?php
2/**
3 * This configures which meta data will be editable through
4 * the media manager. Each field of the array is an array with the
5 * following contents:
6 * fieldname - Where data will be saved (EXIF or IPTC field)
7 * label - key to lookup in the $lang var, if not found printed as is
8 * htmltype - 'text' or 'textarea'
9 * lookups - array additional fields to lookup the data (EXIF or IPTC fields)
10 *
11 * The fields are not ordered continously to make inserting additional items
12 * in between simpler.
13 *
14 * This is a PHP snippet, so PHP syntax applies.
15 *
16 * Note: $fields is not a global variable and will not be available to any
17 * other functions or templates later
18 *
19 * You may extend or overwrite this variable in a optional
20 * conf/mediameta.local.php file
21 *
22 * For a list of available EXIF/IPTC fields refer to
23 * http://www.dokuwiki.org/devel:templates:detail.php
24 */
25
26
27$fields = array(
28 10 => array('Iptc.Headline',
29 'img_title',
30 'text'),
31
32 20 => array('Iptc.Caption',
33 'img_caption',
34 'textarea',
35 array('Exif.UserComment',
36 'Exif.TIFFImageDescription',
37 'Exif.TIFFUserComment')),
38
39 30 => array('Iptc.Byline',
40 'img_artist',
41 'text',
42 array('Exif.TIFFArtist',
43 'Exif.Artist',
44 'Iptc.Credit')),
45
46 40 => array('Iptc.CopyrightNotice',
47 'img_copyr',
48 'text',
49 array('Exif.TIFFCopyright',
50 'Exif.Copyright')),
51
52 50 => array('Iptc.Keywords',
53 'img_keywords',
54 'text',
55 array('Exif.Category')),
56);
57
Note: See TracBrowser for help on using the repository browser.