Diff for /ECHO_content/vlp/subCollection_template.zpt between versions 1.1 and 1.2

version 1.1, 2005/03/01 11:30:57 version 1.2, 2005/03/10 15:48:00
Line 3 Line 3
     <title tal:content="here/title">VL Literature [lit25146 a0001]</title>      <title tal:content="here/title">VL Literature [lit25146 a0001]</title>
           
     <!-- SLOT: additional stylesheet -->      <!-- SLOT: additional stylesheet -->
     <style metal:fill-slot="additionalStyles" type="text/css">      <style metal:fill-slot="additionalStyles" type="text/css"
               tal:content="python:'.vario {background-color: ' + here.library.varioColor + ';}'">
         /* background colors d7d7d7*/          /* background colors */
         .vario { background-color: #B8C0CB; }          .vario {background-color: libraryProperty.varioColor;}
         .stage, .stageSpacer, .stageNav  {background-color:#e6e6e6;}  
           
         /* navigation in vario area */  
         .liseNav td,.menu p, .liseNav a, select {  
             font-family: verdana;  
             font-weight: normal;  
             font-size: 10px;  
         }  
         .liseNav {color: #777;}  
         .liseNav a {color: #333; text-decoration:underline;}  
         .liseNav a:hover {color: white;}  
           
         select.pageMenu {width:120px; background-color:#d7d7d7}  
           
     </style>      </style>
       
     <!-- SLOT: additional scripts-->  
     <tal:block metal:fill-slot="script">  
         <script language="javascript" type="text/javascript">  
         <!--  
         function formgo(box) {  
             if ((-1 < box.selectedIndex) && (box.options[box.selectedIndex].value != "nil")) {  
                 val = box.options[box.selectedIndex].value;  
                 window.open(val, "_top");  
             }  
             return true;  
         }  
         // -->  
         </script>  
     </tal:block>  
       
   
     
    </head>     </head>
   
   
 <body>  <body>
 <div id="navigation">  
   <tal:block metal:fill-slot="body">    <tal:block metal:fill-slot="body">
   <table tal:repeat="header python:here.ZSQLSimpleSearch('select * from vl_literature where reference like \'%s\' '%here.getId())">  
    <tr>  <table 
     <th class="thead"><span tal:replace="python:header.shortreference.decode('latin-1')"/>       tal:repeat="header python:here.ZSQLSimpleSearch('
           SELECT * FROM vl_literature 
           WHERE reference = \'' + here.getId() + '\'')">
   
       <tr
           tal:define="global sort python:here.collectionSort(header.referencetype)">
           <th class="thead">
               <span tal:replace="python:header.shortreference.decode('latin-1')"/> 
     </th>      </th>
    </tr>     </tr>
   </table>    </table>
   
   <p class="TOClist" tal:repeat="item python:here.ZSQLSimpleSearch('select * from vl_literature where volumeid like \'%s\' order by startpages'%here.getId())">  <p class="TOClist" 
       tal:repeat="item python:here.ZSQLSimpleSearch('
      <a tal:condition="python:item.reference==here.getId()" tal:attributes="href python:'../references?id='+item.reference">FRONT MATTER</a>          SELECT * FROM vl_literature 
      <a tal:condition="not:python:item.reference==here.getId()" tal:attributes="href python:'../references?id='+item.reference">          WHERE volumeid = \'' + here.getId() + '\'
      <span tal:replace="python:item.fullreference.decode('latin-1')"/></a></p>              AND online = 1
           ORDER BY ' + sort)">
        <a 
           tal:condition="python:here.checkForFrontMatter(item.reference)"
           tal:attributes="href python:here.vlp_root() + '/library/data/'+item.reference+'/'+item.reference">Table of Contents, Tables, ...</a
        ><a 
           tal:condition="not:python:item.reference==here.getId()" 
           tal:attributes="href python:here.vlp_root() + '/references?id='+item.reference"><span 
               tal:replace="python:item.fullreference.decode('latin-1')"/></a></p>
 </tal:block>   </tal:block> 
   
 </body>  </body>
 </html>                                                     </html>                                                   
                                            

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


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