From: Denys M. <svn...@pl...> - 2010-03-15 23:52:39
|
Author: spliter Date: Mon Mar 15 23:52:32 2010 New Revision: 34885 Modified: Plone/branches/plip9352-search-ui/Products/CMFPlone/skins/plone_forms/search_form.pt Log: reverted all the changes of search_form in order to keep it accessible without JS enabled in a browser Modified: Plone/branches/plip9352-search-ui/Products/CMFPlone/skins/plone_forms/search_form.pt ============================================================================== --- Plone/branches/plip9352-search-ui/Products/CMFPlone/skins/plone_forms/search_form.pt (original) +++ Plone/branches/plip9352-search-ui/Products/CMFPlone/skins/plone_forms/search_form.pt Mon Mar 15 23:52:32 2010 @@ -28,7 +28,7 @@ <metal:define define-macro="form"> - <form action="search" + <form action="search" class="enableAutoFocus" method="get" name="search" @@ -41,19 +41,24 @@ <input type="hidden" name="advanced_search" value="True" /> - <!-- <div class="field"> + <div class="field"> <label for="SearchableText" i18n:translate="label_search_text">Search text</label> <div class="formHelp" i18n:translate="help_search_text"> - Multiple words may be found by combining - them with <strong>AND</strong> - and <strong>OR</strong> - in the field above. - The text in this field will be matched with - items' contents, title and description. + For a simple text search, enter your search term + here. Multiple words may be found by combining + them with <strong>AND</strong> and <strong>OR</strong>. + The text in this field will be matched with + items' contents, title and description. </div> - </div> --> + <input type="text" + id="SearchableText" + name="SearchableText" + size="25" + tal:attributes="value request/SearchableText|nothing" + /> + </div> <div class="field" @@ -432,7 +437,7 @@ - </form> + </form> </metal:define> </div> |