[geeklog-cvs] geeklog: Fixed hard-coded drop-down for the number of search res...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Fri May 1 03:33:46 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/570f7f58074a
changeset: 7003:570f7f58074a
user:      Dirk Haun <dirk at haun-online.de>
date:      Fri May 01 09:33:36 2009 +0200
description:
Fixed hard-coded drop-down for the number of search results per page

diffstat:

2 files changed, 13 insertions(+), 4 deletions(-)
public_html/docs/english/theme.html                     |   12 ++++++++++++
public_html/layout/professional/search/searchform.thtml |    5 +----

diffs (37 lines):

diff -r eaf8afaa2ef1 -r 570f7f58074a public_html/docs/english/theme.html
--- a/public_html/docs/english/theme.html	Thu Apr 30 23:23:42 2009 +0100
+++ b/public_html/docs/english/theme.html	Fri May 01 09:33:36 2009 +0200
@@ -244,6 +244,18 @@
     generated by Geeklog. The <tt><table></tt> that contained these
     elements has been removed from the template file.</li>
 </ul>
+
+<h3>Search</h3>
+
+<p>The templates for the search form and search results have been changed and
+new template files have been added for the new display modes of the search
+results. We suggest to replace the entire <tt>search</tt> subdirectory in your
+theme with a copy of the directory from the Professional theme as it ships
+with Geeklog.</p>
+
+<h3>Comments</h3>
+
+<p><i>TBD</i></p>
 
 <h3>Plugins</h3>
 
diff -r eaf8afaa2ef1 -r 570f7f58074a public_html/layout/professional/search/searchform.thtml
--- a/public_html/layout/professional/search/searchform.thtml	Thu Apr 30 23:23:42 2009 +0100
+++ b/public_html/layout/professional/search/searchform.thtml	Fri May 01 09:33:36 2009 +0200
@@ -44,10 +44,7 @@
                                         <td class="alignright">{lang_results}:</td>
                                         <td>
                                         <select name="results">
-                                            <option value="10" {10_selected}>10</option>
-                                            <option value="15" {15_selected}>15</option>
-                                            <option value="25" {25_selected}>25</option>
-                                            <option value="50" {50_selected}>50</option>
+                                            {search_limits}
                                         </select>  {lang_per_page}</td>
                                     </tr>
                                     <tr>



More information about the geeklog-cvs mailing list