pipes_input_form($pipe, $location = '', $keywords = '')
pipes/pipes.module, line 212
FormsAPI for user input
function pipes_input_form($pipe, $location = '', $keywords = '') {
$form = array();
$form['keywords'] = array(
'#type' => 'textfield',
'#default_value' => urldecode($keywords),
'#size' => 30,
'#maxlength' => 80,
'#title' => t('Search for'));
$form['location'] = array(
'#type' => 'textfield',
'#default_value' => urldecode($location),
'#size' => 30,
'#maxlength' => 80,
'#title' => t('Near'));
$form['pid'] = array('#type' => 'hidden', '#value' => $pipe->pid);
$form['path'] = array('#type' => 'hidden', '#value' => $pipe->path);
$form['submit'] = array('#type' => 'submit', '#value' => t('Search'));
return $form;
}