Go to the source code of this file.
Variables | |
$search_form |
Available variables:
Default keys within $search:
Since $search is keyed, a direct print of the form element is possible. Modules can add to the search form so it is recommended to check for their existance before printing. The default keys will always exist.
<?php if (isset($search['extra_field'])): ?>
To check for all available data within $search, use the code below.
<?php print '
'. check_plain(print_r($search, 1)) .''; ?>
Definition in file search-block-form.tpl.php.
print $search_form |
Definition at line 36 of file search-block-form.tpl.php.