Merged com.woltlab.wcf.search into WCF
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / template / searchResult.tpl
1 {include file='documentHeader'}
2
3 <head>
4 <title>{lang}wcf.search.results{/lang} - {PAGE_TITLE|language}</title>
5
6 {include file='headInclude'}
7 </head>
8
9 <body id="tpl{$templateName|ucfirst}">
10
11 {include file='header'}
12
13 <header class="boxHeadline">
14 <h1>{if $query}<a href="{link controller='Search'}q={$query|urlencode}{/link}">{lang}wcf.search.results{/lang}</a>{else}{lang}wcf.search.results{/lang}{/if}</h1>
15 <p>{lang}wcf.search.results.description{/lang}</p>
16 </header>
17
18 {include file='userNotice'}
19
20 <div class="contentNavigation">
21 {assign var=encodedHighlight value=$highlight|urlencode}
22 {pages print=true assign=pagesLinks controller='SearchResult' id=$searchID link="pageNo=%d&highlight=$encodedHighlight"}
23
24 {hascontent}
25 <nav>
26 <ul>
27 {content}
28 {if $alterable}
29 <li><a href="{link controller='Search'}modify={@$searchID}{/link}" class="button"><span class="icon icon16 icon-search"></span> <span>{lang}wcf.search.results.change{/lang}</span></a></li>
30 {/if}
31 {event name='contentNavigationButtonsTop'}
32 {/content}
33 </ul>
34 </nav>
35 {/hascontent}
36 </div>
37
38 {include file=$resultListTemplateName application=$resultListApplication}
39
40 <div class="contentNavigation">
41 {@$pagesLinks}
42
43 {hascontent}
44 <nav>
45 <ul>
46 {content}
47 {if $alterable}
48 <li><a href="{link controller='Search'}modify={@$searchID}{/link}" class="button"><span class="icon icon16 icon-search"></span> <span>{lang}wcf.search.results.change{/lang}</span></a></li>
49 {/if}
50 {event name='contentNavigationButtonsBottom'}
51 {/content}
52 </ul>
53 </nav>
54 {/hascontent}
55 </div>
56
57 {include file='footer'}
58
59 </body>
60 </html>