From e89e4fbd28f3e6a766a2099321536030c47dbfee Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Fri, 6 May 2005 08:39:30 +0000
Subject: [PATCH] - Patch #22127 by kbahey: fixed search box in
 PHPTemplate-based core themes.

---
 themes/bluemarine/page.tpl.php | 2 +-
 themes/pushbutton/page.tpl.php | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/themes/bluemarine/page.tpl.php b/themes/bluemarine/page.tpl.php
index 0ca11414d904..0a52cb1ba323 100644
--- a/themes/bluemarine/page.tpl.php
+++ b/themes/bluemarine/page.tpl.php
@@ -24,7 +24,7 @@
       <div id="primary"><?php print theme('links', $primary_links) ?></div>
       <?php if ($search_box) { ?><form action="<?php print $search_url ?>" method="post">
         <div id="search">
-          <input class="form-text" type="text" size="15" value="" name="keys" alt="<?php print $search_description ?>" />
+          <input class="form-text" type="text" size="15" value="" name="edit[keys]" alt="<?php print $search_description ?>" />
           <input class="form-submit" type="submit" value="<?php print $search_button_text ?>" />
         </div>
       </form><?php } ?>
diff --git a/themes/pushbutton/page.tpl.php b/themes/pushbutton/page.tpl.php
index f10f65927c1b..1e12620547d9 100644
--- a/themes/pushbutton/page.tpl.php
+++ b/themes/pushbutton/page.tpl.php
@@ -56,7 +56,7 @@
       <?php if ($search_box): ?>
       <form action="<?php print $search_url ?>" method="post">
         <div id="search">
-          <input class="form-text" type="text" size="15" value="" name="keys" alt="<?php print $search_description ?>" />
+          <input class="form-text" type="text" size="15" value="" name="edit[keys]" alt="<?php print $search_description ?>" />
           <input class="form-submit" type="submit" value="<?php print $search_button_text ?>" alt="submit" />
         </div>
       </form>
@@ -139,4 +139,4 @@
 <?php endif; ?>
 <?php print $closure;?>
 </body>
-</html>
\ No newline at end of file
+</html>
-- 
GitLab