File:  [Repository] / basket / zpt / upDateBasketFile.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Wed Aug 15 15:49:03 2007 UTC (16 years, 9 months ago) by casties
Branches: MAIN
CVS tags: HEAD
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>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>