function sheetnode_html_import_form in Sheetnode 6
Same name and namespace in other branches
- 7.2 modules/sheetnode_html/sheetnode_html.module \sheetnode_html_import_form()
- 7 modules/sheetnode_html/sheetnode_html.module \sheetnode_html_import_form()
Callback for import form.
1 string reference to 'sheetnode_html_import_form'
- sheetnode_html_menu in modules/
sheetnode_html/ sheetnode_html.module - Implementation of hook_menu().
File
- modules/
sheetnode_html/ sheetnode_html.module, line 20
Code
function sheetnode_html_import_form() {
$form['url'] = array(
'#type' => 'textfield',
'#title' => t('URL'),
'#required' => TRUE,
'#description' => t('URL of the page to parse.'),
);
$form['querypath'] = array(
'#type' => 'textfield',
'#title' => t('QueryPath'),
'#description' => t('<a href="@qp">QueryPath expression</a> to find one or more tables to import into a single spreadsheet. For example: <code>table#flat-rates-table</code>.', array(
'@qp' => 'http://querypath.org/',
)),
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Submit'),
);
return $form;
}