version 1.2, 2004/06/22 08:49:00
|
version 1.3, 2004/08/04 17:14:40
|
Line 5
|
Line 5
|
<body> |
<body> |
|
|
<form action="changeViewerTemplateSet" method="post"> |
<form action="changeViewerTemplateSet" method="post"> |
|
<h3>Select the ImageViewer</h3> |
|
<table> |
|
<tr> |
|
<td><em>Base Url of the ImageViewer</em></td> |
|
<td> |
|
<!--<input size=80 type="text" name="digiliburlprefix" tal:attributes="value python:here.getTextToolsField(path,'digiliburlprefix')"/>--> |
|
<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')"> |