Skip to content
Snippets Groups Projects
Commit e89e4fbd authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #22127 by kbahey: fixed search box in PHPTemplate-based core themes.

parent 63019040
No related branches found
No related tags found
No related merge requests found
......@@ -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 } ?>
......
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment