Rev 11642 | Rev 11655 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11642 | Rev 11654 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | !endif |
15 | !endif |
16 | 16 | ||
17 | !set wims_ref_class=wims_button_help float_right |
17 | !set wims_ref_class=wims_button_help float_right |
18 | !href module=adm/light&phtml=search_engine.phtml.$lang $name_search_help |
18 | !href module=adm/light&phtml=search_engine.phtml.$lang $name_search_help |
19 | 19 | ||
20 | < |
20 | <div class="field search_field"> |
21 | <li> |
- | |
22 |
|
21 | <input size="25" |
23 |
|
22 | type="search" |
24 |
|
23 | name="search_keywords" |
25 |
|
24 | value="$search_keywords" |
26 |
|
25 | class="wims_home_form multicomplete" |
27 |
|
26 | placeholder="$name_keywords_enter" |
28 |
|
27 | results="5" |
29 |
|
28 | autosave="search_keywords" |
30 |
|
29 | /><button class="wims_button icon_button" |
- | 30 | type="submit"><span class="Searching">$N_Search</span></button> |
|
- | 31 | <span class="text_icon browse" style="margin-left:2em;display:inline-block;"> |
|
- | 32 | !href module=adm/browse $wims_name_browse |
|
31 | </ |
33 | </span> |
32 |
|
34 | </div> |
33 | !!-- categories --> |
- | |
34 | !formselect search_category list $slist prompt $plist |
- | |
35 | 35 | ||
36 | !!-- search type --> |
- | |
37 | !default search_and=no |
- | |
38 | !formselect search_and list yes,no prompt $name_search_and |
- | |
39 | !!-- language --> |
- | |
40 | !set L_language=!words2items $wims_site_languages |
- | |
41 | !formselect search_lang list $L_language |
- | |
42 | </li> |
- | |
43 | </ul> |
- | |
44 | !if $jquery_defined=yes |
36 | !if $jquery_defined=yes |
- | 37 | !if $wims_class==$empty |
|
45 | ! |
38 | !set display_filters=active:false, |
46 | ! |
39 | !endif |
- | 40 | ||
- | 41 | <script> |
|
- | 42 | $$(function(){ |
|
47 |
|
43 | $$("#affined_search").accordion({ |
48 |
|
44 | collapsible: true,$display_filters |
- | 45 | heightStyle: "content" |
|
- | 46 | }); |
|
- | 47 | } ); |
|
49 |
|
48 | </script> |
50 | !endif |
49 | !endif |
- | 50 | ||
- | 51 | <fieldset id="affined_search"> |
|
- | 52 | <legend>$name_search_filters</legend> |
|
- | 53 | <div> |
|
- | 54 | <div class="field box halfwidth float_left"> |
|
- | 55 | !!-- categories --> |
|
- | 56 | <label for="search_category">$name_search_category</label> |
|
51 |
|
57 | !formselect search_category list $slist prompt $plist |
- | 58 | </div> |
|
- | 59 | <div class="field box halfwidth float_left"> |
|
- | 60 | !!-- search type --> |
|
- | 61 | <label for="search_and">$name_search_method</label> |
|
- | 62 | !default search_and=no |
|
- | 63 | !formselect search_and list yes,no prompt $name_search_and |
|
- | 64 | </div> |
|
- | 65 | <div class="field box fullwidth"> |
|
- | 66 | !!-- language --> |
|
- | 67 | <label for="search_lang">$wims_name_Language</label> |
|
- | 68 | !set L_language=!words2items $wims_site_languages |
|
- | 69 | !for site_lang in $L_language |
|
- | 70 | !set lang_prompt=!append item $(Lang_name_$site_lang) ($site_lang) to $lang_prompt |
|
- | 71 | !next |
|
- | 72 | !formselect search_lang list $L_language prompt $lang_prompt |
|
- | 73 | </div> |
|
- | 74 | ||
- | 75 | <div class="field box fullwidth"> |
|
52 |
|
76 | <strong>$wims_name_level</strong> |
- | 77 | !if $jquery_defined=yes |
|
- | 78 | !read adm/search_engine/level_form.phtml |
|
- | 79 | !else |
|
- | 80 | <div class="search_level_list"> |
|
- | 81 | !formcheckbox search_level list $listlevel prompt $Listlevel |
|
- | 82 | </div> |
|
- | 83 | !endif |
|
53 |
|
84 | </div> |
- | 85 | <div class="field box fullwidth"> |
|
- | 86 | !!finally Lang will be add to the searchlevel automatically for the moment |
|
- | 87 | <strong>$name_search_leveltrans</strong> |
|
54 |
|
88 | !default search_leveltrans=1 |
55 |
|
89 | !formradio search_leveltrans list 1,0 prompt $wims_name_yes, $wims_name_no |
- | 90 | <div class="formHelp">$name_search_leveltrans_help</div> |
|
- | 91 | </div> |
|
56 |
|
92 | </div> |
- | 93 | </fieldset> |
|
57 | !formend |
94 | !formend |
58 | <p class="text_icon browse"> |
- | |
59 | !href module=adm/browse $wims_name_browse |
- | |
60 | </p> |
- | |
61 | </fieldset> |
95 | </fieldset> |
62 | 96 | ||
63 | !if $jquery_defined=yes |
97 | !if $jquery_defined=yes |
64 | <script type="text/javascript" src="scripts/js/interface/search_engine.js"></script> |
98 | <script type="text/javascript" src="scripts/js/interface/search_engine.js"></script> |
65 | !endif |
99 | !endif |