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