File:  [Repository] / MPIWGWeb / zpt / Attic / newBibliographyEntry.zpt
Revision 1.1.2.3: download - view: text, annotated - select for diffs - revision graph
Thu Oct 20 14:04:43 2005 UTC (18 years, 8 months ago) by casties
Branches: r2
more nicer editing for personal homepages

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    2:           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    3: <html metal:use-macro="here/mainEditFile/macros/page">
    4: <body>
    5: <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" />
    6: <tal:block metal:fill-slot="body" tal:define="mapping python:here.metadata.main.meta.bib.generateMappingForType(type=here.REQUEST['_docType'])">
    7: 	<h3>Add a separate publication</h3>	
    8: 	<p>Type: <b tal:content="python:here.REQUEST['_docType']"/></p>
    9: 	<form action="" method="get">
   10: 	<input type="hidden" name="-format" value="editPublications">
   11: 	<input type="hidden" name="-table" value="bibliography">
   12: 	<input type="hidden" name="_docType" tal:attributes="value here/REQUEST/_docType">
   13: 	<input type="hidden" name="_addEntry" value="yes">
   14: 	<table>
   15: 		<tal:block tal:repeat="mapElement python:here.metadata.main.meta.bib.getFields()">
   16: 		<tr tal:condition="python:mapping[mapElement][1]!=''">
   17: 			<td tal:content="python:mapping[mapElement][1].encode('utf-8')"/>
   18: 			
   19: 			<td>
   20: 			<input size="80" tal:attributes="name mapElement"/>
   21: 		</tr>
   22: 		</tal:block>
   23: 	</table>
   24: 	<input type="submit" value="add"/>
   25:   </form>
   26:   </tal:block>
   27: </body>
   28: </html>
   29: 				

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