[ Index ]
 

Code source de DokuWiki 2006-11-06

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/conf/ -> mediameta.php (source)

   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://wiki.splitbrain.org/wiki:tpl: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  


Généré le : Tue Apr 3 20:47:31 2007 par Balluche grâce à PHPXref 0.7