Commit 5b16e6b0 authored by Dries's avatar Dries
Browse files

- Patch #36313 by assimmonds: make the search box look identical to Drupal 4.6

parent bb3d6107
......@@ -1130,12 +1130,12 @@ function system_theme_settings($key = '') {
function search_box() {
$form['#action'] = url('search');
$form['keys'] = array('#type' => 'textfield', '#size'=> 15, '#value' => '', '#attributes' => array('alt' => t('Enter the terms you wish to search for.')));
$form['submit'] = array('#type' => 'submit', '#value' => t('search'));
$form['submit'] = array('#type' => 'submit', '#value' => t('Search'));
return drupal_get_form('search_box', $form);
}
function theme_search_box($form) {
$output = '<div id="search">';
$output = '<div id="search" class="container-inline">';
$output .= form_render($form);
$output .= '</div>';
return $output;
......
......@@ -1130,12 +1130,12 @@ function system_theme_settings($key = '') {
function search_box() {
$form['#action'] = url('search');
$form['keys'] = array('#type' => 'textfield', '#size'=> 15, '#value' => '', '#attributes' => array('alt' => t('Enter the terms you wish to search for.')));
$form['submit'] = array('#type' => 'submit', '#value' => t('search'));
$form['submit'] = array('#type' => 'submit', '#value' => t('Search'));
return drupal_get_form('search_box', $form);
}
function theme_search_box($form) {
$output = '<div id="search">';
$output = '<div id="search" class="container-inline">';
$output .= form_render($form);
$output .= '</div>';
return $output;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment