1 <html xmlns:tal="http://xml.zope.org/namespaces/tal"
2 xmlns:metal="http://xml.zope.org/namespaces/metal"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n"
4 metal:use-macro="here/main_template/macros/master">
6 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
9 <div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default">
11 <h1 i18n:translate="">Search inside <span tal:replace="here/Title"
12 i18n:name="title">portal</span></h1>
13 <form tal:attributes="action string:${here/portal_url}/search">
14 <table class="FormLayout">
16 <th i18n:translate="">Full Text</th>
18 <input name="SearchableText" size="40"/>
19 <dl class="FieldHelp">
20 <dd i18n:translate="">
21 For a simple text search, enter your search term here.
22 Multiple words may be found by combining them with
23 <b>AND</b> and <b>OR</b>. This will find text in items'
24 contents, title and description.
30 <th i18n:translate="">Title</th>
32 <input name="Title" size="40"/>
36 <th i18n:translate="">Description</th>
38 <input name="Description" size="40"/>
39 <dl class="FieldHelp">
40 <dd i18n:translate="">
41 You may also search the items' descriptions and titles
42 specifically. Multiple words may be found by combining them
43 with <b>AND</b> and <b>OR</b>.
49 <th i18n:translate="">Review Status</th>
51 <select name="review_state" size="4" multiple="multiple">
54 i18n:translate="">-- any --</option>
55 <option value="private" i18n:translate="">private</option>
56 <option value="pending" i18n:translate="">pending</option>
57 <option value="published" i18n:translate="">published</option>
59 <dl class="FieldHelp">
60 <dd i18n:translate="">
61 If you wish to constrain results to items in certain
62 states, select them from this list.
68 <th i18n:translate="">Find new items since...</th>
70 <select name="modified">
71 <option value="" i18n:translate="">Ever</option>
72 <option tal:condition="python:not(here.portal_membership.isAnonymousUser())"
74 i18n:translate="">Last login</option>
75 <option value="yesterday" i18n:translate="">Yesterday</option>
76 <option value="lastWeek" i18n:translate="">Last week</option>
77 <option value="lastMonth" i18n:translate="">Last month</option>
79 <dl class="FieldHelp">
80 <dd i18n:translate="">
81 You may find only recent items by selecting a time-frame.
87 <th i18n:translate="">Item type</th>
88 <td tal:define="typeinfos here/searchableTypes">
89 <select name="portal_type:list" multiple="multiple" size="5">
92 i18n:translate="">-- any --</option>
93 <option tal:repeat="typeinfo typeinfos"
94 tal:attributes="value typeinfo/getId"
95 tal:content="typeinfo/Title"
96 i18n:translate="">Type</option>
98 <dl class="FieldHelp">
99 <dd i18n:translate="">
100 You may limit your results to particular kinds of items by
101 selecting them above. To find all kinds of items, do not
107 <tr tal:condition="python:mtool.checkPermission('List portal members', here)">
108 <th i18n:translate="">Creator</th>
110 <input name="strCreator" size="20"/>
111 <dl class="FieldHelp">
112 <dd i18n:translate="">
113 To find items by a particular user, enter one or more of
114 his properties (login, name, email...).
124 <input type="submit" value=" Search " i18n:attributes="value"/>