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