File:  [Repository] / OSAS / OSA_system / zpt / index_meta.zpt
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Thu Aug 17 14:47:59 2006 UTC (17 years, 10 months ago) by casties
Branches: MAIN
CVS tags: HEAD
added form for access-conditions in add_metadata

    1: <?xml version="1.0" encoding="UTF-8"?>
    2: <resource xmlns:tal="http://xml.zope.org/namespaces/tal" type="MPIWG" tal:define="global add_metadata here/REQUEST/SESSION/add_metadata">
    3: 	<description tal:content="python:add_metadata['description'].decode('utf-8')">SHORT SOURCE DESCRIPTION</description>
    4: 	<archive-creation-date tal:content="python:add_metadata['archive-creation-date'].decode('utf-8')">CREATION DATE</archive-creation-date>
    5: 	<name tal:content="python:add_metadata['folder_name']">FOLDER NAME</name>
    6: 	<archive-path tal:content="python:add_metadata['archive-path']+'/'+add_metadata['folder_name']">ARCHIVE PATH</archive-path>
    7: 	<creator tal:content="python:add_metadata['creator'].decode('utf-8')">CREATOR</creator>
    8: 	<content-type tal:content="python:add_metadata['content-type'].decode('utf-8')">CONTENT</content-type>
    9:     <derived-from tal:condition="python:add_metadata['derived-from']">
   10:       <archive-path tal:content="python:add_metadata['derived-from'].decode('utf-8')"/>
   11:     </derived-from>
   12:     <access-conditions tal:condition="python:add_metadata['access-type']">
   13:       <access tal:condition="python:add_metadata['access-type']=='free'" type="free"/>
   14:       <access tal:condition="python:add_metadata['access-type']!='free'" type="institution">
   15:         <name tal:content="python:add_metadata['access-type'].decode('utf-8')"/>
   16:       </access>
   17:     </access-conditions>
   18: 	<meta tal:condition="python:len(here.metadataprint)>0">
   19: 		<bib type="XX" tal:attributes="type python:here.reftype">
   20: 		 <span tal:replace="structure python:here.metadataprint.decode('utf-8')"/> 
   21: 		</bib>
   22: 	</meta>
   23: </resource>

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