Menu

#27 German localization: fix for broken search form

0.96 Origin Release
open
5
2005-07-10
2005-07-10
mslt
No

Error: "Sie müssen mindestens einen Suchbegriff angeben."

The search form expects the search terms in a GET
request. The German search form sends the form data in
a POST request instead.

here's a patch for
modules/searchmodule/views/de/Standard.tpl:

--- Standard.tpl.orig 2005-07-10 22:58:40.000000000 +0200
+++ Standard.tpl 2005-07-10 22:59:34.000000000 +0200
@@ -42,7 +42,7 @@
{/permissions}

<div class="moduletitle
search_moduletitle">{$moduletitle}</div>
-<form method="post" action="">
+<form method="get" action="">
<input type="hidden" name="module" value="searchmodule" />
<input type="hidden" name="src" value="{$loc->src}" />
<input type="hidden" name="action" value="search" />

Discussion


Log in to post a comment.