Re: RE: perlfect-search digest, Vol 1 #389 - 4 msgs

Daniel Naber <[email protected]>
Newsgroups gmane.comp.web.perlfect-search
Message-ID <[email protected]>
On Thursday 14 November 2002 15:58, Maninder, Singh wrote:

> I need to call 2 different templates (search.html files) based on 2
> different domains.
> In the code it is referenced by $SEARCH_TEMPLATE{$lang}

You can misuse the language feature for that:

<input type="hidden" name="lang" value="en"> in one form
<input type="hidden" name="lang" value="fr"> in the other form

The second form will then use search_fr.html.

regards
 Daniel

-- 
http://www.danielnaber.de

_______________________________________________
perlfect-search mailing list
[email protected]
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search

lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.