## This file is subject to the terms and conditions defined in ## file 'LICENSE', which is part of this source code package. ## Copyright (c) 2009 SKR Farms (P) LTD. <%inherit file="/base/basic1.html"/> <%namespace name="elements" file="/component/elements.html"/> <%namespace name="forms" file="/component/forms.html"/> <%! page_tooltips = [ [ 'Help', """Faceted search allows you to search for resources based its classification. User Filter By checklist to select classification. """ ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="searchitem( match, terms )">
${match['text']} match : ${match['percent']}%
${h.localizeterms( match['data'], terms ) | n}
<%def name="searchitems( matches, terms )">
About ${c.total} matches
« ‹ Prev Next ›
% for m in matches :
${searchitem( m, terms )}
% endfor <%def name="bd_body()"> <% underproject = c.project and ', under project %s' % c.project or '' pagebartext = "Search %s%s" % ( c.sitename, underproject ) %> ${elements.pagebar( pagebartext, tooltips=page_tooltips )}
${forms.form_search( c.querystring, c.authuser, h.suburl_search, c.allfaces, c.faces )}
${searchitems( c.matches, c.terms )}
<%def name="bd_script()"> ${parent.bd_script()}