{** * templates/manager/files/index.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Files browser. * *} {strip} {assign var="pageTitle" value="manager.filesBrowser"} {include file="common/header.tpl"} {/strip} {assign var=displayDir value="/$currentDir"}

{translate key="manager.files.indexOfDir" dir=$displayDir|escape}

{if $currentDir}

< {translate key="manager.files.parentDir"}

{/if} {foreach from=$files item=file name=files} {if $currentDir} {assign var=filePath value=$currentDir|concat:"/":$file.name} {else} {assign var=filePath value=$file.name} {/if} {assign var=filePath value=$filePath|escape} {foreachelse} {/foreach}
 
{translate key="common.fileName"} {translate key="common.type"} {translate key="common.dateModified"} {translate key="common.size"} {translate key="common.action"}
 
{if $file.isDir}{icon name="folder"}{else}{icon name="letter"}{/if} {$file.name} {$file.mimetype|escape|default:"—"} {$file.mtime|escape|date_format:$datetimeFormatShort} {$file.size|escape|default:"—"} {if !$file.isDir} {translate key="common.download"} | {/if} {translate key="common.delete"}
 
{translate key="manager.files.emptyDir"}
 

{translate key="manager.files.note"}

{include file="common/footer.tpl"}