File:  [Repository] / ECHO_content / zpt / AddECHO_copyright_onloadversion.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Tue Dec 13 12:45:21 2005 UTC (18 years, 5 months ago) by dwinter
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
change utf-8 handlingCVS: ----------------------------------------------------------------------

<h1 tal:replace="structure here/manage_page_header">Header</h1>
<h2>Add a copyright</h2>
<form action="manage_addECHO_copyright" method="post">
<p>Please select the copyright restrictions for the different media types covered by this resource.</p>
<p>If you change the institution the copyright type will automatically change to the generic copyright type of this insitution.</p>
<p>Only partner institutions can be selected which are partners of this collection, please select all contributing partners of this collection there.</p>
<table>
  <tr>
    <td><b>ID:</b></td><td><input name="id" size="40"></td>
  </tr>
  <tr>
    <td><i>title:</i></td><td><input name="title" size="40"></td>
  </tr>
  <tr tal:repeat="i python:range(3)">
    <td><b>Type <span tal:replace="i"/></td>
    <td>
      <select tal:attributes="name python:'media%s'%str(i)" tal:content="structure python:here.mediaTypeSelector_HTML()"/>
      
      <tal:block tal:condition="not:python:here.REQUEST.has_key('partn%s'%str(i))">
	<select tal:attributes="name python:'partn%s'%str(i);onChange python:'location.href=\''+here.REQUEST['URL']+'?partn%s'%str(i)+'=\'+this.options[this.selectedIndex].value'" tal:content="structure python:here.partnerSelector_HTML()"/>
	<select tal:attributes="name python:'copyr%s'%str(i)" tal:content="structure python:here.copyrightTypeSelector_HTML()"/>
      </tal:block>
      <tal:block tal:condition="python:here.REQUEST.has_key('partn%s'%str(i))">
	<select tal:attributes="name python:'partn%s'%str(i);onChange python:'location.href=\''+here.REQUEST['URL']+'?partn%s'%str(i)+'=\'+this.options[this.selectedIndex].value'" tal:content="structure python:here.partnerSelector_HTML(selected=here.REQUEST['partn%s'%str(i)])"/>
	<select tal:attributes="name python:'copyr%s'%str(i)" tal:content="structure python:here.copyrightTypeSelector_HTML(selected=here.getPartnerCopyright(here.REQUEST['partn%s'%str(i)],''))"/>
      </tal:block>


</td>
  </tr>
</table>
<input type="submit">
<h1 tal:replace="structure here/manage_page_footer">Footer</h1>

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