version 1.5, 2004/04/04 14:56:05
|
version 1.14, 2004/06/25 11:02:16
|
Line 1
|
Line 1
|
<html> |
<html> |
<body> |
<body> |
<h2>Change collection</h2> |
<h2>Change collection <span tal:replace="here/getId"/></h2> |
<form name="form" action="changeECHO_collection"> |
<form name="form" action="changeECHO_collection"> |
<table> |
<table> |
<tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title"></td></tr> |
<tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title" size="90"></td></tr> |
<tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label"></td></tr> |
<tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label" size="90"></td></tr> |
<tr><td><b> imageTag: </b></td><td><input type="text" name="imageTag" tal:attributes="value python:here.getImageTag()"></td></tr> |
<tr><td><b> imageTag: </b></td><td><input type="text" name="imageTag" tal:attributes="value python:here.getImageTag()" size="90"></td></tr> |
<tr><td><b> Weight for sorting: </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr> |
<tr><td><b> Weight for sorting: </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr> |
|
|
<tr><td><b> Description:</b></td><td><textarea name="description" cols=80 rows=10 tal:content="here/description"></textarea></td></tr> |
<tr><td><b> Description:</b></td><td><textarea name="description" cols=80 rows=10 tal:content="here/description"></textarea></td></tr> |
<tr><td><b> Sortfield: </b></td><td><input type="text" name="sortfield" tal:attributes="value here/sortfield"></td></tr> |
<tr><td><b> Sortfield: </b></td><td><input type="text" name="sortfield" tal:attributes="value here/sortfield"></td></tr> |
|
|
|
<tr><td> <i>Content-Type:</i> </td><td><select name="contentType" tal:content="structure python:here.contentTypeSelector_HTML(selected=getattr(here,'contentType',''))"/></td></tr> |
|
|
<tr><td><b> Content-Type: </b></td><td><input type="text" name="contentType" tal:attributes="value here/contentType"></td></tr> |
|
<tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr> |
<tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr> |
|
<tr><td><i>Secondary Link:</i> </td><td><input type="text" name="secondaryLink" value="weight" size=100 tal:attributes="value here/getSecondaryLink"></td></tr> |
|
<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> |
|
<tr><td><i>Background color:</i> </td><td><input type="text" name="bgcolour" tal:attributes="value here/getBgcolour" size=100></td></tr> |
|
<tr><td><i>Location at MainPage:</i> </td><td> |
|
<tal:block tal:condition="python:getattr(here,'location','')=='bottom'"> |
|
<input type="radio" name="location" value="top">top<input type="radio" name="location" value="bottom" checked>bottom |
|
</tal:block> |
|
<tal:block tal:condition="not:python:getattr(here,'location','')=='bottom'"> |
|
<input type="radio" name="location" value="top" checked>top<input type="radio" name="location" value="bottom">bottom |
|
</tal:block> |
|
</td></tr> |
</table> |
</table> |
|
|
<h4>Coords</h4> |
<h4>Coords</h4> |
<table> |
<table> |
<tr tal:repeat="coord python:here.getCoords()"><td><b> Coords: </b></td><td><input type="text" name="coords" tal:attributes="value coord"></td></tr> |
<tr tal:repeat="coord python:here.getCoords()"><td><b> Coords: </b></td><td><input type="text" name="coords" tal:attributes="value coord"></td></tr> |
</table> |
</table> |
<h3> Credits:</h3> |
|
|
<h4>View Type</h4> |
|
<p tal:repeat="viewClass here/viewClassificationList"> |
|
<input tal:condition="python:here.getViewClassification()==viewClass" type="radio" name="viewClassification" tal:attributes="value viewClass" checked/> |
|
<input tal:condition="not:python:here.getViewClassification()==viewClass" type="radio" name="viewClassification" tal:attributes="value viewClass"/> |
|
<span tal:content="viewClass"/><br/> |
|
</p> |
|
|
|
<h3> Partners:</h3> |
|
|
<div tal:repeat="item here/partners/getPartners"> |
<div tal:repeat="item here/partners/getPartners"> |
|
|