Wiki source code of #if("$!{request.text}" == '')$services.localization.render('search.page.title.noquery')#else$services.localization.render('search.page.title.query', [$request.text])#end
Version 10.1 by Vincent Massol on 2013/10/15
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{include document="XWiki.SearchCode"/}} | ||
2 | |||
3 | {{velocity}} | ||
4 | ## If no Search UI Extension exist then don't display the Search page. | ||
5 | #if ("$!searchPage" != '') | ||
6 | {{include document="$searchPage"/}} | ||
7 | #else | ||
8 | ## Display a message explaining that there's no Search UI Extension. | ||
9 | $services.localization.render('search.page.noimplementation') | ||
10 | #end | ||
11 | {{/velocity}} |