2008-07-31 16:03:28 +04:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
2015-10-22 07:36:36 +03:00
|
|
|
<title>QBT_TR(Upload local torrent)QBT_TR</title>
|
2008-07-31 16:03:28 +04:00
|
|
|
<link rel="stylesheet" href="css/style.css" type="text/css" />
|
2014-11-08 17:00:00 +03:00
|
|
|
<link rel="stylesheet" href="css/Window.css" type="text/css" />
|
2008-09-14 14:14:54 +04:00
|
|
|
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
|
2015-10-22 07:36:36 +03:00
|
|
|
<script type="text/javascript" src="scripts/download.js" charset="utf-8"></script>
|
2008-07-31 16:03:28 +04:00
|
|
|
</head>
|
|
|
|
<body>
|
2014-11-08 17:00:00 +03:00
|
|
|
<iframe id="upload_frame" name="upload_frame" class="invisible" src="javascript:false;"></iframe>
|
2015-10-22 07:36:36 +03:00
|
|
|
<form action="command/upload" enctype="multipart/form-data" method="post" id="uploadForm" style="text-align: center;" target="upload_frame">
|
|
|
|
<p>
|
|
|
|
<div style="margin-top: 25px; display: inline-block; border: 1px solid lightgrey; border-radius: 4px;">
|
|
|
|
<input type="file" id="fileselect" name="fileselect[]" multiple="multiple"/>
|
|
|
|
</div>
|
|
|
|
</p>
|
|
|
|
<fieldset class="settings" style="border: 0; text-align: left;">
|
|
|
|
<div class="formRow" style="margin-top: 12px;">
|
|
|
|
<label for="savepath" class="leftLabelLarge">QBT_TR(Save files to location:)QBT_TR</label>
|
|
|
|
<input type="text" id="savepath" name="savepath" style="width: 16em;"/>
|
|
|
|
</div>
|
|
|
|
<div class="formRow">
|
2017-01-22 16:20:48 +03:00
|
|
|
<label for="category" class="leftLabelLarge">QBT_TR(Category:)QBT_TR</label>
|
|
|
|
<input type="text" id="category" name="category"/ style="width: 16em;"/>
|
2014-11-08 17:00:00 +03:00
|
|
|
</div>
|
2015-10-22 07:36:36 +03:00
|
|
|
<div id="submitbutton" style="margin-top: 30px; text-align: center;">
|
2014-12-17 14:58:32 +03:00
|
|
|
<button type="submit" style="font-size: 1em;">QBT_TR(Upload Torrents)QBT_TR</button>
|
2014-11-07 15:53:11 +03:00
|
|
|
</div>
|
2015-10-22 07:36:36 +03:00
|
|
|
</fieldset>
|
2011-10-02 11:22:41 +04:00
|
|
|
</form>
|
2015-10-22 07:36:36 +03:00
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
var submitted = false;
|
|
|
|
|
|
|
|
$('uploadForm').addEventListener("submit", function() {
|
|
|
|
$('upload_spinner').style.display = "block";
|
|
|
|
submitted = true;
|
|
|
|
});
|
|
|
|
|
|
|
|
$('upload_frame').addEventListener("load", function() {
|
|
|
|
if (submitted)
|
|
|
|
window.parent.closeWindows();
|
|
|
|
});
|
|
|
|
</script>
|
2014-11-08 17:00:00 +03:00
|
|
|
<div id="upload_spinner" class="mochaSpinner"></div>
|
2008-07-31 16:03:28 +04:00
|
|
|
</body>
|
|
|
|
</html>
|