Diff for /MPIWGWeb/zpt/Attic/editPublications.zpt between versions 1.1.2.8 and 1.1.2.9

version 1.1.2.8, 2005/11/16 19:09:28 version 1.1.2.9, 2007/04/18 10:03:12
Line 44 Line 44
   </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="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 id_main=\'%s\' and lower(referencetype)in (\'book\') and publish=\'yes\' order by priority'%here.getDBId());      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 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 lower(key_main)=\'%s\' and lower(referencetype)in (\'edited book\') and publish=\'yes\' order by priority'%here.getKey().lower());
                  not_displayed python:here.ZSQLSimpleSearch('select *,oid from publications where id_main=\'%s\' and publish=\'no\' order by priority'%here.getDBId());                   not_displayed python:here.ZSQLSimpleSearch('select *,oid from publications where lower(key_main)=\'%s\' and publish=\'no\' order by priority'%here.getKey().lower());
                  articles python:here.ZSQLSimpleSearch('select *,oid from publications where id_main=\'%s\' and lower(referencetype) not in (\'book\',\'edited book\') and publish=\'yes\' order by priority'%here.getDBId())">                   articles python:here.ZSQLSimpleSearch('select *,oid from publications where lower(key_main)=\'%s\' and lower(referencetype) not in (\'book\',\'edited book\') and publish=\'yes\' order by priority'%here.getKey().lower())">
   
     <tal:block tal:condition="books">      <tal:block tal:condition="books">
       <h3>Books</h3>        <h3>Books</h3>
Line 67 Line 67
             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.formatBibliography(here,found)" /></td>            <td><span tal:replace="structure python:here.decode(here.formatBibliography(here,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 96
             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.formatBibliography(here,found)" /></td>            <td><span tal:replace="structure python:here.decode(here.formatBibliography(here,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 125
             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.formatBibliography(here,found)" /></td>            <td><span tal:replace="structure python:here.decode(here.formatBibliography(here,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 152
       <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.formatBibliography(here,found)" /></td>          <td><span tal:replace="structure python:here.decode(here.formatBibliography(here,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)"

Removed from v.1.1.2.8  
changed lines
  Added in v.1.1.2.9


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