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
111
ControlPanel/modules/teamspeak3/templates/new/filebrowser.tpl
Executable file
111
ControlPanel/modules/teamspeak3/templates/new/filebrowser.tpl
Executable file
|
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
*Copyright (C) 2012-2013 Psychokiller
|
||||
*
|
||||
*This program is free software; you can redistribute it and/or modify it under the terms of
|
||||
*the GNU General Public License as published by the Free Software Foundation; either
|
||||
*version 3 of the License, or any later version.
|
||||
*
|
||||
*This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
*without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*See the GNU General Public License for more details.
|
||||
*
|
||||
*You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/.
|
||||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="de">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" href="../templates/{$tmpl}/gfx/style.css" type="text/css" media="screen" />
|
||||
<title>Webinterface - Filebrowser</title>
|
||||
</head>
|
||||
<body onload="window.resizeTo(500,600)">
|
||||
{if !empty($error) OR !empty($noerror)}
|
||||
<table align="center">
|
||||
{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="4" class="thead">{$lang['channel']} ({$smarty.get.cid} {$chaninfo['channel_name']})</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:10%" class="thead">{$lang['delete']}</td>
|
||||
</tr>
|
||||
{if !empty($flist)}
|
||||
{if $smarty.get.path != "/" AND !empty($smarty.get.path)}
|
||||
|
||||
<tr>
|
||||
<td class="green1" colspan="4"><a href="filebrowser.php?sid={$smarty.get.sid}&cid={$smarty.get.cid}&path={$newpath}">..</a></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{foreach key=key item=value from=$flist}
|
||||
<tr>
|
||||
<td class="green1">{if $value['type'] == 0} <img src='../gfx/images/folder.png' alt="" /> <a href="filebrowser.php?&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="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"><a href="filebrowser.php?sid={$smarty.get.sid}&cid={if isset($value['cid'])}{$value['cid']}{else}{$smarty.get.cid}{/if}&path={$smarty.get.path}&name={$value['name']}&deletefile=1">{$lang['delete']}</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{else}
|
||||
{if $smarty.get.path != "/" AND !empty($smarty.get.path)}
|
||||
<tr>
|
||||
<td class="green1" colspan="4"><a href="filebrowser.php?sid={$smarty.get.sid}&cid={$smarty.get.cid}&path={$newpath}">..</a></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
Keine Dateien gefunden!
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
<br /><br />
|
||||
|
||||
<form enctype="multipart/form-data" method="post" action="filebrowser.php?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>
|
||||
<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="filebrowser.php?sid={$smarty.get.sid}&cid={$smarty.get.cid}&cpw={$smarty.get.pw}&path={$smarty.get.path}">
|
||||
<table align="center" class="border" style="width:50%">
|
||||
<tr>
|
||||
<td colspan="2" class="thead">{$lang['createfolder']}</td>
|
||||
</tr>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue