From cb2d1a0a94cf690f2f29044010324b3d22505991 Mon Sep 17 00:00:00 2001
From: "kiko%async.com.br" <>
Date: Wed, 21 Jul 2004 07:58:44 +0000
Subject: Fix for bug 123030: Move query.cgi javascript to separate file.
Create productform.js that contains functions to handle the various select
boxes in the advanced search page, and update the callsites to use it.
r,a=myk.
---
template/en/default/search/form.html.tmpl | 298 +--------------------
.../en/default/search/search-advanced.html.tmpl | 40 ++-
2 files changed, 40 insertions(+), 298 deletions(-)
(limited to 'template/en/default/search')
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl
index 2fd458148..f875f3541 100644
--- a/template/en/default/search/form.html.tmpl
+++ b/template/en/default/search/form.html.tmpl
@@ -23,302 +23,6 @@
[% PROCESS global/variables.none.tmpl %]
- [%# Note: use Template comments and not JS ones here, to avoid bloating
- what we actually send to the browser %]
-
-
-
[% query_variants = [
{ value => "allwordssubstr", description => "contains all of the words/strings" },
{ value => "anywordssubstr", description => "contains any of the words/strings" },
@@ -379,7 +83,7 @@ function selectProduct(f) {