Annotation of MPIWGWeb/zpt/editTalks.zpt, revision 1.1.2.6

1.1.2.2   casties     1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      2:           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1.1.2.1   dwinter     3: <html metal:use-macro="here/mainEditFile/macros/page">
1.1.2.2   casties     4: <body>
1.1.2.4   casties     5: <tal:block metal:fill-slot="navsel" tal:define="global menusel string:talks" />
1.1.2.1   dwinter     6: 
                      7: <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
1.1.2.3   casties     8:   <form action="changeResearch" method="post">
1.1.2.5   dwinter     9:   <input type="hidden" name="key_main" tal:attributes="value person/key">
1.1.2.3   casties    10:   <input type="hidden" name="main_fields" value="talks__title">
1.1.2.5   dwinter    11:   <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='talks',key_main=person.key)">
1.1.2.3   casties    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); 
1.1.2.6 ! dwinter    25:                     value python:here.decode(found2.title)" size="80" /><br>
1.1.2.3   casties    26:         <input tal:attributes="name python:'talks__place__'+str(found2.oid); 
1.1.2.6 ! dwinter    27:                     value python:here.decode(found2.place)" size="80" /><br>
1.1.2.3   casties    28:         <input tal:attributes="name python:'talks__link__'+str(found2.oid); 
1.1.2.6 ! dwinter    29:                     value python:here.decode(found2.link)" size="80" />
1.1.2.3   casties    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(
1.1.2.1   dwinter    36:                 'talks__published__'+str(found2.oid),
                     37:                 yes_no_list,
                     38:                 boxType='radio',
1.1.2.3   casties    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(
1.1.2.1   dwinter    55:                 'talks__published__new',
                     56:                 yes_no_list,
                     57:                 boxType='radio',
1.1.2.3   casties    58:                 checked='yes')" />
                     59:     </tr>
                     60:   </table>
                     61:   <input type="submit" value="submit">
                     62: 
                     63:   </form>
1.1.2.1   dwinter    64: </tal:block>
1.1.2.2   casties    65: </body>
1.1.2.1   dwinter    66: </html>

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