Changes for page ListWebSearch

Last modified by Ecaterina Valica on 2010/07/22 10:30

From version 6.1
edited by Ecaterina Valica
on 2009/03/16 14:47
Change comment: There is no comment for this version
To version 1.1
edited by Ecaterina Valica
on 2009/03/16 14:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +2,3 @@
1 -$xwiki.ssx.use("Main.ListWebSearch")
2 2  #if(!$request.space)
3 3   #set($space = "All")
4 4  #else
... ... @@ -15,6 +15,7 @@
15 15  #macro(spaceoption $space $selectspace $spacesText)
16 16   <option value="$spacesText.get($space)" #if($selectspace == $spacesText.get($space))selected="selected"#end>$space</option>
17 17  #end
17 +
18 18  #macro(spaceselect $selectspace $spaces $spacesText)
19 19   <select name="space">
20 20   #spaceoption("All spaces" $selectspace $spacesText)
... ... @@ -32,7 +32,9 @@
32 32  #else
33 33   #set($url = $xwiki.getURL("Main.WebSearchRss", "view", "xpage=rdf&space=$space&text=${utext}"))
34 34  #end
35 +
35 35  <div id="search">
37 +
36 36  <form action="">
37 37   {pre}
38 38   <div id="searchBar">
... ... @@ -42,6 +42,10 @@
42 42   </div>
43 43   {/pre}
44 44  </form>
47 +
48 +
45 45  #includeInContext("XWiki.WebSearchCode")
46 46  #includeInContext("XWiki.ListResults")
51 +
47 47  </div>
53 +
XWiki.StyleSheetExtension[0]
Use this extension
... ... @@ -1,1 +1,1 @@
1 -onDemand
1 +always