<html xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
+ xmlns:i18n="http://xml.zope.org/namespaces/i18n"
metal:use-macro="here/main_template/macros/master">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
</head>
-<body>
-<div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default">
-
-<div class="Desktop">
-
-<h1 i18n:translate="">Search inside <span tal:replace="here/Title"
- i18n:name="title" >portal</span></h1>
-
-<form tal:attributes="action string:${here/portal_url}/search">
-
-<table class="FormLayout">
- <tr valign="top">
- <th i18n:translate="">Full Text</th>
- <td>
- <input name="SearchableText" size="40" />
- <dl class="FieldHelp">
- <dd i18n:translate="">For a simple text search, enter your search term
- here. Multiple words may be found by combining
- them with <b>AND</b> and <b>OR</b>. This will
- find text in items' contents, title and
- description.
- </dd>
- </dl>
- </td>
- </tr>
- <tr>
- <th i18n:translate="">Title</th>
- <td><input name="Title" size="40" /></td>
- </tr>
- <tr>
- <th i18n:translate="">Description</th>
- <td>
- <input name="Description" size="40" />
- <dl class="FieldHelp">
- <dd i18n:translate=""> You may also search the items' descriptions and
- titles specifically. Multiple words may be found
- by combining them with <b>AND</b> and <b>OR</b>.
- </dd>
- </dl>
- </td>
- </tr>
- <tr>
- <th i18n:translate="">Review Status</th>
- <td>
- <select name="review_state" size="4" multiple>
- <option value="" selected i18n:translate="">-- any --</option>
- <option value="private" i18n:translate="">private</option>
- <option value="pending" i18n:translate="">pending</option>
- <option value="published" i18n:translate="">published</option>
- </select>
- <dl class="FieldHelp">
- <dd i18n:translate="">If you wish to constrain results to items in certain states, select them from this list.</dd>
- </dl>
- </td>
- </tr>
- <tr>
- <th i18n:translate="">Find new items since...</th>
- <td>
- <select name="modified">
- <option value="" i18n:translate="">Ever</option>
- <option tal:condition="python:not(here.portal_membership.isAnonymousUser())"
- value="lastLogin" i18n:translate="">Last login</option>
- <option value="yesterday" i18n:translate="">Yesterday</option>
- <option value="lastWeek" i18n:translate="">Last week</option>
- <option value="lastMonth" i18n:translate="">Last month</option>
- </select>
- <dl class="FieldHelp">
- <dd i18n:translate="">You may find only recent items by selecting a time-frame.</dd>
- </dl>
- </td>
- </tr>
- <tr>
- <th i18n:translate="">Item type</th>
- <td tal:define="typeinfos here/searchableTypes" >
- <select name="portal_type:list" multiple size="5">
- <option value="" selected i18n:translate="">-- any --</option>
- <option tal:repeat="typeinfo typeinfos" tal:attributes="value typeinfo/getId" tal:content="typeinfo/Title" i18n:translate=""></option>
- </select>
- <dl class="FieldHelp">
- <dd i18n:translate="">You may limit your results to particular kinds of
- items by selecting them above. To find all kinds
- of items, do not select anything.
- </dd>
- </dl>
- </td>
- </tr>
-
- <tr tal:condition="python:mtool.checkPermission('List portal members', here)">
- <th i18n:translate="">Creator</th>
- <td>
- <input name="strCreator" size="20" />
- <dl class="FieldHelp">
- <dd i18n:translate="">To find items by a particular user, enter one or more of his properties (login, name, email...).</dd>
- </dl>
- </td>
- </tr>
-
- <tr>
- <td><br /></td>
- <td>
- <input type="submit" value=" Search " i18n:attributes="value" />
- </td>
- </tr>
-</table>
-</form>
-
-</div>
-</div>
-</body>
-</html>
\ No newline at end of file
+ <body>
+ <div metal:fill-slot="main_no_tabs" i18n:domain="plinn">
+ <div class="Desktop">
+ <h1 i18n:translate="">Search inside <span tal:replace="here/Title"
+ i18n:name="title">portal</span></h1>
+ <form tal:attributes="action string:${here/portal_url}/search">
+ <table class="FormLayout">
+ <tr valign="top">
+ <th i18n:translate="">Full Text</th>
+ <td>
+ <input name="SearchableText" size="40"/>
+ <dl class="FieldHelp">
+ <dd i18n:translate="">
+ For a simple text search, enter your search term here.
+ Multiple words may be found by combining them with
+ <b>AND</b> and <b>OR</b>. This will find text in items'
+ contents, title and description.
+ </dd>
+ </dl>
+ </td>
+ </tr>
+ <tr>
+ <th i18n:translate="">Title</th>
+ <td>
+ <input name="Title" size="40"/>
+ </td>
+ </tr>
+ <tr>
+ <th i18n:translate="">Description</th>
+ <td>
+ <input name="Description" size="40"/>
+ <dl class="FieldHelp">
+ <dd i18n:translate="">
+ You may also search the items' descriptions and titles
+ specifically. Multiple words may be found by combining them
+ with <b>AND</b> and <b>OR</b>.
+ </dd>
+ </dl>
+ </td>
+ </tr>
+ <tr>
+ <th i18n:translate="">Review Status</th>
+ <td>
+ <select name="review_state" size="4" multiple="multiple">
+ <option value=""
+ selected="selected"
+ i18n:translate="">-- any --</option>
+ <option value="private" i18n:translate="">private</option>
+ <option value="pending" i18n:translate="">pending</option>
+ <option value="published" i18n:translate="">published</option>
+ </select>
+ <dl class="FieldHelp">
+ <dd i18n:translate="">
+ If you wish to constrain results to items in certain
+ states, select them from this list.
+ </dd>
+ </dl>
+ </td>
+ </tr>
+ <tr>
+ <th i18n:translate="">Find new items since...</th>
+ <td>
+ <select name="modified">
+ <option value="" i18n:translate="">Ever</option>
+ <option tal:condition="python:not(here.portal_membership.isAnonymousUser())"
+ value="lastLogin"
+ i18n:translate="">Last login</option>
+ <option value="yesterday" i18n:translate="">Yesterday</option>
+ <option value="lastWeek" i18n:translate="">Last week</option>
+ <option value="lastMonth" i18n:translate="">Last month</option>
+ </select>
+ <dl class="FieldHelp">
+ <dd i18n:translate="">
+ You may find only recent items by selecting a time-frame.
+ </dd>
+ </dl>
+ </td>
+ </tr>
+ <tr>
+ <th i18n:translate="">Item type</th>
+ <td tal:define="typeinfos here/searchableTypes">
+ <select name="portal_type:list" multiple="multiple" size="5">
+ <option value=""
+ selected="selected"
+ i18n:translate="">-- any --</option>
+ <option tal:repeat="typeinfo typeinfos"
+ tal:attributes="value typeinfo/getId"
+ tal:content="typeinfo/Title"
+ i18n:translate="">Type</option>
+ </select>
+ <dl class="FieldHelp">
+ <dd i18n:translate="">
+ You may limit your results to particular kinds of items by
+ selecting them above. To find all kinds of items, do not
+ select anything.
+ </dd>
+ </dl>
+ </td>
+ </tr>
+ <tr tal:condition="python:mtool.checkPermission('List portal members', here)">
+ <th i18n:translate="">Creator</th>
+ <td>
+ <input name="strCreator" size="20"/>
+ <dl class="FieldHelp">
+ <dd i18n:translate="">
+ To find items by a particular user, enter one or more of
+ his properties (login, name, email...).
+ </dd>
+ </dl>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <br/>
+ </td>
+ <td>
+ <input type="submit" value=" Search " i18n:attributes="value"/>
+ </td>
+ </tr>
+ </table>
+ </form>
+ </div>
+ </div>
+ </body>
+</html>