I installed the latest swish-cvs on a 4.7 system. When I go to administer >> settings >> swish, this error occurs in my error_log:
Call to undefined function: form_textfield() in /var/www/html/doadance/drupal03/modules/swish/swish.module on line 65,
I read that the cvs version of swish can be updated to run under 4.7 using FormsAPIUpdate (http://drupal.org/node/59396)
So, I downloaded the Form Updater (4.7), installed and followed the instructions here http://drupal.org/book/export/html/36051 to update the swish.module file.
In that process, this:
function swish_settings(){
swish_validate_paths();
$output = form_textfield(t('Swish-E Path'), 'swish_path',
variable_get('swish_path', '/usr/local/bin/swish-e'), 20,40,
t('The absolute path of the swish-e binary.'));
$output .= form_textfield(t('M$ Word Filter Path'), 'catdoc_path',
variable_get('catdoc_path', '/usr/local/bin/catdoc'), 20,40,
t('The absolute path of the M$ Word filter.'));
$output .= form_textfield(t('M$ Excel Filter Path'), 'xls2csv_path',
variable_get('xls2csv_path', '/usr/local/bin/xls2csv'), 20,40,
t('The absolute path of the M$ Excel filter'));
$output .= form_textfield(t('PDF Filter Path'), 'pdftotext_path',
variable_get('pdftotext_path', '/usr/local/bin/pdftotext'), 20,40,
t('The absolute path of the PDF filter.'));
$output .= form_textfield(t('RTF Filter Path'), 'unrtf_path',