|
|
| version 1.1, 2004/06/22 06:51:00 | version 1.4, 2007/01/15 11:13:04 |
|---|---|
| Line 1 | Line 1 |
| <html> | <h1 tal:replace="structure here/manage_page_header">Header</h1> |
| <head> | <!-- ZOPE management tabs --> |
| <title>The title</title> | <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing" |
| </head> | tal:replace="structure here/manage_tabs">Tabs</h2> |
| <body> | <!-- end of ZOPE management tabs --> |
| <h3> Change Image Viewer and Templates for all Resources of this Collection</h3> | |
| <form action="changeViewerTemplateSets" method="post"> | <form action="changeViewerTemplateSets" method="post"> |
| <h3>Select the ImageViewer</h3> | |
| <table> | |
| <tr> | |
| <td><em>Base Url of the ImageViewer</em></td> | |
| <td> | |
| <select name="digiliburlprefix"> | |
| <tal:block tal:repeat="viewer here/getImageViewers"> | |
| <option tal:condition="python:viewer[1].prefix==here.getTextToolsField(path,'digiliburlprefix')" tal:attributes="value python:viewer[1].prefix" tal:content="python:viewer[1].prefix" selected /> | |
| <option tal:condition="not:python:viewer[1].prefix==here.getTextToolsField(path,'digiliburlprefix')" tal:attributes="value python:viewer[1].prefix" tal:content="python:viewer[1].prefix"/> | |
| </tal:block> | |
| </select> | |
| </td> | |
| </tr> | |
| </table> | |
| <h3>Select the set of viewer templates (changes here will change all entries below)</h3> | <h3>Select the set of viewer templates (changes here will change all entries below)</h3> |
| <select tal:attributes="onChange python:'location.href=\''+here.REQUEST['URL']+'?viewerTemplateSet=\'+this.options[this.selectedIndex].value'" name="project"> | <select tal:attributes="onChange python:'location.href=\''+here.REQUEST['URL']+'?viewerTemplateSet=\'+this.options[this.selectedIndex].value'" name="project"> |
| <span tal:omit-tag="" tal:condition="not:python:here.REQUEST.has_key('viewerTemplateSet')"> | <span tal:omit-tag="" tal:condition="not:python:here.REQUEST.has_key('viewerTemplateSet')"> |
| Line 34 | Line 49 |
| </span> | </span> |
| </select> | </select> |
| <h3>Entries (Changes are only valid for this document)</h3> | <h3>Entries</h3> |
| <!--NO ViewerTemplateSet selected--> | <!--NO ViewerTemplateSet selected--> |
| <table tal:condition="not:python:here.REQUEST.has_key('viewerTemplateSet')"> | <table tal:condition="not:python:here.REQUEST.has_key('viewerTemplateSet')"> |
| <tr> | <tr> |
| Line 102 | Line 117 |
| <input type="submit"> | <input type="submit"> |
| </form> | </form> |
| </body> | <form action="changeViewer" method="post"> |
| </html> | <hr> |
| <h3>Experimental new viewer (leave empty, to use the old viewer)</h3> | |
| <input name="newViewer" size="100"> | |
| <input type="submit" value="Change"><br/><br/> | |
| </form> | |
| <h1 tal:replace="structure here/manage_page_footer">Footer</h1> | |