File:  [Repository] / ECHO_content / zpt / ChangeECHO_copyright.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Mon Jun 7 08:53:26 2004 UTC (20 years, 1 month ago) by dwinter
Branches: MAIN
CVS tags: HEAD
minor bugs

    1: <html>
    2: <body>
    3: <h2>Change copyright</h2>
    4: <form action="ECHO_copyright_config" method="post">
    5: <p>Please select the copyright restrictions for the different media types covered by this resource.</p>
    6: <p>If you change the institution the copyright type will automatically change to the generic copyright type of this insitution</p>
    7: <p>Only partner institutions can be selected which are partners of this collection, please select all contributing partners of this collection there.</p>
    8: <table tal:define="global i python:0">
    9:  
   10:   <tr>
   11:     <td><i>title:</i></td><td><input name="title" size="40"></td>
   12:   </tr>
   13:   <tr tal:repeat="copyright python:here.copyrights">
   14:     <td><b>Type <span tal:define="global i python:i+1" tal:replace="i"/></td>
   15:     <td>
   16:       <select tal:attributes="name python:'media%s'%str(i)" tal:content="structure python:here.mediaTypeSelector_HTML(selected=copyright[0])"/>
   17: 
   18:       <tal:block tal:condition="not:python:here.REQUEST.has_key('partn%s'%str(i))">
   19: 	<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])"/>
   20: 	<select tal:attributes="name python:'copyr%s'%str(i)" tal:content="structure python:here.copyrightTypeSelector_HTML(selected=copyright[2])"/>
   21:       </tal:block>
   22:       <tal:block tal:condition="python:here.REQUEST.has_key('partn%s'%str(i))">
   23: 	<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)])"/>
   24: 	<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]))"/>
   25:       </tal:block>
   26: 
   27: </td>
   28:   </tr>
   29:   <tr tal:repeat="i python:range(i+1,i+3)">
   30:     <td><b>Type <span  tal:replace="i"/></td>
   31:     <td>
   32:       <select tal:attributes="name python:'media%s'%str(i)" tal:content="structure python:here.mediaTypeSelector_HTML()"/>
   33:       <select tal:attributes="name python:'partn%s'%str(i)" tal:content="structure python:here.partnerSelector_HTML()"/>
   34:       <select tal:attributes="name python:'copyr%s'%str(i)" tal:content="structure python:here.copyrightTypeSelector_HTML()"/>
   35:    </td>
   36:   </tr>
   37: </table>
   38: <input type="submit"><input type="reset">
   39: </body>
   40: </html>

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