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