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, 4 months ago) by dwinter
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
minor

    1: <div tal:replace="structure here/manage_page_header">Header</div>
    2: <!-- ZOPE management tabs -->
    3: <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
    4:     tal:replace="structure here/manage_tabs">Tabs</h2>
    5: 
    6:     <form name="form" action="changeECHO_externalLink">
    7:       <table>
    8: 
    9:       <tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title" size="80"></td></tr>
   10:       <tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label" size="80"></td></tr>
   11:       <tr><td><b> Link: </b></td><td><input type="text" name="link" tal:attributes="value here/link" size="80"></td></tr>
   12:       <tr><td><b> Weight: </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr>
   13:       <tr><td><b> Description:</b></td><td><textarea name="description" cols=80 rows=20 tal:content="here/description"></textarea></td></tr>
   14:       <tr><td> <i>Content-Type:</i> </td><td><select name="contentType" tal:content="structure python:here.contentTypeSelector_HTML(selected=here.contentType)"/></td></tr>
   15:       <tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr>
   16:       <tr><td><i>Link type:</i> </td>
   17: 	<td>
   18: 	  <select name="linkType">
   19: 	    <option tal:condition="python:here.getLinkType() == 'otherPresentation'" value="otherPresentation" selected>Other presentation of the content</option>
   20: 	    <option tal:condition="not:python:here.getLinkType() == 'otherPresentation'" value="otherPresentation">Other presentation of the content</option>
   21: 	    <option tal:condition="python:here.getLinkType() == 'external'" value="external" selected>Additional external Link</option>
   22: 	    <option tal:condition="not:python:here.getLinkType() == 'external'" value="external">Additional external Link</option>
   23: 	  </select>
   24: 	</td>
   25:       </tr> 
   26: </table>
   27: 
   28: <h3> Credits:</h3>
   29:       
   30:       <div tal:repeat="item here/getPartners">
   31: 	
   32: 	<div tal:condition="python:item.getId() in here.getCredits()">
   33: 	  
   34: 	  <input type="checkbox" name="credits" tal:attributes="value item/id"  checked><tal:block tal:content="item/title"/>
   35: 	</div>
   36: 	<div tal:condition="not:python:item.getId() in here.getCredits()">
   37: 		<input type="checkbox" name="credits" tal:attributes="value item/id"><tal:block tal:content="item/title"/>
   38: 	</div>
   39: 
   40:       </div>
   41:       <input type="submit" value="Change"><br><br>
   42:        </form>
   43: <h1 tal:replace="structure here/manage_page_footer">Footer</h1>

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