Created
September 12, 2010 04:39
-
-
Save gormus/575850 to your computer and use it in GitHub Desktop.
Drupal 6 template.php theme_search_theme_form(), theme_search_block_form()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implements theme_search_theme_form() | |
*/ | |
function p6_search_theme_form($form) { | |
$form['search_theme_form']['#title'] = t('Search this site'); | |
$form['search_theme_form']['#default_value'] = ''; | |
$form['search_theme_form']['#attributes']['title'] = t('Enter the terms you wish to search for.'); | |
$form['search_theme_form']['#description'] = t('Enter the terms you wish to search for.'); | |
$form['submit']['#value'] = t('Search'); | |
return drupal_render($form); | |
} | |
/** | |
* Implements theme_search_block_form() | |
*/ | |
function p6_search_block_form($form) { | |
$form['search_block_form']['#title'] = t('Search this site'); | |
$form['search_block_form']['#default_value'] = ''; | |
$form['search_block_form']['#attributes']['title'] = t('Enter the terms you wish to search for.'); | |
$form['search_block_form']['#description'] = t('Enter the terms you wish to search for.'); | |
$form['submit']['#value'] = t('Search'); | |
return drupal_render($form); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment