32 lines
1.9 KiB
PHP
32 lines
1.9 KiB
PHP
<?php defined("NET2FTP") or die("Direct access to this location is not allowed."); ?>
|
|
<!-- Template /skins/blue/upload1.template.php begin -->
|
|
<?php echo __("Upload to directory:"); ?> <input type="text" style="width: 300px;" name="directory" value="<?php echo $net2ftp_globals["directory_html"]; ?>" />
|
|
<?php printActionIcon("listdirectories", "createDirectoryTreeWindow('" . $net2ftp_globals["directory_js"] . "','" . $formname . ".directory');"); ?>
|
|
<br /><br />
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td style="vertical-align: top; width: 50%;">
|
|
<div class="header31"><?php echo __("Files"); ?></div><div style="font-size: 90%;"><?php echo __("Files entered here will be transferred to the FTP server."); ?></div><br />
|
|
</td>
|
|
<td style="vertical-align: top; width: 50%;">
|
|
<div class="header31"><?php echo __("Archives"); ?> (zip, tar, tgz, gz)</div><div style="font-size: 90%;"><?php echo __("Archives entered here will be decompressed, and the files inside will be transferred to the FTP server."); ?></div><br />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top; width: 50%;">
|
|
<input type="file" class="uploadinputbutton" maxsize="2097152" name="file[]" onchange="add_file('file', 1);" /><br />
|
|
<span id="file_1"><input type="button" value="<?php echo __("Add another"); ?>" onclick="add_file('file', 1);" /></span><br />
|
|
</td>
|
|
<td style="vertical-align: top; width: 50%;">
|
|
<div id="SWFUploadTarget_archives">
|
|
<input type="file" class="uploadinputbutton" maxsize="<?php echo $net2ftp_settings["max_filesize"]; ?>" name="archive[]" onchange="add_file('archive', 1);" /><br />
|
|
<span id="archive_1"><input type="button" value="<?php echo __("Add another"); ?>" onclick="add_file('archive', 1);" /></span><br />
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table><br /><br />
|
|
<div style="font-size: 90%">
|
|
<ul>
|
|
</ul>
|
|
</div><br />
|
|
<!-- Template /skins/blue/upload1.template.php end -->
|