X-Git-Url: http://git.tpope.net/?p=tpope-extra.git;a=blobdiff_plain;f=drupal%2Fmodules%2Fcvsfilter.module;fp=drupal%2Fmodules%2Fcvsfilter.module;h=8102a4b38248f23f06b3b36e1ef1e5f65c400dfd;hp=372c59fdf4c127d5bbfda3efd3977c1550e28bad;hb=3c6d67760ffd059404176d641fbeceb2501105ac;hpb=062d9976c3190b14b97da61be42168cec0c848a8 diff --git a/drupal/modules/cvsfilter.module b/drupal/modules/cvsfilter.module index 372c59f..8102a4b 100644 --- a/drupal/modules/cvsfilter.module +++ b/drupal/modules/cvsfilter.module @@ -4,15 +4,21 @@ function cvsfilter_help($section) { switch ($section) { + case 'admin/modules#description': case 'admin/system/modules#description': return t("Automatically points cvs: style URLs at the appropriate location."); + break; } } -function cvsfilter_filter($op, $text = "") { +function cvsfilter_filter($op, $delta = 0, $format = -1, $text = "") { switch ($op) { case "name": return t("CVS Filter"); + case "list": + return array(0 => t("CVS Filter")); + case 'description': + return cvsfilter_help('admin/modules#description'); case "settings": return form_group(t("URL Filter"), t("CVS Filter is enabled. This means that cvs: style URLs will automatically be pointed at the appropriate location.")); case "process":