File:  [Repository] / cdli / zpt / editATFFile.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Mon Jan 21 17:19:01 2008 UTC (16 years, 3 months ago) by casties
Branches: MAIN
CVS tags: HEAD
merged zcat_only branch based on Zope ZCatalog

<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>

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