force sync from /var/www/html/panel: 2025-09-08T20:36:30Z
This commit is contained in:
commit
4f717c9ee8
18119 changed files with 2566034 additions and 0 deletions
114
ControlPanel/modules/teamspeak3/templates/new/filelist.tpl
Executable file
114
ControlPanel/modules/teamspeak3/templates/new/filelist.tpl
Executable file
|
|
@ -0,0 +1,114 @@
|
|||
{if !empty($error) OR !empty($noerror)}
|
||||
<table>
|
||||
{if !empty($error)}
|
||||
<tr>
|
||||
<td class="error">{$error}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if !empty($noerror)}
|
||||
<tr>
|
||||
<td class="noerror">{$noerror}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
{/if}
|
||||
<table class="border" style="width:100%">
|
||||
<tr>
|
||||
<td colspan="5" class="thead">{if !empty($smarty.get.cid)}{$lang['channel']} ({$smarty.get.cid} {$chaninfo['channel_name']}){else}{$lang['filelist']}{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:25%" class="thead">{$lang['name']}</td>
|
||||
<td style="width:10%" class="thead">{$lang['size']}</td>
|
||||
<td style="width:25%" class="thead">{$lang['date']}</td>
|
||||
<td style="width:25%" class="thead">{$lang['channel']}</td>
|
||||
<td style="width:10%" class="thead">{$lang['delete']}</td>
|
||||
</tr>
|
||||
{if $smarty.get.path != "/" AND !empty($smarty.get.path)}
|
||||
<tr>
|
||||
<td class="green1" colspan="3"><a href="index.php?site=filelist&sid={$smarty.get.sid}&cid={$cid}&path={$newpath}">..</a></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if !empty($getallfiles)}
|
||||
{foreach key=key item=value from=$getallfiles}
|
||||
{if $key !== 'totalsize'}
|
||||
<tr>
|
||||
<td class="green1">{if $value['type'] == 0} <img src='gfx/images/folder.png' alt="" /> <a href="index.php?site=filelist&sid={$smarty.get.sid}&path={if $smarty.get.path != "/"}{$smarty.get.path}{/if}/{$value['name']}&cid={if isset($value['cid'])}{$value['cid']}{else}{$smarty.get.cid}{/if}">{$value['name']}</a>{else}<img src='gfx/images/file.png' alt="" /> <a href="site/filetransfer.php?sid={$smarty.get.sid}&cid={if isset($value['cid'])}{$value['cid']}{else}{$smarty.get.cid}{/if}&path={if $smarty.get.path != "/"}{$smarty.get.path}{/if}&name={$value['name']}&getfile=1" target="_blank">{$value['name']}</a>{/if}</td>
|
||||
<td class="green1">{$value['size']} Mb</td>
|
||||
<td class="green1">{$value['datetime']|date_format:"%d.%m.%Y - %H:%M:%S"}</td>
|
||||
<td class="green1">{$value['cname']}</td>
|
||||
<td class="green1"><a href="index.php?site=filelist&sid={$sid}&cid={if isset($value['cid'])}{$value['cid']}{else}{$smarty.get.cid}{/if}&path={if empty($smarty.get.path)}/{else}{$smarty.get.path}{/if}&name={$value['name']}&deletefile=1">{$lang['delete']}</a></td>
|
||||
</tr>
|
||||
{elseif $key === 'totalsize'}
|
||||
<tr>
|
||||
<td class="green1">{$lang['totalsize']}</td>
|
||||
<td class="green1" colspan="4">{$value} Mb</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
Keine Dateien gefunden!
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
<br /><br />
|
||||
<form enctype="multipart/form-data" method="post" action="index.php?site=filelist&sid={$smarty.get.sid}&cid={$smarty.get.cid}&cpw={$smarty.get.cpw}&path={$smarty.get.path}">
|
||||
<table align="center" class="border" style="width:50%">
|
||||
<tr>
|
||||
<td colspan="2" class="thead">{$lang['upload']}</td>
|
||||
</tr>
|
||||
{if empty($smarty.get.cid)}
|
||||
<tr>
|
||||
<td>{$lang['channel']}</td>
|
||||
<td>
|
||||
<select name="cid">
|
||||
{foreach key=key item=value from=$channellist}
|
||||
<option value="{$value['cid']}">{$value['channel_name']}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="green1">{$lang['upload']}:</td>
|
||||
<td class="green1" colspan="2">
|
||||
<input type="hidden" name="max_file_size" value="8388603" />
|
||||
<input name="thefile" type="file" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green2" style="width:75px">{$lang['option']}</td>
|
||||
<td class="green2" align="left"><input type="submit" name="upload" value="{$lang['upload']}" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<br /><br />
|
||||
<form method="post" action="index.php?site=filelist&sid={$smarty.get.sid}&cid={$smarty.get.cid}&cpw={$smarty.get.cpw}&path={$smarty.get.path}">
|
||||
<table align="center" class="border" style="width:50%">
|
||||
<tr>
|
||||
<td colspan="2" class="thead">{$lang['createfolder']}</td>
|
||||
</tr>
|
||||
{if empty($smarty.get.cid)}
|
||||
<tr>
|
||||
<td>{$lang['channel']}</td>
|
||||
<td>
|
||||
<select name="cid">
|
||||
{foreach key=key item=value from=$channellist}
|
||||
<option value="{$value['cid']}">{$value['channel_name']}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="green1">{$lang['name']}:</td>
|
||||
<td class="green1" colspan="2"><input type="text" name="fname" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green2" style="width:75px">{$lang['option']}</td>
|
||||
<td class="green2" align="left"><input type="submit" name="createdir" value="{$lang['create']}" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue