Changeset 597

Show
Ignore:
Timestamp:
10/23/06 13:24:43
Author:
chervol
Message:

added globals to CatSearch?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • SimpleBlog/branches/plone-2.5/skins/SimpleBlog/SimpleBlogCatSearch.pt

    r596 r597  
    33      metal:use-macro="here/main_template/macros/master" 
    44      i18n:domain="SimpleBlog"> 
    5  
    65  <metal:block fill-slot="top_slot" 
    76             tal:define="dummy python:request.set('disable_border',1)" /> 
    8  
    97<div metal:fill-slot="main" 
    108     tal:define="category python:(traverse_subpath and traverse_subpath[0]) or request.get('category') or ''; 
     
    1311                b_start python:0; 
    1412                b_start request/b_start | b_start; 
    15                 Batch python:modules['Products.CMFPlone'].Batch; 
    16      "> 
    17  
     13                Batch python:modules['Products.CMFPlone'].Batch;"> 
     14    <tal:block metal:use-macro="here/SimpleBlog_macros/macros/blogGlobals"/> 
    1815    <h1>Search results for category: <span tal:replace="category"/></h1> 
    19  
    2016    <div tal:condition="results" tal:define="batch python:Batch(results, b_size, int(b_start), orphan=1);"> 
    2117           <tal:results tal:repeat="result batch"> 
     
    2622           <div metal:use-macro="here/batch_macros/macros/navigation" /> 
    2723    </div> 
    28      
    2924    <p tal:condition="not: results"> 
    3025        No Entries are found within this category. 
    3126    </p> 
    32  
    3327  </div> 
    34  
    35  
    3628</html>