13df72098SAndreas Gohr<?php 23df72098SAndreas Gohr/** 33df72098SAndreas Gohr * This configures which meta data will be editable through 43df72098SAndreas Gohr * the media manager. Each field of the array is an array with the 53df72098SAndreas Gohr * following contents: 63df72098SAndreas Gohr * fieldname - Where data will be saved (EXIF or IPTC field) 73df72098SAndreas Gohr * label - key to lookup in the $lang var, if not found printed as is 83df72098SAndreas Gohr * htmltype - 'text' or 'textarea' 93df72098SAndreas Gohr * lookups - array additional fields to lookup the data (EXIF or IPTC fields) 103df72098SAndreas Gohr * 113df72098SAndreas Gohr * The fields are not ordered continously to make inserting additional items 123df72098SAndreas Gohr * in between simpler. 133df72098SAndreas Gohr * 143df72098SAndreas Gohr * This is a PHP snippet, so PHP syntax applies. 153df72098SAndreas Gohr * 163df72098SAndreas Gohr * Note: $fields is not a global variable and will not be available to any 173df72098SAndreas Gohr * other functions or templates later 183df72098SAndreas Gohr * 193df72098SAndreas Gohr * You may extend or overwrite this variable in a optional 203df72098SAndreas Gohr * conf/mediameta.local.php file 213df72098SAndreas Gohr * 223df72098SAndreas Gohr * For a list of available EXIF/IPTC fields refer to 23*f46c9e83SAnika Henke * http://www.dokuwiki.org/devel:templates:detail.php 243df72098SAndreas Gohr */ 253df72098SAndreas Gohr 263df72098SAndreas Gohr 273df72098SAndreas Gohr$fields = array( 283df72098SAndreas Gohr 10 => array('Iptc.Headline', 293df72098SAndreas Gohr 'img_title', 303df72098SAndreas Gohr 'text'), 313df72098SAndreas Gohr 323df72098SAndreas Gohr 20 => array('Iptc.Caption', 333df72098SAndreas Gohr 'img_caption', 343df72098SAndreas Gohr 'textarea', 353df72098SAndreas Gohr array('Exif.UserComment', 363df72098SAndreas Gohr 'Exif.TIFFImageDescription', 373df72098SAndreas Gohr 'Exif.TIFFUserComment')), 383df72098SAndreas Gohr 393df72098SAndreas Gohr 30 => array('Iptc.Byline', 403df72098SAndreas Gohr 'img_artist', 413df72098SAndreas Gohr 'text', 423df72098SAndreas Gohr array('Exif.TIFFArtist', 433df72098SAndreas Gohr 'Exif.Artist', 443df72098SAndreas Gohr 'Iptc.Credit')), 453df72098SAndreas Gohr 463df72098SAndreas Gohr 40 => array('Iptc.CopyrightNotice', 473df72098SAndreas Gohr 'img_copyr', 483df72098SAndreas Gohr 'text', 493df72098SAndreas Gohr array('Exif.TIFFCopyright', 503df72098SAndreas Gohr 'Exif.Copyright')), 513df72098SAndreas Gohr 523df72098SAndreas Gohr 50 => array('Iptc.Keywords', 533df72098SAndreas Gohr 'img_keywords', 543df72098SAndreas Gohr 'text', 553df72098SAndreas Gohr array('Exif.Category')), 563df72098SAndreas Gohr); 573df72098SAndreas Gohr 58