File:  [Repository] / versionedFile / zpt / changeVersionedFile.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Fri Nov 23 17:52:34 2007 UTC (16 years, 7 months ago) by casties
Branches: MAIN
CVS tags: HEAD
added management interface for some VersionedFile metadata.

    1: <html>
    2: <body>
    3: <div tal:replace="structure here/manage_page_header">Header</div>
    4: <!-- ZOPE management tabs -->
    5: <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
    6:     tal:replace="structure here/manage_tabs">Tabs</h2>
    7: <!-- end of ZOPE management tabs -->
    8:   <h2> Change metadata</h2>
    9: <form action="manage_changeVersionedFile" method="post"
   10:   tal:define="cob python:here.getContentObject()">
   11: <table>
   12:   <tr>
   13:     <td>ID:</td>
   14:     <td><span tal:replace="here/getId" /></td>
   15:   </tr>
   16: 
   17:   <tr>
   18:     <td>title:</td>
   19:     <td><input name="title" tal:attributes="value here/title" size="50"/></td>
   20:   </tr>
   21:   <tr>
   22:     <td>author:</td>
   23:     <td><input name="author" tal:attributes="value cob/author" size="50"/></td>
   24:   </tr>
   25:   <tr tal:condition="cob">
   26:     <td>comment1:</td>
   27:     <td><input name="comment" tal:attributes="value python:getattr(cob,'versionComment','')" size="50"/>
   28:     (versionComment of latest version)</td>
   29:   </tr>
   30:   <tr tal:condition="cob">
   31:     <td>comment2:</td>
   32:     <td><input name="vC" tal:attributes="value python:getattr(cob,'vComment','')" size="50"/>
   33:     (vComment of latest version)</td>
   34:   </tr>
   35: </table>
   36: <input type="submit" value="submit"></form>
   37: </body>
   38: </html>
   39: 

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