1: <h1 tal:replace="structure here/manage_page_header">Header</h1>
2: <h2>Change collection <span tal:replace="here/getId"/></h2>
3: <form name="form" action="changeECHO_collection">
4: <table>
5: <tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title" size="90"></td></tr>
6: <tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label" size="90"></td></tr>
7: <tr><td><b> imageTag: </b></td><td><input type="text" name="imageTag" tal:attributes="value python:here.getImageTag()" size="90"></td></tr>
8: <tr><td><b> Weight for sorting: </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr>
9:
10: <tr><td><b> Description:</b></td><td><textarea name="description" cols=80 rows=10 tal:content="here/description"></textarea></td></tr>
11: <tr><td><b> Sortfield: </b></td><td><input type="text" name="sortfield" tal:attributes="value here/sortfield"></td></tr>
12:
13: <tr><td> <i>Content-Type:</i> </td><td><select name="contentType" tal:content="structure python:here.contentTypeSelector_HTML(selected=getattr(here,'contentType',''))"/></td></tr>
14:
15: <tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr>
16: <tr><td><i>Secondary Link:</i> </td><td><input type="text" name="secondaryLink" value="weight" size=100 tal:attributes="value here/getSecondaryLink"></td></tr>
17: <tr><td><i>Title of Secondary Link:</i> </td><td><input type="text" name="secondaryLinkTitle" value="weight" size=100 tal:attributes="value here/getSecondaryLinkTitle"></td></tr>
18: <tr><td><i>Background color:</i> </td><td><input type="text" name="bgcolour" tal:attributes="value here/getBgcolour" size=100></td></tr>
19: <tr><td><i>Location at MainPage:</i> </td><td>
20: <tal:block tal:condition="python:getattr(here,'location','')=='bottom'">
21: <input type="radio" name="location" value="top">top<input type="radio" name="location" value="bottom" checked>bottom
22: </tal:block>
23: <tal:block tal:condition="not:python:getattr(here,'location','')=='bottom'">
24: <input type="radio" name="location" value="top" checked>top<input type="radio" name="location" value="bottom">bottom
25: </tal:block>
26: </td></tr>
27: <tr><td><i>Collection can be browsed and is searchable:</i></td>
28: <td><select name="isVisible:boolean">
29: <option tal:condition="python:here.getAttributeIsVisible()" value="True" selected>True</option>
30: <option tal:condition="not:python:here.getAttributeIsVisible()" value="True">True</option>
31: <option tal:condition="not:python:here.getAttributeIsVisible()" value="False" selected>False</option>
32: <option tal:condition="python:here.getAttributeIsVisible()" value="False">False</option>
33: </select>
34: </td>
35: </tr>
36: <tr><td><i>fullTextBasisUrl</i></td>
37: <td><input type="text" name="fullTextBasisUrl" tal:attributes="value here/fullTextBasisUrl" size="100"></td></tr>
38: </table>
39:
40: <h3> Partners:</h3>
41:
42: <div tal:repeat="item here/getPartners">
43:
44: <div tal:condition="python:item.getId() in here.getCredits()">
45:
46: <input type="checkbox" name="credits" tal:attributes="value item/id" checked/>
47: <tal:block tal:content="python:here.decode(item.title)"/>
48: </div>
49: <div tal:condition="not:python:item.getId() in here.getCredits()">
50: <input type="checkbox" name="credits" tal:attributes="value item/id"/>
51: <tal:block tal:content="python:here.decode(item.title)"/>
52: </div>
53:
54: </div>
55: <h3>Additions for Navigation (all optional)</h3>
56: <table>
57: <tr><td><i>Clickable also if selected:<i>
58: <input tal:condition="python:getattr(here,'isAlwaysClickable',None)" type="checkbox" name="isAlwaysClickable" checked value="yes">
59: <input tal:condition="not:python:getattr(here,'isAlwaysClickable',None)" type="checkbox" name="isAlwaysClickable" value="yes">
60: </td></tr>
61: <tr><td>
62: <i>Prefix for output in navigation</i></td><td><input tal:attributes="value python:getattr(here,'prefix','')" name="prefix" size=20>
63: </td></tr>
64: <tr><td>
65: <i>Suffix for output in navigation</i></td><td><input tal:attributes="value python:getattr(here,'suffix','')" name="suffix" size=20>
66: </td></tr>
67: </table>
68: <input type="submit" value="change"><br><br>
69: </form>
70: <h1 tal:replace="structure here/manage_page_footer">Footer</h1>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>