Annotation of MPIWGWeb/zpt/editTalks.zpt, revision 1.1.2.1
1.1.2.1 ! dwinter 1: <html metal:use-macro="here/mainEditFile/macros/page">
! 2:
! 3: <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
! 4: <h3>Manage Talks</h3>
! 5:
! 6: <form action="changeResearch" method="post">
! 7: <input type="hidden" name="id_main" tal:attributes="value person/id">
! 8: <input type="hidden" name="main_fields" value="talks__title">
! 9: <h4>Talks</h4>
! 10: <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='talks',id_main=person.id)">
! 11: <tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)">
! 12: <td valign="top">
! 13: <input tal:attributes="name python:'talks__date__'+str(found2.oid);
! 14: value found2/date" size="10"/>
! 15: </td>
! 16:
! 17: <td>
! 18: <input tal:attributes="name python:'talks__title__'+str(found2.oid);
! 19: value found2/title" size="80"/>
! 20:
! 21: <br>
! 22: <input tal:attributes="name python:'talks__place__'+str(found2.oid);
! 23: value found2/place" size="80"/>
! 24: <br>
! 25: <input tal:attributes="name python:'talks__link__'+str(found2.oid);
! 26: value found2/link" size="80"/>
! 27:
! 28: </td>
! 29:
! 30: <td valign="top">
! 31: <input tal:attributes="name python:'talks__priority__'+str(found2.oid);
! 32: value found2/priority" size="3"/>
! 33: </td>
! 34: <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
! 35: 'talks__published__'+str(found2.oid),
! 36: yes_no_list,
! 37: boxType='radio',
! 38: checked=found2.published)"/>
! 39: <td>
! 40: <a tal:attributes="href python:'deleteField?table=talks&oid=%s'%found2.oid">delete</a>
! 41: </td>
! 42: </tr>
! 43: <tr colspan="4">
! 44: <td>Add new</td>
! 45: </tr>
! 46: <tr>
! 47: <td valign="top">
! 48: <input tal:attributes="name python:'talks__date__new'" size="10"/>
! 49: </td>
! 50: <td>
! 51: <input tal:attributes="name python:'talks__title__new'" size="80">
! 52: <br>
! 53: <input tal:attributes="name python:'talks__place__new'" size="80"/>
! 54: <br>
! 55: <input tal:attributes="name python:'talks__link__new'" size="80"/>
! 56:
! 57:
! 58: </td>
! 59: <td>
! 60: <input tal:attributes="name python:'talks__priority__new'" size="3">
! 61: </td>
! 62: <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
! 63: 'talks__published__new',
! 64: yes_no_list,
! 65: boxType='radio',
! 66: checked='yes')"/>
! 67: </tr>
! 68: </table>
! 69: <input type="submit" value="submit">
! 70:
! 71: </form>
! 72: </tal:block>
! 73: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>