Index: openacs-4/packages/search/catalog/search.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/search/catalog/search.en_US.ISO-8859-1.xml,v diff -u -N -r1.9.2.2 -r1.9.2.3 --- openacs-4/packages/search/catalog/search.en_US.ISO-8859-1.xml 23 Apr 2007 05:55:07 -0000 1.9.2.2 +++ openacs-4/packages/search/catalog/search.en_US.ISO-8859-1.xml 24 May 2007 16:19:37 -0000 1.9.2.3 @@ -30,7 +30,7 @@ Results results Search - Searched for: %query% + Search results for <strong>%query%</strong> seconds. selected Suggestions: Index: openacs-4/packages/search/www/search.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/search/www/search.adp,v diff -u -N -r1.10.2.2 -r1.10.2.3 --- openacs-4/packages/search/www/search.adp 24 May 2007 13:37:46 -0000 1.10.2.2 +++ openacs-4/packages/search/www/search.adp 24 May 2007 16:19:37 -0000 1.10.2.3 @@ -1,7 +1,9 @@ - - #search.lt_Tip_In_most_browsers_#

-
+ + + +link +

#search.lt_You_must_specify_some#

@@ -25,22 +27,6 @@ - - - #search.Untitled#
-
- - @searchresult.title_summary;noquote@
-
- - - - - @searchresult.txt_summary;noquote@
-
- @searchresult.url_one@

-
- Your search - @query@ - did not match any content.
#search.lt_No_pages_were_found_c#@query@". @@ -55,30 +41,47 @@
- - -
- #search.Searched_for_query# - - #search.Results# @low@-@high@ #search.of_about# @count@#search.________Search_took# @elapsed@ #search.seconds# -
-
+
+

#search.Searched_for_query#

+

+ #search.Results# @low@-@high@ #search.of_about# @count@#search.________Search_took# @elapsed@ #search.seconds# +

+
+
+
    + +
  1. + + +
    @searchresult.txt_summary;noquote@
    +
    +
    @searchresult.url_one@
    +
  2. +
    +
+
+ -
+
- #search.Result_page# + #search.Result_page# - #search.Previous# + #search.Previous#  @choice_bar;noquote@  - #search.Next# + #search.Next# -
+
@@ -87,14 +90,15 @@ + + #search.lt_Tip_In_most_browsers_# + -
- -
- #search.lt_Try_your_query_on_stw# -
-
+ +

#search.lt_Try_your_query_on_stw#

+
+
Index: openacs-4/packages/search/www/search.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/search/www/search.tcl,v diff -u -N -r1.22.2.4 -r1.22.2.5 --- openacs-4/packages/search/www/search.tcl 24 May 2007 13:37:46 -0000 1.22.2.4 +++ openacs-4/packages/search/www/search.tcl 24 May 2007 16:19:37 -0000 1.22.2.5 @@ -195,8 +195,8 @@ append url_previous "&num=$num" append url_next "&num=$num" } +set ol_start [expr $offset + 1] - set items [list] set links [list] set values [list] @@ -220,3 +220,15 @@ } set choice_bar [search::choice_bar $items $links $values $current_result_page] + +# header stuffs +if {![template::multirow exists link]} { + template::multirow create link rel type href title lang media +} +template::multirow append link \ + stylesheet \ + "text/css" \ + "/resources/search/search.css" \ + "" \ + "" \ + "all" Index: openacs-4/packages/search/www/resources/search.css =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/search/www/resources/search.css,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/search/www/resources/search.css 24 May 2007 16:19:37 -0000 1.1.2.1 @@ -0,0 +1,54 @@ +#search-info +{ + margin-bottom:0px; + border-top:1px solid #cfcfcf; + background:#dddddd; + padding:3px 0; + width:100%; +} + +#search-info p +{ + font:normal; + font-size:100%; + color: #000000; +} + +#search-info p.subtitle +{ + margin-left:3px; + position:absolute; + left:10px; + padding-left:5px; + margin-top:-1px; +} + +#search-info p.times +{ + text-align:right; + margin:0; + padding-right:5px; + margin-left:13em; + white-space:nowrap; +} + +#search-results li +{ + margin-bottom:15px; +} + +#search-results a.result-title +{ + font-size:110%; +} + +#search-results .result-url +{ + color: #008000; +} + +#results-pages +{ + text-align:center; + margin-bottom:5px; +}