You are here

function biblio_search_form in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 includes/biblio.pages.inc \biblio_search_form()
  2. 7 includes/biblio.pages.inc \biblio_search_form()
  3. 7.2 includes/biblio.pages.inc \biblio_search_form()

Parameters

$form_state:

Return value

unknown_type

1 string reference to 'biblio_search_form'
biblio_show_results in ./biblio.pages.inc
biblio_show_results takes the query results from biblio_db_search and adds some controls to the page then loops through the results applying the selected style to each entry

File

./biblio.pages.inc, line 784

Code

function biblio_search_form(&$form_state) {
  $form['biblio_search'] = array(
    '#prefix' => '<div class="container-inline biblio-search clear-block">',
    '#suffix' => '</div>',
  );
  $form['biblio_search']['keys'] = array(
    '#type' => 'textfield',
    '#title' => '',
    '#default_value' => '',
    '#size' => 25,
    '#maxlength' => 255,
  );
  $button_text = variable_get('biblio_search_button_text', 'Biblio search');
  $form['biblio_search']['submit'] = array(
    '#type' => 'submit',
    '#value' => t($button_text),
  );
  return $form;
}