version 1.1.2.2, 2005/10/10 19:10:13
|
version 1.1.2.3, 2005/10/11 13:14:01
|
Line 19
|
Line 19
|
</form> |
</form> |
<form action="changePublications" method="post"> |
<form action="changePublications" method="post"> |
<input type="hidden" name="id_main" tal:attributes="value person/id"> |
<input type="hidden" name="id_main" tal:attributes="value person/id"> |
<input type="hidden" name="main_fields" value="publications__title"> |
<input type="hidden" name="main_fields" value="publications__title,publications__publish"> |
|
|
<tal:block tal:define="books python:here.ZSQLSimpleSearch('select *,oid from publications where id_main=\'%s\' and lower(referencetype)in (\'book\') and publish=\'yes\' order by priority'%here.getDBId()); |
<tal:block tal:define="books python:here.ZSQLSimpleSearch('select *,oid from publications where id_main=\'%s\' and lower(referencetype)in (\'book\') and publish=\'yes\' order by priority'%here.getDBId()); |
edited_books python:here.ZSQLSimpleSearch('select *,oid from publications where id_main=\'%s\' and lower(referencetype)in (\'edited book\') and publish=\'yes\' order by priority'%here.getDBId()); |
edited_books python:here.ZSQLSimpleSearch('select *,oid from publications where id_main=\'%s\' and lower(referencetype)in (\'edited book\') and publish=\'yes\' order by priority'%here.getDBId()); |
Line 42
|
Line 42
|
</td> |
</td> |
<td valign="top"> |
<td valign="top"> |
<input tal:attributes="name python:'publications__priority__'+str(found.oid); |
<input tal:attributes="name python:'publications__priority__'+str(found.oid); |
value found/priority" size="3"/> |
value python:here.integer(found.priority)" size="3"/> |
</td> |
</td> |
<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( |
<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( |
'publications__publish__'+str(found.oid), |
'publications__publish__'+str(found.oid), |
Line 68
|
Line 68
|
</td> |
</td> |
<td valign="top"> |
<td valign="top"> |
<input tal:attributes="name python:'publications__priority__'+str(found.oid); |
<input tal:attributes="name python:'publications__priority__'+str(found.oid); |
value found/priority" size="3"/> |
value python:here.integer(found.priority)" size="3"/> |
|
|
</td> |
</td> |
<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( |
<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( |
'publications__publish__'+str(found.oid), |
'publications__publish__'+str(found.oid), |
Line 94
|
Line 95
|
</td> |
</td> |
<td valign="top"> |
<td valign="top"> |
<input tal:attributes="name python:'publications__priority__'+str(found.oid); |
<input tal:attributes="name python:'publications__priority__'+str(found.oid); |
value found/priority" size="3"/> |
value python:here.integer(found.priority)" size="3"/> |
|
|
</td> |
</td> |
<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( |
<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( |
'publications__publish__'+str(found.oid), |
'publications__publish__'+str(found.oid), |
Line 115
|
Line 117
|
</td> |
</td> |
<td valign="top"> |
<td valign="top"> |
<input tal:attributes="name python:'publications__priority__'+str(found.oid); |
<input tal:attributes="name python:'publications__priority__'+str(found.oid); |
value found/priority" size="3"/> |
value python:here.integer(found.priority)" size="3"/> |
|
|
</td> |
</td> |
<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( |
<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( |
'publications__publish__'+str(found.oid), |
'publications__publish__'+str(found.oid), |
Line 126
|
Line 129
|
</table> |
</table> |
</tal:block> |
</tal:block> |
</tal:block> |
</tal:block> |
|
<input type="submit" value="change"> |
</form> |
</form> |
</tal:block> |
</tal:block> |
</html> |
</html> |