Changeset 723 for trunk/admin/update.php


Ignore:
Timestamp:
Feb 1, 2005, 12:22:29 AM (20 years ago)
Author:
plg
Message:
  • add information after metadata synchronization
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/update.php

    r691 r723  
    466466}
    467467$result_title.= $lang['update_part_research'];
     468
     469// used_metadata string is displayed to inform admin which metadata will be
     470// used from files for synchronization
     471$used_metadata = $lang['metadata_basic'].' (filesize, width, height)';
     472
     473if ($conf['use_exif'])
     474{
     475  $used_metadata.= ', '.$lang['metadata_exif'].' (date_creation)';
     476}
     477
     478if ($conf['use_iptc'])
     479{
     480  $used_metadata.= ', '.$lang['metadata_iptc'];
     481  $used_metadata.= '(';
     482  $used_metadata.= implode(', ', array_keys($conf['use_iptc_mapping']));
     483  $used_metadata.= ')';
     484}
    468485
    469486$template->assign_vars(
     
    493510    'L_UPDATE_DISPLAY_INFO'=>$lang['update_display_info'],
    494511    'L_UPDATE_SIMULATE'=>$lang['update_simulate'],
    495     'L_UPDATE_INFOS_TITLE'=>$lang['update_infos_title']
     512    'L_UPDATE_INFOS_TITLE'=>$lang['update_infos_title'],
     513    'L_RESULT_METADATA'=>$lang['update_result_metadata'],
     514    'L_ELEMENTS_METADATA_SYNC'=>$lang['update_elements_metadata_sync'],
     515    'L_USED_METADATA'=>$lang['update_used_metadata'],
     516    'METADATA_LIST' => $used_metadata
    496517    ));
    497518// +-----------------------------------------------------------------------+
     
    660681  echo get_elapsed_time($start, get_moment());
    661682  echo ' -->'."\n";
     683 
     684  $template->assign_block_vars(
     685    'metadata_result',
     686    array(
     687      'NB_ELEMENTS' => count($files),
     688      ));
    662689}
    663690// +-----------------------------------------------------------------------+
Note: See TracChangeset for help on using the changeset viewer.