Annotation of MPIWGWeb/zpt/editMPIWGStaff.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: <head>
                      5: </head>
                      6: <body>
1.1.2.4   casties     7: <tal:block metal:fill-slot="navsel" tal:define="global menusel string:research" />
1.1.2.1   dwinter     8: <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
                      9: 
1.1.2.4   casties    10:   <form action="changeResearch" method="post">
1.1.2.5   dwinter    11:   <input type="hidden" name="key_main" tal:attributes="value person/key">
1.1.2.4   casties    12:   <input type="hidden" name="main_fields" value="current_work__current,research_interest__interest">
1.1.2.6 ! dwinter    13:   <h3>Short entry</h3>
        !            14:   <p>This entry appears only in the staff lists at: <a href="../staff/fullist.html">Fullist</a> and the
        !            15:   lists of members of you department. Maximal 2 entries will occur there.</p>
1.1.2.5   dwinter    16:   <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='current_work',key_main=person.key)">
1.1.2.4   casties    17:     <tr>
                     18:       <th />
                     19:       <th>Priority</th>
                     20:       <th>Show</th>
                     21:     </tr>
                     22:     <tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)">
                     23:       <td><input tal:attributes="name python:'current_work__current__'+str(found2.oid); 
                     24:                     value found2/current" size="80" />
                     25:       </td>
                     26:       <td><input tal:attributes="name python:'current_work__priority__'+str(found2.oid);
                     27:                     value found2/priority" size="3" />
                     28:       </td>
                     29:       <td
                     30:         tal:content="structure python:here.ZSQLSelectionFromCRList(
1.1.2.1   dwinter    31:                 'current_work__publish__'+str(found2.oid),
                     32:                 yes_no_list,
                     33:                 boxType='radio',
1.1.2.4   casties    34:                 checked=found2.publish)" />
                     35:       <td><a tal:attributes="href python:'deleteField?table=current_work&oid=%s'%found2.oid">delete</a></td>
                     36:     </tr>
                     37:     <tr colspan="4">
                     38:       <td>Add new</td>
                     39:     </tr>
                     40:     <tr>
                     41:       <td><input tal:attributes="name python:'current_work__current__new'" size="80"></td>
                     42:       <td><input tal:attributes="name python:'current_work__priority__new'" size="3"></td>
                     43:       <td
                     44:         tal:content="structure python:here.ZSQLSelectionFromCRList(
1.1.2.1   dwinter    45:                 'current_work__publish__new',
                     46:                 yes_no_list,
                     47:                 boxType='radio',
1.1.2.4   casties    48:                 checked='yes')" />
                     49:     </tr>
                     50:   </table>
                     51:   <input type="submit" value="submit">
1.1.2.6 ! dwinter    52:  
1.1.2.4   casties    53:   <h3>Research interests</h3>
1.1.2.6 ! dwinter    54:   <p>This entry isn't displayed anymore, please describe your research interes in you <a href="editProfile">Profile</a></p>
        !            55: <!--  
1.1.2.5   dwinter    56:   <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='research_interest',key_main=person.key)">
1.1.2.4   casties    57:     <tr>
                     58:       <th />
                     59:       <th>Priority</th>
                     60:       <th>Show</th>
                     61:     </tr>
                     62:     <tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)">
                     63:       <td><input tal:attributes="name python:'research_interest__interest__'+str(found2.oid); 
                     64:                     value found2/interest"
                     65:         size="80" /></td>
                     66:       <td><input tal:attributes="name python:'research_interest__priority__'+str(found2.oid);
                     67:                     value found2/priority"
                     68:         size="3" /></td>
                     69:       <td
                     70:         tal:content="structure python:here.ZSQLSelectionFromCRList(
1.1.2.1   dwinter    71:                 'research_interest__published__'+str(found2.oid),
                     72:                 yes_no_list,
                     73:                 boxType='radio',
1.1.2.4   casties    74:                 checked=found2.published)" />
                     75:       <td><a tal:attributes="href python:'deleteField?table=research_interest&oid=%s'%found2.oid">delete</a></td>
1.1.2.1   dwinter    76: 
1.1.2.4   casties    77:     </tr>
                     78:     <tr colspan="3">
                     79:       <td>Add new</td>
                     80:     </tr>
                     81:     <tr>
                     82:       <td><input tal:attributes="name python:'research_interest__interest__new'" size="80"></td>
                     83:       <td><input tal:attributes="name python:'research_interest__priority__new'" size="3"></td>
                     84:       <td
                     85:         tal:content="structure python:here.ZSQLSelectionFromCRList(
1.1.2.1   dwinter    86:                 'research_interest__published__new',
                     87:                 yes_no_list,
                     88:                 boxType='radio',
1.1.2.4   casties    89:                 checked='yes')" />
                     90:     </tr>
                     91:   </table>
1.1.2.6 ! dwinter    92:   -->
1.1.2.4   casties    93:   <input type="submit" value="submit">
                     94:   </form>
                     95:   <h3>Projects</h3>
                     96:   <p>Projects cannot be edited from this pages. Entries are automatically generated.</p>
1.1.2.1   dwinter    97: </tal:block>
1.1.2.2   casties    98: </body>
1.1.2.1   dwinter    99: </html>

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