Changes for page ListWebSearch

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

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

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,4 @@
1 +$xwiki.ssx.use("Main.ListWebSearch")
1 1  #if(!$request.space)
2 2   #set($space = "All")
3 3  #else
... ... @@ -14,7 +14,6 @@
14 14  #macro(spaceoption $space $selectspace $spacesText)
15 15   <option value="$spacesText.get($space)" #if($selectspace == $spacesText.get($space))selected="selected"#end>$space</option>
16 16  #end
17 -
18 18  #macro(spaceselect $selectspace $spaces $spacesText)
19 19   <select name="space">
20 20   #spaceoption("All spaces" $selectspace $spacesText)
... ... @@ -32,9 +32,7 @@
32 32  #else
33 33   #set($url = $xwiki.getURL("Main.WebSearchRss", "view", "xpage=rdf&space=$space&text=${utext}"))
34 34  #end
35 -
36 36  <div id="search">
37 -
38 38  <form action="">
39 39   {pre}
40 40   <div id="searchBar">
... ... @@ -44,10 +44,6 @@
44 44   </div>
45 45   {/pre}
46 46  </form>
47 -
48 -
49 49  #includeInContext("XWiki.WebSearchCode")
50 50  #includeInContext("XWiki.ListResults")
51 -
52 52  </div>
53 -
XWiki.StyleSheetExtension[0]
Code
... ... @@ -11,6 +11,7 @@
11 11   padding: 10px;
12 12   background-color: #e6e6e6;
13 13   border: 1px solid #b3b3b3;
14 + margin-bottom: 20px;
14 14   clear: both;
15 15  }
16 16  
... ... @@ -121,5 +121,5 @@
121 121  
122 122  .clearfloats
123 123  {
124 - background-color: none;
125 + background-color: 0;
125 125  }
Use this extension
... ... @@ -1,1 +1,1 @@
1 -always
1 +onDemand