Return to upDateBasketFile.zpt CVS log | Up to [Repository] / basket / zpt |
simplified some methods and added getters for unicode in basket.py changed templates to use unicode getters
<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> <!-- 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/getTitle" /></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/getComment"><br> <br> <div class="setItem" tal:content="here/getComment" /> <br> <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> </tal:x> </span> <!-- ende bodytext --> </body> </html>