function commons_connect_search_theme_form in Drupal Commons 6.2
File
- themes/
commons_connect/ template.php, line 245
Code
function commons_connect_search_theme_form($form) {
$form['search_theme_form']['#value'] = t('Search...');
$form['submit']['#type'] = 'image_button';
$form['submit']['#src'] = drupal_get_path('theme', 'commons_connect') . '/images/search_icon.gif';
$form['submit']['#attributes']['class'] = 'btn';
return '<div id="search" class="container-inline">' . drupal_render($form) . '</div>';
}