|
|
|
@ -7,7 +7,9 @@
@@ -7,7 +7,9 @@
|
|
|
|
|
<link rel="stylesheet" href="css/style.css" type="text/css" /> |
|
|
|
|
<link rel="stylesheet" href="css/Window.css" type="text/css" /> |
|
|
|
|
<script src="scripts/lib/mootools-1.2-core-yc.js"></script> |
|
|
|
|
<script src="scripts/lib/mootools-1.2-more.js"></script> |
|
|
|
|
<script src="scripts/download.js"></script> |
|
|
|
|
<script src="scripts/misc.js"></script> |
|
|
|
|
</head> |
|
|
|
|
|
|
|
|
|
<body> |
|
|
|
@ -71,6 +73,17 @@
@@ -71,6 +73,17 @@
|
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
|
<script> |
|
|
|
|
var encodedUrls = new URI().getData('urls'); |
|
|
|
|
if (encodedUrls) { |
|
|
|
|
var urls = []; |
|
|
|
|
encodedUrls.split('|').each(function(url) { |
|
|
|
|
urls.push(decodeURIComponent(url)); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
if (urls.length) |
|
|
|
|
$('urls').set('value', escapeHtml(urls.join("\n"))); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var submitted = false; |
|
|
|
|
|
|
|
|
|
$('downloadForm').addEventListener("submit", function() { |
|
|
|
|