File:  [Repository] / ECHO_content / zpt / ChangeECHO_externalLink.zpt
Revision 1.13: download - view: text, annotated - select for diffs - revision graph
Tue Feb 20 15:55:21 2007 UTC (17 years, 3 months ago) by dwinter
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
minor

<div tal:replace="structure here/manage_page_header">Header</div>
<!-- ZOPE management tabs -->
<h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
    tal:replace="structure here/manage_tabs">Tabs</h2>

    <form name="form" action="changeECHO_externalLink">
      <table>

      <tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title" size="80"></td></tr>
      <tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label" size="80"></td></tr>
      <tr><td><b> Link: </b></td><td><input type="text" name="link" tal:attributes="value here/link" size="80"></td></tr>
      <tr><td><b> Weight: </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=20 tal:content="here/description"></textarea></td></tr>
      <tr><td> <i>Content-Type:</i> </td><td><select name="contentType" tal:content="structure python:here.contentTypeSelector_HTML(selected=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>Link type:</i> </td>
	<td>
	  <select name="linkType">
	    <option tal:condition="python:here.getLinkType() == 'otherPresentation'" value="otherPresentation" selected>Other presentation of the content</option>
	    <option tal:condition="not:python:here.getLinkType() == 'otherPresentation'" value="otherPresentation">Other presentation of the content</option>
	    <option tal:condition="python:here.getLinkType() == 'external'" value="external" selected>Additional external Link</option>
	    <option tal:condition="not:python:here.getLinkType() == 'external'" value="external">Additional external Link</option>
	  </select>
	</td>
      </tr> 
</table>

<h3> Credits:</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="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="item/title"/>
	</div>

      </div>
      <input type="submit" value="Change"><br><br>
       </form>
<h1 tal:replace="structure here/manage_page_footer">Footer</h1>

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