File:  [Repository] / ECHO_content / zpt / ChangeECHO_copyright_onchangeversion.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Tue Dec 13 12:45:22 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>Change copyright</h2>
<form action="ECHO_copyright_config" 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 tal:define="global i python:0">
 
  <tr>
    <td><i>title:</i></td><td><input name="title" size="40"></td>
  </tr>
  <tr tal:repeat="copyright python:here.copyrights">
    <td><b>Type <span tal:define="global i python:i+1" tal:replace="i"/></td>
    <td>
      <select tal:attributes="name python:'media%s'%str(i)" tal:content="structure python:here.mediaTypeSelector_HTML(selected=copyright[0])"/>

      <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(selected=copyright[1])"/>
	<select tal:attributes="name python:'copyr%s'%str(i)" tal:content="structure python:here.copyrightTypeSelector_HTML(selected=copyright[2])"/>
      </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)],sonst=copyright[2]))"/>
      </tal:block>

</td>
  </tr>
  <tr tal:repeat="i python:range(i+1,i+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()"/>
      <select tal:attributes="name python:'partn%s'%str(i)" tal:content="structure python:here.partnerSelector_HTML()"/>
      <select tal:attributes="name python:'copyr%s'%str(i)" tal:content="structure python:here.copyrightTypeSelector_HTML()"/>
   </td>
  </tr>
</table>
<input type="submit"><input type="reset">
<h1 tal:replace="structure here/manage_page_footer">Footer</h1>

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