File:  [Repository] / ECHO_content / zpt / ChangeECHO_Collection.zpt
Revision 1.25: download - view: text, annotated - select for diffs - revision graph
Wed Jan 4 13:23:00 2012 UTC (12 years, 4 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
fulltexthandler
und sonderbehandlung fuer annalen-tex

<h1 tal:replace="structure here/manage_page_header">Header</h1>
    <h2>Change collection <span tal:replace="here/getId"/></h2>
    <form name="form" action="changeECHO_collection">
      <table>
      <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" size="90"></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> 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> <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> 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>  
      <tr><td><i>Collection can be browsed and is searchable:</i></td>
	<td><select name="isVisible:boolean">
	    <option tal:condition="python:here.getAttributeIsVisible()" value="True" selected>True</option>
	    <option tal:condition="not:python:here.getAttributeIsVisible()" value="True">True</option>
	    <option tal:condition="not:python:here.getAttributeIsVisible()" value="False" selected>False</option>
	    <option tal:condition="python:here.getAttributeIsVisible()" value="False">False</option>
	    </select>
	</td>
      </tr>
      <tr><td><i>fullTextBasisUrl</i></td>
      <td><input type="text" name="fullTextBasisUrl" tal:attributes="value here/fullTextBasisUrl" size="100"></td></tr>
</table>

<h3> Partners:</h3>
      
      <div tal:repeat="item here/getPartners">
	
	<div tal:condition="python:item.getId() in here.getCredits()">
	  
	  <input type="checkbox" name="credits" tal:attributes="value item/id"  checked/>
	  <tal:block tal:content="python:here.decode(item.title)"/>
	</div>
	<div tal:condition="not:python:item.getId() in here.getCredits()">
		<input type="checkbox" name="credits" tal:attributes="value item/id"/>
		<tal:block tal:content="python:here.decode(item.title)"/>
	</div>

      </div>
<h3>Additions for Navigation (all optional)</h3>
<table>
      <tr><td><i>Clickable also if selected:<i> 
		<input tal:condition="python:getattr(here,'isAlwaysClickable',None)" type="checkbox" name="isAlwaysClickable"  checked value="yes">
		<input tal:condition="not:python:getattr(here,'isAlwaysClickable',None)" type="checkbox" name="isAlwaysClickable"  value="yes">
      </td></tr>
<tr><td>
<i>Prefix for output in navigation</i></td><td><input tal:attributes="value python:getattr(here,'prefix','')" name="prefix" size=20>
</td></tr>
<tr><td>
<i>Suffix for output in navigation</i></td><td><input tal:attributes="value python:getattr(here,'suffix','')" name="suffix" size=20>
</td></tr>
</table>
      <input type="submit" value="change"><br><br>
       </form>
<h1 tal:replace="structure here/manage_page_footer">Footer</h1>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>