version 1.1.2.9, 2007/04/18 10:03:12
|
version 1.1.2.10, 2007/05/29 15:09:35
|
Line 47
|
Line 47
|
<input type="hidden" name="key_main" tal:attributes="value person/key"> |
<input type="hidden" name="key_main" tal:attributes="value person/key"> |
<input type="hidden" name="main_fields" |
<input type="hidden" name="main_fields" |
value="publications__title,publications__publish"> |
value="publications__title,publications__publish"> |
|
|
<tal:block |
<tal:block |
tal:define="books python:here.ZSQLSimpleSearch('select *,oid from publications where lower(key_main)=\'%s\' and lower(referencetype)in (\'book\') and publish=\'yes\' order by priority'%here.getKey().lower()); |
tal:define="books python:here.ZSQLSimpleSearch('select *,oid from publications where lower(key_main)=\'%s\' and lower(referencetype)in (\'book\') and publish=\'yes\' order by priority'%here.getKey().lower()); |
edited_books python:here.ZSQLSimpleSearch('select *,oid from publications where lower(key_main)=\'%s\' and lower(referencetype)in (\'edited book\') and publish=\'yes\' order by priority'%here.getKey().lower()); |
edited_books python:here.ZSQLSimpleSearch('select *,oid from publications where lower(key_main)=\'%s\' and lower(referencetype)in (\'edited book\') and publish=\'yes\' order by priority'%here.getKey().lower()); |
Line 67
|
Line 68
|
tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a> |
tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a> |
<a |
<a |
tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td> |
tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td> |
<td><span tal:replace="structure python:here.decode(here.formatBibliography(here,found))" /></td> |
<td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td> |
<td valign="top"><input |
<td valign="top"><input |
tal:attributes="name python:'publications__priority__'+str(found.oid); |
tal:attributes="name python:'publications__priority__'+str(found.oid); |
value python:here.integer(found.priority)" |
value python:here.integer(found.priority)" |
Line 96
|
Line 97
|
tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a> |
tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a> |
<a |
<a |
tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td> |
tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td> |
<td><span tal:replace="structure python:here.decode(here.formatBibliography(here,found))" /></td> |
<td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td> |
<td valign="top"><input |
<td valign="top"><input |
tal:attributes="name python:'publications__priority__'+str(found.oid); |
tal:attributes="name python:'publications__priority__'+str(found.oid); |
value python:here.integer(found.priority)" |
value python:here.integer(found.priority)" |
Line 125
|
Line 126
|
tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a> |
tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a> |
<a |
<a |
tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td> |
tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td> |
<td><span tal:replace="structure python:here.decode(here.formatBibliography(here,found))" /></td> |
<td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td> |
<td valign="top"><input |
<td valign="top"><input |
tal:attributes="name python:'publications__priority__'+str(found.oid); |
tal:attributes="name python:'publications__priority__'+str(found.oid); |
value python:here.integer(found.priority)" |
value python:here.integer(found.priority)" |
Line 152
|
Line 153
|
<tr tal:repeat="found python:here.sortBibliography(not_displayed)"> |
<tr tal:repeat="found python:here.sortBibliography(not_displayed)"> |
<td><a |
<td><a |
tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td> |
tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td> |
<td><span tal:replace="structure python:here.decode(here.formatBibliography(here,found))" /></td> |
<td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td> |
<td valign="top"><input |
<td valign="top"><input |
tal:attributes="name python:'publications__priority__'+str(found.oid); |
tal:attributes="name python:'publications__priority__'+str(found.oid); |
value python:here.integer(found.priority)" |
value python:here.integer(found.priority)" |
Line 170
|
Line 171
|
</tal:block> |
</tal:block> |
<input type="submit" value="change"> |
<input type="submit" value="change"> |
</form> |
</form> |
|
|
</tal:block> |
</tal:block> |
</body> |
</body> |
</html> |
</html> |