{* $Id: mod-last_files.tpl 13501 2008-07-10 13:46:35Z nyloth $ *}

{if $prefs.feature_file_galleries eq 'y'}
{if $nonums eq 'y'}
{eval var="{tr}Last `$module_rows` Files{/tr}" assign="tpl_module_title"}
{else}
{eval var="{tr}Last Files{/tr}" assign="tpl_module_title"}
{/if}
{tikimodule title=$tpl_module_title name="last_files" flip=$module_params.flip decorations=$module_params.decorations}
{if $nonums != 'y'}<ol>{/if}
    {section name=ix loop=$modLastFiles}
        {if $nonums != 'y'}<li>{/if}
          <a class="linkmodule" href="tiki-download_file.php?fileId={$modLastFiles[ix].fileId}">
            {$modLastFiles[ix].filename}
          </a>
	 {if $nonums != 'y'}</li>{else}<br />{/if}
    {/section}
{if $nonums != 'y'}</ol>{/if}
{/tikimodule}
{/if}
