Changeset 5790


Ignore:
Timestamp:
Apr 11, 2010, 11:17:25 AM (10 years ago)
Author:
grum
Message:

Add some GPS functionnalities

Location:
extensions/AMetaData
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/amd_install.class.inc.php

    r5226 r5790  
    140140       * fill the 'used_tags' table with default values
    141141       */
    142       foreach(JpegMetaData::getTagList(Array('filter' => JpegMetaData::TAGFILTER_IMPLEMENTED, 'xmp' => true, 'maker' => true, 'iptc' => true)) as $key => $val)
     142      foreach(AMD_JpegMetaData::getTagList(Array('filter' => AMD_JpegMetaData::TAGFILTER_IMPLEMENTED, 'xmp' => true, 'maker' => true, 'iptc' => true)) as $key => $val)
    143143      {
    144144        $sql="INSERT INTO ".$this->tables['used_tags']." VALUES('', '".$key."', '".(($val['translatable'])?'y':'n')."', '".$val['name']."', 0, '".L10n::get($val['name'])."');";
  • extensions/AMetaData/amd_pip.class.inc.php

    r5226 r5790  
    8383      $filename,
    8484      Array(
    85         'filter' => JpegMetaData::TAGFILTER_IMPLEMENTED,
     85        'filter' => AMD_JpegMetaData::TAGFILTER_IMPLEMENTED,
    8686        'optimizeIptcDateTime' => true,
    8787        'exif' => true,
    8888        'iptc' => true,
    89         'xmp' => true
     89        'xmp' => true,
     90        'magic' => true,
    9091      )
    9192    );
  • extensions/AMetaData/amd_root.class.inc.php

    r5237 r5790  
    2424include_once(PHPWG_PLUGINS_PATH.'grum_plugins_classes-2/css.class.inc.php');
    2525
    26 include_once('JpegMetaData/JpegMetaData.class.php');
     26include_once('amd_jpegmetadata.class.inc.php');
    2727include_once(JPEG_METADATA_DIR."Common/L10n.class.php");
    2828include_once(JPEG_METADATA_DIR."TagDefinitions/XmpTags.class.php");
     
    4444
    4545    $this->css = new css(dirname($this->filelocation).'/'.$this->plugin_name_files.".css");
    46     $this->jpegMD=new JpegMetaData();
     46    $this->jpegMD=new AMD_JpegMetaData();
    4747
    4848    if(isset($user['language']))
     
    176176        $fileName,
    177177        Array(
    178           'filter' => JpegMetaData::TAGFILTER_IMPLEMENTED,
     178          'filter' => AMD_JpegMetaData::TAGFILTER_IMPLEMENTED,
    179179          'optimizeIptcDateTime' => true,
    180180          'exif' => true,
Note: See TracChangeset for help on using the changeset viewer.