You are here

function uc_wishlist_block_search_form in UC Wish List 7

Same name and namespace in other branches
  1. 6 uc_wishlist.module \uc_wishlist_block_search_form()

Displays the wish list search block form.

1 string reference to 'uc_wishlist_block_search_form'
uc_wishlist_block_view in ./uc_wishlist.module
Implements hook_block_view().

File

./uc_wishlist.module, line 938
Allows users to create public shopping/wish lists.

Code

function uc_wishlist_block_search_form($form) {
  $form = array();
  $form['keywords'] = array(
    '#type' => 'textfield',
    '#title' => t('Search keywords'),
    '#description' => t('Enter the keywords to use to search wish list titles and addresses.'),
    '#size' => 16,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Search'),
  );
  return $form;
}