Voting starts in March for the Drupal Association Board election.
While working onI discovered that search-block-form is a strange case. Although search-block-form.tpl.php is a block template, the 'render element' in search_theme() is set to 'form'. This causes the markup to be generated by:
1. search_block_view() does a drupal_get_form() to get the form.
2. template_preprocess_search_block_form() creates a $variables['search_form'] which contains all of the rendered form children.
3. search-block-form.tpl.php prints $search_form, wrapped in the block wrappers.
4. Somewhere the
<form ...> ... </form> is being generated and wrapped around the output of search-block-form.tpl.php
The problem is that the $form root element from the drupal_get_form() call in search_block_view() is never being rendered, and therefore not being rendered in a way consistent with all other forms in Core.
PASSED: [[SimpleTest]]: [MySQL] 33,144 pass(es). View
|#30||remove-search-block-form-tpl_4.patch||3.64 KB||Everett Zufelt|
PASSED: [[SimpleTest]]: [MySQL] 33,055 pass(es). View
|#18||remove-search-block-form-tpl_5.patch||3.64 KB||Everett Zufelt|
PASSED: [[SimpleTest]]: [MySQL] 32,861 pass(es). View