I am maintaining a Drupal 7 site that was developed by another developer and I'm trying to move the search field on the results page to appear under the H1. Currently the site has a search field that appears at the very top (above the top navigation) > after the user submits a keyword in the search field, they are taken to the Results page which has a second search field that appears right above the H1.
I know that the second search field on the Results page is within the $content['main'], but I can't seem to locate how to move the search field to save my life! The script in the template.tpl.php file that contains the $content['main'] is pasted below. I've checked the MySQL database (field_revision, field_data, & node tables), Structure (Panels, Mini Panels, Views, Pages, & Blocks), and content types -- all to no avail.
<?php if (!empty($content['main'])): ?>
<?php print render($content['main']); ?>
<? // debugging ?>
<pre><?php print_r($node); ?></pre>
<?php
print '<div>var_dump <br/>';
var_dump($content);
print '</div>';
?>
<? // debugging ?>
Output from debugging script that was pasted below the $content['main']
var_dump
array(5) { ["search"]=> string(798) "
" ["header"]=> string(0) "" ["main"]=> string(4492) "
I've looked into Where does Drupal store the content of a node's body? but haven't found the search field in any of the suggestion yet.