Changes for page ListWebSearch

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

From version 7.1
edited by Ecaterina Valica
on 2009/03/16 15:07
Change comment: There is no comment for this version
To version 2.1
edited by Ecaterina Valica
on 2009/03/16 14:09
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]
Code
... ... @@ -11,7 +11,6 @@
11 11   padding: 10px;
12 12   background-color: #e6e6e6;
13 13   border: 1px solid #b3b3b3;
14 - margin-bottom: 20px;
15 15   clear: both;
16 16  }
17 17  
... ... @@ -122,5 +122,5 @@
122 122  
123 123  .clearfloats
124 124  {
125 - background-color: 0;
124 + background-color: none;
126 126  }