Diff for /ZSQLExtend/zpt/changeZSQLExtendForm.zpt between versions 1.6 and 1.10

version 1.6, 2007/08/09 15:09:26 version 1.10, 2012/09/03 13:06:11
Line 1 Line 1
 <html>  
 <body>  
 <div tal:replace="structure here/manage_page_header">Header</div>  <div tal:replace="structure here/manage_page_header">Header</div>
 <!-- ZOPE management tabs -->  <!-- ZOPE management tabs -->
 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"  <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
Line 38 Line 37
     </td>      </td>
     <td align="left" valign="top">      <td align="left" valign="top">
     <div class="form-element">      <div class="form-element">
   
     <select name="connection_id">      <select name="connection_id">
              <tal:block tal:repeat="id here/SQLConnectionIDs">
      <tal:block tal:repeat="id python:[i[0] for i in here.SQLConnectionIDs()]">          <option  tal:condition="python:getattr(here,'connection_id','')==id[1]"  tal:attributes="value python:id[1]" selected tal:content="python:id[0]"/>
                 <option  tal:condition="python:getattr(here,'connection_id','')==id"  tal:attributes="value id" selected tal:content="id"/>          <option  tal:condition="not:python:getattr(here,'connection_id','')==id[1]"  tal:attributes="value python:id[1]" tal:content="python:id[0]"/>
                 <option  tal:condition="not:python:getattr(here,'connection_id','')==id"  tal:attributes="value id" tal:content="id"/>  
             </tal:block>              </tal:block>
     </select>      </select>
     </div>      </div>
     </td>      </td>
   </tr>       <td align="left" valign="top">
       <div class="form-label">
       Name of the 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>
        <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>
       </tr>
       <tr>
       <td align="left" valign="top">
       <div class="form-element">
       <input type="text" size="60" tal:attributes="value here/getPrimaryKeysAsString" name="primaryKeys"/>
       </div>
       </td>
     </tr>
   <tr>
       <td align="left" valign="top">
       <div class="form-label">
       Autocommit
       </div>
       </td>
       <td align="left" valign="top">
       <div class="form-element">
         <input type="checkbox" name="autocommit" tal:attributes="checked here/autocommit | nothing"/> autocommit (don't use when you want transactions)
       </div>
       </td>
     </tr>
 <tr>  <tr>
     <td align="left" valign="top">      <td align="left" valign="top">
     <div class="form-label">      <div class="form-label">
Line 63 Line 94
   
 </table>  </table>
 <input type="submit">  <input type="submit">
 </form>  <h1 tal:replace="structure here/manage_page_footer">Footer</h1>
 </body>  
 </html>  

Removed from v.1.6  
changed lines
  Added in v.1.10


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