Changes for page Search

From version 14.1
edited by Andrea Omicini
on 02/11/2021 00:32
Change comment: There is no comment for this version
To version 25.1
edited by Andrea Omicini
on 03/07/2023 20:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -#if($xcontext.language=='it')Ricerca nello spazio Presentazioni#{else}Search Talk Space#end
1 +$services.localization.render('search')
Default language
... ... @@ -1,1 +1,0 @@
1 -en
Content
... ... @@ -1,21 +1,7 @@
1 1  {{velocity}}
2 -#set( $space = "Talks" )
3 -#if($request.getParameter("text"))
4 - #set($text = $request.getParameter("text"))
5 -#else
6 - #set($text = "")
7 -#end
8 -{{html clean="false" wiki="true"}}
9 -<form action="">
10 - <div style="background:lightgray;padding:5px;font-size:larger">
11 - {{stringEngIta eng="Find" ita="Trova" /}}
12 - <br/>
13 - <input type="text" name="text" value="$!text.replace(">", "&gt;").replace("<", "&lt;").replace('"', "&quot;")" size="100%"/>
14 - <br/>
15 - {{stringEngIta eng="in space" ita="nello spazio" /}}
16 - [[{{stringEngIta eng="Talks" ita="Presentazioni" /}}>>Talks.WebHome]]
17 - </div>
18 -</form>
2 +{{html wiki="true" clean="false"}}
3 +#template('apice_macros.vm')
4 +#objectspace()
5 +#includeInContext("Classes.Shared.Search")
19 19  {{/html}}
20 20  {{/velocity}}
21 -{{include reference="XWiki.WebSearchCode"/}}{{include reference="XWiki.Results"/}}