File:  [Repository] / MPIWGWeb / zpt / Attic / editAdditionalLinks.zpt
Revision 1.1.2.4: download - view: text, annotated - select for diffs - revision graph
Tue Aug 26 15:01:41 2008 UTC (15 years, 10 months ago) by dwinter
Branches: r2
reload problem und sonderzeichen

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    2:           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    3: <html metal:use-macro="here/mainEditFile/macros/page">
    4: <body>
    5: <tal:block metal:fill-slot="navsel" tal:define="global menusel string:additionalLink" />
    6: <p>You can add links to documents or project websites you want to provide and are relevant for
    7: presenting your work and research interests</p>
    8: 
    9: <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
   10:   <form action="changeResearch" method="post">
   11:   <input type="hidden" name="key_main" tal:attributes="value python:here.decode(person.key)">
   12:   <input type="hidden" name="main_fields" value="additionalLink__title">
   13:   <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='additionalLink',key_main=person.key)" >
   14:    <tal:x tal:repeat="found2 python:here.sortPriority(founds2)">
   15:     <tr class="fliesstext">
   16:       <td>Text over Link</td>
   17:       <td><input tal:attributes="name python:'additionalLink__title__'+str(found2.oid); 
   18: 				     value python:here.decode(found2.title)" size="80" /> </td>
   19: 	</tr>
   20: 	<tr>
   21: 		<td>Url</td>
   22:      	<td><input tal:attributes="name python:'additionalLink__link__'+str(found2.oid); 
   23: 				     value python:here.decode(found2.link)" size="80" /></td>
   24: 	</tr>
   25: 	<tr>
   26:       <td valign="top">Priority <input tal:attributes="name python:'additionalLink__priority__'+str(found2.oid);
   27: 				     value python:here.decode(found2.priority)"
   28:         size="3" />
   29:       </td>
   30:       <td valign="top">Publish 
   31:         <tal:x tal:content="structure python:here.ZSQLSelectionFromCRList(
   32: 			     'additionalLink__published__'+str(found2.oid),
   33: 			     yes_no_list,
   34: 			     boxType='radio',
   35: 			     checked=found2.published)" />
   36:       &nbsp;&nbsp;<a tal:attributes="href python:'deleteField?table=additionalLink&oid=%s'%found2.oid">delete this link</a>
   37:       </td>
   38:     </tr>
   39:     <tr>
   40:     	<td colspan="2"><hr/></td>
   41:    	</tr>
   42:     </tal:x>
   43:     <tr >
   44:       <td colspan="2"><b>Add new link</b></td>
   45:     </tr>
   46:     <tr>
   47:    		<td>Text over Link</td>
   48:    		<td><input tal:attributes="name python:'additionalLink__title__new'" size="80"/></td>
   49:     </tr>
   50:     <tr>
   51:     	<td>Url</td>
   52:      	<td><input tal:attributes="name python:'additionalLink__link__new'" size="80" /></td>
   53:     </tr>
   54:     <tr>
   55:       <td>Priority <input tal:attributes="name python:'additionalLink__priority__new'" size="3"></td>
   56:       <td valign="top">Publish
   57:         <tal:x tal:content="structure python:here.ZSQLSelectionFromCRList(
   58: 			     'additionalLink__published__new',
   59: 			     yes_no_list,
   60: 			     boxType='radio',
   61: 			     checked='yes')" />
   62: 			     </td>
   63:     </tr>
   64:   </table>
   65:   <input type="submit" value="submit">
   66: 
   67:   </form>
   68:   <p>Please contact the IT Group <a href="mailto:itgroup@mpiwg-berlin.mpg.de">itgroup@mpiwg-berlin.mpg.de</a>, if you intend
   69:   to link to documents not available in the net and if you want to publish these.</p>
   70: </tal:block>
   71: </body>
   72: </html>

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