{{if count($aFiles) > 0}}
	<ul class="files-list">
		{{foreach from=$aFiles item=aFile}}
			{{if is_array($aFile)}}
				<li>
					<img src="{{$config.dir_files}}{{if $aFile.bCustomIcon}}16{{else}}ext{{/if}}/{{$aFile.sIcon}}{{if !$aFile.bCustomIcon}}.png{{/if}}" alt="{{$aFile.sIcon}}" />
					{{if isset( $aFile.sDescription )}}
						{{$aFile.sDescription}} - 
					{{/if}}
					<a href="{{$config.dir_files}}{{if $aFile.iPhoto}}{{$config.max_image_size_full}}/{{/if}}{{$aFile.sFileName}}">{{$aFile.sFileName}}</a> [{{$aFile.sFileDate}}, {{$aFile.sFileSize}}]
				</li>
			{{/if}}
		{{/foreach}}
	</ul>
{{/if}}