1 <html xmlns:tal="http://xml.zope.org/namespaces/tal"
2 xmlns:metal="http://xml.zope.org/namespaces/metal"
3 metal:use-macro="here/main_template/macros/master">
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
8 <div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default">
12 <h1 i18n:translate="">Search inside <span tal:replace="here/Title"
13 i18n:name="title" >portal</span></h1>
15 <form tal:attributes="action string:${here/portal_url}/search">
17 <table class="FormLayout">
19 <th i18n:translate="">Full Text</th>
21 <input name="SearchableText" size="40" />
22 <dl class="FieldHelp">
23 <dd i18n:translate="">For a simple text search, enter your search term
24 here. Multiple words may be found by combining
25 them with <b>AND</b> and <b>OR</b>. This will
26 find text in items' contents, title and
33 <th i18n:translate="">Title</th>
34 <td><input name="Title" size="40" /></td>
37 <th i18n:translate="">Description</th>
39 <input name="Description" size="40" />
40 <dl class="FieldHelp">
41 <dd i18n:translate=""> You may also search the items' descriptions and
42 titles specifically. Multiple words may be found
43 by combining them with <b>AND</b> and <b>OR</b>.
49 <th i18n:translate="">Review Status</th>
51 <select name="review_state" size="4" multiple>
52 <option value="" selected i18n:translate="">-- any --</option>
53 <option value="private" i18n:translate="">private</option>
54 <option value="pending" i18n:translate="">pending</option>
55 <option value="published" i18n:translate="">published</option>
57 <dl class="FieldHelp">
58 <dd i18n:translate="">If you wish to constrain results to items in certain states, select them from this list.</dd>
63 <th i18n:translate="">Find new items since...</th>
65 <select name="modified">
66 <option value="" i18n:translate="">Ever</option>
67 <option tal:condition="python:not(here.portal_membership.isAnonymousUser())"
68 value="lastLogin" i18n:translate="">Last login</option>
69 <option value="yesterday" i18n:translate="">Yesterday</option>
70 <option value="lastWeek" i18n:translate="">Last week</option>
71 <option value="lastMonth" i18n:translate="">Last month</option>
73 <dl class="FieldHelp">
74 <dd i18n:translate="">You may find only recent items by selecting a time-frame.</dd>
79 <th i18n:translate="">Item type</th>
80 <td tal:define="typeinfos here/searchableTypes" >
81 <select name="portal_type:list" multiple size="5">
82 <option value="" selected i18n:translate="">-- any --</option>
83 <option tal:repeat="typeinfo typeinfos" tal:attributes="value typeinfo/getId" tal:content="typeinfo/Title" i18n:translate=""></option>
85 <dl class="FieldHelp">
86 <dd i18n:translate="">You may limit your results to particular kinds of
87 items by selecting them above. To find all kinds
88 of items, do not select anything.
94 <tr tal:condition="python:mtool.checkPermission('List portal members', here)">
95 <th i18n:translate="">Creator</th>
97 <input name="strCreator" size="20" />
98 <dl class="FieldHelp">
99 <dd i18n:translate="">To find items by a particular user, enter one or more of his properties (login, name, email...).</dd>
107 <input type="submit" value=" Search " i18n:attributes="value" />