File: wordfilter.module
Function: wordfilter_filter()
Case: 'settings'
1.)
< '#description' => t('You can define a global list of words to be filtered on the <a href="%url">wordfilter settings page</a>.', array('%url' => url('admin/settings/wordfilter')))
---
> '#description' => t('You can define a global list of words to be filtered on the <a href="@url">wordfilter settings page</a>.', array('@url' => url('admin/settings/wordfilter')))
Replace %url by @url, otherwise the url is emphasized instead of run through check_plain.
2.)
< return drupal_get_form('wordfilter', $form);
---
> return $form;
Just return the $form because the callback function wordfilter() for rendering the form isn't defined in this module.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | wf_array_error.patch | 1.19 KB | hunmonk |
| #3 | wf_array_error.patch | 1.19 KB | hunmonk |
| #2 | wordfilter_0.patch | 800 bytes | singularo |
Comments
Comment #1
buddaAnty chance that these small changes can be implemented in CVS and a 1.0 rolled out anytime soon? please?? :)
Comment #2
singularoAttaching a .patch file to help the maintainer get it committed ;-)
Comment #3
hunmonk commentedsame basic patch, just more in line with the way fapi form elements are written.
Comment #4
hunmonk commentedshould be !url, not %url...
Comment #5
add1sun commentedCommitted to 5 and HEAD.
Comment #6
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.