// $Id: easylists.module,v 1.1 2007/05/21 12:57:22 deelight Exp $ /** * Implementation of hook_help(). */ function easylists_help($section) { if ($section == 'admin/help#easylists') return '
'.t('Allow the use of EasyLists in posts.').'
'; } /** * Implementation of hook_filter(). */ function easylists_filter($op, $delta = 0, $format = -1, $text = '') { switch ($op) { case 'list': return array(0 => 'EasyLists'); case 'description': return t('Converts EasyLists to HTML.'); case 'process': include_once(drupal_get_path('module', 'easylists') .'/easylists-filter.inc'); return _easylists_filter_process($text, $format); default: return $text; } }