--- sites/all/modules/textile/textile.module 2008-02-26 13:20:59.000000000 -0500 +++ sites/all/modules/textile/changed.textile.module 2008-02-26 13:21:20.000000000 -0500 @@ -337,8 +337,8 @@ function textile_filter_tips($delta, $fo /** * Implementation of hook_help(). */ -function textile_help($section = 'admin/help#textile') { - switch ($section) { +function textile_help($path = 'admin/help#textile', $arg) { + switch ($path) { case 'admin/help#textile': return t('

@@ -384,13 +384,13 @@ function _textile_process($matches) { if ($textile === NULL) { $path = drupal_get_path('module', 'textile'); - include_once($path . '/classTextile.php'); + include_once($path .'/classTextile.php'); $textile = new Textile(); //$textile->hu is the string that preceeds all relative URLs. //So I copied the part of url() implementation in common.inc //not tested in real non-Apache webserver yet - $textile->hu = base_path().((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') === FALSE) ? 'index.php' : '').((bool)variable_get('clean_url', '0') ? '' : '?q='); + $textile->hu = base_path() . ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') === FALSE) ? 'index.php' : '') . ((bool)variable_get('clean_url', '0') ? '' : '?q='); } //should there be any encoding declaration of some sort? Can't find how to do it though return $textile->TextileThis($matches[1]);