summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2005-05-06 08:39:30 (GMT)
committerDries Buytaert2005-05-06 08:39:30 (GMT)
commite89e4fbd28f3e6a766a2099321536030c47dbfee (patch)
tree678dc59bb19639169973b00fa9e3c4ee673f1d1c
parent63019040a47edb1b0b10e5fa455d75af4e275a00 (diff)
- Patch #22127 by kbahey: fixed search box in PHPTemplate-based core themes.
-rw-r--r--themes/bluemarine/page.tpl.php2
-rw-r--r--themes/pushbutton/page.tpl.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/themes/bluemarine/page.tpl.php b/themes/bluemarine/page.tpl.php
index 0ca1141..0a52cb1 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 f10f659..1e12620 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>