File:  [Repository] / MPIWGWeb / zpt / Attic / editTalks.zpt
Revision 1.1.2.6: download - view: text, annotated - select for diffs - revision graph
Tue Aug 26 14:00:42 2008 UTC (15 years, 10 months ago) by dwinter
Branches: r2
minor

    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:talks" />
    6: 
    7: <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
    8:   <form action="changeResearch" method="post">
    9:   <input type="hidden" name="key_main" tal:attributes="value person/key">
   10:   <input type="hidden" name="main_fields" value="talks__title">
   11:   <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='talks',key_main=person.key)">
   12:     <tr>
   13:       <th>Date</th>
   14:       <th>Title/Place/Link</th>
   15:       <th>Priority</th>
   16:       <th>Show</th>
   17:     </tr>
   18:     <tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)">
   19:       <td valign="top">
   20:         <input tal:attributes="name python:'talks__date__'+str(found2.oid); 
   21: 				     value found2/date" size="10" />
   22:       </td>
   23:       <td>
   24:         <input tal:attributes="name python:'talks__title__'+str(found2.oid); 
   25: 				     value python:here.decode(found2.title)" size="80" /><br>
   26:         <input tal:attributes="name python:'talks__place__'+str(found2.oid); 
   27: 				     value python:here.decode(found2.place)" size="80" /><br>
   28:         <input tal:attributes="name python:'talks__link__'+str(found2.oid); 
   29: 				     value python:here.decode(found2.link)" size="80" />
   30:       </td>
   31:       <td valign="top">
   32:         <input tal:attributes="name python:'talks__priority__'+str(found2.oid); value found2/priority" size="3" />
   33:       </td>
   34:       <td valign="top"
   35:         tal:content="structure python:here.ZSQLSelectionFromCRList(
   36: 			     'talks__published__'+str(found2.oid),
   37: 			     yes_no_list,
   38: 			     boxType='radio',
   39: 			     checked=found2.published)" />
   40:       <td>
   41:         <a tal:attributes="href python:'deleteField?table=talks&oid=%s'%found2.oid">delete</a>
   42:       </td>
   43:     </tr>
   44:     <tr colspan="4">
   45:       <td>Add new</td>
   46:     </tr>
   47:     <tr>
   48:       <td valign="top"><input tal:attributes="name python:'talks__date__new'" size="10" /></td>
   49:       <td><input tal:attributes="name python:'talks__title__new'" size="80"> <br>
   50:       <input tal:attributes="name python:'talks__place__new'" size="80" /> <br>
   51:       <input tal:attributes="name python:'talks__link__new'" size="80" /></td>
   52:       <td><input tal:attributes="name python:'talks__priority__new'" size="3"></td>
   53:       <td valign="top"
   54:         tal:content="structure python:here.ZSQLSelectionFromCRList(
   55: 			     'talks__published__new',
   56: 			     yes_no_list,
   57: 			     boxType='radio',
   58: 			     checked='yes')" />
   59:     </tr>
   60:   </table>
   61:   <input type="submit" value="submit">
   62: 
   63:   </form>
   64: </tal:block>
   65: </body>
   66: </html>

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