204
<a onclick="action_selectall(true)"
205
title="Select all files in this directory">All</a> :
206
<a onclick="action_selectall(false)"
207
title="Deselect all files in this directory">None</a>
203
req.write(""" <form target="upload_iframe"
205
enctype="multipart/form-data" method="post">
207
<a onclick="action_selectall(true)"
208
title="Select all files in this directory">All</a> :
209
<a onclick="action_selectall(false)"
210
title="Deselect all files in this directory">None</a>
212
<span style="display:none" id="uploadpanel">| Upload file:
213
<input type="hidden" value="putfiles" name="action" />
214
<input type="hidden" value="" name="path" />
215
<input type="file" name="data" />
216
<input type="checkbox" checked="on" value="true" name="unpack"
218
<input type="button" onclick="show_uploadpanel(false)" value="Hide" />
219
<input type="submit" value="Send" />
221
<!-- This iframe is for making a call to upload the file without
222
refreshing the page. (It will refresh the listing). -->
223
<iframe onload="refresh()" style="display: none;"
224
name="upload_iframe" id="upload_iframe"></iframe>
226
""" % cgi.escape(util.make_path(os.path.join("fileservice", req.path))))