Ignore:
Timestamp:
Jul 29, 2010, 10:12:25 AM (14 years ago)
Author:
grum
Message:

feature:1777

  • Weight of the metadata database can becomes very heavy
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/admin/amd_metadata_select.tpl

    r6722 r6729  
    201201    <select id="iSelectFilterTagList" onchange="loadTagList();">
    202202      <option value="" {if $datas.config_GetListTags_FilterType==""}selected{/if}>{'g003_no_filter'|@translate}</option>
     203      {if !in_array('magic', $amdConfig.amd_FillDataBaseExcludeFilters)}
    203204      <option value="magic" {if $datas.config_GetListTags_FilterType=="magic"}selected{/if}>{'g003_magic_filter'|@translate}</option>
     205      {/if}
    204206      <option value="userDefined" {if $datas.config_GetListTags_FilterType=="userDefined"}selected{/if}>{'g003_userDefined_filter'|@translate}</option>
     207
     208      {if !in_array('exif', $amdConfig.amd_FillDataBaseExcludeFilters)}
    205209      <option value="exif" {if $datas.config_GetListTags_FilterType=="exif"}selected{/if}>Exif</option>
    206       <option value="exif.Canon" {if $datas.config_GetListTags_FilterType=="exif.Canon"}selected{/if}>Exif [Canon]</option>
    207       <option value="exif.Nikon" {if $datas.config_GetListTags_FilterType=="exif.Nikon"}selected{/if}>Exif [Nikon]</option>
    208       <option value="exif.Pentax" {if $datas.config_GetListTags_FilterType=="exif.Pentax"}selected{/if}>Exif [Pentax]</option>
     210      {/if}
     211      {if !in_array('exif.maker', $amdConfig.amd_FillDataBaseExcludeFilters)}
     212      <option value="exif.maker.Canon" {if $datas.config_GetListTags_FilterType=="exif.maker.Canon"}selected{/if}>Exif [Canon]</option>
     213      <option value="exif.maker.Nikon" {if $datas.config_GetListTags_FilterType=="exif.maker.Nikon"}selected{/if}>Exif [Nikon]</option>
     214      <option value="exif.maker.Pentax" {if $datas.config_GetListTags_FilterType=="exif.maker.Pentax"}selected{/if}>Exif [Pentax]</option>
     215      {/if}
     216      {if !in_array('xmp', $amdConfig.amd_FillDataBaseExcludeFilters)}
    209217      <option value="xmp" {if $datas.config_GetListTags_FilterType=="xmp"}selected{/if}>Xmp</option>
     218      {/if}
     219      {if !in_array('iptc', $amdConfig.amd_FillDataBaseExcludeFilters)}
    210220      <option value="iptc" {if $datas.config_GetListTags_FilterType=="iptc"}selected{/if}>Iptc</option>
     221      {/if}
    211222    </select>
    212223  </label>
Note: See TracChangeset for help on using the changeset viewer.