version 1.1, 2008/01/14 18:43:21
|
version 1.2, 2008/01/21 17:19:01
|
Line 0
|
Line 1
|
|
<html metal:use-macro="here/main_template/macros/page"> |
|
<tal:block metal:fill-slot="body" define="query python:here.REQUEST.QUERY_STRING; |
|
vars python:query.split('&'); |
|
allVars python:map(lambda x: x.split('='), vars); |
|
allVarsF python:filter(lambda x: not x == [''], allVars); |
|
dictVars python:dict(allVarsF); |
|
parent here/aq_parent; |
|
p_no python:here.REQUEST.get('fileId',here.aq_parent.title.split('.')[0])"> |
|
|
|
<h2>Edit ATF for Text <span tal:content="p_no"/></h2> |
|
|
|
<h3>You must not change the P-number!</h3> |
|
|
|
<p>File Name: <span tal:replace="here/getId"/> (version <span tal:replace="here/versionNumber"/>)</p> |
|
|
|
<div tal:condition="python:here.lockedBy==''"> |
|
<form action="manage_addVersionedFileObject" method="post"> |
|
<input type="hidden" name="id" value="None"/> |
|
|
|
<p>Author <input name="author" type="text" cols="30" tal:attributes="value here/lastEditor"/></p> |
|
<p>Text<br/> |
|
<textarea name="file" cols="80" rows="20" tal:content="here/getData"/> |
|
</p> |
|
<p>Version Comment<br/> |
|
<textarea type="text" cols=80 rows=5 name="vC"></textarea> |
|
</p> |
|
<p><input type="submit"/></p> |
|
</form> |
|
</div> |
|
</tal:block> |
|
|
|
</html> |