Sparkle as WebFTP default, fixes for WebFTP-Templates
This commit is contained in:
165
templates/Sparkle/webftp/webftp_main_additional.tpl
vendored
165
templates/Sparkle/webftp/webftp_main_additional.tpl
vendored
@@ -1,80 +1,85 @@
|
||||
<article>
|
||||
<section class="dboarditem bradius">
|
||||
<h2>{t}Basic operations{/t}</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="cdDirect" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="cddirect" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="text" name="file" value="" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Change dir{/t}" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="dirinput" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="createdir" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" style="width=150;" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<input type="text" name="file" value="" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Create dir{/t}" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="newfile" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="action" value="edit" />
|
||||
<input type="hidden" name="op" value="new" />
|
||||
<input type="text" name="file" value="file.txt" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Create new file in current directory{/t}">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
<section class="dboarditem bradius">
|
||||
<h2>{t}Upload files{/t}</h2>
|
||||
<form name="putForm" enctype="multipart/form-data" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="put" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file1" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file2" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file3" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file4" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file5" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input name="submit2" type="submit" style="width: 150;" value="{t}Upload file(s){/t}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</section>
|
||||
<br />
|
||||
<section class="dboarditemfull bradius">
|
||||
<article>
|
||||
<section class="dboarditem bradiusodd">
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>{t}Basic operations{/t}</th></tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="cdDirect" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="cddirect" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="text" name="file" value="" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Change dir{/t}" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="dirinput" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="createdir" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" style="width=150;" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<input type="text" name="file" value="" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Create dir{/t}" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="newfile" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="action" value="edit" />
|
||||
<input type="hidden" name="op" value="new" />
|
||||
<input type="text" name="file" value="file.txt" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Create new file in current directory{/t}">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
<section class="dboarditem bradiusodd">
|
||||
<form name="putForm" enctype="multipart/form-data" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="put" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{t}Upload files{/t}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file1" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file2" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file3" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file4" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file5" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" align="right">
|
||||
<input name="submit2" type="submit" style="width: 150;" value="{t}Upload file(s){/t}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</section>
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user