{*
* $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)}
{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}
|
{g->text text=$block.getid3.LoadGetid3Info.getid3Data[inner].title}
|
{$block.getid3.LoadGetid3Info.getid3Data[inner].value}
|
{/section}
{/section}
{/if}
{/if}
{if !empty($block.getid3.LoadGetid3Info.getid3ArchiveData)}
{g->text text="Archive File List"}
|
{g->text text="Name"}
|
{g->text text="Size"}
|
{foreach name=fileIndex from=$block.getid3.LoadGetid3Info.getid3ArchiveData item=file}
|
{$file.name}
|
{$file.size}
|
|
{/foreach}
{/if}