Diff for /ZSQLExtend/zpt/changeZSQLBibliographyForm.zpt between versions 1.2 and 1.3

version 1.2, 2005/02/09 20:10:42 version 1.3, 2012/09/03 13:06:11
Line 1 Line 1
 <html>  <h1 tal:replace="structure python:here.decode(here.manage_page_header())">Header</h1>
 <body>  <!-- ZOPE management tabs -->
    <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
       tal:replace="structure python:here.manage_tabs()">Tabs</h2>
   <h1 tal:replace="structure here/manage_page_header">Header</h1>
   
 <h2>Change ZSQL Bibliography</h2>  <h2>Change ZSQL Bibliography</h2>
 <form method="post" action="changeZSQLBibliography">  <form method="post" action="changeZSQLBibliography">
 Name of the Bibliography Table:<input name="tableName" size="100" tal:attributes="value python:here.tableName"><br/>  Name of the Bibliography Table:<input name="tableName" size="100" tal:attributes="value python:here.tableName"><br/>
Line 33  Name of the Bibliography Table:<input na Line 37  Name of the Bibliography Table:<input na
     <td align="left" valign="top">      <td align="left" valign="top">
     <div class="form-element">      <div class="form-element">
           
     <select name="connection_id">  
             
      <tal:block tal:repeat="id python:here.SQLConnectionIDs()[0]">       
                 <option  tal:condition="python:getattr(here,'connection_id','')==id"  tal:attributes="value id" selected tal:content="id"/>      <select name="connection_id">
                 <option  tal:condition="not:python:getattr(here,'connection_id','')==id"  tal:attributes="value id" tal:content="id"/>        <tal:block tal:repeat="id python:here.getSQLConnectionIDs()">
           <option  tal:attributes="value python:id[1]" selected tal:content="python:id[0]"/>
             </tal:block>              </tal:block>
     </select>      </select>
   
       </div>
       </td>
       </tr>
       <tr>
        <td align="left" valign="top">
       <div class="form-label">
       Name of the standard primary key
       </div>
       </td>
       <td align="left" valign="top">
       <div class="form-element">
       <input type="text" size="60" tal:attributes="value here/getPrimaryKey" name="primaryKey"/>
       </div>
       </td>
       </tr>
       <tr>
       <td align="left" valign="top">
       <div class="form-label">
       Name of the primary key per table if it is not the standardkey.<br/>(as string: TABLE1:key1;TABLE2:key2,...)<br/>
       
       </div>
       </td>
       <td align="left" valign="top">
       <div class="form-element">
       <input type="text" size="60" tal:attributes="value here/getPrimaryKeysAsString" name="primaryKeys"/>
     </div>      </div>
     </td>      </td>
   </tr>    </tr>
Line 48  Name of the Bibliography Table:<input na Line 78  Name of the Bibliography Table:<input na
 </table>  </table>
 <input type="submit">  <input type="submit">
 </form>  </form>
 </body>  <h1 tal:replace="structure here/manage_page_footer">Footer</h1>
 </html>  

Removed from v.1.2  
changed lines
  Added in v.1.3


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