version 1.1, 2006/04/05 16:54:59
|
version 1.2, 2007/08/14 18:28:17
|
Line 1
|
Line 1
|
<html> |
<html metal:use-macro="here/main_template/macros/page"> |
|
<head> |
|
<title>Default</title> |
|
<style metal:fill-slot="additionalStyles" type="text/css"> |
|
td.vario { background-color:#AC1D15 }/*#;*/ |
|
</style> |
|
</head> |
<body> |
<body> |
<form action="upDateFile" enctype="multipart/form-data" method="post"> |
|
Comment: <textarea name="comment" cols="60" rows="4" tal:content="here/comment"></textarea> |
<!-- span = bodytext --> |
|
<span metal:fill-slot="body" tal:omit-tag=""> |
|
<tal:x tal:define="username python:here.getUsername()"> |
|
|
|
<h3>Update file: <span tal:replace="here/title" /></h3> |
|
|
|
<p>Please choose a different local file from your computer.</p> |
|
|
|
<form action="upDateFile" enctype="multipart/form-data" method="post" name="update"> |
|
File: <input size="50" type="file" name="fileUpload"> |
|
<input name="comment" type="hidden" tal:attributes="value here/comment"><br> |
<br> |
<br> |
upload: <input type="file" name="fileUpload"> |
<div class="setItem" tal:content="here/comment" /> |
(leave empty, if file should not be changed) |
<br> |
<input type="submit"> |
|
|
<input type="button" value=" cancel " onclick="history.back()"> |
|
<input type="submit" value=" update " onclick=" |
|
if(forms.update.fileUpload.value == '') { |
|
alert('No file selected!'); |
|
return false; |
|
}"> |
</form> |
</form> |
|
|
|
</tal:x> |
|
|
|
</span> |
|
<!-- ende bodytext --> |
</body> |
</body> |
</html> |
</html> |