finder_admin_export_form
| Versions | |
|---|---|
| 6.x-1.x | finder_admin_export_form($form_state, $code) |
| 7.x-1.x | finder_admin_export_form($form, &$form_state, $code) |
Admin finder export form.
Code
includes/
<?php
function finder_admin_export_form($form, &$form_state, $code) {
$form['export'] = array(
'#type' => 'textarea',
'#title' => t('Finder code'),
'#default_value' => $code,
'#rows' => 30,
'#description' => t('Copy this code and then on the site you want to import to, go to the "Finder import" link on the finder admin page, and paste it in there.'),
'#attributes' => array(
'style' => 'width: 97%;',
),
);
return $form;
}
?>
