Ignore:
Timestamp:
Sep 14, 2005, 11:57:05 PM (19 years ago)
Author:
plg
Message:
  • improvement: long localized messages are in HTML files instead of $lang array. This is the case of admin/help and about pages.
  • deletion: of unused functions (ts_to_mysqldt, is_image, TN_exists, check_date_format, date_convert, get_category_directories, get_used_metadata_list, array_remove, pwg_write_debug, get_group_restrictions, get_all_group_restrictions, is_group_allowed, style_select, deprecated_getAttribute).
  • new: many new contextual help pages to replace descriptions previously included in pages.
  • modification: reorganisation of language files. Deletion of unused language keys, alphabetical sort. No faq.lang.php anymore (replaced by help.html). Only done for en_UK.iso-8859-1.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_metadata.php

    r858 r862  
    222222  return $files;
    223223}
    224 
    225 // used_metadata string is displayed to inform admin which metadata will be
    226 // used from files for synchronization
    227 function get_used_metadata_list()
    228 {
    229   global $conf;
    230  
    231   $used_metadata = array('filesize', 'width', 'height');
    232 
    233   if ($conf['use_exif'])
    234   {
    235     array_push($used_metadata, 'date_creation');
    236   }
    237 
    238   if ($conf['use_iptc'])
    239   {
    240     foreach (array_keys($conf['use_iptc_mapping']) as $key)
    241     {
    242       array_push($used_metadata, $key);
    243     }
    244   }
    245 
    246   return array_unique($used_metadata);
    247 }
    248224?>
Note: See TracChangeset for help on using the changeset viewer.