Changeset 2308
- Timestamp:
- 4 Oct 2007, 06:33:13 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_default
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_default/waeup_search_form.pt
r1719 r2308 5 5 <metal:block metal:fill-slot="main"> 6 6 <tal:block define="SearchableText python:request.get('SearchableText',''); 7 sort_by python:request.get('sort_by', ''); 8 direction python:request.get('direction', ''); 9 folder_prefix python:request.get('folder_prefix', ''); 10 items python:here.search(query=request.form, 11 sort_by=sort_by, 12 direction=direction, 13 folder_prefix=folder_prefix); 14 no_form python:1; 15 site_wide python:1; 7 items python:here.waeup_search(query=request.form); 16 8 items_length python:len(items); 17 format string:detail;18 filter python:0;19 9 title_search request/title_search|nothing; 20 swr request/search_within_results|nothing;21 10 "> 22 11 23 <div style="text-align: right;" class="group">12 <div style="text-align:left;" class="group"> 24 13 <form id="searchFormBottom" method="get" action="waeup_search_form" 25 14 onsubmit="return checkEmptySearch(this)"> … … 35 24 i18n:attributes="value" /> 36 25 </div> 37 <tal:block condition="not:swr"> 38 <metal:block 39 use-macro="here/generic_lib_search_folder_prefix_option/macros/search_folder_prefix_option" /> 40 </tal:block> 41 <tal:block condition="swr" 42 define="criteria python:['search_within_results', 'title_search', 43 'folder_prefix', 'review_state']; 44 criteria_list python:['portal_type'];"> 45 <tal:block repeat="criterion criteria"> 46 <input type="hidden" tal:condition="value" 47 tal:define="value request/?criterion|nothing" 48 tal:attributes="name criterion; 49 value value" /> 50 </tal:block> 51 <tal:block repeat="criterion criteria_list"> 52 <tal:block tal:condition="values" 53 tal:define="values request/?criterion|nothing"> 54 <tal:block repeat="value values"> 55 <input type="hidden" 56 tal:define="value value" 57 tal:attributes="name python:criterion+':list'; value value" /> 58 </tal:block> 59 </tal:block> 60 </tal:block> 61 </tal:block> 26 62 27 </form> 63 28 </div>
Note: See TracChangeset for help on using the changeset viewer.