[!!!][TASK] Streamline directory structure of ext:indexed_search
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / Resources / Private / Templates / indexed_search.tmpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5         <title>indexed_search template</title>
6 </head>
7
8 <body>
9
10 <h1>Indexed Search: Default template</h1>
11
12
13 <h2>TEMPLATE_SEARCH_FORM</h2>
14 <p><em>Template for displaying the search form.</em></p>
15
16 <!-- ###SEARCH_FORM### begin -->
17 <div class="tx-indexedsearch-searchbox">
18 <form action="###ACTION_URL###" method="post" id="tx_indexedsearch">
19         <input type="hidden" name="tx_indexedsearch[_sections]" value="0" />
20         <input type="hidden" name="tx_indexedsearch[_freeIndexUid]" id="tx_indexedsearch_freeIndexUid" value="_" />
21         <input type="hidden" name="tx_indexedsearch[pointer]" id="tx_indexedsearch_pointer" value="0" />
22         <!-- ###HIDDEN_FIELDS### begin -->
23         <input type="hidden" name="###HIDDEN_FIELDNAME###" value="###HIDDEN_VALUE###" />
24         <!-- ###HIDDEN_FIELDS### end -->
25
26         <table cellpadding="0" cellspacing="0" border="0" summary="Search form">
27                 <tr>
28                         <td>###FORM_SEARCHFOR###</td>
29                         <td colspan="2"><input type="search" name="tx_indexedsearch[sword]" value="###SWORD_VALUE###" class="tx-indexedsearch-searchbox-sword sword" /></td>
30                 </tr>
31
32                 <!-- ###ADDITONAL_KEYWORD### begin -->
33                 <tr>
34                         <td>&nbsp;</td>
35                         <td colspan="2"><input type="hidden" name="tx_indexedsearch[sword_prev]" value="###SWORD_PREV_VALUE###" /><input type="checkbox" name="tx_indexedsearch[sword_prev_include]" id="tx_indexedsearch_sword_prev_include" value="1" ###SWORD_PREV_INCLUDE_CHECKED### /> <label for="tx_indexedsearch_sword_prev_include">###ADD_TO_CURRENT_SEARCH###</label>.</td>
36                 </tr>
37                 <!-- ###ADDITONAL_KEYWORD### end -->
38
39                 <!-- ###SEARCH_FORM_EXTENDED### begin -->
40
41                 <!-- ###SELECT_SEARCH_FOR### begin -->
42                 <tr>
43                         <td>###FORM_MATCH###</td>
44                         <td>
45                                 <!-- ###SELECT_SEARCH_TYPE### begin -->
46                                 <select name="tx_indexedsearch[type]" class="tx-indexedsearch-selectbox-type type">
47                                         ###SELECTBOX_TYPE_VALUES###
48                                 </select>
49                                 <!-- ###SELECT_SEARCH_TYPE### end -->
50                         </td>
51                         <td>
52                                 <!-- ###SELECT_SEARCH_DEFOP### begin -->
53                                 <select name="tx_indexedsearch[defOp]" class="tx-indexedsearch-selectbox-defop defop">
54                                         ###SELECTBOX_DEFOP_VALUES###
55                                 </select>
56                                 <!-- ###SELECT_SEARCH_DEFOP### end -->
57                         </td>
58                 </tr>
59                 <!-- ###SELECT_SEARCH_FOR### end -->
60
61                 <!-- ###SELECT_SEARCH_IN### begin -->
62                 <tr>
63                         <td>###FORM_SEARCHIN###</td>
64                         <td>
65                                 <!-- ###SELECT_SEARCH_MEDIA### begin -->
66                                 <select name="tx_indexedsearch[media]" class="tx-indexedsearch-selectbox-media media">
67                                         ###SELECTBOX_MEDIA_VALUES###
68                                 </select>
69                                 <!-- ###SELECT_SEARCH_MEDIA### end -->
70                         </td>
71                         <td>
72                                 <!-- ###SELECT_SEARCH_LANG### begin -->
73                                 <select name="tx_indexedsearch[lang]" class="tx-indexedsearch-selectbox-lang lang">
74                                         ###SELECTBOX_LANG_VALUES###
75                                 </select>
76                                 <!-- ###SELECT_SEARCH_LANG### end -->
77                         </td>
78                 </tr>
79                 <!-- ###SELECT_SEARCH_IN### end -->
80
81                 <!-- ###SELECT_SECTION### begin -->
82                 <tr>
83                         <td>###FORM_FROMSECTION###</td>
84                         <td colspan="2">
85                                 <select name="tx_indexedsearch[sections]" class="tx-indexedsearch-selectbox-sections sections">
86                                         ###SELECTBOX_SECTIONS_VALUES###
87                                 </select>
88                         </td>
89                 </tr>
90                 <!-- ###SELECT_SECTION### end -->
91
92                 <!-- ###SELECT_FREEINDEXUID### begin -->
93                 <tr>
94                         <td valign="top">###FORM_FREEINDEXUID###</td>
95                         <td colspan="2">
96                                 <select name="tx_indexedsearch[freeIndexUid]" class="tx-indexedsearch-selectbox-freeIndexUid freeIndexUid">
97                                         ###SELECTBOX_FREEINDEXUIDS_VALUES###
98                                 </select>
99                         </td>
100                 </tr>
101                 <!-- ###SELECT_FREEINDEXUID### end -->
102
103                 <!-- ###SELECT_ORDER### begin -->
104                 <tr>
105                         <td valign="top">###FORM_ORDERBY###</td>
106                         <td colspan="2">
107                                 <select name="tx_indexedsearch[order]" class="tx-indexedsearch-selectbox-order order">
108                                         ###SELECTBOX_ORDER_VALUES###
109                                 </select>&nbsp;
110                                 <select name="tx_indexedsearch[desc]" class="tx-indexedsearch-selectbox-desc desc">
111                                         ###SELECTBOX_DESC_VALUES###
112                                 </select>
113                         </td>
114                 </tr>
115                 <!-- ###SELECT_ORDER### end -->
116
117                 <!-- ###SELECT_RESULTS### begin -->
118                 <tr>
119                         <td valign="top">###FORM_ATATIME###</td>
120                         <td colspan="2">
121                                 <select name="tx_indexedsearch[results]" class="tx-indexedsearch-selectbox-results results">
122                                         ###SELECTBOX_RESULTS_VALUES###
123                                 </select>
124                         </td>
125                 </tr>
126                 <!-- ###SELECT_RESULTS### end -->
127
128                 <!-- ###SELECT_GROUP### begin -->
129                 <tr>
130                         <td valign="top">###FORM_STYLE###</td>
131                         <td colspan="2">
132                                 <select name="tx_indexedsearch[group]" class="tx-indexedsearch-selectbox-group group">
133                                         ###SELECTBOX_GROUP_VALUES###
134                                 </select>&nbsp;&nbsp;
135
136                                 <!-- ###SELECT_EXTRESUME### begin -->
137                                 <br /><input type="hidden" name="tx_indexedsearch[extResume]" value="0" /><input type="checkbox" value="1" name="tx_indexedsearch[extResume]" id="tx_indexedsearch_extResume" ###EXT_RESUME_CHECKED### /> <label for="tx_indexedsearch_extResume">###FORM_EXTRESUME###</label>
138                                 <!-- ###SELECT_EXTRESUME### end -->
139                         </td>
140                 </tr>
141                 <!-- ###SELECT_GROUP### end -->
142
143                 <!-- ###SEARCH_FORM_EXTENDED### end -->
144                 <tr>
145                         <td>&nbsp;</td>
146                         <td><input type="submit" name="tx_indexedsearch[submit_button]" value="###FORM_SUBMIT###" class="tx-indexedsearch-searchbox-button submit" /></td>
147                 </tr>
148         </table>
149         <p>###LINKTOOTHERMODE###</p>
150 </form>
151 </div>
152 <!-- ###SEARCH_FORM### end -->
153 <br /><br />
154
155
156
157
158 <h2>TEMPLATE_RULES</h2>
159 <p><em>Template for displaying the search rules.</em></p>
160
161 <!-- ###RULES### begin -->
162         <div class="tx-indexedsearch-rules">
163                 <h2>###RULES_HEADER###</h2>
164                 <p>###RULES_TEXT###</p>
165         </div>
166 <!-- ###RULES### end -->
167 <br /><br />
168
169
170
171
172 <h2>TEMPLATE_RESULT_SECTION_LINKS</h2>
173 <p><em>Template for the section links in section mode.</em></p>
174
175 <!-- ###RESULT_SECTION_LINKS### begin -->
176         <div class="tx-indexedsearch-sec">
177                 <table cellpadding="0" cellspacing="0" border="0" summary="Result links">
178                         ###LINKS###
179                 </table>
180         </div>
181 <!-- ###RESULT_SECTION_LINKS### end -->
182
183 <!-- ###RESULT_SECTION_LINKS_LINK### begin -->
184                         <tr>
185                                 <td width="100%">--&gt; ###LINK###</td>
186                         </tr>
187 <!-- ###RESULT_SECTION_LINKS_LINK### end -->
188 <br /><br />
189
190
191
192
193 <h2>TEMPLATE_SECTION_HEADER</h2>
194 <p><em>Template for the section title in section mode.</em></p>
195 <!-- ###SECTION_HEADER### begin -->
196         <div class="tx-indexedsearch-secHead"><a name="###ANCHOR_URL###"></a>
197                 <table cellpadding="0" cellspacing="0" border="0" summary="Section header">
198                         <tr>
199                                 <td class="tx-indexedsearch-title title" width="100%">###SECTION_TITLE###</td>
200                                 <td class="tx-indexedsearch-result-count result-count" nowrap="nowrap">###RESULT_COUNT### ###RESULT_NAME###</td>
201                         </tr>
202                 </table>
203         </div>
204
205 <!-- ###SECTION_HEADER### end -->
206 <br /><br />
207
208
209
210
211 <h2>TEMPLATE_RESULT_OUTPUT</h2>
212 <p><em>Template for the search result list.</em></p>
213
214 <!-- ###RESULT_OUTPUT### begin -->
215         <div class="tx-indexedsearch-res">
216                 <table cellpadding="0" cellspacing="0" border="0" summary="Result row">
217                         <!-- ###HEADER_ROW### begin -->
218                         <tr>
219                                 <td class="tx-indexedsearch-icon icon" nowrap="nowrap">###ICON###</td>
220                                 <td class="tx-indexedsearch-result-number result-number" nowrap="nowrap">###RESULT_NUMBER###</td>
221                                 <td class="tx-indexedsearch-title###CSSSUFFIX### title" width="100%">###TITLE###</td>
222                                 <td class="tx-indexedsearch-percent percent" nowrap="nowrap">###RATING###</td>
223                         </tr>
224                         <!-- ###HEADER_ROW### end -->
225
226                         <!-- ###ROW_LONG### begin -->
227                         <tr>
228                                 <td>&nbsp;</td>
229                                 <td class="tx-indexedsearch-descr descr" width="100%" colspan="3">###DESCRIPTION###</td>
230                         </tr>
231                         <tr>
232                                 <td>&nbsp;</td>
233                                 <td class="tx-indexedsearch-info info" width="100%" colspan="3">###TEXT_ITEM_SIZE### ###SIZE### - ###TEXT_ITEM_CRDATE### ###CREATED### - ###TEXT_ITEM_MTIME### ###MODIFIED###<br />
234                                         ###TEXT_ITEM_PATH### <span class="tx-indexedsearch-path path">###PATH###</span></td>
235                         </tr>
236                         <!-- ###ROW_LONG### end -->
237
238                         <!-- ###ROW_SHORT### begin -->
239                         <tr>
240                                 <td>&nbsp;</td>
241                                 <td class="tx-indexedsearch-descr descr" width="100%" colspan="3">###DESCRIPTION###</td>
242                         </tr>
243                         <!-- ###ROW_SHORT### end -->
244
245                         <!-- ###ROW_SUB### begin -->
246                         <tr>
247                                 <td>&nbsp;</td>
248                                 <td class="tx-indexedsearch-list list" width="100%" colspan="3"><br />###TEXT_ROW_SUB###<br /><br /></td>
249                         </tr>
250                         <!-- ###ROW_SUB### end -->
251                 </table>
252                 <br />
253         </div>
254 <!-- ###RESULT_OUTPUT### end -->
255 <br /><br />
256
257
258 </body>
259 </html>