{* * $Revision: 1.1 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *} {if empty($item)} {assign var=item value=$theme.item} {/if} {* Load up the Getid3 data *} {g->callback type="getid3.LoadGetid3Info" itemId=$item.id} {if !empty($block.getid3.LoadGetid3Info.getid3Data)}

{g->text text="Audio/Video Properties"}

{if isset($block.getid3.LoadGetid3Info.mode)}
{if ($block.getid3.LoadGetid3Info.mode == 'summary')} {g->text text="summary"} {else} {g->text text="summary"} {/if} {if ($block.getid3.LoadGetid3Info.mode == 'detailed')} {g->text text="details"} {else} {g->text text="details"} {/if}
{else}
{g->text text="summary"} {g->text text="details"}
{/if} {if !empty($block.getid3.LoadGetid3Info.getid3Data)} {section name=outer loop=$block.getid3.LoadGetid3Info.getid3Data step=2} {section name=inner loop=$block.getid3.LoadGetid3Info.getid3Data start=$smarty.section.outer.index max=2} {/section} {/section}
{g->text text=$block.getid3.LoadGetid3Info.getid3Data[inner].title} {$block.getid3.LoadGetid3Info.getid3Data[inner].value}
{/if}
{/if} {if !empty($block.getid3.LoadGetid3Info.getid3ArchiveData)}

{g->text text="Archive File List"}

{foreach name=fileIndex from=$block.getid3.LoadGetid3Info.getid3ArchiveData item=file} {/foreach}
{g->text text="Name"} {g->text text="Size"}
{$file.name} {$file.size}
{/if}